aorecomp

Anarchy Online classic in the browser

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


client/game/ppr.dll/lifted-0004.c (1228472B)


      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_4000D620(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(0x4000D620u);
     17 
     18 L_4000D620:
     19     PUSH32(esp, ebp); /* 0x4000D620: push ebp */
     20     ebp = esp; /* 0x4000D621: mov ebp, esp */
     21     PUSH32(esp, 0xFFFFFFFFu); /* 0x4000D623: push -1 */
     22     PUSH32(esp, 0x400150C4u); /* 0x4000D625: push 0x400150c4 */
     23     eax = MEM32(FS_BASE + (0)); /* 0x4000D62A: mov eax, dword ptr fs:[0] */
     24     PUSH32(esp, eax); /* 0x4000D630: push eax */
     25     MEM32(FS_BASE + (0)) = esp; /* 0x4000D631: mov dword ptr fs:[0], esp */
     26     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
     27     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     28     esp = esp - 0xCu; /* 0x4000D638: sub esp, 0xc */
     29     _flag_k = FK_CMP;
     30     PUSH32(esp, ebx); /* 0x4000D63B: push ebx */
     31     PUSH32(esp, esi); /* 0x4000D63C: push esi */
     32     PUSH32(esp, edi); /* 0x4000D63D: push edi */
     33     edi = ecx; /* 0x4000D63E: mov edi, ecx */
     34     MEM32(ebp + (-0x14)) = edi; /* 0x4000D640: mov dword ptr [ebp - 0x14], edi */
     35     MEM32(edi) = 0x400163F4u; /* 0x4000D643: mov dword ptr [edi], 0x400163f4 */
     36     MEM32(edi + 0xC) = 0x400163E0u; /* 0x4000D649: mov dword ptr [edi + 0xc], 0x400163e0 */
     37     ebx = edi + 0x88; /* 0x4000D650: lea ebx, [edi + 0x88] */
     38     PUSH32(esp, ebx); /* 0x4000D656: push ebx */
     39     MEM32(ebp + (-0x4)) = 3; /* 0x4000D657: mov dword ptr [ebp - 4], 3 */
     40     RECOMP_ICALL(MEM32(0x40016224)); /* 0x4000D65E: call dword ptr [0x40016224] */
     41     RECOMP_FLAGS_IN();
     42     esi = eax; /* 0x4000D664: mov esi, eax */
     43     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     44     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     45     esp = esp + 4; /* 0x4000D666: add esp, 4 */
     46     _flag_k = FK_ADD;
     47     /* cmp esi, 0xFFFFFFFFu */ /* 0x4000D669: cmp esi, -1 */
     48     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFFu);
     49     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     50     _flag_k = FK_CMP;
     51     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D70E; /* 0x4000D66C: jne 0x4000d70e */
     52 L_4000D672:
     53     RECOMP_ICALL(MEM32(0x400160D4)); /* 0x4000D672: call dword ptr [0x400160d4] */
     54     RECOMP_FLAGS_IN();
     55     /* cmp MEM32(eax), 0x10u */ /* 0x4000D678: cmp dword ptr [eax], 0x10 */
     56     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0x10u);
     57     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     58     _flag_k = FK_CMP;
     59     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D6A2; /* 0x4000D67B: jne 0x4000d6a2 */
     60 L_4000D67D:
     61     PUSH32(esp, ebx); /* 0x4000D67D: push ebx */
     62     RECOMP_ICALL(MEM32(0x40016228)); /* 0x4000D67E: call dword ptr [0x40016228] */
     63     RECOMP_FLAGS_IN();
     64     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     65     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     66     esp = esp + 4; /* 0x4000D684: add esp, 4 */
     67     _flag_k = FK_ADD;
     68     PUSH32(esp, 0); /* 0x4000D687: push 0 */
     69     RECOMP_ICALL(MEM32(0x4001601C)); /* 0x4000D689: call dword ptr [0x4001601c] */
     70     RECOMP_FLAGS_IN();
     71     PUSH32(esp, ebx); /* 0x4000D68F: push ebx */
     72     RECOMP_ICALL(MEM32(0x40016224)); /* 0x4000D690: call dword ptr [0x40016224] */
     73     RECOMP_FLAGS_IN();
     74     esi = eax; /* 0x4000D696: mov esi, eax */
     75     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     76     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     77     esp = esp + 4; /* 0x4000D698: add esp, 4 */
     78     _flag_k = FK_ADD;
     79     /* cmp esi, 0xFFFFFFFFu */ /* 0x4000D69B: cmp esi, -1 */
     80     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFFu);
     81     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     82     _flag_k = FK_CMP;
     83     RECOMP_BACKEDGE();
     84     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000D672; /* 0x4000D69E: je 0x4000d672 */
     85 L_4000D6A0:
     86     goto L_4000D70E; /* 0x4000D6A0: jmp 0x4000d70e */
     87 L_4000D6A2:
     88     /* cmp esi, 0xFFFFFFFFu */ /* 0x4000D6A2: cmp esi, -1 */
     89     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFFu);
     90     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     91     _flag_k = FK_CMP;
     92     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D70E; /* 0x4000D6A5: jne 0x4000d70e */
     93 L_4000D6A7:
     94     RECOMP_ICALL(MEM32(0x40016018)); /* 0x4000D6A7: call dword ptr [0x40016018] */
     95     RECOMP_FLAGS_IN();
     96     ebx = eax; /* 0x4000D6AD: mov ebx, eax */
     97     RECOMP_ICALL(MEM32(0x400160D4)); /* 0x4000D6AF: call dword ptr [0x400160d4] */
     98     RECOMP_FLAGS_IN();
     99     eax = MEM32(eax); /* 0x4000D6B5: mov eax, dword ptr [eax] */
    100     /* test eax, eax */ /* 0x4000D6B7: test eax, eax */
    101     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    102     _cf = 0;
    103     _flag_k = FK_TEST;
    104     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D6BD; /* 0x4000D6B9: je 0x4000d6bd */
    105 L_4000D6BB:
    106     ebx = eax; /* 0x4000D6BB: mov ebx, eax */
    107 L_4000D6BD:
    108     RECOMP_ICALL(MEM32(0x400161D4)); /* 0x4000D6BD: call dword ptr [0x400161d4] */
    109     RECOMP_FLAGS_IN();
    110     esi = eax; /* 0x4000D6C3: mov esi, eax */
    111     ecx = esi; /* 0x4000D6C5: mov ecx, esi */
    112     RECOMP_ICALL(MEM32(0x400161D8)); /* 0x4000D6C7: call dword ptr [0x400161d8] */
    113     RECOMP_FLAGS_IN();
    114     PUSH32(esp, eax); /* 0x4000D6CD: push eax */
    115     ecx = esi; /* 0x4000D6CE: mov ecx, esi */
    116     RECOMP_ICALL(MEM32(0x400161DC)); /* 0x4000D6D0: call dword ptr [0x400161dc] */
    117     RECOMP_FLAGS_IN();
    118     PUSH32(esp, eax); /* 0x4000D6D6: push eax */
    119     ecx = esi; /* 0x4000D6D7: mov ecx, esi */
    120     RECOMP_ICALL(MEM32(0x400161E0)); /* 0x4000D6D9: call dword ptr [0x400161e0] */
    121     RECOMP_FLAGS_IN();
    122     PUSH32(esp, eax); /* 0x4000D6DF: push eax */
    123     PUSH32(esp, ebx); /* 0x4000D6E0: push ebx */
    124     PUSH32(esp, 0xFFFFFFFFu); /* 0x4000D6E1: push -1 */
    125     PUSH32(esp, 0x107u); /* 0x4000D6E3: push 0x107 */
    126     PUSH32(esp, 0x4001CBECu); /* 0x4000D6E8: push 0x4001cbec */
    127     ecx = esi; /* 0x4000D6ED: mov ecx, esi */
    128     RECOMP_ICALL(MEM32(0x400161E4)); /* 0x4000D6EF: call dword ptr [0x400161e4] */
    129     RECOMP_FLAGS_IN();
    130     PUSH32(esp, 0x4001CBCCu); /* 0x4000D6F5: push 0x4001cbcc */
    131     PUSH32(esp, 0x4001CBC8u); /* 0x4000D6FA: push 0x4001cbc8 */
    132     PUSH32(esp, 0x80u); /* 0x4000D6FF: push 0x80 */
    133     PUSH32(esp, esi); /* 0x4000D704: push esi */
    134     RECOMP_ICALL(MEM32(0x400161E8)); /* 0x4000D705: call dword ptr [0x400161e8] */
    135     RECOMP_FLAGS_IN();
    136     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    137     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    138     esp = esp + 0x10u; /* 0x4000D70B: add esp, 0x10 */
    139     _flag_k = FK_ADD;
    140 L_4000D70E:
    141     ecx = edi + 0x6C; /* 0x4000D70E: lea ecx, [edi + 0x6c] */
    142     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x4000D711: mov byte ptr [ebp - 4], 2 */
    143     RECOMP_ICALL(MEM32(0x400161EC)); /* 0x4000D715: call dword ptr [0x400161ec] */
    144     RECOMP_FLAGS_IN();
    145     eax = MEM32(edi + 0x64); /* 0x4000D71B: mov eax, dword ptr [edi + 0x64] */
    146     esi = MEM32(eax); /* 0x4000D71E: mov esi, dword ptr [eax] */
    147     /* cmp esi, eax */ /* 0x4000D720: cmp esi, eax */
    148     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    150     _flag_k = FK_CMP;
    151     ebx = edi + 0x60; /* 0x4000D722: lea ebx, [edi + 0x60] */
    152     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x4000D725: mov byte ptr [ebp - 4], 1 */
    153     MEM32(ebp + (-0x10)) = eax; /* 0x4000D729: mov dword ptr [ebp - 0x10], eax */
    154     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000D743; /* 0x4000D72C: je 0x4000d743 */
    155 L_4000D72E:
    156     eax = esi; /* 0x4000D72E: mov eax, esi */
    157     esi = MEM32(esi); /* 0x4000D730: mov esi, dword ptr [esi] */
    158     PUSH32(esp, eax); /* 0x4000D732: push eax */
    159     eax = ebp + (-0x18); /* 0x4000D733: lea eax, [ebp - 0x18] */
    160     PUSH32(esp, eax); /* 0x4000D736: push eax */
    161     ecx = ebx; /* 0x4000D737: mov ecx, ebx */
    162     RECOMP_ICALL(0x4000D960u); /* 0x4000D739: call 0x4000d960 */ /* not lifted */
    163     RECOMP_FLAGS_IN();
    164     /* cmp esi, MEM32(ebp + (-0x10)) */ /* 0x4000D73E: cmp esi, dword ptr [ebp - 0x10] */
    165     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + (-0x10)));
    166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    167     _flag_k = FK_CMP;
    168     RECOMP_BACKEDGE();
    169     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D72E; /* 0x4000D741: jne 0x4000d72e */
    170 L_4000D743:
    171     eax = MEM32(ebx + 0x4); /* 0x4000D743: mov eax, dword ptr [ebx + 4] */
    172     PUSH32(esp, eax); /* 0x4000D746: push eax */
    173     RECOMP_ICALL(0x400146F2u); /* 0x4000D747: call 0x400146f2 */ /* not lifted */
    174     RECOMP_FLAGS_IN();
    175     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    176     esi = 0; /* 0x4000D74C: xor esi, esi */
    177     _cf = 0;
    178     _flag_k = FK_TEST;
    179     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    180     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    181     esp = esp + 4; /* 0x4000D74E: add esp, 4 */
    182     _flag_k = FK_ADD;
    183     ecx = edi + 0x54; /* 0x4000D751: lea ecx, [edi + 0x54] */
    184     MEM32(ebx + 0x4) = esi; /* 0x4000D754: mov dword ptr [ebx + 4], esi */
    185     MEM32(ebx + 0x8) = esi; /* 0x4000D757: mov dword ptr [ebx + 8], esi */
    186     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x4000D75A: mov byte ptr [ebp - 4], 0 */
    187     RECOMP_ICALL(MEM32(0x4001622C)); /* 0x4000D75E: call dword ptr [0x4001622c] */
    188     RECOMP_FLAGS_IN();
    189     MEM32(edi) = 0x40016378u; /* 0x4000D764: mov dword ptr [edi], 0x40016378 */
    190     MEM32(edi + 0xC) = 0x40016364u; /* 0x4000D76A: mov dword ptr [edi + 0xc], 0x40016364 */
    191     /* cmp MEM32(edi + 0x40), esi */ /* 0x4000D771: cmp dword ptr [edi + 0x40], esi */
    192     _flag_a = (uint32_t)(MEM32(edi + 0x40)); _flag_b = (uint32_t)(esi);
    193     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    194     _flag_k = FK_CMP;
    195     MEM32(ebp + (-0x4)) = 4; /* 0x4000D774: mov dword ptr [ebp - 4], 4 */
    196     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000D78B; /* 0x4000D77B: je 0x4000d78b */
    197 L_4000D77D:
    198     ecx = MEM32(edi + 0x3C); /* 0x4000D77D: mov ecx, dword ptr [edi + 0x3c] */
    199     /* cmp ecx, esi */ /* 0x4000D780: cmp ecx, esi */
    200     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
    201     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    202     _flag_k = FK_CMP;
    203     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000D78B; /* 0x4000D782: je 0x4000d78b */
    204 L_4000D784:
    205     edx = MEM32(ecx); /* 0x4000D784: mov edx, dword ptr [ecx] */
    206     PUSH32(esp, 1); /* 0x4000D786: push 1 */
    207     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4000D788: call dword ptr [edx + 4] */
    208     RECOMP_FLAGS_IN();
    209 L_4000D78B:
    210     ecx = edi; /* 0x4000D78B: mov ecx, edi */
    211     MEM32(edi + 0x40) = esi; /* 0x4000D78D: mov dword ptr [edi + 0x40], esi */
    212     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x4000D790: mov dword ptr [ebp - 4], 0xffffffff */
    213     RECOMP_ICALL(MEM32(0x40016230)); /* 0x4000D797: call dword ptr [0x40016230] */
    214     RECOMP_FLAGS_IN();
    215     ecx = MEM32(ebp + (-0xC)); /* 0x4000D79D: mov ecx, dword ptr [ebp - 0xc] */
    216     edi = POP32_VAL(esp); /* 0x4000D7A0: pop edi */
    217     esi = POP32_VAL(esp); /* 0x4000D7A1: pop esi */
    218     ebx = POP32_VAL(esp); /* 0x4000D7A2: pop ebx */
    219     MEM32(FS_BASE + (0)) = ecx; /* 0x4000D7A3: mov dword ptr fs:[0], ecx */
    220     esp = ebp; /* 0x4000D7AA: mov esp, ebp */
    221     ebp = POP32_VAL(esp); /* 0x4000D7AC: pop ebp */
    222     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000D7AD: ret  */
    223     RECOMP_REGS_OUT();
    224 }
    225 
    226 void sub_4000D7B0(void) {
    227     int _fpu_cmp = 0;
    228     uint32_t _cf = 0;
    229     int _df = 1;
    230     uint32_t _flag_k = FK_NONE;
    231     uint32_t _flag_a = 0, _flag_b = 0;
    232     uint32_t _itail_tgt = 0;
    233     RECOMP_REGS_LOCALS
    234     RECOMP_ENTER(0x4000D7B0u);
    235 
    236 L_4000D7B0:
    237     PUSH32(esp, ebp); /* 0x4000D7B0: push ebp */
    238     ebp = esp; /* 0x4000D7B1: mov ebp, esp */
    239     edx = MEM32(ecx + 0x4); /* 0x4000D7B3: mov edx, dword ptr [ecx + 4] */
    240     eax = MEM32(edx + 0x4); /* 0x4000D7B6: mov eax, dword ptr [edx + 4] */
    241     ecx = MEM32(ecx + 0x8); /* 0x4000D7B9: mov ecx, dword ptr [ecx + 8] */
    242     /* cmp eax, ecx */ /* 0x4000D7BC: cmp eax, ecx */
    243     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    244     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    245     _flag_k = FK_CMP;
    246     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000D7E2; /* 0x4000D7BE: je 0x4000d7e2 */
    247 L_4000D7C0:
    248     PUSH32(esp, esi); /* 0x4000D7C0: push esi */
    249     esi = MEM32(ebp + 0xC); /* 0x4000D7C1: mov esi, dword ptr [ebp + 0xc] */
    250     esi = MEM32(esi); /* 0x4000D7C4: mov esi, dword ptr [esi] */
    251 L_4000D7C6:
    252     /* cmp MEM32(eax + 0xC), esi */ /* 0x4000D7C6: cmp dword ptr [eax + 0xc], esi */
    253     _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(esi);
    254     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    255     _flag_k = FK_CMP;
    256     if (CMP_AE(_flag_a, _flag_b)) goto L_4000D7D0; /* 0x4000D7C9: jae 0x4000d7d0 */
    257 L_4000D7CB:
    258     eax = MEM32(eax + 0x8); /* 0x4000D7CB: mov eax, dword ptr [eax + 8] */
    259     goto L_4000D7D4; /* 0x4000D7CE: jmp 0x4000d7d4 */
    260 L_4000D7D0:
    261     edx = eax; /* 0x4000D7D0: mov edx, eax */
    262     eax = MEM32(eax); /* 0x4000D7D2: mov eax, dword ptr [eax] */
    263 L_4000D7D4:
    264     /* cmp eax, ecx */ /* 0x4000D7D4: cmp eax, ecx */
    265     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    267     _flag_k = FK_CMP;
    268     RECOMP_BACKEDGE();
    269     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D7C6; /* 0x4000D7D6: jne 0x4000d7c6 */
    270 L_4000D7D8:
    271     eax = MEM32(ebp + 0x8); /* 0x4000D7D8: mov eax, dword ptr [ebp + 8] */
    272     MEM32(eax) = edx; /* 0x4000D7DB: mov dword ptr [eax], edx */
    273     esi = POP32_VAL(esp); /* 0x4000D7DD: pop esi */
    274     ebp = POP32_VAL(esp); /* 0x4000D7DE: pop ebp */
    275     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000D7DF: ret 8 */
    276 L_4000D7E2:
    277     eax = MEM32(ebp + 0x8); /* 0x4000D7E2: mov eax, dword ptr [ebp + 8] */
    278     MEM32(eax) = edx; /* 0x4000D7E5: mov dword ptr [eax], edx */
    279     ebp = POP32_VAL(esp); /* 0x4000D7E7: pop ebp */
    280     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000D7E8: ret 8 */
    281     RECOMP_REGS_OUT();
    282 }
    283 
    284 void sub_4000D7F0(void) {
    285     int _fpu_cmp = 0;
    286     uint32_t _cf = 0;
    287     int _df = 1;
    288     uint32_t _flag_k = FK_NONE;
    289     uint32_t _flag_a = 0, _flag_b = 0;
    290     uint32_t _itail_tgt = 0;
    291     RECOMP_REGS_LOCALS
    292     RECOMP_ENTER(0x4000D7F0u);
    293 
    294 L_4000D7F0:
    295     PUSH32(esp, ebp); /* 0x4000D7F0: push ebp */
    296     ebp = esp; /* 0x4000D7F1: mov ebp, esp */
    297     PUSH32(esp, ebx); /* 0x4000D7F3: push ebx */
    298     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x4000D7F4: mov bl, byte ptr [ebp + 8] */
    299     /* test LO8(ebx), 2 */ /* 0x4000D7F7: test bl, 2 */
    300     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
    301     _cf = 0;
    302     _flag_k = FK_NARROW(FK_TEST, 24);
    303     PUSH32(esp, esi); /* 0x4000D7FA: push esi */
    304     esi = ecx; /* 0x4000D7FB: mov esi, ecx */
    305     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D82E; /* 0x4000D7FD: je 0x4000d82e */
    306 L_4000D7FF:
    307     eax = MEM32(esi + (-0x4)); /* 0x4000D7FF: mov eax, dword ptr [esi - 4] */
    308     PUSH32(esp, edi); /* 0x4000D802: push edi */
    309     PUSH32(esp, 0x4000D620u); /* 0x4000D803: push 0x4000d620 */
    310     edi = esi + (-0x4); /* 0x4000D808: lea edi, [esi - 4] */
    311     PUSH32(esp, eax); /* 0x4000D80B: push eax */
    312     PUSH32(esp, 0xB4u); /* 0x4000D80C: push 0xb4 */
    313     PUSH32(esp, esi); /* 0x4000D811: push esi */
    314     RECOMP_ICALL(0x40014770u); /* 0x4000D812: call 0x40014770 */ /* not lifted */
    315     RECOMP_FLAGS_IN();
    316     /* test LO8(ebx), 1 */ /* 0x4000D817: test bl, 1 */
    317     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    318     _cf = 0;
    319     _flag_k = FK_NARROW(FK_TEST, 24);
    320     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D825; /* 0x4000D81A: je 0x4000d825 */
    321 L_4000D81C:
    322     PUSH32(esp, edi); /* 0x4000D81C: push edi */
    323     RECOMP_ICALL(0x400146F2u); /* 0x4000D81D: call 0x400146f2 */ /* not lifted */
    324     RECOMP_FLAGS_IN();
    325     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    326     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    327     esp = esp + 4; /* 0x4000D822: add esp, 4 */
    328     _flag_k = FK_ADD;
    329 L_4000D825:
    330     eax = edi; /* 0x4000D825: mov eax, edi */
    331     edi = POP32_VAL(esp); /* 0x4000D827: pop edi */
    332     esi = POP32_VAL(esp); /* 0x4000D828: pop esi */
    333     ebx = POP32_VAL(esp); /* 0x4000D829: pop ebx */
    334     ebp = POP32_VAL(esp); /* 0x4000D82A: pop ebp */
    335     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000D82B: ret 4 */
    336 L_4000D82E:
    337     ecx = esi; /* 0x4000D82E: mov ecx, esi */
    338     RECOMP_ICALL(0x4000D620u); /* 0x4000D830: call 0x4000d620 */ /* not lifted */
    339     RECOMP_FLAGS_IN();
    340     /* test LO8(ebx), 1 */ /* 0x4000D835: test bl, 1 */
    341     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    342     _cf = 0;
    343     _flag_k = FK_NARROW(FK_TEST, 24);
    344     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D843; /* 0x4000D838: je 0x4000d843 */
    345 L_4000D83A:
    346     PUSH32(esp, esi); /* 0x4000D83A: push esi */
    347     RECOMP_ICALL(0x400146F2u); /* 0x4000D83B: call 0x400146f2 */ /* not lifted */
    348     RECOMP_FLAGS_IN();
    349     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    350     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    351     esp = esp + 4; /* 0x4000D840: add esp, 4 */
    352     _flag_k = FK_ADD;
    353 L_4000D843:
    354     eax = esi; /* 0x4000D843: mov eax, esi */
    355     esi = POP32_VAL(esp); /* 0x4000D845: pop esi */
    356     ebx = POP32_VAL(esp); /* 0x4000D846: pop ebx */
    357     ebp = POP32_VAL(esp); /* 0x4000D847: pop ebp */
    358     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000D848: ret 4 */
    359     RECOMP_REGS_OUT();
    360 }
    361 
    362 void sub_4000D850(void) {
    363     int _fpu_cmp = 0;
    364     uint32_t _cf = 0;
    365     int _df = 1;
    366     uint32_t _flag_k = FK_NONE;
    367     uint32_t _flag_a = 0, _flag_b = 0;
    368     uint32_t _itail_tgt = 0;
    369     RECOMP_REGS_LOCALS
    370     RECOMP_ENTER(0x4000D850u);
    371 
    372 L_4000D850:
    373     PUSH32(esp, ebp); /* 0x4000D850: push ebp */
    374     ebp = esp; /* 0x4000D851: mov ebp, esp */
    375     PUSH32(esp, ecx); /* 0x4000D853: push ecx */
    376     PUSH32(esp, ebx); /* 0x4000D854: push ebx */
    377     ebx = MEM32(ebp + 0x8); /* 0x4000D855: mov ebx, dword ptr [ebp + 8] */
    378     PUSH32(esp, edi); /* 0x4000D858: push edi */
    379     edi = ecx; /* 0x4000D859: mov edi, ecx */
    380     SET_LO8(ecx, MEM8(ebx + 0x1D)); /* 0x4000D85B: mov cl, byte ptr [ebx + 0x1d] */
    381     /* test LO8(ecx), LO8(ecx) */ /* 0x4000D85E: test cl, cl */
    382     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    383     _cf = 0;
    384     _flag_k = FK_NARROW(FK_TEST, 24);
    385     eax = MEM32(edi + 0x8); /* 0x4000D860: mov eax, dword ptr [edi + 8] */
    386     MEM32(ebp + (-0x4)) = eax; /* 0x4000D863: mov dword ptr [ebp - 4], eax */
    387     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000D8D0; /* 0x4000D866: jne 0x4000d8d0 */
    388 L_4000D868:
    389     SET_LO8(eax, MEM8(ebx + 0x1C)); /* 0x4000D868: mov al, byte ptr [ebx + 0x1c] */
    390     PUSH32(esp, esi); /* 0x4000D86B: push esi */
    391     PUSH32(esp, 0x20u); /* 0x4000D86C: push 0x20 */
    392     MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x4000D86E: mov byte ptr [ebp + 0xb], al */
    393     RECOMP_ICALL(0x40014704u); /* 0x4000D871: call 0x40014704 */ /* not lifted */
    394     RECOMP_FLAGS_IN();
    395     ecx = MEM32(ebp + 0xC); /* 0x4000D876: mov ecx, dword ptr [ebp + 0xc] */
    396     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x4000D879: mov dl, byte ptr [ebp + 0xb] */
    397     esi = eax; /* 0x4000D87C: mov esi, eax */
    398     eax = ebx + 0xC; /* 0x4000D87E: lea eax, [ebx + 0xc] */
    399     MEM32(esi + 0x4) = ecx; /* 0x4000D881: mov dword ptr [esi + 4], ecx */
    400     PUSH32(esp, eax); /* 0x4000D884: push eax */
    401     ecx = esi + 0xC; /* 0x4000D885: lea ecx, [esi + 0xc] */
    402     PUSH32(esp, ecx); /* 0x4000D888: push ecx */
    403     MEM8(esi + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000D889: mov byte ptr [esi + 0x1c], dl */
    404     MEM8(esi + 0x1D) = (uint8_t)(0); /* 0x4000D88C: mov byte ptr [esi + 0x1d], 0 */
    405     RECOMP_ICALL(0x4000FD10u); /* 0x4000D890: call 0x4000fd10 */ /* not lifted */
    406     RECOMP_FLAGS_IN();
    407     edx = MEM32(edi + 0x8); /* 0x4000D895: mov edx, dword ptr [edi + 8] */
    408     ecx = MEM32(ebp + (-0x4)); /* 0x4000D898: mov ecx, dword ptr [ebp - 4] */
    409     MEM32(esi) = edx; /* 0x4000D89B: mov dword ptr [esi], edx */
    410     eax = MEM32(edi + 0x8); /* 0x4000D89D: mov eax, dword ptr [edi + 8] */
    411     MEM32(esi + 0x8) = eax; /* 0x4000D8A0: mov dword ptr [esi + 8], eax */
    412     eax = MEM32(edi + 0x8); /* 0x4000D8A3: mov eax, dword ptr [edi + 8] */
    413     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    414     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    415     esp = esp + 0xCu; /* 0x4000D8A6: add esp, 0xc */
    416     _flag_k = FK_ADD;
    417     /* cmp ecx, eax */ /* 0x4000D8A9: cmp ecx, eax */
    418     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
    419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    420     _flag_k = FK_CMP;
    421     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D8B0; /* 0x4000D8AB: jne 0x4000d8b0 */
    422 L_4000D8AD:
    423     MEM32(ebp + (-0x4)) = esi; /* 0x4000D8AD: mov dword ptr [ebp - 4], esi */
    424 L_4000D8B0:
    425     edx = MEM32(ebx); /* 0x4000D8B0: mov edx, dword ptr [ebx] */
    426     PUSH32(esp, esi); /* 0x4000D8B2: push esi */
    427     PUSH32(esp, edx); /* 0x4000D8B3: push edx */
    428     ecx = edi; /* 0x4000D8B4: mov ecx, edi */
    429     RECOMP_ICALL(0x4000D850u); /* 0x4000D8B6: call 0x4000d850 */ /* not lifted */
    430     RECOMP_FLAGS_IN();
    431     MEM32(esi) = eax; /* 0x4000D8BB: mov dword ptr [esi], eax */
    432     eax = MEM32(ebx + 0x8); /* 0x4000D8BD: mov eax, dword ptr [ebx + 8] */
    433     PUSH32(esp, esi); /* 0x4000D8C0: push esi */
    434     PUSH32(esp, eax); /* 0x4000D8C1: push eax */
    435     ecx = edi; /* 0x4000D8C2: mov ecx, edi */
    436     RECOMP_ICALL(0x4000D850u); /* 0x4000D8C4: call 0x4000d850 */ /* not lifted */
    437     RECOMP_FLAGS_IN();
    438     MEM32(esi + 0x8) = eax; /* 0x4000D8C9: mov dword ptr [esi + 8], eax */
    439     eax = MEM32(ebp + (-0x4)); /* 0x4000D8CC: mov eax, dword ptr [ebp - 4] */
    440     esi = POP32_VAL(esp); /* 0x4000D8CF: pop esi */
    441 L_4000D8D0:
    442     edi = POP32_VAL(esp); /* 0x4000D8D0: pop edi */
    443     ebx = POP32_VAL(esp); /* 0x4000D8D1: pop ebx */
    444     esp = ebp; /* 0x4000D8D2: mov esp, ebp */
    445     ebp = POP32_VAL(esp); /* 0x4000D8D4: pop ebp */
    446     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000D8D5: ret 8 */
    447     RECOMP_REGS_OUT();
    448 }
    449 
    450 void sub_4000D8E0(void) {
    451     int _fpu_cmp = 0;
    452     uint32_t _cf = 0;
    453     int _df = 1;
    454     uint32_t _flag_k = FK_NONE;
    455     uint32_t _flag_a = 0, _flag_b = 0;
    456     uint32_t _itail_tgt = 0;
    457     RECOMP_REGS_LOCALS
    458     RECOMP_ENTER(0x4000D8E0u);
    459 
    460 L_4000D8E0:
    461     PUSH32(esp, ebp); /* 0x4000D8E0: push ebp */
    462     ebp = esp; /* 0x4000D8E1: mov ebp, esp */
    463     PUSH32(esp, ebx); /* 0x4000D8E3: push ebx */
    464     PUSH32(esp, esi); /* 0x4000D8E4: push esi */
    465     ebx = ecx; /* 0x4000D8E5: mov ebx, ecx */
    466     eax = MEM32(ebx + 0x8); /* 0x4000D8E7: mov eax, dword ptr [ebx + 8] */
    467     PUSH32(esp, edi); /* 0x4000D8EA: push edi */
    468     edi = MEM32(ebp + 0x8); /* 0x4000D8EB: mov edi, dword ptr [ebp + 8] */
    469     /* cmp edi, eax */ /* 0x4000D8EE: cmp edi, eax */
    470     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    471     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    472     _flag_k = FK_CMP;
    473     esi = edi; /* 0x4000D8F0: mov esi, edi */
    474     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000D91B; /* 0x4000D8F2: je 0x4000d91b */
    475 L_4000D8F4:
    476     eax = MEM32(esi + 0x8); /* 0x4000D8F4: mov eax, dword ptr [esi + 8] */
    477     PUSH32(esp, eax); /* 0x4000D8F7: push eax */
    478     ecx = ebx; /* 0x4000D8F8: mov ecx, ebx */
    479     RECOMP_ICALL(0x4000D8E0u); /* 0x4000D8FA: call 0x4000d8e0 */ /* not lifted */
    480     RECOMP_FLAGS_IN();
    481     esi = MEM32(esi); /* 0x4000D8FF: mov esi, dword ptr [esi] */
    482     ecx = edi + 0xC; /* 0x4000D901: lea ecx, [edi + 0xc] */
    483     RECOMP_ICALL(0x400073A0u); /* 0x4000D904: call 0x400073a0 */ /* not lifted */
    484     RECOMP_FLAGS_IN();
    485     PUSH32(esp, edi); /* 0x4000D909: push edi */
    486     RECOMP_ICALL(0x400146F2u); /* 0x4000D90A: call 0x400146f2 */ /* not lifted */
    487     RECOMP_FLAGS_IN();
    488     eax = MEM32(ebx + 0x8); /* 0x4000D90F: mov eax, dword ptr [ebx + 8] */
    489     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    490     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    491     esp = esp + 4; /* 0x4000D912: add esp, 4 */
    492     _flag_k = FK_ADD;
    493     /* cmp esi, eax */ /* 0x4000D915: cmp esi, eax */
    494     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    496     _flag_k = FK_CMP;
    497     edi = esi; /* 0x4000D917: mov edi, esi */
    498     RECOMP_BACKEDGE();
    499     if (CMP_NE(_flag_a, _flag_b)) goto L_4000D8F4; /* 0x4000D919: jne 0x4000d8f4 */
    500 L_4000D91B:
    501     edi = POP32_VAL(esp); /* 0x4000D91B: pop edi */
    502     esi = POP32_VAL(esp); /* 0x4000D91C: pop esi */
    503     ebx = POP32_VAL(esp); /* 0x4000D91D: pop ebx */
    504     ebp = POP32_VAL(esp); /* 0x4000D91E: pop ebp */
    505     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000D91F: ret 4 */
    506     RECOMP_REGS_OUT();
    507 }
    508 
    509 void sub_4000D930(void) {
    510     int _fpu_cmp = 0;
    511     uint32_t _cf = 0;
    512     int _df = 1;
    513     uint32_t _flag_k = FK_NONE;
    514     uint32_t _flag_a = 0, _flag_b = 0;
    515     uint32_t _itail_tgt = 0;
    516     RECOMP_REGS_LOCALS
    517     RECOMP_ENTER(0x4000D930u);
    518 
    519 L_4000D930:
    520     PUSH32(esp, ebp); /* 0x4000D930: push ebp */
    521     ebp = esp; /* 0x4000D931: mov ebp, esp */
    522     PUSH32(esp, 0x20u); /* 0x4000D933: push 0x20 */
    523     RECOMP_ICALL(0x40014704u); /* 0x4000D935: call 0x40014704 */ /* not lifted */
    524     RECOMP_FLAGS_IN();
    525     ecx = MEM32(ebp + 0x8); /* 0x4000D93A: mov ecx, dword ptr [ebp + 8] */
    526     SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x4000D93D: mov dl, byte ptr [ebp + 0xc] */
    527     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    528     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    529     esp = esp + 4; /* 0x4000D940: add esp, 4 */
    530     _flag_k = FK_ADD;
    531     MEM32(eax + 0x4) = ecx; /* 0x4000D943: mov dword ptr [eax + 4], ecx */
    532     MEM8(eax + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000D946: mov byte ptr [eax + 0x1c], dl */
    533     MEM8(eax + 0x1D) = (uint8_t)(0); /* 0x4000D949: mov byte ptr [eax + 0x1d], 0 */
    534     ebp = POP32_VAL(esp); /* 0x4000D94D: pop ebp */
    535     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000D94E: ret 8 */
    536     RECOMP_REGS_OUT();
    537 }
    538 
    539 void sub_4000D960(void) {
    540     int _fpu_cmp = 0;
    541     uint32_t _cf = 0;
    542     int _df = 1;
    543     uint32_t _flag_k = FK_NONE;
    544     uint32_t _flag_a = 0, _flag_b = 0;
    545     uint32_t _itail_tgt = 0;
    546     RECOMP_REGS_LOCALS
    547     RECOMP_ENTER(0x4000D960u);
    548 
    549 L_4000D960:
    550     PUSH32(esp, ebp); /* 0x4000D960: push ebp */
    551     ebp = esp; /* 0x4000D961: mov ebp, esp */
    552     eax = MEM32(ebp + 0xC); /* 0x4000D963: mov eax, dword ptr [ebp + 0xc] */
    553     edx = MEM32(eax); /* 0x4000D966: mov edx, dword ptr [eax] */
    554     PUSH32(esp, esi); /* 0x4000D968: push esi */
    555     esi = ecx; /* 0x4000D969: mov esi, ecx */
    556     ecx = MEM32(eax + 0x4); /* 0x4000D96B: mov ecx, dword ptr [eax + 4] */
    557     PUSH32(esp, edi); /* 0x4000D96E: push edi */
    558     edi = MEM32(eax); /* 0x4000D96F: mov edi, dword ptr [eax] */
    559     MEM32(ecx) = edx; /* 0x4000D971: mov dword ptr [ecx], edx */
    560     ecx = MEM32(eax); /* 0x4000D973: mov ecx, dword ptr [eax] */
    561     edx = MEM32(eax + 0x4); /* 0x4000D975: mov edx, dword ptr [eax + 4] */
    562     PUSH32(esp, eax); /* 0x4000D978: push eax */
    563     MEM32(ecx + 0x4) = edx; /* 0x4000D979: mov dword ptr [ecx + 4], edx */
    564     RECOMP_ICALL(0x400146F2u); /* 0x4000D97C: call 0x400146f2 */ /* not lifted */
    565     RECOMP_FLAGS_IN();
    566     eax = MEM32(esi + 0x8); /* 0x4000D981: mov eax, dword ptr [esi + 8] */
    567     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    568     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    569     esp = esp + 4; /* 0x4000D984: add esp, 4 */
    570     _flag_k = FK_ADD;
    571     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    572     eax = eax - 1; /* 0x4000D987: dec eax */
    573     _flag_k = FK_DEC;
    574     MEM32(esi + 0x8) = eax; /* 0x4000D988: mov dword ptr [esi + 8], eax */
    575     eax = MEM32(ebp + 0x8); /* 0x4000D98B: mov eax, dword ptr [ebp + 8] */
    576     MEM32(eax) = edi; /* 0x4000D98E: mov dword ptr [eax], edi */
    577     edi = POP32_VAL(esp); /* 0x4000D990: pop edi */
    578     esi = POP32_VAL(esp); /* 0x4000D991: pop esi */
    579     ebp = POP32_VAL(esp); /* 0x4000D992: pop ebp */
    580     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000D993: ret 8 */
    581     RECOMP_REGS_OUT();
    582 }
    583 
    584 void sub_4000D9A0(void) {
    585     int _fpu_cmp = 0;
    586     uint32_t _cf = 0;
    587     int _df = 1;
    588     uint32_t _flag_k = FK_NONE;
    589     uint32_t _flag_a = 0, _flag_b = 0;
    590     uint32_t _itail_tgt = 0;
    591     RECOMP_REGS_LOCALS
    592     RECOMP_ENTER(0x4000D9A0u);
    593 
    594 L_4000D9A0:
    595     PUSH32(esp, ebp); /* 0x4000D9A0: push ebp */
    596     ebp = esp; /* 0x4000D9A1: mov ebp, esp */
    597     PUSH32(esp, 0xFFFFFFFFu); /* 0x4000D9A3: push -1 */
    598     PUSH32(esp, 0x400150D9u); /* 0x4000D9A5: push 0x400150d9 */
    599     eax = MEM32(FS_BASE + (0)); /* 0x4000D9AA: mov eax, dword ptr fs:[0] */
    600     PUSH32(esp, eax); /* 0x4000D9B0: push eax */
    601     MEM32(FS_BASE + (0)) = esp; /* 0x4000D9B1: mov dword ptr fs:[0], esp */
    602     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u);
    603     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    604     esp = esp - 0x38u; /* 0x4000D9B8: sub esp, 0x38 */
    605     _flag_k = FK_CMP;
    606     eax = MEM32(ebp + 0xC); /* 0x4000D9BB: mov eax, dword ptr [ebp + 0xc] */
    607     PUSH32(esp, esi); /* 0x4000D9BE: push esi */
    608     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    609     esi = 0; /* 0x4000D9BF: xor esi, esi */
    610     _cf = 0;
    611     _flag_k = FK_TEST;
    612     /* cmp eax, 0x400u */ /* 0x4000D9C1: cmp eax, 0x400 */
    613     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x400u);
    614     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    615     _flag_k = FK_CMP;
    616     MEM32(ebp + (-0x10)) = esi; /* 0x4000D9C6: mov dword ptr [ebp - 0x10], esi */
    617     if (CMP_AE(_flag_a, _flag_b)) goto L_4000D9DF; /* 0x4000D9C9: jae 0x4000d9df */
    618 L_4000D9CB:
    619     PUSH32(esp, 0x4001D088u); /* 0x4000D9CB: push 0x4001d088 */
    620     PUSH32(esp, eax); /* 0x4000D9D0: push eax */
    621     PUSH32(esp, 0x4001CC34u); /* 0x4000D9D1: push 0x4001cc34 */
    622     eax = ebp + (-0x44); /* 0x4000D9D6: lea eax, [ebp - 0x44] */
    623     PUSH32(esp, eax); /* 0x4000D9D9: push eax */
    624     goto L_4000DA71; /* 0x4000D9DA: jmp 0x4000da71 */
    625 L_4000D9DF:
    626     /* cmp eax, 0x2800u */ /* 0x4000D9DF: cmp eax, 0x2800 */
    627     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2800u);
    628     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    629     _flag_k = FK_CMP;
    630     if (CMP_AE(_flag_a, _flag_b)) goto L_4000DA14; /* 0x4000D9E4: jae 0x4000da14 */
    631 L_4000D9E6:
    632     MEM32(ebp + (-0x14)) = eax; /* 0x4000D9E6: mov dword ptr [ebp - 0x14], eax */
    633     MEM32(ebp + (-0x10)) = esi; /* 0x4000D9E9: mov dword ptr [ebp - 0x10], esi */
    634     fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x4000D9EC: fild qword ptr [ebp - 0x14] */
    635     PUSH32(esp, 0x4001CC30u); /* 0x4000D9EF: push 0x4001cc30 */
    636     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    638     esp = esp - 8; /* 0x4000D9F4: sub esp, 8 */
    639     _flag_k = FK_CMP;
    640     _st[0] *= *(double*)ADDR(0x40016460); /* 0x4000D9F7: fmul qword ptr [0x40016460] */
    641     ecx = ebp + (-0x44); /* 0x4000D9FD: lea ecx, [ebp - 0x44] */
    642     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x4000DA00: fstp qword ptr [esp] */
    643     PUSH32(esp, 0x4001CC28u); /* 0x4000DA03: push 0x4001cc28 */
    644     PUSH32(esp, ecx); /* 0x4000DA08: push ecx */
    645     RECOMP_ICALL(MEM32(0x400160CC)); /* 0x4000DA09: call dword ptr [0x400160cc] */
    646     RECOMP_FLAGS_IN();
    647     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    648     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    649     esp = esp + 0x14u; /* 0x4000DA0F: add esp, 0x14 */
    650     _flag_k = FK_ADD;
    651     goto L_4000DA7A; /* 0x4000DA12: jmp 0x4000da7a */
    652 L_4000DA14:
    653     /* cmp eax, 0x00100000u */ /* 0x4000DA14: cmp eax, 0x100000 */
    654     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00100000u);
    655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    656     _flag_k = FK_CMP;
    657     if (CMP_AE(_flag_a, _flag_b)) goto L_4000DA2F; /* 0x4000DA19: jae 0x4000da2f */
    658 L_4000DA1B:
    659     PUSH32(esp, 0x4001CC30u); /* 0x4000DA1B: push 0x4001cc30 */
    660     if (10u) _cf = (((eax) >> 9) & 1u); /* 0x4000DA20: shr eax, 0xa */
    661     if (10u) { _flag_a = recomp_flags_pack((eax >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    662     eax = eax >> 10u; /* 0x4000DA20: shr eax, 0xa */
    663     PUSH32(esp, eax); /* 0x4000DA23: push eax */
    664     PUSH32(esp, 0x4001CC34u); /* 0x4000DA24: push 0x4001cc34 */
    665     edx = ebp + (-0x44); /* 0x4000DA29: lea edx, [ebp - 0x44] */
    666     PUSH32(esp, edx); /* 0x4000DA2C: push edx */
    667     goto L_4000DA71; /* 0x4000DA2D: jmp 0x4000da71 */
    668 L_4000DA2F:
    669     /* cmp eax, 0x00A00000u */ /* 0x4000DA2F: cmp eax, 0xa00000 */
    670     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00A00000u);
    671     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    672     _flag_k = FK_CMP;
    673     PUSH32(esp, 0x4001CC24u); /* 0x4000DA34: push 0x4001cc24 */
    674     if (CMP_AE(_flag_a, _flag_b)) goto L_4000DA64; /* 0x4000DA39: jae 0x4000da64 */
    675 L_4000DA3B:
    676     MEM32(ebp + (-0x14)) = eax; /* 0x4000DA3B: mov dword ptr [ebp - 0x14], eax */
    677     MEM32(ebp + (-0x10)) = esi; /* 0x4000DA3E: mov dword ptr [ebp - 0x10], esi */
    678     fp_push_i64((int64_t)MEM64(ebp + (-0x14))); /* 0x4000DA41: fild qword ptr [ebp - 0x14] */
    679     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    681     esp = esp - 8; /* 0x4000DA44: sub esp, 8 */
    682     _flag_k = FK_CMP;
    683     eax = ebp + (-0x44); /* 0x4000DA47: lea eax, [ebp - 0x44] */
    684     _st[0] *= *(double*)ADDR(0x40016458); /* 0x4000DA4A: fmul qword ptr [0x40016458] */
    685     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x4000DA50: fstp qword ptr [esp] */
    686     PUSH32(esp, 0x4001CC28u); /* 0x4000DA53: push 0x4001cc28 */
    687     PUSH32(esp, eax); /* 0x4000DA58: push eax */
    688     RECOMP_ICALL(MEM32(0x400160CC)); /* 0x4000DA59: call dword ptr [0x400160cc] */
    689     RECOMP_FLAGS_IN();
    690     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    691     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    692     esp = esp + 0x14u; /* 0x4000DA5F: add esp, 0x14 */
    693     _flag_k = FK_ADD;
    694     goto L_4000DA7A; /* 0x4000DA62: jmp 0x4000da7a */
    695 L_4000DA64:
    696     if (20u) _cf = (((eax) >> 19) & 1u); /* 0x4000DA64: shr eax, 0x14 */
    697     if (20u) { _flag_a = recomp_flags_pack((eax >> 20u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    698     eax = eax >> 20u; /* 0x4000DA64: shr eax, 0x14 */
    699     PUSH32(esp, eax); /* 0x4000DA67: push eax */
    700     PUSH32(esp, 0x4001CC34u); /* 0x4000DA68: push 0x4001cc34 */
    701     ecx = ebp + (-0x44); /* 0x4000DA6D: lea ecx, [ebp - 0x44] */
    702     PUSH32(esp, ecx); /* 0x4000DA70: push ecx */
    703 L_4000DA71:
    704     RECOMP_ICALL(MEM32(0x400160CC)); /* 0x4000DA71: call dword ptr [0x400160cc] */
    705     RECOMP_FLAGS_IN();
    706     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    707     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    708     esp = esp + 0x10u; /* 0x4000DA77: add esp, 0x10 */
    709     _flag_k = FK_ADD;
    710 L_4000DA7A:
    711     SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x4000DA7A: mov dl, byte ptr [ebp + 0xf] */
    712     PUSH32(esp, ebx); /* 0x4000DA7D: push ebx */
    713     PUSH32(esp, edi); /* 0x4000DA7E: push edi */
    714     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    715     ecx = ecx | 0xFFFFFFFFu; /* 0x4000DA7F: or ecx, 0xffffffff */
    716     _cf = 0;
    717     _flag_k = FK_TEST;
    718     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    719     eax = 0; /* 0x4000DA82: xor eax, eax */
    720     _cf = 0;
    721     _flag_k = FK_TEST;
    722     edi = ebp + (-0x44); /* 0x4000DA84: lea edi, [ebp - 0x44] */
    723     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x4000DA87: repne scasb al, byte ptr es:[edi] */
    724     ecx = ~ecx; /* 0x4000DA89: not ecx */
    725     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    726     ecx = ecx - 1; /* 0x4000DA8B: dec ecx */
    727     _flag_k = FK_DEC;
    728     ebx = ecx; /* 0x4000DA8C: mov ebx, ecx */
    729     PUSH32(esp, 1); /* 0x4000DA8E: push 1 */
    730     PUSH32(esp, ebx); /* 0x4000DA90: push ebx */
    731     ecx = ebp + (-0x1C); /* 0x4000DA91: lea ecx, [ebp - 0x1c] */
    732     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(edx)); /* 0x4000DA94: mov byte ptr [ebp - 0x1c], dl */
    733     MEM32(ebp + (-0x18)) = esi; /* 0x4000DA97: mov dword ptr [ebp - 0x18], esi */
    734     MEM32(ebp + (-0x14)) = esi; /* 0x4000DA9A: mov dword ptr [ebp - 0x14], esi */
    735     MEM32(ebp + (-0x10)) = esi; /* 0x4000DA9D: mov dword ptr [ebp - 0x10], esi */
    736     RECOMP_ICALL(MEM32(0x40016064)); /* 0x4000DAA0: call dword ptr [0x40016064] */
    737     RECOMP_FLAGS_IN();
    738     /* test LO8(eax), LO8(eax) */ /* 0x4000DAA6: test al, al */
    739     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    740     _cf = 0;
    741     _flag_k = FK_NARROW(FK_TEST, 24);
    742     if (TEST_Z(_flag_a, _flag_b)) goto L_4000DACC; /* 0x4000DAA8: je 0x4000dacc */
    743 L_4000DAAA:
    744     edi = MEM32(ebp + (-0x18)); /* 0x4000DAAA: mov edi, dword ptr [ebp - 0x18] */
    745     ecx = ebx; /* 0x4000DAAD: mov ecx, ebx */
    746     eax = ecx; /* 0x4000DAAF: mov eax, ecx */
    747     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x4000DAB1: shr ecx, 2 */
    748     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    749     ecx = ecx >> 2u; /* 0x4000DAB1: shr ecx, 2 */
    750     esi = ebp + (-0x44); /* 0x4000DAB4: lea esi, [ebp - 0x44] */
    751     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x4000DAB7: 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; }
    752     ecx = eax; /* 0x4000DAB9: mov ecx, eax */
    753     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    754     ecx = ecx & 3; /* 0x4000DABB: and ecx, 3 */
    755     _cf = 0;
    756     _flag_k = FK_TEST;
    757     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x4000DABE: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    758     ecx = MEM32(ebp + (-0x18)); /* 0x4000DAC0: mov ecx, dword ptr [ebp - 0x18] */
    759     MEM32(ebp + (-0x14)) = ebx; /* 0x4000DAC3: mov dword ptr [ebp - 0x14], ebx */
    760     MEM8(ecx + ebx) = (uint8_t)(0); /* 0x4000DAC6: mov byte ptr [ecx + ebx], 0 */
    761     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    762     esi = 0; /* 0x4000DACA: xor esi, esi */
    763     _cf = 0;
    764     _flag_k = FK_TEST;
    765 L_4000DACC:
    766     SET_LO8(edx, MEM8(ebp + (-0x1C))); /* 0x4000DACC: mov dl, byte ptr [ebp - 0x1c] */
    767     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    768     edi = 0; /* 0x4000DACF: xor edi, edi */
    769     _cf = 0;
    770     _flag_k = FK_TEST;
    771     MEM32(ebp + (-0x4)) = esi; /* 0x4000DAD1: mov dword ptr [ebp - 4], esi */
    772     esi = MEM32(ebp + 0x8); /* 0x4000DAD4: mov esi, dword ptr [ebp + 8] */
    773     MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x4000DAD7: mov byte ptr [esi], dl */
    774     MEM32(esi + 0x4) = edi; /* 0x4000DAD9: mov dword ptr [esi + 4], edi */
    775     MEM32(esi + 0x8) = edi; /* 0x4000DADC: mov dword ptr [esi + 8], edi */
    776     MEM32(esi + 0xC) = edi; /* 0x4000DADF: mov dword ptr [esi + 0xc], edi */
    777     eax = MEM32(0x40016038); /* 0x4000DAE2: mov eax, dword ptr [0x40016038] */
    778     ecx = MEM32(eax); /* 0x4000DAE7: mov ecx, dword ptr [eax] */
    779     PUSH32(esp, ecx); /* 0x4000DAE9: push ecx */
    780     PUSH32(esp, edi); /* 0x4000DAEA: push edi */
    781     edx = ebp + (-0x1C); /* 0x4000DAEB: lea edx, [ebp - 0x1c] */
    782     PUSH32(esp, edx); /* 0x4000DAEE: push edx */
    783     ecx = esi; /* 0x4000DAEF: mov ecx, esi */
    784     RECOMP_ICALL(MEM32(0x400160A4)); /* 0x4000DAF1: call dword ptr [0x400160a4] */
    785     RECOMP_FLAGS_IN();
    786     ecx = MEM32(ebp + (-0x18)); /* 0x4000DAF7: mov ecx, dword ptr [ebp - 0x18] */
    787     /* cmp ecx, edi */ /* 0x4000DAFA: cmp ecx, edi */
    788     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
    789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    790     _flag_k = FK_CMP;
    791     edi = POP32_VAL(esp); /* 0x4000DAFC: pop edi */
    792     ebx = POP32_VAL(esp); /* 0x4000DAFD: pop ebx */
    793     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DB2B; /* 0x4000DAFE: je 0x4000db2b */
    794 L_4000DB00:
    795     SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x4000DB00: mov al, byte ptr [ecx - 1] */
    796     /* test LO8(eax), LO8(eax) */ /* 0x4000DB03: test al, al */
    797     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    798     _cf = 0;
    799     _flag_k = FK_NARROW(FK_TEST, 24);
    800     if (TEST_Z(_flag_a, _flag_b)) goto L_4000DB21; /* 0x4000DB05: je 0x4000db21 */
    801 L_4000DB07:
    802     /* cmp LO8(eax), 0xFFu */ /* 0x4000DB07: cmp al, 0xff */
    803     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    805     _flag_k = FK_NARROW(FK_CMP, 24);
    806     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DB21; /* 0x4000DB09: je 0x4000db21 */
    807 L_4000DB0B:
    808     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    809     SET_LO8(eax, LO8(eax) - 1); /* 0x4000DB0B: dec al */
    810     _flag_k = FK_NARROW(FK_DEC, 24);
    811     MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x4000DB0D: mov byte ptr [ecx - 1], al */
    812     eax = esi; /* 0x4000DB10: mov eax, esi */
    813     esi = POP32_VAL(esp); /* 0x4000DB12: pop esi */
    814     ecx = MEM32(ebp + (-0xC)); /* 0x4000DB13: mov ecx, dword ptr [ebp - 0xc] */
    815     MEM32(FS_BASE + (0)) = ecx; /* 0x4000DB16: mov dword ptr fs:[0], ecx */
    816     esp = ebp; /* 0x4000DB1D: mov esp, ebp */
    817     ebp = POP32_VAL(esp); /* 0x4000DB1F: pop ebp */
    818     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000DB20: ret  */
    819 L_4000DB21:
    820     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    821     ecx = ecx - 1; /* 0x4000DB21: dec ecx */
    822     _flag_k = FK_DEC;
    823     PUSH32(esp, ecx); /* 0x4000DB22: push ecx */
    824     RECOMP_ICALL(0x400146F2u); /* 0x4000DB23: call 0x400146f2 */ /* not lifted */
    825     RECOMP_FLAGS_IN();
    826     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    827     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    828     esp = esp + 4; /* 0x4000DB28: add esp, 4 */
    829     _flag_k = FK_ADD;
    830 L_4000DB2B:
    831     ecx = MEM32(ebp + (-0xC)); /* 0x4000DB2B: mov ecx, dword ptr [ebp - 0xc] */
    832     eax = esi; /* 0x4000DB2E: mov eax, esi */
    833     esi = POP32_VAL(esp); /* 0x4000DB30: pop esi */
    834     MEM32(FS_BASE + (0)) = ecx; /* 0x4000DB31: mov dword ptr fs:[0], ecx */
    835     esp = ebp; /* 0x4000DB38: mov esp, ebp */
    836     ebp = POP32_VAL(esp); /* 0x4000DB3A: pop ebp */
    837     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000DB3B: ret  */
    838     RECOMP_REGS_OUT();
    839 }
    840 
    841 void sub_4000DA71(void) {
    842     int _fpu_cmp = 0;
    843     uint32_t _cf = 0;
    844     int _df = 1;
    845     uint32_t _flag_k = FK_NONE;
    846     uint32_t _flag_a = 0, _flag_b = 0;
    847     uint32_t _itail_tgt = 0;
    848     RECOMP_REGS_LOCALS
    849     RECOMP_ENTER(0x4000DA71u);
    850 
    851 L_4000DA71:
    852     RECOMP_ICALL(MEM32(0x400160CC)); /* 0x4000DA71: call dword ptr [0x400160cc] */
    853     RECOMP_FLAGS_IN();
    854     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    855     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    856     esp = esp + 0x10u; /* 0x4000DA77: add esp, 0x10 */
    857     _flag_k = FK_ADD;
    858     SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x4000DA7A: mov dl, byte ptr [ebp + 0xf] */
    859     PUSH32(esp, ebx); /* 0x4000DA7D: push ebx */
    860     PUSH32(esp, edi); /* 0x4000DA7E: push edi */
    861     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    862     ecx = ecx | 0xFFFFFFFFu; /* 0x4000DA7F: or ecx, 0xffffffff */
    863     _cf = 0;
    864     _flag_k = FK_TEST;
    865     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    866     eax = 0; /* 0x4000DA82: xor eax, eax */
    867     _cf = 0;
    868     _flag_k = FK_TEST;
    869     edi = ebp + (-0x44); /* 0x4000DA84: lea edi, [ebp - 0x44] */
    870     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x4000DA87: repne scasb al, byte ptr es:[edi] */
    871     ecx = ~ecx; /* 0x4000DA89: not ecx */
    872     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    873     ecx = ecx - 1; /* 0x4000DA8B: dec ecx */
    874     _flag_k = FK_DEC;
    875     ebx = ecx; /* 0x4000DA8C: mov ebx, ecx */
    876     PUSH32(esp, 1); /* 0x4000DA8E: push 1 */
    877     PUSH32(esp, ebx); /* 0x4000DA90: push ebx */
    878     ecx = ebp + (-0x1C); /* 0x4000DA91: lea ecx, [ebp - 0x1c] */
    879     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(edx)); /* 0x4000DA94: mov byte ptr [ebp - 0x1c], dl */
    880     MEM32(ebp + (-0x18)) = esi; /* 0x4000DA97: mov dword ptr [ebp - 0x18], esi */
    881     MEM32(ebp + (-0x14)) = esi; /* 0x4000DA9A: mov dword ptr [ebp - 0x14], esi */
    882     MEM32(ebp + (-0x10)) = esi; /* 0x4000DA9D: mov dword ptr [ebp - 0x10], esi */
    883     RECOMP_ICALL(MEM32(0x40016064)); /* 0x4000DAA0: call dword ptr [0x40016064] */
    884     RECOMP_FLAGS_IN();
    885     /* test LO8(eax), LO8(eax) */ /* 0x4000DAA6: test al, al */
    886     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    887     _cf = 0;
    888     _flag_k = FK_NARROW(FK_TEST, 24);
    889     if (TEST_Z(_flag_a, _flag_b)) goto L_4000DACC; /* 0x4000DAA8: je 0x4000dacc */
    890 L_4000DAAA:
    891     edi = MEM32(ebp + (-0x18)); /* 0x4000DAAA: mov edi, dword ptr [ebp - 0x18] */
    892     ecx = ebx; /* 0x4000DAAD: mov ecx, ebx */
    893     eax = ecx; /* 0x4000DAAF: mov eax, ecx */
    894     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x4000DAB1: shr ecx, 2 */
    895     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    896     ecx = ecx >> 2u; /* 0x4000DAB1: shr ecx, 2 */
    897     esi = ebp + (-0x44); /* 0x4000DAB4: lea esi, [ebp - 0x44] */
    898     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x4000DAB7: 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; }
    899     ecx = eax; /* 0x4000DAB9: mov ecx, eax */
    900     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    901     ecx = ecx & 3; /* 0x4000DABB: and ecx, 3 */
    902     _cf = 0;
    903     _flag_k = FK_TEST;
    904     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x4000DABE: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    905     ecx = MEM32(ebp + (-0x18)); /* 0x4000DAC0: mov ecx, dword ptr [ebp - 0x18] */
    906     MEM32(ebp + (-0x14)) = ebx; /* 0x4000DAC3: mov dword ptr [ebp - 0x14], ebx */
    907     MEM8(ecx + ebx) = (uint8_t)(0); /* 0x4000DAC6: mov byte ptr [ecx + ebx], 0 */
    908     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    909     esi = 0; /* 0x4000DACA: xor esi, esi */
    910     _cf = 0;
    911     _flag_k = FK_TEST;
    912 L_4000DACC:
    913     SET_LO8(edx, MEM8(ebp + (-0x1C))); /* 0x4000DACC: mov dl, byte ptr [ebp - 0x1c] */
    914     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    915     edi = 0; /* 0x4000DACF: xor edi, edi */
    916     _cf = 0;
    917     _flag_k = FK_TEST;
    918     MEM32(ebp + (-0x4)) = esi; /* 0x4000DAD1: mov dword ptr [ebp - 4], esi */
    919     esi = MEM32(ebp + 0x8); /* 0x4000DAD4: mov esi, dword ptr [ebp + 8] */
    920     MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x4000DAD7: mov byte ptr [esi], dl */
    921     MEM32(esi + 0x4) = edi; /* 0x4000DAD9: mov dword ptr [esi + 4], edi */
    922     MEM32(esi + 0x8) = edi; /* 0x4000DADC: mov dword ptr [esi + 8], edi */
    923     MEM32(esi + 0xC) = edi; /* 0x4000DADF: mov dword ptr [esi + 0xc], edi */
    924     eax = MEM32(0x40016038); /* 0x4000DAE2: mov eax, dword ptr [0x40016038] */
    925     ecx = MEM32(eax); /* 0x4000DAE7: mov ecx, dword ptr [eax] */
    926     PUSH32(esp, ecx); /* 0x4000DAE9: push ecx */
    927     PUSH32(esp, edi); /* 0x4000DAEA: push edi */
    928     edx = ebp + (-0x1C); /* 0x4000DAEB: lea edx, [ebp - 0x1c] */
    929     PUSH32(esp, edx); /* 0x4000DAEE: push edx */
    930     ecx = esi; /* 0x4000DAEF: mov ecx, esi */
    931     RECOMP_ICALL(MEM32(0x400160A4)); /* 0x4000DAF1: call dword ptr [0x400160a4] */
    932     RECOMP_FLAGS_IN();
    933     ecx = MEM32(ebp + (-0x18)); /* 0x4000DAF7: mov ecx, dword ptr [ebp - 0x18] */
    934     /* cmp ecx, edi */ /* 0x4000DAFA: cmp ecx, edi */
    935     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
    936     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    937     _flag_k = FK_CMP;
    938     edi = POP32_VAL(esp); /* 0x4000DAFC: pop edi */
    939     ebx = POP32_VAL(esp); /* 0x4000DAFD: pop ebx */
    940     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DB2B; /* 0x4000DAFE: je 0x4000db2b */
    941 L_4000DB00:
    942     SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x4000DB00: mov al, byte ptr [ecx - 1] */
    943     /* test LO8(eax), LO8(eax) */ /* 0x4000DB03: test al, al */
    944     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    945     _cf = 0;
    946     _flag_k = FK_NARROW(FK_TEST, 24);
    947     if (TEST_Z(_flag_a, _flag_b)) goto L_4000DB21; /* 0x4000DB05: je 0x4000db21 */
    948 L_4000DB07:
    949     /* cmp LO8(eax), 0xFFu */ /* 0x4000DB07: cmp al, 0xff */
    950     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    952     _flag_k = FK_NARROW(FK_CMP, 24);
    953     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DB21; /* 0x4000DB09: je 0x4000db21 */
    954 L_4000DB0B:
    955     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    956     SET_LO8(eax, LO8(eax) - 1); /* 0x4000DB0B: dec al */
    957     _flag_k = FK_NARROW(FK_DEC, 24);
    958     MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x4000DB0D: mov byte ptr [ecx - 1], al */
    959     eax = esi; /* 0x4000DB10: mov eax, esi */
    960     esi = POP32_VAL(esp); /* 0x4000DB12: pop esi */
    961     ecx = MEM32(ebp + (-0xC)); /* 0x4000DB13: mov ecx, dword ptr [ebp - 0xc] */
    962     MEM32(FS_BASE + (0)) = ecx; /* 0x4000DB16: mov dword ptr fs:[0], ecx */
    963     esp = ebp; /* 0x4000DB1D: mov esp, ebp */
    964     ebp = POP32_VAL(esp); /* 0x4000DB1F: pop ebp */
    965     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000DB20: ret  */
    966 L_4000DB21:
    967     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    968     ecx = ecx - 1; /* 0x4000DB21: dec ecx */
    969     _flag_k = FK_DEC;
    970     PUSH32(esp, ecx); /* 0x4000DB22: push ecx */
    971     RECOMP_ICALL(0x400146F2u); /* 0x4000DB23: call 0x400146f2 */ /* not lifted */
    972     RECOMP_FLAGS_IN();
    973     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    974     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    975     esp = esp + 4; /* 0x4000DB28: add esp, 4 */
    976     _flag_k = FK_ADD;
    977 L_4000DB2B:
    978     ecx = MEM32(ebp + (-0xC)); /* 0x4000DB2B: mov ecx, dword ptr [ebp - 0xc] */
    979     eax = esi; /* 0x4000DB2E: mov eax, esi */
    980     esi = POP32_VAL(esp); /* 0x4000DB30: pop esi */
    981     MEM32(FS_BASE + (0)) = ecx; /* 0x4000DB31: mov dword ptr fs:[0], ecx */
    982     esp = ebp; /* 0x4000DB38: mov esp, ebp */
    983     ebp = POP32_VAL(esp); /* 0x4000DB3A: pop ebp */
    984     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000DB3B: ret  */
    985     RECOMP_REGS_OUT();
    986 }
    987 
    988 void sub_4000DB40(void) {
    989     int _fpu_cmp = 0;
    990     uint32_t _cf = 0;
    991     int _df = 1;
    992     uint32_t _flag_k = FK_NONE;
    993     uint32_t _flag_a = 0, _flag_b = 0;
    994     uint32_t _itail_tgt = 0;
    995     RECOMP_REGS_LOCALS
    996     RECOMP_ENTER(0x4000DB40u);
    997 
    998 L_4000DB40:
    999     PUSH32(esp, ebp); /* 0x4000DB40: push ebp */
   1000     ebp = esp; /* 0x4000DB41: mov ebp, esp */
   1001     edx = MEM32(ecx + 0x4); /* 0x4000DB43: mov edx, dword ptr [ecx + 4] */
   1002     eax = MEM32(edx + 0x4); /* 0x4000DB46: mov eax, dword ptr [edx + 4] */
   1003     ecx = MEM32(ecx + 0x8); /* 0x4000DB49: mov ecx, dword ptr [ecx + 8] */
   1004     /* cmp eax, ecx */ /* 0x4000DB4C: cmp eax, ecx */
   1005     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1006     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1007     _flag_k = FK_CMP;
   1008     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DB72; /* 0x4000DB4E: je 0x4000db72 */
   1009 L_4000DB50:
   1010     PUSH32(esp, esi); /* 0x4000DB50: push esi */
   1011     esi = MEM32(ebp + 0xC); /* 0x4000DB51: mov esi, dword ptr [ebp + 0xc] */
   1012     esi = MEM32(esi); /* 0x4000DB54: mov esi, dword ptr [esi] */
   1013 L_4000DB56:
   1014     /* cmp MEM32(eax + 0xC), esi */ /* 0x4000DB56: cmp dword ptr [eax + 0xc], esi */
   1015     _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(esi);
   1016     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1017     _flag_k = FK_CMP;
   1018     if (CMP_GE(_flag_a, _flag_b)) goto L_4000DB60; /* 0x4000DB59: jge 0x4000db60 */
   1019 L_4000DB5B:
   1020     eax = MEM32(eax + 0x8); /* 0x4000DB5B: mov eax, dword ptr [eax + 8] */
   1021     goto L_4000DB64; /* 0x4000DB5E: jmp 0x4000db64 */
   1022 L_4000DB60:
   1023     edx = eax; /* 0x4000DB60: mov edx, eax */
   1024     eax = MEM32(eax); /* 0x4000DB62: mov eax, dword ptr [eax] */
   1025 L_4000DB64:
   1026     /* cmp eax, ecx */ /* 0x4000DB64: cmp eax, ecx */
   1027     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1028     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1029     _flag_k = FK_CMP;
   1030     RECOMP_BACKEDGE();
   1031     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DB56; /* 0x4000DB66: jne 0x4000db56 */
   1032 L_4000DB68:
   1033     eax = MEM32(ebp + 0x8); /* 0x4000DB68: mov eax, dword ptr [ebp + 8] */
   1034     MEM32(eax) = edx; /* 0x4000DB6B: mov dword ptr [eax], edx */
   1035     esi = POP32_VAL(esp); /* 0x4000DB6D: pop esi */
   1036     ebp = POP32_VAL(esp); /* 0x4000DB6E: pop ebp */
   1037     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000DB6F: ret 8 */
   1038 L_4000DB72:
   1039     eax = MEM32(ebp + 0x8); /* 0x4000DB72: mov eax, dword ptr [ebp + 8] */
   1040     MEM32(eax) = edx; /* 0x4000DB75: mov dword ptr [eax], edx */
   1041     ebp = POP32_VAL(esp); /* 0x4000DB77: pop ebp */
   1042     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000DB78: ret 8 */
   1043     RECOMP_REGS_OUT();
   1044 }
   1045 
   1046 void sub_4000DB80(void) {
   1047     int _fpu_cmp = 0;
   1048     uint32_t _cf = 0;
   1049     int _df = 1;
   1050     uint32_t _flag_k = FK_NONE;
   1051     uint32_t _flag_a = 0, _flag_b = 0;
   1052     uint32_t _itail_tgt = 0;
   1053     RECOMP_REGS_LOCALS
   1054     RECOMP_ENTER(0x4000DB80u);
   1055 
   1056 L_4000DB80:
   1057     PUSH32(esp, ebx); /* 0x4000DB80: push ebx */
   1058     PUSH32(esp, esi); /* 0x4000DB81: push esi */
   1059     PUSH32(esp, edi); /* 0x4000DB82: push edi */
   1060     PUSH32(esp, 0x18u); /* 0x4000DB83: push 0x18 */
   1061     esi = ecx; /* 0x4000DB85: mov esi, ecx */
   1062     RECOMP_ICALL(0x40014704u); /* 0x4000DB87: call 0x40014704 */ /* not lifted */
   1063     RECOMP_FLAGS_IN();
   1064     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1065     ebx = 0; /* 0x4000DB8C: xor ebx, ebx */
   1066     _cf = 0;
   1067     _flag_k = FK_TEST;
   1068     MEM32(eax + 0x4) = ebx; /* 0x4000DB8E: mov dword ptr [eax + 4], ebx */
   1069     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x4000DB91: mov byte ptr [eax + 0x15], bl */
   1070     SET_LO8(ecx, 1); /* 0x4000DB94: mov cl, 1 */
   1071     MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x4000DB96: mov byte ptr [eax + 0x14], cl */
   1072     MEM32(esi + 0x8) = eax; /* 0x4000DB99: mov dword ptr [esi + 8], eax */
   1073     MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x4000DB9C: mov byte ptr [eax + 0x15], cl */
   1074     eax = MEM32(esi + 0x8); /* 0x4000DB9F: mov eax, dword ptr [esi + 8] */
   1075     MEM32(eax) = ebx; /* 0x4000DBA2: mov dword ptr [eax], ebx */
   1076     ecx = MEM32(esi + 0x8); /* 0x4000DBA4: mov ecx, dword ptr [esi + 8] */
   1077     MEM32(ecx + 0x8) = ebx; /* 0x4000DBA7: mov dword ptr [ecx + 8], ebx */
   1078     edi = MEM32(esi + 0x8); /* 0x4000DBAA: mov edi, dword ptr [esi + 8] */
   1079     PUSH32(esp, 0x18u); /* 0x4000DBAD: push 0x18 */
   1080     RECOMP_ICALL(0x40014704u); /* 0x4000DBAF: call 0x40014704 */ /* not lifted */
   1081     RECOMP_FLAGS_IN();
   1082     MEM32(eax + 0x4) = edi; /* 0x4000DBB4: mov dword ptr [eax + 4], edi */
   1083     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DBB7: mov byte ptr [eax + 0x14], bl */
   1084     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x4000DBBA: mov byte ptr [eax + 0x15], bl */
   1085     MEM32(esi + 0x4) = eax; /* 0x4000DBBD: mov dword ptr [esi + 4], eax */
   1086     MEM32(eax) = eax; /* 0x4000DBC0: mov dword ptr [eax], eax */
   1087     eax = MEM32(esi + 0x4); /* 0x4000DBC2: mov eax, dword ptr [esi + 4] */
   1088     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1089     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1090     esp = esp + 8; /* 0x4000DBC5: add esp, 8 */
   1091     _flag_k = FK_ADD;
   1092     edi = POP32_VAL(esp); /* 0x4000DBC8: pop edi */
   1093     MEM32(eax + 0x8) = eax; /* 0x4000DBC9: mov dword ptr [eax + 8], eax */
   1094     MEM32(esi + 0x10) = ebx; /* 0x4000DBCC: mov dword ptr [esi + 0x10], ebx */
   1095     esi = POP32_VAL(esp); /* 0x4000DBCF: pop esi */
   1096     ebx = POP32_VAL(esp); /* 0x4000DBD0: pop ebx */
   1097     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000DBD1: ret  */
   1098     RECOMP_REGS_OUT();
   1099 }
   1100 
   1101 void sub_4000DBE0(void) {
   1102     int _fpu_cmp = 0;
   1103     uint32_t _cf = 0;
   1104     int _df = 1;
   1105     uint32_t _flag_k = FK_NONE;
   1106     uint32_t _flag_a = 0, _flag_b = 0;
   1107     uint32_t _itail_tgt = 0;
   1108     RECOMP_REGS_LOCALS
   1109     RECOMP_ENTER(0x4000DBE0u);
   1110 
   1111 L_4000DBE0:
   1112     PUSH32(esp, ebp); /* 0x4000DBE0: push ebp */
   1113     ebp = esp; /* 0x4000DBE1: mov ebp, esp */
   1114     PUSH32(esp, ecx); /* 0x4000DBE3: push ecx */
   1115     PUSH32(esp, ebx); /* 0x4000DBE4: push ebx */
   1116     PUSH32(esp, esi); /* 0x4000DBE5: push esi */
   1117     PUSH32(esp, edi); /* 0x4000DBE6: push edi */
   1118     PUSH32(esp, 0x18u); /* 0x4000DBE7: push 0x18 */
   1119     esi = ecx; /* 0x4000DBE9: mov esi, ecx */
   1120     RECOMP_ICALL(0x40014704u); /* 0x4000DBEB: call 0x40014704 */ /* not lifted */
   1121     RECOMP_FLAGS_IN();
   1122     edi = MEM32(ebp + 0x10); /* 0x4000DBF0: mov edi, dword ptr [ebp + 0x10] */
   1123     ebx = MEM32(ebp + 0x14); /* 0x4000DBF3: mov ebx, dword ptr [ebp + 0x14] */
   1124     MEM32(eax + 0x4) = edi; /* 0x4000DBF6: mov dword ptr [eax + 4], edi */
   1125     MEM8(eax + 0x14) = (uint8_t)(0); /* 0x4000DBF9: mov byte ptr [eax + 0x14], 0 */
   1126     MEM8(eax + 0x15) = (uint8_t)(0); /* 0x4000DBFD: mov byte ptr [eax + 0x15], 0 */
   1127     ecx = MEM32(esi + 0x8); /* 0x4000DC01: mov ecx, dword ptr [esi + 8] */
   1128     MEM32(eax) = ecx; /* 0x4000DC04: mov dword ptr [eax], ecx */
   1129     edx = MEM32(esi + 0x8); /* 0x4000DC06: mov edx, dword ptr [esi + 8] */
   1130     MEM32(ebp + (-0x4)) = eax; /* 0x4000DC09: mov dword ptr [ebp - 4], eax */
   1131     MEM32(eax + 0x8) = edx; /* 0x4000DC0C: mov dword ptr [eax + 8], edx */
   1132     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   1133     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1134     eax = eax + 0xCu; /* 0x4000DC0F: add eax, 0xc */
   1135     _flag_k = FK_ADD;
   1136     PUSH32(esp, ebx); /* 0x4000DC12: push ebx */
   1137     PUSH32(esp, eax); /* 0x4000DC13: push eax */
   1138     RECOMP_ICALL(0x4000FBD0u); /* 0x4000DC14: call 0x4000fbd0 */ /* not lifted */
   1139     RECOMP_FLAGS_IN();
   1140     ecx = MEM32(esi + 0x10); /* 0x4000DC19: mov ecx, dword ptr [esi + 0x10] */
   1141     eax = MEM32(esi + 0x4); /* 0x4000DC1C: mov eax, dword ptr [esi + 4] */
   1142     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1143     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1144     esp = esp + 0xCu; /* 0x4000DC1F: add esp, 0xc */
   1145     _flag_k = FK_ADD;
   1146     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1147     ecx = ecx + 1; /* 0x4000DC22: inc ecx */
   1148     _flag_k = FK_INC;
   1149     /* cmp edi, eax */ /* 0x4000DC23: cmp edi, eax */
   1150     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1151     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1152     _flag_k = FK_CMP;
   1153     MEM32(esi + 0x10) = ecx; /* 0x4000DC25: mov dword ptr [esi + 0x10], ecx */
   1154     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DC4C; /* 0x4000DC28: je 0x4000dc4c */
   1155 L_4000DC2A:
   1156     eax = MEM32(ebp + 0xC); /* 0x4000DC2A: mov eax, dword ptr [ebp + 0xc] */
   1157     /* cmp eax, MEM32(esi + 0x8) */ /* 0x4000DC2D: cmp eax, dword ptr [esi + 8] */
   1158     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1159     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1160     _flag_k = FK_CMP;
   1161     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC4C; /* 0x4000DC30: jne 0x4000dc4c */
   1162 L_4000DC32:
   1163     ecx = MEM32(ebx); /* 0x4000DC32: mov ecx, dword ptr [ebx] */
   1164     /* cmp ecx, MEM32(edi + 0xC) */ /* 0x4000DC34: cmp ecx, dword ptr [edi + 0xc] */
   1165     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC));
   1166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1167     _flag_k = FK_CMP;
   1168     if (CMP_L(_flag_a, _flag_b)) goto L_4000DC4C; /* 0x4000DC37: jl 0x4000dc4c */
   1169 L_4000DC39:
   1170     ecx = MEM32(ebp + (-0x4)); /* 0x4000DC39: mov ecx, dword ptr [ebp - 4] */
   1171     MEM32(edi + 0x8) = ecx; /* 0x4000DC3C: mov dword ptr [edi + 8], ecx */
   1172     eax = MEM32(esi + 0x4); /* 0x4000DC3F: mov eax, dword ptr [esi + 4] */
   1173     /* cmp edi, MEM32(eax + 0x8) */ /* 0x4000DC42: cmp edi, dword ptr [eax + 8] */
   1174     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   1175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1176     _flag_k = FK_CMP;
   1177     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC6C; /* 0x4000DC45: jne 0x4000dc6c */
   1178 L_4000DC47:
   1179     MEM32(eax + 0x8) = ecx; /* 0x4000DC47: mov dword ptr [eax + 8], ecx */
   1180     goto L_4000DC6C; /* 0x4000DC4A: jmp 0x4000dc6c */
   1181 L_4000DC4C:
   1182     ecx = MEM32(ebp + (-0x4)); /* 0x4000DC4C: mov ecx, dword ptr [ebp - 4] */
   1183     MEM32(edi) = ecx; /* 0x4000DC4F: mov dword ptr [edi], ecx */
   1184     eax = MEM32(esi + 0x4); /* 0x4000DC51: mov eax, dword ptr [esi + 4] */
   1185     /* cmp edi, eax */ /* 0x4000DC54: cmp edi, eax */
   1186     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1188     _flag_k = FK_CMP;
   1189     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC63; /* 0x4000DC56: jne 0x4000dc63 */
   1190 L_4000DC58:
   1191     MEM32(eax + 0x4) = ecx; /* 0x4000DC58: mov dword ptr [eax + 4], ecx */
   1192     edx = MEM32(esi + 0x4); /* 0x4000DC5B: mov edx, dword ptr [esi + 4] */
   1193     MEM32(edx + 0x8) = ecx; /* 0x4000DC5E: mov dword ptr [edx + 8], ecx */
   1194     goto L_4000DC6C; /* 0x4000DC61: jmp 0x4000dc6c */
   1195 L_4000DC63:
   1196     /* cmp edi, MEM32(eax) */ /* 0x4000DC63: cmp edi, dword ptr [eax] */
   1197     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   1198     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1199     _flag_k = FK_CMP;
   1200     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC6C; /* 0x4000DC65: jne 0x4000dc6c */
   1201 L_4000DC67:
   1202     ecx = MEM32(ebp + (-0x4)); /* 0x4000DC67: mov ecx, dword ptr [ebp - 4] */
   1203     MEM32(eax) = ecx; /* 0x4000DC6A: mov dword ptr [eax], ecx */
   1204 L_4000DC6C:
   1205     edx = MEM32(esi + 0x4); /* 0x4000DC6C: mov edx, dword ptr [esi + 4] */
   1206     eax = MEM32(ebp + (-0x4)); /* 0x4000DC6F: mov eax, dword ptr [ebp - 4] */
   1207     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DC72: cmp eax, dword ptr [edx + 4] */
   1208     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1209     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1210     _flag_k = FK_CMP;
   1211     SET_LO8(ebx, 1); /* 0x4000DC75: mov bl, 1 */
   1212     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC77: je 0x4000ddfd */
   1213 L_4000DC7D:
   1214     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   1215     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   1216     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   1217     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1218     _cf = 0;
   1219     _flag_k = FK_NARROW(FK_TEST, 24);
   1220     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   1221 L_4000DC8B:
   1222     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   1223     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   1224     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   1225     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1227     _flag_k = FK_CMP;
   1228     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   1229 L_4000DC98:
   1230     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   1231     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   1232     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1233     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1234     _flag_k = FK_NARROW(FK_CMP, 24);
   1235     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   1236 L_4000DCA1:
   1237     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   1238     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   1239     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   1240     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   1241     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   1242     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   1243     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   1244     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   1245 L_4000DCBC:
   1246     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   1247     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1248     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1249     _flag_k = FK_CMP;
   1250     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   1251 L_4000DCC1:
   1252     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   1253     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   1254     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   1255     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   1256     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   1257     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   1258     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1259     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1260     _flag_k = FK_CMP;
   1261     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   1262 L_4000DCD2:
   1263     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   1264 L_4000DCD5:
   1265     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   1266     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   1267     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   1268     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   1269     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1271     _flag_k = FK_CMP;
   1272     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   1273 L_4000DCE3:
   1274     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   1275     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   1276 L_4000DCE8:
   1277     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   1278     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   1279     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   1280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1281     _flag_k = FK_CMP;
   1282     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   1283 L_4000DCEF:
   1284     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   1285     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   1286 L_4000DCF3:
   1287     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   1288 L_4000DCF6:
   1289     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   1290     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   1291 L_4000DCFB:
   1292     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   1293     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   1294     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   1295     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   1296     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   1297     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   1298     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   1299     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   1300     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   1301     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   1302     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   1303     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   1304     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1306     _flag_k = FK_CMP;
   1307     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   1308 L_4000DD20:
   1309     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   1310 L_4000DD23:
   1311     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   1312     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   1313     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   1314     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   1315     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1317     _flag_k = FK_CMP;
   1318     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   1319 L_4000DD31:
   1320     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   1321     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   1322     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   1323 L_4000DD3C:
   1324     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   1325     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   1326     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   1327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1328     _flag_k = FK_CMP;
   1329     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   1330 L_4000DD44:
   1331     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   1332     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   1333     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   1334 L_4000DD4F:
   1335     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   1336     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   1337     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   1338 L_4000DD59:
   1339     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   1340     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1342     _flag_k = FK_NARROW(FK_CMP, 24);
   1343     RECOMP_BACKEDGE();
   1344     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   1345 L_4000DD63:
   1346     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   1347     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   1348     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1349     _flag_k = FK_CMP;
   1350     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   1351 L_4000DD67:
   1352     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   1353     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   1354     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   1355     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   1356     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   1357     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   1358     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1360     _flag_k = FK_CMP;
   1361     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   1362 L_4000DD78:
   1363     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   1364 L_4000DD7B:
   1365     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   1366     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   1367     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   1368     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   1369     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1371     _flag_k = FK_CMP;
   1372     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   1373 L_4000DD89:
   1374     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   1375     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   1376 L_4000DD8E:
   1377     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   1378     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   1379     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   1380     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1381     _flag_k = FK_CMP;
   1382     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   1383 L_4000DD96:
   1384     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   1385     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   1386 L_4000DD9B:
   1387     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   1388 L_4000DD9D:
   1389     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   1390     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   1391 L_4000DDA3:
   1392     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   1393     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   1394     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   1395     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   1396     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   1397     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   1398     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   1399     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   1400     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   1401     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   1402     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   1403     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   1404     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1405     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1406     _flag_k = FK_CMP;
   1407     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   1408 L_4000DDC8:
   1409     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   1410 L_4000DDCB:
   1411     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   1412     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   1413     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   1414     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   1415     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1417     _flag_k = FK_CMP;
   1418     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   1419 L_4000DDD9:
   1420     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   1421     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   1422 L_4000DDDE:
   1423     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   1424     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   1425     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   1426     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1427     _flag_k = FK_CMP;
   1428     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   1429 L_4000DDE5:
   1430     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   1431     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   1432 L_4000DDE9:
   1433     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   1434 L_4000DDEC:
   1435     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   1436 L_4000DDEE:
   1437     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   1438 L_4000DDF1:
   1439     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   1440     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   1441     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   1442     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1443     _flag_k = FK_CMP;
   1444     RECOMP_BACKEDGE();
   1445     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   1446 L_4000DDFD:
   1447     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   1448     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   1449     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   1450     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   1451     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   1452     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   1453     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   1454     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   1455     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   1456     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   1457     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   1458     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   1459     RECOMP_REGS_OUT();
   1460 }
   1461 
   1462 void sub_4000DC7D(void) {
   1463     int _fpu_cmp = 0;
   1464     uint32_t _cf = 0;
   1465     int _df = 1;
   1466     uint32_t _flag_k = FK_NONE;
   1467     uint32_t _flag_a = 0, _flag_b = 0;
   1468     uint32_t _itail_tgt = 0;
   1469     RECOMP_REGS_LOCALS
   1470     RECOMP_ENTER(0x4000DC7Du);
   1471 
   1472 L_4000DC7D:
   1473     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   1474     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   1475     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   1476     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1477     _cf = 0;
   1478     _flag_k = FK_NARROW(FK_TEST, 24);
   1479     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   1480 L_4000DC8B:
   1481     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   1482     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   1483     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   1484     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1486     _flag_k = FK_CMP;
   1487     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   1488 L_4000DC98:
   1489     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   1490     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   1491     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1493     _flag_k = FK_NARROW(FK_CMP, 24);
   1494     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   1495 L_4000DCA1:
   1496     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   1497     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   1498     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   1499     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   1500     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   1501     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   1502     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   1503     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   1504 L_4000DCBC:
   1505     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   1506     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1508     _flag_k = FK_CMP;
   1509     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   1510 L_4000DCC1:
   1511     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   1512     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   1513     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   1514     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   1515     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   1516     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   1517     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1518     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1519     _flag_k = FK_CMP;
   1520     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   1521 L_4000DCD2:
   1522     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   1523 L_4000DCD5:
   1524     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   1525     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   1526     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   1527     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   1528     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1530     _flag_k = FK_CMP;
   1531     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   1532 L_4000DCE3:
   1533     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   1534     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   1535 L_4000DCE8:
   1536     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   1537     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   1538     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   1539     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1540     _flag_k = FK_CMP;
   1541     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   1542 L_4000DCEF:
   1543     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   1544     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   1545 L_4000DCF3:
   1546     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   1547 L_4000DCF6:
   1548     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   1549     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   1550 L_4000DCFB:
   1551     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   1552     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   1553     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   1554     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   1555     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   1556     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   1557     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   1558     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   1559     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   1560     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   1561     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   1562     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   1563     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1564     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1565     _flag_k = FK_CMP;
   1566     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   1567 L_4000DD20:
   1568     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   1569 L_4000DD23:
   1570     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   1571     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   1572     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   1573     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   1574     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1576     _flag_k = FK_CMP;
   1577     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   1578 L_4000DD31:
   1579     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   1580     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   1581     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   1582 L_4000DD3C:
   1583     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   1584     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   1585     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   1586     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1587     _flag_k = FK_CMP;
   1588     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   1589 L_4000DD44:
   1590     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   1591     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   1592     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   1593 L_4000DD4F:
   1594     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   1595     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   1596     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   1597 L_4000DD59:
   1598     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   1599     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1600     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1601     _flag_k = FK_NARROW(FK_CMP, 24);
   1602     RECOMP_BACKEDGE();
   1603     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   1604 L_4000DD63:
   1605     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   1606     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   1607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1608     _flag_k = FK_CMP;
   1609     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   1610 L_4000DD67:
   1611     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   1612     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   1613     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   1614     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   1615     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   1616     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   1617     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1618     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1619     _flag_k = FK_CMP;
   1620     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   1621 L_4000DD78:
   1622     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   1623 L_4000DD7B:
   1624     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   1625     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   1626     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   1627     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   1628     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1630     _flag_k = FK_CMP;
   1631     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   1632 L_4000DD89:
   1633     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   1634     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   1635 L_4000DD8E:
   1636     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   1637     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   1638     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   1639     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1640     _flag_k = FK_CMP;
   1641     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   1642 L_4000DD96:
   1643     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   1644     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   1645 L_4000DD9B:
   1646     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   1647 L_4000DD9D:
   1648     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   1649     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   1650 L_4000DDA3:
   1651     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   1652     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   1653     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   1654     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   1655     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   1656     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   1657     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   1658     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   1659     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   1660     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   1661     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   1662     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   1663     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1664     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1665     _flag_k = FK_CMP;
   1666     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   1667 L_4000DDC8:
   1668     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   1669 L_4000DDCB:
   1670     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   1671     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   1672     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   1673     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   1674     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1675     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1676     _flag_k = FK_CMP;
   1677     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   1678 L_4000DDD9:
   1679     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   1680     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   1681 L_4000DDDE:
   1682     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   1683     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   1684     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   1685     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1686     _flag_k = FK_CMP;
   1687     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   1688 L_4000DDE5:
   1689     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   1690     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   1691 L_4000DDE9:
   1692     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   1693 L_4000DDEC:
   1694     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   1695 L_4000DDEE:
   1696     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   1697 L_4000DDF1:
   1698     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   1699     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   1700     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   1701     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1702     _flag_k = FK_CMP;
   1703     RECOMP_BACKEDGE();
   1704     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   1705 L_4000DDFD:
   1706     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   1707     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   1708     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   1709     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   1710     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   1711     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   1712     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   1713     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   1714     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   1715     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   1716     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   1717     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   1718     RECOMP_REGS_OUT();
   1719 }
   1720 
   1721 void sub_4000DCA1(void) {
   1722     int _fpu_cmp = 0;
   1723     uint32_t _cf = 0;
   1724     int _df = 1;
   1725     uint32_t _flag_k = FK_NONE;
   1726     uint32_t _flag_a = 0, _flag_b = 0;
   1727     uint32_t _itail_tgt = 0;
   1728     RECOMP_REGS_LOCALS
   1729     RECOMP_ENTER(0x4000DCA1u);
   1730 
   1731     goto L_4000DCA1;
   1732 L_4000DC7D:
   1733     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   1734     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   1735     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   1736     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1737     _cf = 0;
   1738     _flag_k = FK_NARROW(FK_TEST, 24);
   1739     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   1740 L_4000DC8B:
   1741     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   1742     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   1743     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   1744     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1746     _flag_k = FK_CMP;
   1747     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   1748 L_4000DC98:
   1749     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   1750     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   1751     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1753     _flag_k = FK_NARROW(FK_CMP, 24);
   1754     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   1755 L_4000DCA1:
   1756     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   1757     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   1758     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   1759     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   1760     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   1761     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   1762     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   1763     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   1764 L_4000DCBC:
   1765     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   1766     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1767     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1768     _flag_k = FK_CMP;
   1769     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   1770 L_4000DCC1:
   1771     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   1772     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   1773     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   1774     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   1775     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   1776     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   1777     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1778     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1779     _flag_k = FK_CMP;
   1780     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   1781 L_4000DCD2:
   1782     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   1783 L_4000DCD5:
   1784     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   1785     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   1786     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   1787     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   1788     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1790     _flag_k = FK_CMP;
   1791     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   1792 L_4000DCE3:
   1793     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   1794     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   1795 L_4000DCE8:
   1796     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   1797     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   1798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   1799     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1800     _flag_k = FK_CMP;
   1801     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   1802 L_4000DCEF:
   1803     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   1804     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   1805 L_4000DCF3:
   1806     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   1807 L_4000DCF6:
   1808     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   1809     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   1810 L_4000DCFB:
   1811     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   1812     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   1813     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   1814     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   1815     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   1816     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   1817     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   1818     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   1819     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   1820     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   1821     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   1822     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   1823     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1825     _flag_k = FK_CMP;
   1826     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   1827 L_4000DD20:
   1828     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   1829 L_4000DD23:
   1830     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   1831     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   1832     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   1833     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   1834     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1836     _flag_k = FK_CMP;
   1837     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   1838 L_4000DD31:
   1839     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   1840     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   1841     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   1842 L_4000DD3C:
   1843     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   1844     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   1845     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   1846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1847     _flag_k = FK_CMP;
   1848     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   1849 L_4000DD44:
   1850     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   1851     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   1852     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   1853 L_4000DD4F:
   1854     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   1855     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   1856     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   1857 L_4000DD59:
   1858     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   1859     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1860     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1861     _flag_k = FK_NARROW(FK_CMP, 24);
   1862     RECOMP_BACKEDGE();
   1863     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   1864 L_4000DD63:
   1865     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   1866     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   1867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1868     _flag_k = FK_CMP;
   1869     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   1870 L_4000DD67:
   1871     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   1872     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   1873     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   1874     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   1875     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   1876     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   1877     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1879     _flag_k = FK_CMP;
   1880     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   1881 L_4000DD78:
   1882     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   1883 L_4000DD7B:
   1884     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   1885     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   1886     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   1887     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   1888     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1890     _flag_k = FK_CMP;
   1891     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   1892 L_4000DD89:
   1893     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   1894     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   1895 L_4000DD8E:
   1896     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   1897     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   1898     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   1899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1900     _flag_k = FK_CMP;
   1901     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   1902 L_4000DD96:
   1903     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   1904     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   1905 L_4000DD9B:
   1906     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   1907 L_4000DD9D:
   1908     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   1909     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   1910 L_4000DDA3:
   1911     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   1912     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   1913     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   1914     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   1915     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   1916     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   1917     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   1918     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   1919     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   1920     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   1921     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   1922     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   1923     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1924     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1925     _flag_k = FK_CMP;
   1926     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   1927 L_4000DDC8:
   1928     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   1929 L_4000DDCB:
   1930     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   1931     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   1932     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   1933     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   1934     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1935     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1936     _flag_k = FK_CMP;
   1937     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   1938 L_4000DDD9:
   1939     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   1940     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   1941 L_4000DDDE:
   1942     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   1943     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   1944     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   1945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1946     _flag_k = FK_CMP;
   1947     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   1948 L_4000DDE5:
   1949     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   1950     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   1951 L_4000DDE9:
   1952     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   1953 L_4000DDEC:
   1954     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   1955 L_4000DDEE:
   1956     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   1957 L_4000DDF1:
   1958     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   1959     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   1960     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   1961     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1962     _flag_k = FK_CMP;
   1963     RECOMP_BACKEDGE();
   1964     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   1965 L_4000DDFD:
   1966     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   1967     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   1968     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   1969     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   1970     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   1971     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   1972     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   1973     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   1974     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   1975     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   1976     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   1977     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   1978     RECOMP_REGS_OUT();
   1979 }
   1980 
   1981 void sub_4000DCF6(void) {
   1982     int _fpu_cmp = 0;
   1983     uint32_t _cf = 0;
   1984     int _df = 1;
   1985     uint32_t _flag_k = FK_NONE;
   1986     uint32_t _flag_a = 0, _flag_b = 0;
   1987     uint32_t _itail_tgt = 0;
   1988     RECOMP_REGS_LOCALS
   1989     RECOMP_ENTER(0x4000DCF6u);
   1990 
   1991     goto L_4000DCF6;
   1992 L_4000DC7D:
   1993     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   1994     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   1995     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   1996     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1997     _cf = 0;
   1998     _flag_k = FK_NARROW(FK_TEST, 24);
   1999     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   2000 L_4000DC8B:
   2001     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   2002     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   2003     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   2004     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2005     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2006     _flag_k = FK_CMP;
   2007     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   2008 L_4000DC98:
   2009     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   2010     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   2011     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2013     _flag_k = FK_NARROW(FK_CMP, 24);
   2014     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   2015 L_4000DCA1:
   2016     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   2017     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   2018     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   2019     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   2020     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   2021     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   2022     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   2023     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   2024 L_4000DCBC:
   2025     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   2026     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2028     _flag_k = FK_CMP;
   2029     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   2030 L_4000DCC1:
   2031     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   2032     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   2033     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   2034     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   2035     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   2036     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   2037     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2038     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2039     _flag_k = FK_CMP;
   2040     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   2041 L_4000DCD2:
   2042     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   2043 L_4000DCD5:
   2044     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   2045     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   2046     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   2047     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   2048     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2050     _flag_k = FK_CMP;
   2051     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   2052 L_4000DCE3:
   2053     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   2054     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   2055 L_4000DCE8:
   2056     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   2057     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   2058     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2059     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2060     _flag_k = FK_CMP;
   2061     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   2062 L_4000DCEF:
   2063     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   2064     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   2065 L_4000DCF3:
   2066     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   2067 L_4000DCF6:
   2068     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   2069     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   2070 L_4000DCFB:
   2071     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   2072     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   2073     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   2074     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   2075     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   2076     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   2077     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   2078     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   2079     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   2080     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   2081     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   2082     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   2083     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2084     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2085     _flag_k = FK_CMP;
   2086     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   2087 L_4000DD20:
   2088     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   2089 L_4000DD23:
   2090     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   2091     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   2092     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   2093     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   2094     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2096     _flag_k = FK_CMP;
   2097     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   2098 L_4000DD31:
   2099     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   2100     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   2101     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   2102 L_4000DD3C:
   2103     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   2104     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   2105     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2106     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2107     _flag_k = FK_CMP;
   2108     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   2109 L_4000DD44:
   2110     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   2111     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   2112     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   2113 L_4000DD4F:
   2114     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   2115     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   2116     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   2117 L_4000DD59:
   2118     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   2119     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2120     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2121     _flag_k = FK_NARROW(FK_CMP, 24);
   2122     RECOMP_BACKEDGE();
   2123     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   2124 L_4000DD63:
   2125     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   2126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2128     _flag_k = FK_CMP;
   2129     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   2130 L_4000DD67:
   2131     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   2132     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   2133     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   2134     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   2135     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   2136     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   2137     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2139     _flag_k = FK_CMP;
   2140     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   2141 L_4000DD78:
   2142     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   2143 L_4000DD7B:
   2144     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   2145     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   2146     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   2147     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   2148     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2150     _flag_k = FK_CMP;
   2151     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   2152 L_4000DD89:
   2153     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   2154     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   2155 L_4000DD8E:
   2156     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   2157     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   2158     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2159     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2160     _flag_k = FK_CMP;
   2161     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   2162 L_4000DD96:
   2163     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   2164     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   2165 L_4000DD9B:
   2166     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   2167 L_4000DD9D:
   2168     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   2169     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   2170 L_4000DDA3:
   2171     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   2172     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   2173     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   2174     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   2175     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   2176     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   2177     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   2178     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   2179     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   2180     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   2181     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   2182     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   2183     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2185     _flag_k = FK_CMP;
   2186     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   2187 L_4000DDC8:
   2188     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   2189 L_4000DDCB:
   2190     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   2191     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   2192     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   2193     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   2194     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2196     _flag_k = FK_CMP;
   2197     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   2198 L_4000DDD9:
   2199     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   2200     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   2201 L_4000DDDE:
   2202     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   2203     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   2204     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2205     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2206     _flag_k = FK_CMP;
   2207     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   2208 L_4000DDE5:
   2209     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   2210     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   2211 L_4000DDE9:
   2212     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   2213 L_4000DDEC:
   2214     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   2215 L_4000DDEE:
   2216     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   2217 L_4000DDF1:
   2218     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   2219     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   2220     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   2221     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2222     _flag_k = FK_CMP;
   2223     RECOMP_BACKEDGE();
   2224     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   2225 L_4000DDFD:
   2226     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   2227     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   2228     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   2229     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   2230     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   2231     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   2232     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   2233     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   2234     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   2235     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   2236     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   2237     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   2238     RECOMP_REGS_OUT();
   2239 }
   2240 
   2241 void sub_4000DCFB(void) {
   2242     int _fpu_cmp = 0;
   2243     uint32_t _cf = 0;
   2244     int _df = 1;
   2245     uint32_t _flag_k = FK_NONE;
   2246     uint32_t _flag_a = 0, _flag_b = 0;
   2247     uint32_t _itail_tgt = 0;
   2248     RECOMP_REGS_LOCALS
   2249     RECOMP_ENTER(0x4000DCFBu);
   2250 
   2251     goto L_4000DCFB;
   2252 L_4000DC7D:
   2253     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   2254     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   2255     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   2256     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2257     _cf = 0;
   2258     _flag_k = FK_NARROW(FK_TEST, 24);
   2259     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   2260 L_4000DC8B:
   2261     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   2262     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   2263     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   2264     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2265     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2266     _flag_k = FK_CMP;
   2267     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   2268 L_4000DC98:
   2269     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   2270     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   2271     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2273     _flag_k = FK_NARROW(FK_CMP, 24);
   2274     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   2275 L_4000DCA1:
   2276     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   2277     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   2278     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   2279     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   2280     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   2281     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   2282     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   2283     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   2284 L_4000DCBC:
   2285     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   2286     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2287     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2288     _flag_k = FK_CMP;
   2289     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   2290 L_4000DCC1:
   2291     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   2292     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   2293     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   2294     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   2295     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   2296     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   2297     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2298     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2299     _flag_k = FK_CMP;
   2300     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   2301 L_4000DCD2:
   2302     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   2303 L_4000DCD5:
   2304     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   2305     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   2306     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   2307     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   2308     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2309     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2310     _flag_k = FK_CMP;
   2311     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   2312 L_4000DCE3:
   2313     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   2314     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   2315 L_4000DCE8:
   2316     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   2317     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   2318     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2320     _flag_k = FK_CMP;
   2321     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   2322 L_4000DCEF:
   2323     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   2324     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   2325 L_4000DCF3:
   2326     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   2327 L_4000DCF6:
   2328     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   2329     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   2330 L_4000DCFB:
   2331     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   2332     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   2333     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   2334     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   2335     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   2336     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   2337     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   2338     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   2339     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   2340     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   2341     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   2342     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   2343     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2345     _flag_k = FK_CMP;
   2346     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   2347 L_4000DD20:
   2348     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   2349 L_4000DD23:
   2350     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   2351     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   2352     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   2353     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   2354     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2356     _flag_k = FK_CMP;
   2357     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   2358 L_4000DD31:
   2359     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   2360     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   2361     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   2362 L_4000DD3C:
   2363     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   2364     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   2365     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2367     _flag_k = FK_CMP;
   2368     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   2369 L_4000DD44:
   2370     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   2371     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   2372     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   2373 L_4000DD4F:
   2374     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   2375     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   2376     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   2377 L_4000DD59:
   2378     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   2379     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2380     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2381     _flag_k = FK_NARROW(FK_CMP, 24);
   2382     RECOMP_BACKEDGE();
   2383     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   2384 L_4000DD63:
   2385     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   2386     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2387     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2388     _flag_k = FK_CMP;
   2389     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   2390 L_4000DD67:
   2391     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   2392     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   2393     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   2394     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   2395     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   2396     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   2397     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2398     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2399     _flag_k = FK_CMP;
   2400     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   2401 L_4000DD78:
   2402     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   2403 L_4000DD7B:
   2404     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   2405     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   2406     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   2407     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   2408     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2409     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2410     _flag_k = FK_CMP;
   2411     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   2412 L_4000DD89:
   2413     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   2414     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   2415 L_4000DD8E:
   2416     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   2417     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   2418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2420     _flag_k = FK_CMP;
   2421     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   2422 L_4000DD96:
   2423     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   2424     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   2425 L_4000DD9B:
   2426     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   2427 L_4000DD9D:
   2428     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   2429     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   2430 L_4000DDA3:
   2431     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   2432     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   2433     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   2434     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   2435     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   2436     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   2437     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   2438     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   2439     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   2440     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   2441     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   2442     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   2443     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2444     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2445     _flag_k = FK_CMP;
   2446     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   2447 L_4000DDC8:
   2448     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   2449 L_4000DDCB:
   2450     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   2451     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   2452     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   2453     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   2454     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2456     _flag_k = FK_CMP;
   2457     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   2458 L_4000DDD9:
   2459     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   2460     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   2461 L_4000DDDE:
   2462     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   2463     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   2464     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2465     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2466     _flag_k = FK_CMP;
   2467     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   2468 L_4000DDE5:
   2469     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   2470     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   2471 L_4000DDE9:
   2472     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   2473 L_4000DDEC:
   2474     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   2475 L_4000DDEE:
   2476     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   2477 L_4000DDF1:
   2478     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   2479     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   2480     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   2481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2482     _flag_k = FK_CMP;
   2483     RECOMP_BACKEDGE();
   2484     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   2485 L_4000DDFD:
   2486     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   2487     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   2488     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   2489     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   2490     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   2491     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   2492     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   2493     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   2494     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   2495     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   2496     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   2497     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   2498     RECOMP_REGS_OUT();
   2499 }
   2500 
   2501 void sub_4000DD59(void) {
   2502     int _fpu_cmp = 0;
   2503     uint32_t _cf = 0;
   2504     int _df = 1;
   2505     uint32_t _flag_k = FK_NONE;
   2506     uint32_t _flag_a = 0, _flag_b = 0;
   2507     uint32_t _itail_tgt = 0;
   2508     RECOMP_REGS_LOCALS
   2509     RECOMP_ENTER(0x4000DD59u);
   2510 
   2511     goto L_4000DD59;
   2512 L_4000DC7D:
   2513     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   2514     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   2515     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   2516     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2517     _cf = 0;
   2518     _flag_k = FK_NARROW(FK_TEST, 24);
   2519     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   2520 L_4000DC8B:
   2521     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   2522     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   2523     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   2524     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2525     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2526     _flag_k = FK_CMP;
   2527     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   2528 L_4000DC98:
   2529     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   2530     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   2531     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2533     _flag_k = FK_NARROW(FK_CMP, 24);
   2534     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   2535 L_4000DCA1:
   2536     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   2537     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   2538     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   2539     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   2540     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   2541     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   2542     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   2543     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   2544 L_4000DCBC:
   2545     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   2546     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2547     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2548     _flag_k = FK_CMP;
   2549     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   2550 L_4000DCC1:
   2551     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   2552     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   2553     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   2554     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   2555     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   2556     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   2557     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2558     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2559     _flag_k = FK_CMP;
   2560     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   2561 L_4000DCD2:
   2562     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   2563 L_4000DCD5:
   2564     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   2565     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   2566     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   2567     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   2568     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2569     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2570     _flag_k = FK_CMP;
   2571     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   2572 L_4000DCE3:
   2573     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   2574     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   2575 L_4000DCE8:
   2576     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   2577     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   2578     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2579     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2580     _flag_k = FK_CMP;
   2581     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   2582 L_4000DCEF:
   2583     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   2584     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   2585 L_4000DCF3:
   2586     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   2587 L_4000DCF6:
   2588     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   2589     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   2590 L_4000DCFB:
   2591     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   2592     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   2593     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   2594     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   2595     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   2596     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   2597     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   2598     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   2599     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   2600     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   2601     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   2602     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   2603     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2604     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2605     _flag_k = FK_CMP;
   2606     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   2607 L_4000DD20:
   2608     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   2609 L_4000DD23:
   2610     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   2611     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   2612     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   2613     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   2614     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2616     _flag_k = FK_CMP;
   2617     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   2618 L_4000DD31:
   2619     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   2620     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   2621     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   2622 L_4000DD3C:
   2623     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   2624     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   2625     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2626     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2627     _flag_k = FK_CMP;
   2628     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   2629 L_4000DD44:
   2630     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   2631     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   2632     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   2633 L_4000DD4F:
   2634     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   2635     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   2636     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   2637 L_4000DD59:
   2638     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   2639     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2641     _flag_k = FK_NARROW(FK_CMP, 24);
   2642     RECOMP_BACKEDGE();
   2643     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   2644 L_4000DD63:
   2645     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   2646     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2647     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2648     _flag_k = FK_CMP;
   2649     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   2650 L_4000DD67:
   2651     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   2652     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   2653     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   2654     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   2655     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   2656     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   2657     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2658     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2659     _flag_k = FK_CMP;
   2660     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   2661 L_4000DD78:
   2662     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   2663 L_4000DD7B:
   2664     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   2665     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   2666     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   2667     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   2668     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2669     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2670     _flag_k = FK_CMP;
   2671     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   2672 L_4000DD89:
   2673     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   2674     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   2675 L_4000DD8E:
   2676     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   2677     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   2678     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2680     _flag_k = FK_CMP;
   2681     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   2682 L_4000DD96:
   2683     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   2684     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   2685 L_4000DD9B:
   2686     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   2687 L_4000DD9D:
   2688     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   2689     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   2690 L_4000DDA3:
   2691     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   2692     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   2693     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   2694     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   2695     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   2696     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   2697     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   2698     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   2699     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   2700     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   2701     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   2702     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   2703     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2705     _flag_k = FK_CMP;
   2706     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   2707 L_4000DDC8:
   2708     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   2709 L_4000DDCB:
   2710     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   2711     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   2712     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   2713     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   2714     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2716     _flag_k = FK_CMP;
   2717     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   2718 L_4000DDD9:
   2719     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   2720     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   2721 L_4000DDDE:
   2722     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   2723     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   2724     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2726     _flag_k = FK_CMP;
   2727     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   2728 L_4000DDE5:
   2729     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   2730     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   2731 L_4000DDE9:
   2732     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   2733 L_4000DDEC:
   2734     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   2735 L_4000DDEE:
   2736     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   2737 L_4000DDF1:
   2738     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   2739     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   2740     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   2741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2742     _flag_k = FK_CMP;
   2743     RECOMP_BACKEDGE();
   2744     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   2745 L_4000DDFD:
   2746     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   2747     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   2748     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   2749     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   2750     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   2751     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   2752     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   2753     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   2754     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   2755     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   2756     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   2757     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   2758     RECOMP_REGS_OUT();
   2759 }
   2760 
   2761 void sub_4000DD9D(void) {
   2762     int _fpu_cmp = 0;
   2763     uint32_t _cf = 0;
   2764     int _df = 1;
   2765     uint32_t _flag_k = FK_NONE;
   2766     uint32_t _flag_a = 0, _flag_b = 0;
   2767     uint32_t _itail_tgt = 0;
   2768     RECOMP_REGS_LOCALS
   2769     RECOMP_ENTER(0x4000DD9Du);
   2770 
   2771     goto L_4000DD9D;
   2772 L_4000DC7D:
   2773     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   2774     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   2775     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   2776     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2777     _cf = 0;
   2778     _flag_k = FK_NARROW(FK_TEST, 24);
   2779     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   2780 L_4000DC8B:
   2781     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   2782     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   2783     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   2784     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2785     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2786     _flag_k = FK_CMP;
   2787     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   2788 L_4000DC98:
   2789     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   2790     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   2791     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2792     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2793     _flag_k = FK_NARROW(FK_CMP, 24);
   2794     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   2795 L_4000DCA1:
   2796     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   2797     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   2798     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   2799     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   2800     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   2801     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   2802     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   2803     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   2804 L_4000DCBC:
   2805     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   2806     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2807     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2808     _flag_k = FK_CMP;
   2809     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   2810 L_4000DCC1:
   2811     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   2812     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   2813     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   2814     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   2815     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   2816     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   2817     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2818     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2819     _flag_k = FK_CMP;
   2820     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   2821 L_4000DCD2:
   2822     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   2823 L_4000DCD5:
   2824     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   2825     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   2826     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   2827     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   2828     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2830     _flag_k = FK_CMP;
   2831     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   2832 L_4000DCE3:
   2833     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   2834     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   2835 L_4000DCE8:
   2836     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   2837     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   2838     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2840     _flag_k = FK_CMP;
   2841     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   2842 L_4000DCEF:
   2843     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   2844     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   2845 L_4000DCF3:
   2846     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   2847 L_4000DCF6:
   2848     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   2849     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   2850 L_4000DCFB:
   2851     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   2852     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   2853     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   2854     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   2855     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   2856     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   2857     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   2858     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   2859     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   2860     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   2861     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   2862     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   2863     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2865     _flag_k = FK_CMP;
   2866     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   2867 L_4000DD20:
   2868     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   2869 L_4000DD23:
   2870     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   2871     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   2872     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   2873     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   2874     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2876     _flag_k = FK_CMP;
   2877     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   2878 L_4000DD31:
   2879     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   2880     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   2881     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   2882 L_4000DD3C:
   2883     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   2884     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   2885     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2886     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2887     _flag_k = FK_CMP;
   2888     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   2889 L_4000DD44:
   2890     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   2891     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   2892     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   2893 L_4000DD4F:
   2894     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   2895     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   2896     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   2897 L_4000DD59:
   2898     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   2899     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2901     _flag_k = FK_NARROW(FK_CMP, 24);
   2902     RECOMP_BACKEDGE();
   2903     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   2904 L_4000DD63:
   2905     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   2906     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2908     _flag_k = FK_CMP;
   2909     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   2910 L_4000DD67:
   2911     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   2912     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   2913     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   2914     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   2915     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   2916     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   2917     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2918     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2919     _flag_k = FK_CMP;
   2920     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   2921 L_4000DD78:
   2922     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   2923 L_4000DD7B:
   2924     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   2925     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   2926     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   2927     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   2928     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2929     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2930     _flag_k = FK_CMP;
   2931     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   2932 L_4000DD89:
   2933     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   2934     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   2935 L_4000DD8E:
   2936     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   2937     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   2938     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2940     _flag_k = FK_CMP;
   2941     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   2942 L_4000DD96:
   2943     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   2944     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   2945 L_4000DD9B:
   2946     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   2947 L_4000DD9D:
   2948     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   2949     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   2950 L_4000DDA3:
   2951     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   2952     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   2953     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   2954     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   2955     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   2956     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   2957     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   2958     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   2959     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   2960     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   2961     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   2962     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   2963     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2965     _flag_k = FK_CMP;
   2966     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   2967 L_4000DDC8:
   2968     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   2969 L_4000DDCB:
   2970     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   2971     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   2972     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   2973     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   2974     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2976     _flag_k = FK_CMP;
   2977     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   2978 L_4000DDD9:
   2979     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   2980     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   2981 L_4000DDDE:
   2982     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   2983     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   2984     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2985     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2986     _flag_k = FK_CMP;
   2987     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   2988 L_4000DDE5:
   2989     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   2990     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   2991 L_4000DDE9:
   2992     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   2993 L_4000DDEC:
   2994     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   2995 L_4000DDEE:
   2996     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   2997 L_4000DDF1:
   2998     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   2999     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   3000     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3002     _flag_k = FK_CMP;
   3003     RECOMP_BACKEDGE();
   3004     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   3005 L_4000DDFD:
   3006     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   3007     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   3008     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   3009     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   3010     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   3011     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   3012     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   3013     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   3014     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   3015     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   3016     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   3017     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   3018     RECOMP_REGS_OUT();
   3019 }
   3020 
   3021 void sub_4000DDA3(void) {
   3022     int _fpu_cmp = 0;
   3023     uint32_t _cf = 0;
   3024     int _df = 1;
   3025     uint32_t _flag_k = FK_NONE;
   3026     uint32_t _flag_a = 0, _flag_b = 0;
   3027     uint32_t _itail_tgt = 0;
   3028     RECOMP_REGS_LOCALS
   3029     RECOMP_ENTER(0x4000DDA3u);
   3030 
   3031     goto L_4000DDA3;
   3032 L_4000DC7D:
   3033     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   3034     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   3035     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   3036     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3037     _cf = 0;
   3038     _flag_k = FK_NARROW(FK_TEST, 24);
   3039     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   3040 L_4000DC8B:
   3041     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   3042     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   3043     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   3044     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3045     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3046     _flag_k = FK_CMP;
   3047     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   3048 L_4000DC98:
   3049     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   3050     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   3051     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3052     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3053     _flag_k = FK_NARROW(FK_CMP, 24);
   3054     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   3055 L_4000DCA1:
   3056     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   3057     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   3058     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   3059     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   3060     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   3061     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   3062     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   3063     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   3064 L_4000DCBC:
   3065     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   3066     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3067     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3068     _flag_k = FK_CMP;
   3069     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   3070 L_4000DCC1:
   3071     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   3072     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   3073     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   3074     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   3075     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   3076     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   3077     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3079     _flag_k = FK_CMP;
   3080     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   3081 L_4000DCD2:
   3082     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   3083 L_4000DCD5:
   3084     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   3085     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   3086     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   3087     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   3088     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3090     _flag_k = FK_CMP;
   3091     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   3092 L_4000DCE3:
   3093     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   3094     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   3095 L_4000DCE8:
   3096     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   3097     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   3098     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3099     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3100     _flag_k = FK_CMP;
   3101     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   3102 L_4000DCEF:
   3103     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   3104     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   3105 L_4000DCF3:
   3106     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   3107 L_4000DCF6:
   3108     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   3109     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   3110 L_4000DCFB:
   3111     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   3112     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   3113     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   3114     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   3115     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   3116     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   3117     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   3118     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   3119     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   3120     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   3121     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   3122     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   3123     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3124     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3125     _flag_k = FK_CMP;
   3126     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   3127 L_4000DD20:
   3128     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   3129 L_4000DD23:
   3130     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   3131     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   3132     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   3133     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   3134     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3136     _flag_k = FK_CMP;
   3137     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   3138 L_4000DD31:
   3139     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   3140     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   3141     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   3142 L_4000DD3C:
   3143     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   3144     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   3145     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3147     _flag_k = FK_CMP;
   3148     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   3149 L_4000DD44:
   3150     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   3151     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   3152     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   3153 L_4000DD4F:
   3154     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   3155     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   3156     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   3157 L_4000DD59:
   3158     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   3159     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3161     _flag_k = FK_NARROW(FK_CMP, 24);
   3162     RECOMP_BACKEDGE();
   3163     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   3164 L_4000DD63:
   3165     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   3166     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3167     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3168     _flag_k = FK_CMP;
   3169     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   3170 L_4000DD67:
   3171     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   3172     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   3173     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   3174     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   3175     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   3176     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   3177     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3178     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3179     _flag_k = FK_CMP;
   3180     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   3181 L_4000DD78:
   3182     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   3183 L_4000DD7B:
   3184     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   3185     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   3186     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   3187     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   3188     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3189     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3190     _flag_k = FK_CMP;
   3191     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   3192 L_4000DD89:
   3193     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   3194     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   3195 L_4000DD8E:
   3196     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   3197     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   3198     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3200     _flag_k = FK_CMP;
   3201     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   3202 L_4000DD96:
   3203     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   3204     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   3205 L_4000DD9B:
   3206     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   3207 L_4000DD9D:
   3208     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   3209     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   3210 L_4000DDA3:
   3211     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   3212     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   3213     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   3214     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   3215     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   3216     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   3217     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   3218     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   3219     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   3220     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   3221     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   3222     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   3223     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3224     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3225     _flag_k = FK_CMP;
   3226     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   3227 L_4000DDC8:
   3228     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   3229 L_4000DDCB:
   3230     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   3231     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   3232     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   3233     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   3234     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3236     _flag_k = FK_CMP;
   3237     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   3238 L_4000DDD9:
   3239     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   3240     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   3241 L_4000DDDE:
   3242     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   3243     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   3244     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   3245     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3246     _flag_k = FK_CMP;
   3247     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   3248 L_4000DDE5:
   3249     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   3250     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   3251 L_4000DDE9:
   3252     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   3253 L_4000DDEC:
   3254     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   3255 L_4000DDEE:
   3256     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   3257 L_4000DDF1:
   3258     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   3259     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   3260     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3261     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3262     _flag_k = FK_CMP;
   3263     RECOMP_BACKEDGE();
   3264     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   3265 L_4000DDFD:
   3266     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   3267     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   3268     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   3269     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   3270     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   3271     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   3272     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   3273     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   3274     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   3275     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   3276     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   3277     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   3278     RECOMP_REGS_OUT();
   3279 }
   3280 
   3281 void sub_4000DDEC(void) {
   3282     int _fpu_cmp = 0;
   3283     uint32_t _cf = 0;
   3284     int _df = 1;
   3285     uint32_t _flag_k = FK_NONE;
   3286     uint32_t _flag_a = 0, _flag_b = 0;
   3287     uint32_t _itail_tgt = 0;
   3288     RECOMP_REGS_LOCALS
   3289     RECOMP_ENTER(0x4000DDECu);
   3290 
   3291     goto L_4000DDEC;
   3292 L_4000DC7D:
   3293     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   3294     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   3295     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   3296     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3297     _cf = 0;
   3298     _flag_k = FK_NARROW(FK_TEST, 24);
   3299     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   3300 L_4000DC8B:
   3301     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   3302     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   3303     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   3304     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3306     _flag_k = FK_CMP;
   3307     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   3308 L_4000DC98:
   3309     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   3310     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   3311     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3312     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3313     _flag_k = FK_NARROW(FK_CMP, 24);
   3314     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   3315 L_4000DCA1:
   3316     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   3317     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   3318     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   3319     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   3320     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   3321     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   3322     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   3323     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   3324 L_4000DCBC:
   3325     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   3326     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3328     _flag_k = FK_CMP;
   3329     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   3330 L_4000DCC1:
   3331     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   3332     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   3333     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   3334     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   3335     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   3336     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   3337     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3339     _flag_k = FK_CMP;
   3340     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   3341 L_4000DCD2:
   3342     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   3343 L_4000DCD5:
   3344     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   3345     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   3346     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   3347     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   3348     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3350     _flag_k = FK_CMP;
   3351     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   3352 L_4000DCE3:
   3353     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   3354     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   3355 L_4000DCE8:
   3356     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   3357     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   3358     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3360     _flag_k = FK_CMP;
   3361     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   3362 L_4000DCEF:
   3363     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   3364     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   3365 L_4000DCF3:
   3366     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   3367 L_4000DCF6:
   3368     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   3369     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   3370 L_4000DCFB:
   3371     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   3372     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   3373     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   3374     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   3375     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   3376     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   3377     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   3378     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   3379     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   3380     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   3381     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   3382     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   3383     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3385     _flag_k = FK_CMP;
   3386     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   3387 L_4000DD20:
   3388     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   3389 L_4000DD23:
   3390     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   3391     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   3392     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   3393     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   3394     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3396     _flag_k = FK_CMP;
   3397     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   3398 L_4000DD31:
   3399     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   3400     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   3401     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   3402 L_4000DD3C:
   3403     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   3404     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   3405     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3407     _flag_k = FK_CMP;
   3408     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   3409 L_4000DD44:
   3410     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   3411     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   3412     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   3413 L_4000DD4F:
   3414     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   3415     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   3416     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   3417 L_4000DD59:
   3418     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   3419     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3420     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3421     _flag_k = FK_NARROW(FK_CMP, 24);
   3422     RECOMP_BACKEDGE();
   3423     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   3424 L_4000DD63:
   3425     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   3426     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3428     _flag_k = FK_CMP;
   3429     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   3430 L_4000DD67:
   3431     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   3432     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   3433     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   3434     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   3435     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   3436     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   3437     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3439     _flag_k = FK_CMP;
   3440     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   3441 L_4000DD78:
   3442     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   3443 L_4000DD7B:
   3444     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   3445     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   3446     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   3447     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   3448     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3450     _flag_k = FK_CMP;
   3451     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   3452 L_4000DD89:
   3453     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   3454     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   3455 L_4000DD8E:
   3456     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   3457     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   3458     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3459     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3460     _flag_k = FK_CMP;
   3461     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   3462 L_4000DD96:
   3463     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   3464     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   3465 L_4000DD9B:
   3466     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   3467 L_4000DD9D:
   3468     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   3469     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   3470 L_4000DDA3:
   3471     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   3472     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   3473     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   3474     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   3475     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   3476     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   3477     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   3478     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   3479     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   3480     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   3481     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   3482     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   3483     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3485     _flag_k = FK_CMP;
   3486     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   3487 L_4000DDC8:
   3488     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   3489 L_4000DDCB:
   3490     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   3491     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   3492     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   3493     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   3494     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3496     _flag_k = FK_CMP;
   3497     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   3498 L_4000DDD9:
   3499     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   3500     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   3501 L_4000DDDE:
   3502     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   3503     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   3504     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   3505     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3506     _flag_k = FK_CMP;
   3507     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   3508 L_4000DDE5:
   3509     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   3510     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   3511 L_4000DDE9:
   3512     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   3513 L_4000DDEC:
   3514     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   3515 L_4000DDEE:
   3516     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   3517 L_4000DDF1:
   3518     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   3519     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   3520     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3522     _flag_k = FK_CMP;
   3523     RECOMP_BACKEDGE();
   3524     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   3525 L_4000DDFD:
   3526     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   3527     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   3528     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   3529     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   3530     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   3531     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   3532     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   3533     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   3534     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   3535     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   3536     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   3537     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   3538     RECOMP_REGS_OUT();
   3539 }
   3540 
   3541 void sub_4000DDEE(void) {
   3542     int _fpu_cmp = 0;
   3543     uint32_t _cf = 0;
   3544     int _df = 1;
   3545     uint32_t _flag_k = FK_NONE;
   3546     uint32_t _flag_a = 0, _flag_b = 0;
   3547     uint32_t _itail_tgt = 0;
   3548     RECOMP_REGS_LOCALS
   3549     RECOMP_ENTER(0x4000DDEEu);
   3550 
   3551     goto L_4000DDEE;
   3552 L_4000DC7D:
   3553     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   3554     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   3555     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   3556     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3557     _cf = 0;
   3558     _flag_k = FK_NARROW(FK_TEST, 24);
   3559     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   3560 L_4000DC8B:
   3561     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   3562     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   3563     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   3564     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3566     _flag_k = FK_CMP;
   3567     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   3568 L_4000DC98:
   3569     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   3570     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   3571     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3572     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3573     _flag_k = FK_NARROW(FK_CMP, 24);
   3574     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   3575 L_4000DCA1:
   3576     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   3577     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   3578     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   3579     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   3580     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   3581     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   3582     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   3583     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   3584 L_4000DCBC:
   3585     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   3586     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3588     _flag_k = FK_CMP;
   3589     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   3590 L_4000DCC1:
   3591     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   3592     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   3593     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   3594     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   3595     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   3596     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   3597     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3599     _flag_k = FK_CMP;
   3600     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   3601 L_4000DCD2:
   3602     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   3603 L_4000DCD5:
   3604     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   3605     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   3606     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   3607     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   3608     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3609     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3610     _flag_k = FK_CMP;
   3611     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   3612 L_4000DCE3:
   3613     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   3614     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   3615 L_4000DCE8:
   3616     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   3617     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   3618     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3620     _flag_k = FK_CMP;
   3621     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   3622 L_4000DCEF:
   3623     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   3624     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   3625 L_4000DCF3:
   3626     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   3627 L_4000DCF6:
   3628     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   3629     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   3630 L_4000DCFB:
   3631     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   3632     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   3633     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   3634     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   3635     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   3636     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   3637     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   3638     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   3639     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   3640     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   3641     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   3642     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   3643     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3644     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3645     _flag_k = FK_CMP;
   3646     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   3647 L_4000DD20:
   3648     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   3649 L_4000DD23:
   3650     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   3651     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   3652     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   3653     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   3654     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3656     _flag_k = FK_CMP;
   3657     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   3658 L_4000DD31:
   3659     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   3660     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   3661     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   3662 L_4000DD3C:
   3663     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   3664     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   3665     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3666     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3667     _flag_k = FK_CMP;
   3668     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   3669 L_4000DD44:
   3670     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   3671     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   3672     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   3673 L_4000DD4F:
   3674     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   3675     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   3676     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   3677 L_4000DD59:
   3678     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   3679     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3681     _flag_k = FK_NARROW(FK_CMP, 24);
   3682     RECOMP_BACKEDGE();
   3683     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   3684 L_4000DD63:
   3685     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   3686     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3687     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3688     _flag_k = FK_CMP;
   3689     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   3690 L_4000DD67:
   3691     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   3692     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   3693     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   3694     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   3695     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   3696     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   3697     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3699     _flag_k = FK_CMP;
   3700     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   3701 L_4000DD78:
   3702     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   3703 L_4000DD7B:
   3704     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   3705     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   3706     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   3707     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   3708     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3709     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3710     _flag_k = FK_CMP;
   3711     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   3712 L_4000DD89:
   3713     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   3714     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   3715 L_4000DD8E:
   3716     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   3717     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   3718     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3720     _flag_k = FK_CMP;
   3721     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   3722 L_4000DD96:
   3723     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   3724     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   3725 L_4000DD9B:
   3726     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   3727 L_4000DD9D:
   3728     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   3729     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   3730 L_4000DDA3:
   3731     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   3732     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   3733     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   3734     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   3735     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   3736     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   3737     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   3738     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   3739     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   3740     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   3741     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   3742     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   3743     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3744     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3745     _flag_k = FK_CMP;
   3746     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   3747 L_4000DDC8:
   3748     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   3749 L_4000DDCB:
   3750     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   3751     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   3752     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   3753     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   3754     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3756     _flag_k = FK_CMP;
   3757     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   3758 L_4000DDD9:
   3759     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   3760     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   3761 L_4000DDDE:
   3762     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   3763     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   3764     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   3765     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3766     _flag_k = FK_CMP;
   3767     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   3768 L_4000DDE5:
   3769     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   3770     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   3771 L_4000DDE9:
   3772     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   3773 L_4000DDEC:
   3774     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   3775 L_4000DDEE:
   3776     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   3777 L_4000DDF1:
   3778     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   3779     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   3780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3781     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3782     _flag_k = FK_CMP;
   3783     RECOMP_BACKEDGE();
   3784     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   3785 L_4000DDFD:
   3786     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   3787     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   3788     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   3789     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   3790     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   3791     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   3792     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   3793     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   3794     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   3795     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   3796     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   3797     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   3798     RECOMP_REGS_OUT();
   3799 }
   3800 
   3801 void sub_4000DDF1(void) {
   3802     int _fpu_cmp = 0;
   3803     uint32_t _cf = 0;
   3804     int _df = 1;
   3805     uint32_t _flag_k = FK_NONE;
   3806     uint32_t _flag_a = 0, _flag_b = 0;
   3807     uint32_t _itail_tgt = 0;
   3808     RECOMP_REGS_LOCALS
   3809     RECOMP_ENTER(0x4000DDF1u);
   3810 
   3811     goto L_4000DDF1;
   3812 L_4000DC7D:
   3813     ecx = MEM32(eax + 0x4); /* 0x4000DC7D: mov ecx, dword ptr [eax + 4] */
   3814     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x4000DC80: mov dl, byte ptr [ecx + 0x14] */
   3815     /* test LO8(edx), LO8(edx) */ /* 0x4000DC83: test dl, dl */
   3816     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3817     _cf = 0;
   3818     _flag_k = FK_NARROW(FK_TEST, 24);
   3819     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DDFD; /* 0x4000DC85: jne 0x4000ddfd */
   3820 L_4000DC8B:
   3821     edi = MEM32(ecx + 0x4); /* 0x4000DC8B: mov edi, dword ptr [ecx + 4] */
   3822     edx = MEM32(edi); /* 0x4000DC8E: mov edx, dword ptr [edi] */
   3823     /* cmp ecx, edx */ /* 0x4000DC90: cmp ecx, edx */
   3824     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3825     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3826     _flag_k = FK_CMP;
   3827     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD59; /* 0x4000DC92: jne 0x4000dd59 */
   3828 L_4000DC98:
   3829     edx = MEM32(edi + 0x8); /* 0x4000DC98: mov edx, dword ptr [edi + 8] */
   3830     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DC9B: cmp byte ptr [edx + 0x14], 0 */
   3831     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3832     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3833     _flag_k = FK_NARROW(FK_CMP, 24);
   3834     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCBC; /* 0x4000DC9F: jne 0x4000dcbc */
   3835 L_4000DCA1:
   3836     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA1: mov byte ptr [ecx + 0x14], bl */
   3837     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCA4: mov byte ptr [edx + 0x14], bl */
   3838     ecx = MEM32(eax + 0x4); /* 0x4000DCA7: mov ecx, dword ptr [eax + 4] */
   3839     edx = MEM32(ecx + 0x4); /* 0x4000DCAA: mov edx, dword ptr [ecx + 4] */
   3840     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x4000DCAD: mov byte ptr [edx + 0x14], 0 */
   3841     eax = MEM32(eax + 0x4); /* 0x4000DCB1: mov eax, dword ptr [eax + 4] */
   3842     eax = MEM32(eax + 0x4); /* 0x4000DCB4: mov eax, dword ptr [eax + 4] */
   3843     goto L_4000DDF1; /* 0x4000DCB7: jmp 0x4000ddf1 */
   3844 L_4000DCBC:
   3845     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000DCBC: cmp eax, dword ptr [ecx + 8] */
   3846     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3847     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3848     _flag_k = FK_CMP;
   3849     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCFB; /* 0x4000DCBF: jne 0x4000dcfb */
   3850 L_4000DCC1:
   3851     eax = ecx; /* 0x4000DCC1: mov eax, ecx */
   3852     ecx = MEM32(eax + 0x8); /* 0x4000DCC3: mov ecx, dword ptr [eax + 8] */
   3853     edx = MEM32(ecx); /* 0x4000DCC6: mov edx, dword ptr [ecx] */
   3854     MEM32(eax + 0x8) = edx; /* 0x4000DCC8: mov dword ptr [eax + 8], edx */
   3855     edx = MEM32(ecx); /* 0x4000DCCB: mov edx, dword ptr [ecx] */
   3856     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DCCD: cmp edx, dword ptr [esi + 8] */
   3857     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3859     _flag_k = FK_CMP;
   3860     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCD5; /* 0x4000DCD0: je 0x4000dcd5 */
   3861 L_4000DCD2:
   3862     MEM32(edx + 0x4) = eax; /* 0x4000DCD2: mov dword ptr [edx + 4], eax */
   3863 L_4000DCD5:
   3864     edx = MEM32(eax + 0x4); /* 0x4000DCD5: mov edx, dword ptr [eax + 4] */
   3865     MEM32(ecx + 0x4) = edx; /* 0x4000DCD8: mov dword ptr [ecx + 4], edx */
   3866     edx = MEM32(esi + 0x4); /* 0x4000DCDB: mov edx, dword ptr [esi + 4] */
   3867     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DCDE: cmp eax, dword ptr [edx + 4] */
   3868     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3870     _flag_k = FK_CMP;
   3871     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCE8; /* 0x4000DCE1: jne 0x4000dce8 */
   3872 L_4000DCE3:
   3873     MEM32(edx + 0x4) = ecx; /* 0x4000DCE3: mov dword ptr [edx + 4], ecx */
   3874     goto L_4000DCF6; /* 0x4000DCE6: jmp 0x4000dcf6 */
   3875 L_4000DCE8:
   3876     edx = MEM32(eax + 0x4); /* 0x4000DCE8: mov edx, dword ptr [eax + 4] */
   3877     /* cmp eax, MEM32(edx) */ /* 0x4000DCEB: cmp eax, dword ptr [edx] */
   3878     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3880     _flag_k = FK_CMP;
   3881     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DCF3; /* 0x4000DCED: jne 0x4000dcf3 */
   3882 L_4000DCEF:
   3883     MEM32(edx) = ecx; /* 0x4000DCEF: mov dword ptr [edx], ecx */
   3884     goto L_4000DCF6; /* 0x4000DCF1: jmp 0x4000dcf6 */
   3885 L_4000DCF3:
   3886     MEM32(edx + 0x8) = ecx; /* 0x4000DCF3: mov dword ptr [edx + 8], ecx */
   3887 L_4000DCF6:
   3888     MEM32(ecx) = eax; /* 0x4000DCF6: mov dword ptr [ecx], eax */
   3889     MEM32(eax + 0x4) = ecx; /* 0x4000DCF8: mov dword ptr [eax + 4], ecx */
   3890 L_4000DCFB:
   3891     ecx = MEM32(eax + 0x4); /* 0x4000DCFB: mov ecx, dword ptr [eax + 4] */
   3892     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DCFE: mov byte ptr [ecx + 0x14], bl */
   3893     edx = MEM32(eax + 0x4); /* 0x4000DD01: mov edx, dword ptr [eax + 4] */
   3894     ecx = MEM32(edx + 0x4); /* 0x4000DD04: mov ecx, dword ptr [edx + 4] */
   3895     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DD07: mov byte ptr [ecx + 0x14], 0 */
   3896     edx = MEM32(eax + 0x4); /* 0x4000DD0B: mov edx, dword ptr [eax + 4] */
   3897     ecx = MEM32(edx + 0x4); /* 0x4000DD0E: mov ecx, dword ptr [edx + 4] */
   3898     edx = MEM32(ecx); /* 0x4000DD11: mov edx, dword ptr [ecx] */
   3899     edi = MEM32(edx + 0x8); /* 0x4000DD13: mov edi, dword ptr [edx + 8] */
   3900     MEM32(ecx) = edi; /* 0x4000DD16: mov dword ptr [ecx], edi */
   3901     edi = MEM32(edx + 0x8); /* 0x4000DD18: mov edi, dword ptr [edx + 8] */
   3902     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DD1B: cmp edi, dword ptr [esi + 8] */
   3903     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3904     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3905     _flag_k = FK_CMP;
   3906     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD23; /* 0x4000DD1E: je 0x4000dd23 */
   3907 L_4000DD20:
   3908     MEM32(edi + 0x4) = ecx; /* 0x4000DD20: mov dword ptr [edi + 4], ecx */
   3909 L_4000DD23:
   3910     edi = MEM32(ecx + 0x4); /* 0x4000DD23: mov edi, dword ptr [ecx + 4] */
   3911     MEM32(edx + 0x4) = edi; /* 0x4000DD26: mov dword ptr [edx + 4], edi */
   3912     edi = MEM32(esi + 0x4); /* 0x4000DD29: mov edi, dword ptr [esi + 4] */
   3913     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DD2C: cmp ecx, dword ptr [edi + 4] */
   3914     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3915     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3916     _flag_k = FK_CMP;
   3917     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD3C; /* 0x4000DD2F: jne 0x4000dd3c */
   3918 L_4000DD31:
   3919     MEM32(edi + 0x4) = edx; /* 0x4000DD31: mov dword ptr [edi + 4], edx */
   3920     MEM32(edx + 0x8) = ecx; /* 0x4000DD34: mov dword ptr [edx + 8], ecx */
   3921     goto L_4000DDEE; /* 0x4000DD37: jmp 0x4000ddee */
   3922 L_4000DD3C:
   3923     edi = MEM32(ecx + 0x4); /* 0x4000DD3C: mov edi, dword ptr [ecx + 4] */
   3924     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DD3F: cmp ecx, dword ptr [edi + 8] */
   3925     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3927     _flag_k = FK_CMP;
   3928     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD4F; /* 0x4000DD42: jne 0x4000dd4f */
   3929 L_4000DD44:
   3930     MEM32(edi + 0x8) = edx; /* 0x4000DD44: mov dword ptr [edi + 8], edx */
   3931     MEM32(edx + 0x8) = ecx; /* 0x4000DD47: mov dword ptr [edx + 8], ecx */
   3932     goto L_4000DDEE; /* 0x4000DD4A: jmp 0x4000ddee */
   3933 L_4000DD4F:
   3934     MEM32(edi) = edx; /* 0x4000DD4F: mov dword ptr [edi], edx */
   3935     MEM32(edx + 0x8) = ecx; /* 0x4000DD51: mov dword ptr [edx + 8], ecx */
   3936     goto L_4000DDEE; /* 0x4000DD54: jmp 0x4000ddee */
   3937 L_4000DD59:
   3938     /* cmp MEM8(edx + 0x14), 0 */ /* 0x4000DD59: cmp byte ptr [edx + 0x14], 0 */
   3939     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3941     _flag_k = FK_NARROW(FK_CMP, 24);
   3942     RECOMP_BACKEDGE();
   3943     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DCA1; /* 0x4000DD5D: je 0x4000dca1 */
   3944 L_4000DD63:
   3945     /* cmp eax, MEM32(ecx) */ /* 0x4000DD63: cmp eax, dword ptr [ecx] */
   3946     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3948     _flag_k = FK_CMP;
   3949     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDA3; /* 0x4000DD65: jne 0x4000dda3 */
   3950 L_4000DD67:
   3951     eax = ecx; /* 0x4000DD67: mov eax, ecx */
   3952     ecx = MEM32(eax); /* 0x4000DD69: mov ecx, dword ptr [eax] */
   3953     edx = MEM32(ecx + 0x8); /* 0x4000DD6B: mov edx, dword ptr [ecx + 8] */
   3954     MEM32(eax) = edx; /* 0x4000DD6E: mov dword ptr [eax], edx */
   3955     edx = MEM32(ecx + 0x8); /* 0x4000DD70: mov edx, dword ptr [ecx + 8] */
   3956     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000DD73: cmp edx, dword ptr [esi + 8] */
   3957     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3958     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3959     _flag_k = FK_CMP;
   3960     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DD7B; /* 0x4000DD76: je 0x4000dd7b */
   3961 L_4000DD78:
   3962     MEM32(edx + 0x4) = eax; /* 0x4000DD78: mov dword ptr [edx + 4], eax */
   3963 L_4000DD7B:
   3964     edx = MEM32(eax + 0x4); /* 0x4000DD7B: mov edx, dword ptr [eax + 4] */
   3965     MEM32(ecx + 0x4) = edx; /* 0x4000DD7E: mov dword ptr [ecx + 4], edx */
   3966     edx = MEM32(esi + 0x4); /* 0x4000DD81: mov edx, dword ptr [esi + 4] */
   3967     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DD84: cmp eax, dword ptr [edx + 4] */
   3968     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3970     _flag_k = FK_CMP;
   3971     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD8E; /* 0x4000DD87: jne 0x4000dd8e */
   3972 L_4000DD89:
   3973     MEM32(edx + 0x4) = ecx; /* 0x4000DD89: mov dword ptr [edx + 4], ecx */
   3974     goto L_4000DD9D; /* 0x4000DD8C: jmp 0x4000dd9d */
   3975 L_4000DD8E:
   3976     edx = MEM32(eax + 0x4); /* 0x4000DD8E: mov edx, dword ptr [eax + 4] */
   3977     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000DD91: cmp eax, dword ptr [edx + 8] */
   3978     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3980     _flag_k = FK_CMP;
   3981     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DD9B; /* 0x4000DD94: jne 0x4000dd9b */
   3982 L_4000DD96:
   3983     MEM32(edx + 0x8) = ecx; /* 0x4000DD96: mov dword ptr [edx + 8], ecx */
   3984     goto L_4000DD9D; /* 0x4000DD99: jmp 0x4000dd9d */
   3985 L_4000DD9B:
   3986     MEM32(edx) = ecx; /* 0x4000DD9B: mov dword ptr [edx], ecx */
   3987 L_4000DD9D:
   3988     MEM32(ecx + 0x8) = eax; /* 0x4000DD9D: mov dword ptr [ecx + 8], eax */
   3989     MEM32(eax + 0x4) = ecx; /* 0x4000DDA0: mov dword ptr [eax + 4], ecx */
   3990 L_4000DDA3:
   3991     ecx = MEM32(eax + 0x4); /* 0x4000DDA3: mov ecx, dword ptr [eax + 4] */
   3992     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DDA6: mov byte ptr [ecx + 0x14], bl */
   3993     edx = MEM32(eax + 0x4); /* 0x4000DDA9: mov edx, dword ptr [eax + 4] */
   3994     ecx = MEM32(edx + 0x4); /* 0x4000DDAC: mov ecx, dword ptr [edx + 4] */
   3995     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x4000DDAF: mov byte ptr [ecx + 0x14], 0 */
   3996     edx = MEM32(eax + 0x4); /* 0x4000DDB3: mov edx, dword ptr [eax + 4] */
   3997     ecx = MEM32(edx + 0x4); /* 0x4000DDB6: mov ecx, dword ptr [edx + 4] */
   3998     edx = MEM32(ecx + 0x8); /* 0x4000DDB9: mov edx, dword ptr [ecx + 8] */
   3999     edi = MEM32(edx); /* 0x4000DDBC: mov edi, dword ptr [edx] */
   4000     MEM32(ecx + 0x8) = edi; /* 0x4000DDBE: mov dword ptr [ecx + 8], edi */
   4001     edi = MEM32(edx); /* 0x4000DDC1: mov edi, dword ptr [edx] */
   4002     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000DDC3: cmp edi, dword ptr [esi + 8] */
   4003     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4004     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4005     _flag_k = FK_CMP;
   4006     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DDCB; /* 0x4000DDC6: je 0x4000ddcb */
   4007 L_4000DDC8:
   4008     MEM32(edi + 0x4) = ecx; /* 0x4000DDC8: mov dword ptr [edi + 4], ecx */
   4009 L_4000DDCB:
   4010     edi = MEM32(ecx + 0x4); /* 0x4000DDCB: mov edi, dword ptr [ecx + 4] */
   4011     MEM32(edx + 0x4) = edi; /* 0x4000DDCE: mov dword ptr [edx + 4], edi */
   4012     edi = MEM32(esi + 0x4); /* 0x4000DDD1: mov edi, dword ptr [esi + 4] */
   4013     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000DDD4: cmp ecx, dword ptr [edi + 4] */
   4014     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   4015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4016     _flag_k = FK_CMP;
   4017     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDDE; /* 0x4000DDD7: jne 0x4000ddde */
   4018 L_4000DDD9:
   4019     MEM32(edi + 0x4) = edx; /* 0x4000DDD9: mov dword ptr [edi + 4], edx */
   4020     goto L_4000DDEC; /* 0x4000DDDC: jmp 0x4000ddec */
   4021 L_4000DDDE:
   4022     edi = MEM32(ecx + 0x4); /* 0x4000DDDE: mov edi, dword ptr [ecx + 4] */
   4023     /* cmp ecx, MEM32(edi) */ /* 0x4000DDE1: cmp ecx, dword ptr [edi] */
   4024     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   4025     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4026     _flag_k = FK_CMP;
   4027     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DDE9; /* 0x4000DDE3: jne 0x4000dde9 */
   4028 L_4000DDE5:
   4029     MEM32(edi) = edx; /* 0x4000DDE5: mov dword ptr [edi], edx */
   4030     goto L_4000DDEC; /* 0x4000DDE7: jmp 0x4000ddec */
   4031 L_4000DDE9:
   4032     MEM32(edi + 0x8) = edx; /* 0x4000DDE9: mov dword ptr [edi + 8], edx */
   4033 L_4000DDEC:
   4034     MEM32(edx) = ecx; /* 0x4000DDEC: mov dword ptr [edx], ecx */
   4035 L_4000DDEE:
   4036     MEM32(ecx + 0x4) = edx; /* 0x4000DDEE: mov dword ptr [ecx + 4], edx */
   4037 L_4000DDF1:
   4038     ecx = MEM32(esi + 0x4); /* 0x4000DDF1: mov ecx, dword ptr [esi + 4] */
   4039     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000DDF4: cmp eax, dword ptr [ecx + 4] */
   4040     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   4041     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4042     _flag_k = FK_CMP;
   4043     RECOMP_BACKEDGE();
   4044     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DC7D; /* 0x4000DDF7: jne 0x4000dc7d */
   4045 L_4000DDFD:
   4046     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   4047     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   4048     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   4049     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   4050     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   4051     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   4052     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   4053     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   4054     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   4055     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   4056     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   4057     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   4058     RECOMP_REGS_OUT();
   4059 }
   4060 
   4061 void sub_4000DDFD(void) {
   4062     int _fpu_cmp = 0;
   4063     uint32_t _cf = 0;
   4064     int _df = 1;
   4065     uint32_t _flag_k = FK_NONE;
   4066     uint32_t _flag_a = 0, _flag_b = 0;
   4067     uint32_t _itail_tgt = 0;
   4068     RECOMP_REGS_LOCALS
   4069     RECOMP_ENTER(0x4000DDFDu);
   4070 
   4071 L_4000DDFD:
   4072     edx = MEM32(esi + 0x4); /* 0x4000DDFD: mov edx, dword ptr [esi + 4] */
   4073     eax = MEM32(edx + 0x4); /* 0x4000DE00: mov eax, dword ptr [edx + 4] */
   4074     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE03: mov ecx, dword ptr [ebp - 4] */
   4075     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x4000DE06: mov byte ptr [eax + 0x14], bl */
   4076     eax = MEM32(ebp + 0x8); /* 0x4000DE09: mov eax, dword ptr [ebp + 8] */
   4077     edi = POP32_VAL(esp); /* 0x4000DE0C: pop edi */
   4078     esi = POP32_VAL(esp); /* 0x4000DE0D: pop esi */
   4079     MEM32(eax) = ecx; /* 0x4000DE0E: mov dword ptr [eax], ecx */
   4080     ebx = POP32_VAL(esp); /* 0x4000DE10: pop ebx */
   4081     esp = ebp; /* 0x4000DE11: mov esp, ebp */
   4082     ebp = POP32_VAL(esp); /* 0x4000DE13: pop ebp */
   4083     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000DE14: ret 0x10 */
   4084     RECOMP_REGS_OUT();
   4085 }
   4086 
   4087 void sub_4000DE20(void) {
   4088     int _fpu_cmp = 0;
   4089     uint32_t _cf = 0;
   4090     int _df = 1;
   4091     uint32_t _flag_k = FK_NONE;
   4092     uint32_t _flag_a = 0, _flag_b = 0;
   4093     uint32_t _itail_tgt = 0;
   4094     RECOMP_REGS_LOCALS
   4095     RECOMP_ENTER(0x4000DE20u);
   4096 
   4097     goto L_4000DE20;
   4098 L_4000D7F0:
   4099     PUSH32(esp, ebp); /* 0x4000D7F0: push ebp */
   4100     ebp = esp; /* 0x4000D7F1: mov ebp, esp */
   4101     PUSH32(esp, ebx); /* 0x4000D7F3: push ebx */
   4102     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x4000D7F4: mov bl, byte ptr [ebp + 8] */
   4103     /* test LO8(ebx), 2 */ /* 0x4000D7F7: test bl, 2 */
   4104     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   4105     _cf = 0;
   4106     _flag_k = FK_NARROW(FK_TEST, 24);
   4107     PUSH32(esp, esi); /* 0x4000D7FA: push esi */
   4108     esi = ecx; /* 0x4000D7FB: mov esi, ecx */
   4109     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D82E; /* 0x4000D7FD: je 0x4000d82e */
   4110 L_4000D7FF:
   4111     eax = MEM32(esi + (-0x4)); /* 0x4000D7FF: mov eax, dword ptr [esi - 4] */
   4112     PUSH32(esp, edi); /* 0x4000D802: push edi */
   4113     PUSH32(esp, 0x4000D620u); /* 0x4000D803: push 0x4000d620 */
   4114     edi = esi + (-0x4); /* 0x4000D808: lea edi, [esi - 4] */
   4115     PUSH32(esp, eax); /* 0x4000D80B: push eax */
   4116     PUSH32(esp, 0xB4u); /* 0x4000D80C: push 0xb4 */
   4117     PUSH32(esp, esi); /* 0x4000D811: push esi */
   4118     RECOMP_ICALL(0x40014770u); /* 0x4000D812: call 0x40014770 */ /* not lifted */
   4119     RECOMP_FLAGS_IN();
   4120     /* test LO8(ebx), 1 */ /* 0x4000D817: test bl, 1 */
   4121     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4122     _cf = 0;
   4123     _flag_k = FK_NARROW(FK_TEST, 24);
   4124     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D825; /* 0x4000D81A: je 0x4000d825 */
   4125 L_4000D81C:
   4126     PUSH32(esp, edi); /* 0x4000D81C: push edi */
   4127     RECOMP_ICALL(0x400146F2u); /* 0x4000D81D: call 0x400146f2 */ /* not lifted */
   4128     RECOMP_FLAGS_IN();
   4129     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4130     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4131     esp = esp + 4; /* 0x4000D822: add esp, 4 */
   4132     _flag_k = FK_ADD;
   4133 L_4000D825:
   4134     eax = edi; /* 0x4000D825: mov eax, edi */
   4135     edi = POP32_VAL(esp); /* 0x4000D827: pop edi */
   4136     esi = POP32_VAL(esp); /* 0x4000D828: pop esi */
   4137     ebx = POP32_VAL(esp); /* 0x4000D829: pop ebx */
   4138     ebp = POP32_VAL(esp); /* 0x4000D82A: pop ebp */
   4139     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000D82B: ret 4 */
   4140 L_4000D82E:
   4141     ecx = esi; /* 0x4000D82E: mov ecx, esi */
   4142     RECOMP_ICALL(0x4000D620u); /* 0x4000D830: call 0x4000d620 */ /* not lifted */
   4143     RECOMP_FLAGS_IN();
   4144     /* test LO8(ebx), 1 */ /* 0x4000D835: test bl, 1 */
   4145     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   4146     _cf = 0;
   4147     _flag_k = FK_NARROW(FK_TEST, 24);
   4148     if (TEST_Z(_flag_a, _flag_b)) goto L_4000D843; /* 0x4000D838: je 0x4000d843 */
   4149 L_4000D83A:
   4150     PUSH32(esp, esi); /* 0x4000D83A: push esi */
   4151     RECOMP_ICALL(0x400146F2u); /* 0x4000D83B: call 0x400146f2 */ /* not lifted */
   4152     RECOMP_FLAGS_IN();
   4153     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4154     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4155     esp = esp + 4; /* 0x4000D840: add esp, 4 */
   4156     _flag_k = FK_ADD;
   4157 L_4000D843:
   4158     eax = esi; /* 0x4000D843: mov eax, esi */
   4159     esi = POP32_VAL(esp); /* 0x4000D845: pop esi */
   4160     ebx = POP32_VAL(esp); /* 0x4000D846: pop ebx */
   4161     ebp = POP32_VAL(esp); /* 0x4000D847: pop ebp */
   4162     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000D848: ret 4 */
   4163 L_4000DE20:
   4164     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   4165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4166     ecx = ecx - 0xCu; /* 0x4000DE20: sub ecx, 0xc */
   4167     _flag_k = FK_CMP;
   4168     RECOMP_BACKEDGE();
   4169     goto L_4000D7F0; /* 0x4000DE23: jmp 0x4000d7f0 */
   4170     { RECOMP_REGS_OUT(); return; } /* end of function */
   4171     RECOMP_REGS_OUT();
   4172 }
   4173 
   4174 void sub_4000DE30(void) {
   4175     int _fpu_cmp = 0;
   4176     uint32_t _cf = 0;
   4177     int _df = 1;
   4178     uint32_t _flag_k = FK_NONE;
   4179     uint32_t _flag_a = 0, _flag_b = 0;
   4180     uint32_t _itail_tgt = 0;
   4181     RECOMP_REGS_LOCALS
   4182     RECOMP_ENTER(0x4000DE30u);
   4183 
   4184 L_4000DE30:
   4185     PUSH32(esp, ebp); /* 0x4000DE30: push ebp */
   4186     ebp = esp; /* 0x4000DE31: mov ebp, esp */
   4187     PUSH32(esp, ecx); /* 0x4000DE33: push ecx */
   4188     PUSH32(esp, ebx); /* 0x4000DE34: push ebx */
   4189     PUSH32(esp, esi); /* 0x4000DE35: push esi */
   4190     esi = MEM32(ebp + 0xC); /* 0x4000DE36: mov esi, dword ptr [ebp + 0xc] */
   4191     PUSH32(esp, edi); /* 0x4000DE39: push edi */
   4192     edi = ecx; /* 0x4000DE3A: mov edi, ecx */
   4193     ecx = ebp + 0xC; /* 0x4000DE3C: lea ecx, [ebp + 0xc] */
   4194     RECOMP_ICALL(0x40001C50u); /* 0x4000DE3F: call 0x40001c50 */ /* not lifted */
   4195     RECOMP_FLAGS_IN();
   4196     edx = MEM32(esi); /* 0x4000DE44: mov edx, dword ptr [esi] */
   4197     eax = MEM32(edi + 0x8); /* 0x4000DE46: mov eax, dword ptr [edi + 8] */
   4198     /* cmp edx, eax */ /* 0x4000DE49: cmp edx, eax */
   4199     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4200     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4201     _flag_k = FK_CMP;
   4202     MEM32(ebp + (-0x4)) = esi; /* 0x4000DE4B: mov dword ptr [ebp - 4], esi */
   4203     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DE70; /* 0x4000DE4E: jne 0x4000de70 */
   4204 L_4000DE50:
   4205     eax = MEM32(esi + 0x8); /* 0x4000DE50: mov eax, dword ptr [esi + 8] */
   4206 L_4000DE53:
   4207     ecx = MEM32(ebp + (-0x4)); /* 0x4000DE53: mov ecx, dword ptr [ebp - 4] */
   4208     edx = MEM32(ecx + 0x4); /* 0x4000DE56: mov edx, dword ptr [ecx + 4] */
   4209     MEM32(eax + 0x4) = edx; /* 0x4000DE59: mov dword ptr [eax + 4], edx */
   4210     ecx = MEM32(edi + 0x4); /* 0x4000DE5C: mov ecx, dword ptr [edi + 4] */
   4211     /* cmp MEM32(ecx + 0x4), esi */ /* 0x4000DE5F: cmp dword ptr [ecx + 4], esi */
   4212     _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi);
   4213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4214     _flag_k = FK_CMP;
   4215     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DEF3; /* 0x4000DE62: jne 0x4000def3 */
   4216 L_4000DE68:
   4217     MEM32(ecx + 0x4) = eax; /* 0x4000DE68: mov dword ptr [ecx + 4], eax */
   4218     goto L_4000DF01; /* 0x4000DE6B: jmp 0x4000df01 */
   4219 L_4000DE70:
   4220     ecx = MEM32(esi + 0x8); /* 0x4000DE70: mov ecx, dword ptr [esi + 8] */
   4221     /* cmp ecx, eax */ /* 0x4000DE73: cmp ecx, eax */
   4222     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4223     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4224     _flag_k = FK_CMP;
   4225     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DE7B; /* 0x4000DE75: jne 0x4000de7b */
   4226 L_4000DE77:
   4227     eax = edx; /* 0x4000DE77: mov eax, edx */
   4228     RECOMP_BACKEDGE();
   4229     goto L_4000DE53; /* 0x4000DE79: jmp 0x4000de53 */
   4230 L_4000DE7B:
   4231     eax = MEM32(ecx); /* 0x4000DE7B: mov eax, dword ptr [ecx] */
   4232     SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x4000DE7D: mov bl, byte ptr [eax + 0x1d] */
   4233     /* test LO8(ebx), LO8(ebx) */ /* 0x4000DE80: test bl, bl */
   4234     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4235     _cf = 0;
   4236     _flag_k = FK_NARROW(FK_TEST, 24);
   4237     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DE8F; /* 0x4000DE82: jne 0x4000de8f */
   4238 L_4000DE84:
   4239     ecx = eax; /* 0x4000DE84: mov ecx, eax */
   4240     eax = MEM32(ecx); /* 0x4000DE86: mov eax, dword ptr [ecx] */
   4241     SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x4000DE88: mov bl, byte ptr [eax + 0x1d] */
   4242     /* test LO8(ebx), LO8(ebx) */ /* 0x4000DE8B: test bl, bl */
   4243     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4244     _cf = 0;
   4245     _flag_k = FK_NARROW(FK_TEST, 24);
   4246     RECOMP_BACKEDGE();
   4247     if (TEST_Z(_flag_a, _flag_b)) goto L_4000DE84; /* 0x4000DE8D: je 0x4000de84 */
   4248 L_4000DE8F:
   4249     /* cmp ecx, esi */ /* 0x4000DE8F: cmp ecx, esi */
   4250     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   4251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4252     _flag_k = FK_CMP;
   4253     eax = MEM32(ecx + 0x8); /* 0x4000DE91: mov eax, dword ptr [ecx + 8] */
   4254     MEM32(ebp + (-0x4)) = ecx; /* 0x4000DE94: mov dword ptr [ebp - 4], ecx */
   4255     RECOMP_BACKEDGE();
   4256     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DE53; /* 0x4000DE97: je 0x4000de53 */
   4257 L_4000DE99:
   4258     MEM32(edx + 0x4) = ecx; /* 0x4000DE99: mov dword ptr [edx + 4], ecx */
   4259     edx = MEM32(esi); /* 0x4000DE9C: mov edx, dword ptr [esi] */
   4260     MEM32(ecx) = edx; /* 0x4000DE9E: mov dword ptr [ecx], edx */
   4261     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000DEA0: cmp ecx, dword ptr [esi + 8] */
   4262     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4263     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4264     _flag_k = FK_CMP;
   4265     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DEAA; /* 0x4000DEA3: jne 0x4000deaa */
   4266 L_4000DEA5:
   4267     MEM32(eax + 0x4) = ecx; /* 0x4000DEA5: mov dword ptr [eax + 4], ecx */
   4268     goto L_4000DEC1; /* 0x4000DEA8: jmp 0x4000dec1 */
   4269 L_4000DEAA:
   4270     edx = MEM32(ecx + 0x4); /* 0x4000DEAA: mov edx, dword ptr [ecx + 4] */
   4271     MEM32(eax + 0x4) = edx; /* 0x4000DEAD: mov dword ptr [eax + 4], edx */
   4272     edx = MEM32(ecx + 0x4); /* 0x4000DEB0: mov edx, dword ptr [ecx + 4] */
   4273     MEM32(edx) = eax; /* 0x4000DEB3: mov dword ptr [edx], eax */
   4274     edx = MEM32(esi + 0x8); /* 0x4000DEB5: mov edx, dword ptr [esi + 8] */
   4275     MEM32(ecx + 0x8) = edx; /* 0x4000DEB8: mov dword ptr [ecx + 8], edx */
   4276     edx = MEM32(esi + 0x8); /* 0x4000DEBB: mov edx, dword ptr [esi + 8] */
   4277     MEM32(edx + 0x4) = ecx; /* 0x4000DEBE: mov dword ptr [edx + 4], ecx */
   4278 L_4000DEC1:
   4279     edx = MEM32(edi + 0x4); /* 0x4000DEC1: mov edx, dword ptr [edi + 4] */
   4280     /* cmp MEM32(edx + 0x4), esi */ /* 0x4000DEC4: cmp dword ptr [edx + 4], esi */
   4281     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi);
   4282     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4283     _flag_k = FK_CMP;
   4284     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DECE; /* 0x4000DEC7: jne 0x4000dece */
   4285 L_4000DEC9:
   4286     MEM32(edx + 0x4) = ecx; /* 0x4000DEC9: mov dword ptr [edx + 4], ecx */
   4287     goto L_4000DEDC; /* 0x4000DECC: jmp 0x4000dedc */
   4288 L_4000DECE:
   4289     edx = MEM32(esi + 0x4); /* 0x4000DECE: mov edx, dword ptr [esi + 4] */
   4290     /* cmp MEM32(edx), esi */ /* 0x4000DED1: cmp dword ptr [edx], esi */
   4291     _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi);
   4292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4293     _flag_k = FK_CMP;
   4294     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DED9; /* 0x4000DED3: jne 0x4000ded9 */
   4295 L_4000DED5:
   4296     MEM32(edx) = ecx; /* 0x4000DED5: mov dword ptr [edx], ecx */
   4297     goto L_4000DEDC; /* 0x4000DED7: jmp 0x4000dedc */
   4298 L_4000DED9:
   4299     MEM32(edx + 0x8) = ecx; /* 0x4000DED9: mov dword ptr [edx + 8], ecx */
   4300 L_4000DEDC:
   4301     edx = MEM32(esi + 0x4); /* 0x4000DEDC: mov edx, dword ptr [esi + 4] */
   4302     MEM32(ecx + 0x4) = edx; /* 0x4000DEDF: mov dword ptr [ecx + 4], edx */
   4303     SET_LO8(ebx, MEM8(esi + 0x1C)); /* 0x4000DEE2: mov bl, byte ptr [esi + 0x1c] */
   4304     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DEE5: mov dl, byte ptr [ecx + 0x1c] */
   4305     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DEE8: mov byte ptr [ecx + 0x1c], bl */
   4306     MEM8(esi + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000DEEB: mov byte ptr [esi + 0x1c], dl */
   4307     MEM32(ebp + (-0x4)) = esi; /* 0x4000DEEE: mov dword ptr [ebp - 4], esi */
   4308     goto L_4000DF58; /* 0x4000DEF1: jmp 0x4000df58 */
   4309 L_4000DEF3:
   4310     ecx = MEM32(esi + 0x4); /* 0x4000DEF3: mov ecx, dword ptr [esi + 4] */
   4311     /* cmp MEM32(ecx), esi */ /* 0x4000DEF6: cmp dword ptr [ecx], esi */
   4312     _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi);
   4313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4314     _flag_k = FK_CMP;
   4315     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DEFE; /* 0x4000DEF8: jne 0x4000defe */
   4316 L_4000DEFA:
   4317     MEM32(ecx) = eax; /* 0x4000DEFA: mov dword ptr [ecx], eax */
   4318     goto L_4000DF01; /* 0x4000DEFC: jmp 0x4000df01 */
   4319 L_4000DEFE:
   4320     MEM32(ecx + 0x8) = eax; /* 0x4000DEFE: mov dword ptr [ecx + 8], eax */
   4321 L_4000DF01:
   4322     ebx = MEM32(edi + 0x4); /* 0x4000DF01: mov ebx, dword ptr [edi + 4] */
   4323     /* cmp MEM32(ebx), esi */ /* 0x4000DF04: cmp dword ptr [ebx], esi */
   4324     _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi);
   4325     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4326     _flag_k = FK_CMP;
   4327     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF2B; /* 0x4000DF06: jne 0x4000df2b */
   4328 L_4000DF08:
   4329     ecx = MEM32(esi + 0x8); /* 0x4000DF08: mov ecx, dword ptr [esi + 8] */
   4330     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DF0B: cmp ecx, dword ptr [edi + 8] */
   4331     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4332     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4333     _flag_k = FK_CMP;
   4334     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF15; /* 0x4000DF0E: jne 0x4000df15 */
   4335 L_4000DF10:
   4336     edx = MEM32(esi + 0x4); /* 0x4000DF10: mov edx, dword ptr [esi + 4] */
   4337     goto L_4000DF29; /* 0x4000DF13: jmp 0x4000df29 */
   4338 L_4000DF15:
   4339     ecx = MEM32(eax); /* 0x4000DF15: mov ecx, dword ptr [eax] */
   4340     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF17: cmp byte ptr [ecx + 0x1d], 0 */
   4341     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4343     _flag_k = FK_NARROW(FK_CMP, 24);
   4344     edx = eax; /* 0x4000DF1B: mov edx, eax */
   4345     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF29; /* 0x4000DF1D: jne 0x4000df29 */
   4346 L_4000DF1F:
   4347     edx = ecx; /* 0x4000DF1F: mov edx, ecx */
   4348     ecx = MEM32(edx); /* 0x4000DF21: mov ecx, dword ptr [edx] */
   4349     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF23: cmp byte ptr [ecx + 0x1d], 0 */
   4350     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4352     _flag_k = FK_NARROW(FK_CMP, 24);
   4353     RECOMP_BACKEDGE();
   4354     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DF1F; /* 0x4000DF27: je 0x4000df1f */
   4355 L_4000DF29:
   4356     MEM32(ebx) = edx; /* 0x4000DF29: mov dword ptr [ebx], edx */
   4357 L_4000DF2B:
   4358     ebx = MEM32(edi + 0x4); /* 0x4000DF2B: mov ebx, dword ptr [edi + 4] */
   4359     /* cmp MEM32(ebx + 0x8), esi */ /* 0x4000DF2E: cmp dword ptr [ebx + 8], esi */
   4360     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi);
   4361     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4362     _flag_k = FK_CMP;
   4363     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF58; /* 0x4000DF31: jne 0x4000df58 */
   4364 L_4000DF33:
   4365     ecx = MEM32(esi); /* 0x4000DF33: mov ecx, dword ptr [esi] */
   4366     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DF35: cmp ecx, dword ptr [edi + 8] */
   4367     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4368     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4369     _flag_k = FK_CMP;
   4370     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF3F; /* 0x4000DF38: jne 0x4000df3f */
   4371 L_4000DF3A:
   4372     edx = MEM32(esi + 0x4); /* 0x4000DF3A: mov edx, dword ptr [esi + 4] */
   4373     goto L_4000DF55; /* 0x4000DF3D: jmp 0x4000df55 */
   4374 L_4000DF3F:
   4375     ecx = MEM32(eax + 0x8); /* 0x4000DF3F: mov ecx, dword ptr [eax + 8] */
   4376     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF42: cmp byte ptr [ecx + 0x1d], 0 */
   4377     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4378     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4379     _flag_k = FK_NARROW(FK_CMP, 24);
   4380     edx = eax; /* 0x4000DF46: mov edx, eax */
   4381     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF55; /* 0x4000DF48: jne 0x4000df55 */
   4382 L_4000DF4A:
   4383     edx = ecx; /* 0x4000DF4A: mov edx, ecx */
   4384     ecx = MEM32(edx + 0x8); /* 0x4000DF4C: mov ecx, dword ptr [edx + 8] */
   4385     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF4F: cmp byte ptr [ecx + 0x1d], 0 */
   4386     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4387     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4388     _flag_k = FK_NARROW(FK_CMP, 24);
   4389     RECOMP_BACKEDGE();
   4390     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DF4A; /* 0x4000DF53: je 0x4000df4a */
   4391 L_4000DF55:
   4392     MEM32(ebx + 0x8) = edx; /* 0x4000DF55: mov dword ptr [ebx + 8], edx */
   4393 L_4000DF58:
   4394     ecx = MEM32(ebp + (-0x4)); /* 0x4000DF58: mov ecx, dword ptr [ebp - 4] */
   4395     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF5B: mov dl, byte ptr [ecx + 0x1c] */
   4396     SET_LO8(ebx, 1); /* 0x4000DF5E: mov bl, 1 */
   4397     /* cmp LO8(edx), LO8(ebx) */ /* 0x4000DF60: cmp dl, bl */
   4398     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4399     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4400     _flag_k = FK_NARROW(FK_CMP, 24);
   4401     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C5; /* 0x4000DF62: jne 0x4000e1c5 */
   4402 L_4000DF68:
   4403     edx = MEM32(edi + 0x4); /* 0x4000DF68: mov edx, dword ptr [edi + 4] */
   4404     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DF6B: cmp eax, dword ptr [edx + 4] */
   4405     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   4406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4407     _flag_k = FK_CMP;
   4408     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF6E: je 0x4000e1c2 */
   4409 L_4000DF74:
   4410     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   4411     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4412     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4413     _flag_k = FK_NARROW(FK_CMP, 24);
   4414     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   4415 L_4000DF7D:
   4416     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   4417     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   4418     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   4419     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4420     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4421     _flag_k = FK_CMP;
   4422     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   4423 L_4000DF86:
   4424     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   4425     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   4426     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   4427     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4428     _cf = 0;
   4429     _flag_k = FK_NARROW(FK_TEST, 24);
   4430     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   4431 L_4000DF90:
   4432     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   4433     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   4434     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   4435     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   4436     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   4437     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   4438     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   4439     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   4440     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   4441     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4442     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4443     _flag_k = FK_CMP;
   4444     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   4445 L_4000DFAC:
   4446     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   4447 L_4000DFAF:
   4448     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   4449     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   4450     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   4451     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   4452     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4454     _flag_k = FK_CMP;
   4455     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   4456 L_4000DFBD:
   4457     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   4458     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   4459 L_4000DFC2:
   4460     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   4461     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   4462     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4463     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4464     _flag_k = FK_CMP;
   4465     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   4466 L_4000DFC9:
   4467     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   4468     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   4469 L_4000DFCD:
   4470     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   4471 L_4000DFD0:
   4472     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   4473     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   4474     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   4475     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   4476 L_4000DFDB:
   4477     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   4478     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   4479     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4480     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4481     _flag_k = FK_NARROW(FK_CMP, 24);
   4482     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   4483 L_4000DFE6:
   4484     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   4485     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   4486     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4488     _flag_k = FK_NARROW(FK_CMP, 24);
   4489     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   4490 L_4000DFF2:
   4491     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   4492 L_4000DFF4:
   4493     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   4494     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   4495     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4496     _cf = 0;
   4497     _flag_k = FK_NARROW(FK_TEST, 24);
   4498     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   4499 L_4000DFFB:
   4500     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   4501     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   4502     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   4503     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   4504     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   4505     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   4506     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   4507     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   4508     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   4509     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4510     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4511     _flag_k = FK_CMP;
   4512     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   4513 L_4000E017:
   4514     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   4515 L_4000E01A:
   4516     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   4517     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   4518     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   4519     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   4520     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4522     _flag_k = FK_CMP;
   4523     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   4524 L_4000E028:
   4525     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   4526     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   4527 L_4000E02D:
   4528     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   4529     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   4530     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4531     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4532     _flag_k = FK_CMP;
   4533     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   4534 L_4000E035:
   4535     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   4536     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   4537 L_4000E03A:
   4538     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   4539 L_4000E03C:
   4540     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   4541     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   4542     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   4543     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   4544 L_4000E047:
   4545     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   4546     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   4547     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4548     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4549     _flag_k = FK_NARROW(FK_CMP, 24);
   4550     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   4551 L_4000E053:
   4552     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   4553     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   4554     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4555     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4556     _flag_k = FK_NARROW(FK_CMP, 24);
   4557     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   4558 L_4000E05E:
   4559     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   4560     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   4561     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   4562     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   4563     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   4564     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4565     _flag_k = FK_CMP;
   4566     RECOMP_BACKEDGE();
   4567     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   4568 L_4000E071:
   4569     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   4570 L_4000E076:
   4571     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   4572     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   4573     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4575     _flag_k = FK_NARROW(FK_CMP, 24);
   4576     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   4577 L_4000E07E:
   4578     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   4579     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   4580     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   4581     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   4582     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   4583     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   4584     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   4585     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   4586     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4588     _flag_k = FK_CMP;
   4589     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   4590 L_4000E096:
   4591     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   4592 L_4000E099:
   4593     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   4594     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   4595     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   4596     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   4597     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4599     _flag_k = FK_CMP;
   4600     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   4601 L_4000E0A7:
   4602     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   4603     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   4604 L_4000E0AC:
   4605     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   4606     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   4607     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4609     _flag_k = FK_CMP;
   4610     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   4611 L_4000E0B4:
   4612     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   4613     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   4614 L_4000E0B9:
   4615     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   4616 L_4000E0BB:
   4617     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   4618     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   4619     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   4620     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   4621 L_4000E0C7:
   4622     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   4623     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   4624     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   4625     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   4626     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   4627     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   4628     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   4629     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   4630     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   4631     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   4632     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   4633     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   4634     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   4635     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4636     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4637     _flag_k = FK_CMP;
   4638     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   4639 L_4000E0EE:
   4640     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   4641 L_4000E0F1:
   4642     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   4643     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   4644     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   4645     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   4646     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4647     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4648     _flag_k = FK_CMP;
   4649     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   4650 L_4000E0FF:
   4651     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   4652     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   4653     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   4654 L_4000E109:
   4655     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   4656     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   4657     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4658     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4659     _flag_k = FK_CMP;
   4660     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   4661 L_4000E110:
   4662     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   4663     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   4664     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   4665 L_4000E119:
   4666     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   4667     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   4668     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   4669 L_4000E123:
   4670     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   4671     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   4672     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4673     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4674     _flag_k = FK_NARROW(FK_CMP, 24);
   4675     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   4676 L_4000E12A:
   4677     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   4678     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   4679     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   4680     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   4681     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   4682     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   4683     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   4684     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   4685     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4686     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4687     _flag_k = FK_CMP;
   4688     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   4689 L_4000E143:
   4690     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   4691 L_4000E146:
   4692     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   4693     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   4694     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   4695     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   4696     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4697     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4698     _flag_k = FK_CMP;
   4699     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   4700 L_4000E154:
   4701     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   4702     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   4703 L_4000E159:
   4704     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   4705     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   4706     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4708     _flag_k = FK_CMP;
   4709     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   4710 L_4000E160:
   4711     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   4712     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   4713 L_4000E164:
   4714     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   4715 L_4000E167:
   4716     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   4717     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   4718     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   4719     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   4720 L_4000E171:
   4721     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   4722     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   4723     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   4724     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   4725     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   4726     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   4727     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   4728     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   4729     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   4730     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   4731     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   4732     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   4733     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   4734     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4735     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4736     _flag_k = FK_CMP;
   4737     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   4738 L_4000E197:
   4739     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   4740 L_4000E19A:
   4741     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   4742     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   4743     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   4744     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   4745     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4747     _flag_k = FK_CMP;
   4748     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   4749 L_4000E1A8:
   4750     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   4751     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   4752 L_4000E1AD:
   4753     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   4754     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   4755     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4757     _flag_k = FK_CMP;
   4758     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   4759 L_4000E1B5:
   4760     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   4761     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   4762 L_4000E1BA:
   4763     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   4764 L_4000E1BC:
   4765     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   4766 L_4000E1BF:
   4767     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   4768 L_4000E1C2:
   4769     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   4770 L_4000E1C5:
   4771     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   4772     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   4773     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   4774     RECOMP_FLAGS_IN();
   4775     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   4776     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   4777     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4778     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4779     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   4780     _flag_k = FK_ADD;
   4781     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4782     eax = eax - 1; /* 0x4000E1D7: dec eax */
   4783     _flag_k = FK_DEC;
   4784     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   4785     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   4786     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   4787     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   4788     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   4789     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   4790     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   4791     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   4792     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   4793     RECOMP_REGS_OUT();
   4794 }
   4795 
   4796 void sub_4000DF01(void) {
   4797     int _fpu_cmp = 0;
   4798     uint32_t _cf = 0;
   4799     int _df = 1;
   4800     uint32_t _flag_k = FK_NONE;
   4801     uint32_t _flag_a = 0, _flag_b = 0;
   4802     uint32_t _itail_tgt = 0;
   4803     RECOMP_REGS_LOCALS
   4804     RECOMP_ENTER(0x4000DF01u);
   4805 
   4806 L_4000DF01:
   4807     ebx = MEM32(edi + 0x4); /* 0x4000DF01: mov ebx, dword ptr [edi + 4] */
   4808     /* cmp MEM32(ebx), esi */ /* 0x4000DF04: cmp dword ptr [ebx], esi */
   4809     _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi);
   4810     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4811     _flag_k = FK_CMP;
   4812     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF2B; /* 0x4000DF06: jne 0x4000df2b */
   4813 L_4000DF08:
   4814     ecx = MEM32(esi + 0x8); /* 0x4000DF08: mov ecx, dword ptr [esi + 8] */
   4815     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DF0B: cmp ecx, dword ptr [edi + 8] */
   4816     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4817     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4818     _flag_k = FK_CMP;
   4819     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF15; /* 0x4000DF0E: jne 0x4000df15 */
   4820 L_4000DF10:
   4821     edx = MEM32(esi + 0x4); /* 0x4000DF10: mov edx, dword ptr [esi + 4] */
   4822     goto L_4000DF29; /* 0x4000DF13: jmp 0x4000df29 */
   4823 L_4000DF15:
   4824     ecx = MEM32(eax); /* 0x4000DF15: mov ecx, dword ptr [eax] */
   4825     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF17: cmp byte ptr [ecx + 0x1d], 0 */
   4826     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4828     _flag_k = FK_NARROW(FK_CMP, 24);
   4829     edx = eax; /* 0x4000DF1B: mov edx, eax */
   4830     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF29; /* 0x4000DF1D: jne 0x4000df29 */
   4831 L_4000DF1F:
   4832     edx = ecx; /* 0x4000DF1F: mov edx, ecx */
   4833     ecx = MEM32(edx); /* 0x4000DF21: mov ecx, dword ptr [edx] */
   4834     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF23: cmp byte ptr [ecx + 0x1d], 0 */
   4835     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4837     _flag_k = FK_NARROW(FK_CMP, 24);
   4838     RECOMP_BACKEDGE();
   4839     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DF1F; /* 0x4000DF27: je 0x4000df1f */
   4840 L_4000DF29:
   4841     MEM32(ebx) = edx; /* 0x4000DF29: mov dword ptr [ebx], edx */
   4842 L_4000DF2B:
   4843     ebx = MEM32(edi + 0x4); /* 0x4000DF2B: mov ebx, dword ptr [edi + 4] */
   4844     /* cmp MEM32(ebx + 0x8), esi */ /* 0x4000DF2E: cmp dword ptr [ebx + 8], esi */
   4845     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi);
   4846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4847     _flag_k = FK_CMP;
   4848     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF58; /* 0x4000DF31: jne 0x4000df58 */
   4849 L_4000DF33:
   4850     ecx = MEM32(esi); /* 0x4000DF33: mov ecx, dword ptr [esi] */
   4851     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DF35: cmp ecx, dword ptr [edi + 8] */
   4852     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4854     _flag_k = FK_CMP;
   4855     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF3F; /* 0x4000DF38: jne 0x4000df3f */
   4856 L_4000DF3A:
   4857     edx = MEM32(esi + 0x4); /* 0x4000DF3A: mov edx, dword ptr [esi + 4] */
   4858     goto L_4000DF55; /* 0x4000DF3D: jmp 0x4000df55 */
   4859 L_4000DF3F:
   4860     ecx = MEM32(eax + 0x8); /* 0x4000DF3F: mov ecx, dword ptr [eax + 8] */
   4861     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF42: cmp byte ptr [ecx + 0x1d], 0 */
   4862     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4863     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4864     _flag_k = FK_NARROW(FK_CMP, 24);
   4865     edx = eax; /* 0x4000DF46: mov edx, eax */
   4866     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF55; /* 0x4000DF48: jne 0x4000df55 */
   4867 L_4000DF4A:
   4868     edx = ecx; /* 0x4000DF4A: mov edx, ecx */
   4869     ecx = MEM32(edx + 0x8); /* 0x4000DF4C: mov ecx, dword ptr [edx + 8] */
   4870     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF4F: cmp byte ptr [ecx + 0x1d], 0 */
   4871     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   4872     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4873     _flag_k = FK_NARROW(FK_CMP, 24);
   4874     RECOMP_BACKEDGE();
   4875     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DF4A; /* 0x4000DF53: je 0x4000df4a */
   4876 L_4000DF55:
   4877     MEM32(ebx + 0x8) = edx; /* 0x4000DF55: mov dword ptr [ebx + 8], edx */
   4878 L_4000DF58:
   4879     ecx = MEM32(ebp + (-0x4)); /* 0x4000DF58: mov ecx, dword ptr [ebp - 4] */
   4880     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF5B: mov dl, byte ptr [ecx + 0x1c] */
   4881     SET_LO8(ebx, 1); /* 0x4000DF5E: mov bl, 1 */
   4882     /* cmp LO8(edx), LO8(ebx) */ /* 0x4000DF60: cmp dl, bl */
   4883     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4884     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4885     _flag_k = FK_NARROW(FK_CMP, 24);
   4886     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C5; /* 0x4000DF62: jne 0x4000e1c5 */
   4887 L_4000DF68:
   4888     edx = MEM32(edi + 0x4); /* 0x4000DF68: mov edx, dword ptr [edi + 4] */
   4889     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DF6B: cmp eax, dword ptr [edx + 4] */
   4890     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   4891     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4892     _flag_k = FK_CMP;
   4893     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF6E: je 0x4000e1c2 */
   4894 L_4000DF74:
   4895     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   4896     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4897     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4898     _flag_k = FK_NARROW(FK_CMP, 24);
   4899     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   4900 L_4000DF7D:
   4901     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   4902     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   4903     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   4904     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4905     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4906     _flag_k = FK_CMP;
   4907     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   4908 L_4000DF86:
   4909     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   4910     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   4911     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   4912     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4913     _cf = 0;
   4914     _flag_k = FK_NARROW(FK_TEST, 24);
   4915     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   4916 L_4000DF90:
   4917     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   4918     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   4919     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   4920     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   4921     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   4922     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   4923     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   4924     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   4925     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   4926     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4927     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4928     _flag_k = FK_CMP;
   4929     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   4930 L_4000DFAC:
   4931     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   4932 L_4000DFAF:
   4933     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   4934     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   4935     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   4936     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   4937     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4938     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4939     _flag_k = FK_CMP;
   4940     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   4941 L_4000DFBD:
   4942     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   4943     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   4944 L_4000DFC2:
   4945     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   4946     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   4947     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   4948     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4949     _flag_k = FK_CMP;
   4950     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   4951 L_4000DFC9:
   4952     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   4953     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   4954 L_4000DFCD:
   4955     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   4956 L_4000DFD0:
   4957     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   4958     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   4959     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   4960     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   4961 L_4000DFDB:
   4962     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   4963     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   4964     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4965     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4966     _flag_k = FK_NARROW(FK_CMP, 24);
   4967     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   4968 L_4000DFE6:
   4969     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   4970     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   4971     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4973     _flag_k = FK_NARROW(FK_CMP, 24);
   4974     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   4975 L_4000DFF2:
   4976     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   4977 L_4000DFF4:
   4978     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   4979     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   4980     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4981     _cf = 0;
   4982     _flag_k = FK_NARROW(FK_TEST, 24);
   4983     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   4984 L_4000DFFB:
   4985     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   4986     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   4987     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   4988     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   4989     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   4990     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   4991     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   4992     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   4993     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   4994     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   4995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4996     _flag_k = FK_CMP;
   4997     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   4998 L_4000E017:
   4999     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   5000 L_4000E01A:
   5001     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   5002     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   5003     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   5004     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   5005     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5006     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5007     _flag_k = FK_CMP;
   5008     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   5009 L_4000E028:
   5010     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   5011     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   5012 L_4000E02D:
   5013     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   5014     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   5015     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5016     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5017     _flag_k = FK_CMP;
   5018     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   5019 L_4000E035:
   5020     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   5021     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   5022 L_4000E03A:
   5023     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   5024 L_4000E03C:
   5025     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   5026     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   5027     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   5028     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   5029 L_4000E047:
   5030     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   5031     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   5032     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5033     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5034     _flag_k = FK_NARROW(FK_CMP, 24);
   5035     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   5036 L_4000E053:
   5037     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   5038     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   5039     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5040     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5041     _flag_k = FK_NARROW(FK_CMP, 24);
   5042     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   5043 L_4000E05E:
   5044     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   5045     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   5046     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   5047     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   5048     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5050     _flag_k = FK_CMP;
   5051     RECOMP_BACKEDGE();
   5052     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   5053 L_4000E071:
   5054     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   5055 L_4000E076:
   5056     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   5057     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   5058     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5059     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5060     _flag_k = FK_NARROW(FK_CMP, 24);
   5061     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   5062 L_4000E07E:
   5063     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   5064     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   5065     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   5066     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   5067     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   5068     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   5069     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   5070     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   5071     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5072     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5073     _flag_k = FK_CMP;
   5074     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   5075 L_4000E096:
   5076     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   5077 L_4000E099:
   5078     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   5079     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   5080     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   5081     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   5082     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5083     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5084     _flag_k = FK_CMP;
   5085     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   5086 L_4000E0A7:
   5087     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   5088     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   5089 L_4000E0AC:
   5090     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   5091     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   5092     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5094     _flag_k = FK_CMP;
   5095     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   5096 L_4000E0B4:
   5097     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   5098     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   5099 L_4000E0B9:
   5100     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   5101 L_4000E0BB:
   5102     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   5103     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   5104     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   5105     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   5106 L_4000E0C7:
   5107     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   5108     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   5109     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   5110     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   5111     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   5112     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   5113     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   5114     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   5115     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   5116     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   5117     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   5118     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   5119     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   5120     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5121     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5122     _flag_k = FK_CMP;
   5123     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   5124 L_4000E0EE:
   5125     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   5126 L_4000E0F1:
   5127     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   5128     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   5129     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   5130     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   5131     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5132     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5133     _flag_k = FK_CMP;
   5134     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   5135 L_4000E0FF:
   5136     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   5137     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   5138     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   5139 L_4000E109:
   5140     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   5141     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   5142     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5144     _flag_k = FK_CMP;
   5145     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   5146 L_4000E110:
   5147     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   5148     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   5149     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   5150 L_4000E119:
   5151     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   5152     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   5153     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   5154 L_4000E123:
   5155     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   5156     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   5157     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5158     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5159     _flag_k = FK_NARROW(FK_CMP, 24);
   5160     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   5161 L_4000E12A:
   5162     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   5163     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   5164     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   5165     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   5166     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   5167     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   5168     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   5169     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   5170     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5172     _flag_k = FK_CMP;
   5173     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   5174 L_4000E143:
   5175     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   5176 L_4000E146:
   5177     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   5178     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   5179     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   5180     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   5181     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5183     _flag_k = FK_CMP;
   5184     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   5185 L_4000E154:
   5186     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   5187     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   5188 L_4000E159:
   5189     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   5190     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   5191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5193     _flag_k = FK_CMP;
   5194     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   5195 L_4000E160:
   5196     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   5197     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   5198 L_4000E164:
   5199     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   5200 L_4000E167:
   5201     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   5202     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   5203     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   5204     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   5205 L_4000E171:
   5206     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   5207     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   5208     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   5209     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   5210     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   5211     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   5212     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   5213     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   5214     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   5215     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   5216     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   5217     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   5218     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   5219     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5220     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5221     _flag_k = FK_CMP;
   5222     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   5223 L_4000E197:
   5224     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   5225 L_4000E19A:
   5226     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   5227     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   5228     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   5229     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   5230     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5232     _flag_k = FK_CMP;
   5233     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   5234 L_4000E1A8:
   5235     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   5236     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   5237 L_4000E1AD:
   5238     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   5239     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   5240     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5241     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5242     _flag_k = FK_CMP;
   5243     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   5244 L_4000E1B5:
   5245     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   5246     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   5247 L_4000E1BA:
   5248     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   5249 L_4000E1BC:
   5250     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   5251 L_4000E1BF:
   5252     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   5253 L_4000E1C2:
   5254     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   5255 L_4000E1C5:
   5256     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   5257     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   5258     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   5259     RECOMP_FLAGS_IN();
   5260     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   5261     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   5262     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5263     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5264     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   5265     _flag_k = FK_ADD;
   5266     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5267     eax = eax - 1; /* 0x4000E1D7: dec eax */
   5268     _flag_k = FK_DEC;
   5269     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   5270     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   5271     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   5272     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   5273     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   5274     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   5275     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   5276     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   5277     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   5278     RECOMP_REGS_OUT();
   5279 }
   5280 
   5281 void sub_4000DF29(void) {
   5282     int _fpu_cmp = 0;
   5283     uint32_t _cf = 0;
   5284     int _df = 1;
   5285     uint32_t _flag_k = FK_NONE;
   5286     uint32_t _flag_a = 0, _flag_b = 0;
   5287     uint32_t _itail_tgt = 0;
   5288     RECOMP_REGS_LOCALS
   5289     RECOMP_ENTER(0x4000DF29u);
   5290 
   5291 L_4000DF29:
   5292     MEM32(ebx) = edx; /* 0x4000DF29: mov dword ptr [ebx], edx */
   5293     ebx = MEM32(edi + 0x4); /* 0x4000DF2B: mov ebx, dword ptr [edi + 4] */
   5294     /* cmp MEM32(ebx + 0x8), esi */ /* 0x4000DF2E: cmp dword ptr [ebx + 8], esi */
   5295     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi);
   5296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5297     _flag_k = FK_CMP;
   5298     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF58; /* 0x4000DF31: jne 0x4000df58 */
   5299 L_4000DF33:
   5300     ecx = MEM32(esi); /* 0x4000DF33: mov ecx, dword ptr [esi] */
   5301     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000DF35: cmp ecx, dword ptr [edi + 8] */
   5302     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5303     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5304     _flag_k = FK_CMP;
   5305     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF3F; /* 0x4000DF38: jne 0x4000df3f */
   5306 L_4000DF3A:
   5307     edx = MEM32(esi + 0x4); /* 0x4000DF3A: mov edx, dword ptr [esi + 4] */
   5308     goto L_4000DF55; /* 0x4000DF3D: jmp 0x4000df55 */
   5309 L_4000DF3F:
   5310     ecx = MEM32(eax + 0x8); /* 0x4000DF3F: mov ecx, dword ptr [eax + 8] */
   5311     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF42: cmp byte ptr [ecx + 0x1d], 0 */
   5312     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   5313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5314     _flag_k = FK_NARROW(FK_CMP, 24);
   5315     edx = eax; /* 0x4000DF46: mov edx, eax */
   5316     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF55; /* 0x4000DF48: jne 0x4000df55 */
   5317 L_4000DF4A:
   5318     edx = ecx; /* 0x4000DF4A: mov edx, ecx */
   5319     ecx = MEM32(edx + 0x8); /* 0x4000DF4C: mov ecx, dword ptr [edx + 8] */
   5320     /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x4000DF4F: cmp byte ptr [ecx + 0x1d], 0 */
   5321     _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24;
   5322     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5323     _flag_k = FK_NARROW(FK_CMP, 24);
   5324     RECOMP_BACKEDGE();
   5325     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DF4A; /* 0x4000DF53: je 0x4000df4a */
   5326 L_4000DF55:
   5327     MEM32(ebx + 0x8) = edx; /* 0x4000DF55: mov dword ptr [ebx + 8], edx */
   5328 L_4000DF58:
   5329     ecx = MEM32(ebp + (-0x4)); /* 0x4000DF58: mov ecx, dword ptr [ebp - 4] */
   5330     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF5B: mov dl, byte ptr [ecx + 0x1c] */
   5331     SET_LO8(ebx, 1); /* 0x4000DF5E: mov bl, 1 */
   5332     /* cmp LO8(edx), LO8(ebx) */ /* 0x4000DF60: cmp dl, bl */
   5333     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5335     _flag_k = FK_NARROW(FK_CMP, 24);
   5336     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C5; /* 0x4000DF62: jne 0x4000e1c5 */
   5337 L_4000DF68:
   5338     edx = MEM32(edi + 0x4); /* 0x4000DF68: mov edx, dword ptr [edi + 4] */
   5339     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DF6B: cmp eax, dword ptr [edx + 4] */
   5340     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   5341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5342     _flag_k = FK_CMP;
   5343     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF6E: je 0x4000e1c2 */
   5344 L_4000DF74:
   5345     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   5346     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5347     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5348     _flag_k = FK_NARROW(FK_CMP, 24);
   5349     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   5350 L_4000DF7D:
   5351     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   5352     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   5353     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   5354     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5356     _flag_k = FK_CMP;
   5357     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   5358 L_4000DF86:
   5359     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   5360     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   5361     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   5362     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5363     _cf = 0;
   5364     _flag_k = FK_NARROW(FK_TEST, 24);
   5365     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   5366 L_4000DF90:
   5367     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   5368     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   5369     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   5370     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   5371     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   5372     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   5373     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   5374     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   5375     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   5376     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5377     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5378     _flag_k = FK_CMP;
   5379     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   5380 L_4000DFAC:
   5381     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   5382 L_4000DFAF:
   5383     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   5384     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   5385     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   5386     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   5387     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5389     _flag_k = FK_CMP;
   5390     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   5391 L_4000DFBD:
   5392     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   5393     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   5394 L_4000DFC2:
   5395     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   5396     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   5397     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5398     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5399     _flag_k = FK_CMP;
   5400     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   5401 L_4000DFC9:
   5402     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   5403     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   5404 L_4000DFCD:
   5405     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   5406 L_4000DFD0:
   5407     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   5408     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   5409     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   5410     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   5411 L_4000DFDB:
   5412     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   5413     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   5414     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5416     _flag_k = FK_NARROW(FK_CMP, 24);
   5417     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   5418 L_4000DFE6:
   5419     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   5420     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   5421     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5423     _flag_k = FK_NARROW(FK_CMP, 24);
   5424     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   5425 L_4000DFF2:
   5426     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   5427 L_4000DFF4:
   5428     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   5429     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   5430     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5431     _cf = 0;
   5432     _flag_k = FK_NARROW(FK_TEST, 24);
   5433     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   5434 L_4000DFFB:
   5435     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   5436     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   5437     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   5438     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   5439     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   5440     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   5441     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   5442     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   5443     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   5444     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5445     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5446     _flag_k = FK_CMP;
   5447     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   5448 L_4000E017:
   5449     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   5450 L_4000E01A:
   5451     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   5452     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   5453     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   5454     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   5455     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5456     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5457     _flag_k = FK_CMP;
   5458     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   5459 L_4000E028:
   5460     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   5461     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   5462 L_4000E02D:
   5463     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   5464     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   5465     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5466     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5467     _flag_k = FK_CMP;
   5468     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   5469 L_4000E035:
   5470     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   5471     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   5472 L_4000E03A:
   5473     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   5474 L_4000E03C:
   5475     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   5476     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   5477     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   5478     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   5479 L_4000E047:
   5480     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   5481     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   5482     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5483     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5484     _flag_k = FK_NARROW(FK_CMP, 24);
   5485     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   5486 L_4000E053:
   5487     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   5488     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   5489     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5491     _flag_k = FK_NARROW(FK_CMP, 24);
   5492     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   5493 L_4000E05E:
   5494     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   5495     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   5496     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   5497     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   5498     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5500     _flag_k = FK_CMP;
   5501     RECOMP_BACKEDGE();
   5502     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   5503 L_4000E071:
   5504     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   5505 L_4000E076:
   5506     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   5507     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   5508     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5510     _flag_k = FK_NARROW(FK_CMP, 24);
   5511     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   5512 L_4000E07E:
   5513     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   5514     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   5515     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   5516     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   5517     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   5518     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   5519     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   5520     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   5521     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5523     _flag_k = FK_CMP;
   5524     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   5525 L_4000E096:
   5526     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   5527 L_4000E099:
   5528     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   5529     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   5530     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   5531     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   5532     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5534     _flag_k = FK_CMP;
   5535     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   5536 L_4000E0A7:
   5537     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   5538     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   5539 L_4000E0AC:
   5540     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   5541     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   5542     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5543     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5544     _flag_k = FK_CMP;
   5545     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   5546 L_4000E0B4:
   5547     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   5548     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   5549 L_4000E0B9:
   5550     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   5551 L_4000E0BB:
   5552     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   5553     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   5554     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   5555     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   5556 L_4000E0C7:
   5557     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   5558     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   5559     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   5560     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   5561     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   5562     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   5563     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   5564     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   5565     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   5566     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   5567     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   5568     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   5569     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   5570     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5571     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5572     _flag_k = FK_CMP;
   5573     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   5574 L_4000E0EE:
   5575     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   5576 L_4000E0F1:
   5577     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   5578     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   5579     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   5580     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   5581     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5582     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5583     _flag_k = FK_CMP;
   5584     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   5585 L_4000E0FF:
   5586     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   5587     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   5588     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   5589 L_4000E109:
   5590     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   5591     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   5592     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5593     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5594     _flag_k = FK_CMP;
   5595     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   5596 L_4000E110:
   5597     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   5598     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   5599     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   5600 L_4000E119:
   5601     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   5602     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   5603     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   5604 L_4000E123:
   5605     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   5606     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   5607     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5609     _flag_k = FK_NARROW(FK_CMP, 24);
   5610     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   5611 L_4000E12A:
   5612     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   5613     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   5614     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   5615     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   5616     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   5617     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   5618     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   5619     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   5620     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5622     _flag_k = FK_CMP;
   5623     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   5624 L_4000E143:
   5625     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   5626 L_4000E146:
   5627     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   5628     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   5629     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   5630     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   5631     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5633     _flag_k = FK_CMP;
   5634     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   5635 L_4000E154:
   5636     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   5637     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   5638 L_4000E159:
   5639     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   5640     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   5641     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5642     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5643     _flag_k = FK_CMP;
   5644     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   5645 L_4000E160:
   5646     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   5647     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   5648 L_4000E164:
   5649     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   5650 L_4000E167:
   5651     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   5652     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   5653     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   5654     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   5655 L_4000E171:
   5656     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   5657     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   5658     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   5659     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   5660     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   5661     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   5662     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   5663     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   5664     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   5665     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   5666     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   5667     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   5668     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   5669     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5671     _flag_k = FK_CMP;
   5672     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   5673 L_4000E197:
   5674     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   5675 L_4000E19A:
   5676     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   5677     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   5678     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   5679     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   5680     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5681     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5682     _flag_k = FK_CMP;
   5683     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   5684 L_4000E1A8:
   5685     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   5686     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   5687 L_4000E1AD:
   5688     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   5689     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   5690     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   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_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   5694 L_4000E1B5:
   5695     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   5696     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   5697 L_4000E1BA:
   5698     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   5699 L_4000E1BC:
   5700     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   5701 L_4000E1BF:
   5702     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   5703 L_4000E1C2:
   5704     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   5705 L_4000E1C5:
   5706     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   5707     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   5708     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   5709     RECOMP_FLAGS_IN();
   5710     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   5711     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   5712     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5713     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5714     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   5715     _flag_k = FK_ADD;
   5716     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5717     eax = eax - 1; /* 0x4000E1D7: dec eax */
   5718     _flag_k = FK_DEC;
   5719     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   5720     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   5721     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   5722     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   5723     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   5724     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   5725     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   5726     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   5727     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   5728     RECOMP_REGS_OUT();
   5729 }
   5730 
   5731 void sub_4000DF55(void) {
   5732     int _fpu_cmp = 0;
   5733     uint32_t _cf = 0;
   5734     int _df = 1;
   5735     uint32_t _flag_k = FK_NONE;
   5736     uint32_t _flag_a = 0, _flag_b = 0;
   5737     uint32_t _itail_tgt = 0;
   5738     RECOMP_REGS_LOCALS
   5739     RECOMP_ENTER(0x4000DF55u);
   5740 
   5741 L_4000DF55:
   5742     MEM32(ebx + 0x8) = edx; /* 0x4000DF55: mov dword ptr [ebx + 8], edx */
   5743     ecx = MEM32(ebp + (-0x4)); /* 0x4000DF58: mov ecx, dword ptr [ebp - 4] */
   5744     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF5B: mov dl, byte ptr [ecx + 0x1c] */
   5745     SET_LO8(ebx, 1); /* 0x4000DF5E: mov bl, 1 */
   5746     /* cmp LO8(edx), LO8(ebx) */ /* 0x4000DF60: cmp dl, bl */
   5747     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5748     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5749     _flag_k = FK_NARROW(FK_CMP, 24);
   5750     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C5; /* 0x4000DF62: jne 0x4000e1c5 */
   5751 L_4000DF68:
   5752     edx = MEM32(edi + 0x4); /* 0x4000DF68: mov edx, dword ptr [edi + 4] */
   5753     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000DF6B: cmp eax, dword ptr [edx + 4] */
   5754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   5755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5756     _flag_k = FK_CMP;
   5757     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF6E: je 0x4000e1c2 */
   5758 L_4000DF74:
   5759     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   5760     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5761     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5762     _flag_k = FK_NARROW(FK_CMP, 24);
   5763     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   5764 L_4000DF7D:
   5765     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   5766     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   5767     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   5768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5770     _flag_k = FK_CMP;
   5771     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   5772 L_4000DF86:
   5773     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   5774     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   5775     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   5776     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5777     _cf = 0;
   5778     _flag_k = FK_NARROW(FK_TEST, 24);
   5779     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   5780 L_4000DF90:
   5781     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   5782     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   5783     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   5784     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   5785     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   5786     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   5787     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   5788     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   5789     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   5790     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5791     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5792     _flag_k = FK_CMP;
   5793     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   5794 L_4000DFAC:
   5795     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   5796 L_4000DFAF:
   5797     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   5798     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   5799     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   5800     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   5801     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5803     _flag_k = FK_CMP;
   5804     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   5805 L_4000DFBD:
   5806     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   5807     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   5808 L_4000DFC2:
   5809     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   5810     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   5811     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   5812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5813     _flag_k = FK_CMP;
   5814     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   5815 L_4000DFC9:
   5816     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   5817     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   5818 L_4000DFCD:
   5819     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   5820 L_4000DFD0:
   5821     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   5822     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   5823     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   5824     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   5825 L_4000DFDB:
   5826     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   5827     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   5828     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5830     _flag_k = FK_NARROW(FK_CMP, 24);
   5831     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   5832 L_4000DFE6:
   5833     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   5834     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   5835     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5837     _flag_k = FK_NARROW(FK_CMP, 24);
   5838     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   5839 L_4000DFF2:
   5840     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   5841 L_4000DFF4:
   5842     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   5843     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   5844     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5845     _cf = 0;
   5846     _flag_k = FK_NARROW(FK_TEST, 24);
   5847     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   5848 L_4000DFFB:
   5849     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   5850     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   5851     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   5852     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   5853     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   5854     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   5855     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   5856     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   5857     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   5858     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5859     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5860     _flag_k = FK_CMP;
   5861     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   5862 L_4000E017:
   5863     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   5864 L_4000E01A:
   5865     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   5866     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   5867     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   5868     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   5869     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5870     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5871     _flag_k = FK_CMP;
   5872     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   5873 L_4000E028:
   5874     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   5875     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   5876 L_4000E02D:
   5877     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   5878     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   5879     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5880     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5881     _flag_k = FK_CMP;
   5882     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   5883 L_4000E035:
   5884     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   5885     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   5886 L_4000E03A:
   5887     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   5888 L_4000E03C:
   5889     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   5890     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   5891     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   5892     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   5893 L_4000E047:
   5894     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   5895     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   5896     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5897     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5898     _flag_k = FK_NARROW(FK_CMP, 24);
   5899     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   5900 L_4000E053:
   5901     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   5902     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   5903     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5904     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5905     _flag_k = FK_NARROW(FK_CMP, 24);
   5906     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   5907 L_4000E05E:
   5908     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   5909     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   5910     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   5911     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   5912     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5914     _flag_k = FK_CMP;
   5915     RECOMP_BACKEDGE();
   5916     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   5917 L_4000E071:
   5918     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   5919 L_4000E076:
   5920     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   5921     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   5922     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5923     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5924     _flag_k = FK_NARROW(FK_CMP, 24);
   5925     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   5926 L_4000E07E:
   5927     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   5928     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   5929     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   5930     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   5931     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   5932     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   5933     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   5934     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   5935     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5936     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5937     _flag_k = FK_CMP;
   5938     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   5939 L_4000E096:
   5940     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   5941 L_4000E099:
   5942     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   5943     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   5944     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   5945     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   5946     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5948     _flag_k = FK_CMP;
   5949     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   5950 L_4000E0A7:
   5951     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   5952     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   5953 L_4000E0AC:
   5954     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   5955     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   5956     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   5957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5958     _flag_k = FK_CMP;
   5959     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   5960 L_4000E0B4:
   5961     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   5962     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   5963 L_4000E0B9:
   5964     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   5965 L_4000E0BB:
   5966     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   5967     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   5968     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   5969     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   5970 L_4000E0C7:
   5971     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   5972     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   5973     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   5974     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   5975     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   5976     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   5977     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   5978     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   5979     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   5980     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   5981     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   5982     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   5983     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   5984     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   5985     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5986     _flag_k = FK_CMP;
   5987     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   5988 L_4000E0EE:
   5989     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   5990 L_4000E0F1:
   5991     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   5992     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   5993     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   5994     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   5995     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   5996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5997     _flag_k = FK_CMP;
   5998     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   5999 L_4000E0FF:
   6000     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   6001     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   6002     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   6003 L_4000E109:
   6004     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   6005     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   6006     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6007     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6008     _flag_k = FK_CMP;
   6009     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   6010 L_4000E110:
   6011     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   6012     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   6013     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   6014 L_4000E119:
   6015     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   6016     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   6017     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   6018 L_4000E123:
   6019     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   6020     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   6021     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6023     _flag_k = FK_NARROW(FK_CMP, 24);
   6024     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   6025 L_4000E12A:
   6026     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   6027     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   6028     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   6029     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   6030     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   6031     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   6032     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   6033     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   6034     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6035     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6036     _flag_k = FK_CMP;
   6037     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   6038 L_4000E143:
   6039     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   6040 L_4000E146:
   6041     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   6042     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   6043     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   6044     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   6045     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6046     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6047     _flag_k = FK_CMP;
   6048     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   6049 L_4000E154:
   6050     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   6051     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   6052 L_4000E159:
   6053     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   6054     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   6055     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6056     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6057     _flag_k = FK_CMP;
   6058     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   6059 L_4000E160:
   6060     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   6061     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   6062 L_4000E164:
   6063     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   6064 L_4000E167:
   6065     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   6066     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   6067     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   6068     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   6069 L_4000E171:
   6070     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   6071     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   6072     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   6073     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   6074     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   6075     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   6076     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   6077     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   6078     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   6079     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   6080     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   6081     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   6082     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   6083     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6084     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6085     _flag_k = FK_CMP;
   6086     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   6087 L_4000E197:
   6088     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   6089 L_4000E19A:
   6090     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   6091     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   6092     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   6093     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   6094     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6096     _flag_k = FK_CMP;
   6097     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   6098 L_4000E1A8:
   6099     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   6100     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   6101 L_4000E1AD:
   6102     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   6103     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   6104     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6105     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6106     _flag_k = FK_CMP;
   6107     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   6108 L_4000E1B5:
   6109     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   6110     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   6111 L_4000E1BA:
   6112     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   6113 L_4000E1BC:
   6114     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   6115 L_4000E1BF:
   6116     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   6117 L_4000E1C2:
   6118     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   6119 L_4000E1C5:
   6120     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   6121     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   6122     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   6123     RECOMP_FLAGS_IN();
   6124     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   6125     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   6126     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6127     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6128     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   6129     _flag_k = FK_ADD;
   6130     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6131     eax = eax - 1; /* 0x4000E1D7: dec eax */
   6132     _flag_k = FK_DEC;
   6133     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   6134     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   6135     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   6136     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   6137     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   6138     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   6139     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   6140     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   6141     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   6142     RECOMP_REGS_OUT();
   6143 }
   6144 
   6145 void sub_4000DF74(void) {
   6146     int _fpu_cmp = 0;
   6147     uint32_t _cf = 0;
   6148     int _df = 1;
   6149     uint32_t _flag_k = FK_NONE;
   6150     uint32_t _flag_a = 0, _flag_b = 0;
   6151     uint32_t _itail_tgt = 0;
   6152     RECOMP_REGS_LOCALS
   6153     RECOMP_ENTER(0x4000DF74u);
   6154 
   6155 L_4000DF74:
   6156     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   6157     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6158     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6159     _flag_k = FK_NARROW(FK_CMP, 24);
   6160     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   6161 L_4000DF7D:
   6162     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   6163     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   6164     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   6165     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6167     _flag_k = FK_CMP;
   6168     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   6169 L_4000DF86:
   6170     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   6171     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   6172     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   6173     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6174     _cf = 0;
   6175     _flag_k = FK_NARROW(FK_TEST, 24);
   6176     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   6177 L_4000DF90:
   6178     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   6179     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   6180     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   6181     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   6182     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   6183     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   6184     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   6185     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   6186     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   6187     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6188     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6189     _flag_k = FK_CMP;
   6190     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   6191 L_4000DFAC:
   6192     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   6193 L_4000DFAF:
   6194     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   6195     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   6196     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   6197     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   6198     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6200     _flag_k = FK_CMP;
   6201     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   6202 L_4000DFBD:
   6203     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   6204     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   6205 L_4000DFC2:
   6206     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   6207     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   6208     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6209     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6210     _flag_k = FK_CMP;
   6211     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   6212 L_4000DFC9:
   6213     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   6214     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   6215 L_4000DFCD:
   6216     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   6217 L_4000DFD0:
   6218     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   6219     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   6220     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   6221     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   6222 L_4000DFDB:
   6223     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   6224     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   6225     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6227     _flag_k = FK_NARROW(FK_CMP, 24);
   6228     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   6229 L_4000DFE6:
   6230     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   6231     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   6232     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6233     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6234     _flag_k = FK_NARROW(FK_CMP, 24);
   6235     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   6236 L_4000DFF2:
   6237     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   6238 L_4000DFF4:
   6239     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   6240     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   6241     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6242     _cf = 0;
   6243     _flag_k = FK_NARROW(FK_TEST, 24);
   6244     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   6245 L_4000DFFB:
   6246     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   6247     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   6248     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   6249     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   6250     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   6251     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   6252     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   6253     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   6254     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   6255     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6256     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6257     _flag_k = FK_CMP;
   6258     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   6259 L_4000E017:
   6260     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   6261 L_4000E01A:
   6262     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   6263     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   6264     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   6265     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   6266     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6267     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6268     _flag_k = FK_CMP;
   6269     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   6270 L_4000E028:
   6271     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   6272     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   6273 L_4000E02D:
   6274     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   6275     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   6276     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6277     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6278     _flag_k = FK_CMP;
   6279     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   6280 L_4000E035:
   6281     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   6282     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   6283 L_4000E03A:
   6284     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   6285 L_4000E03C:
   6286     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   6287     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   6288     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   6289     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   6290 L_4000E047:
   6291     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   6292     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   6293     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6295     _flag_k = FK_NARROW(FK_CMP, 24);
   6296     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   6297 L_4000E053:
   6298     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   6299     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   6300     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6301     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6302     _flag_k = FK_NARROW(FK_CMP, 24);
   6303     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   6304 L_4000E05E:
   6305     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   6306     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   6307     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   6308     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   6309     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6311     _flag_k = FK_CMP;
   6312     RECOMP_BACKEDGE();
   6313     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   6314 L_4000E071:
   6315     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   6316 L_4000E076:
   6317     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   6318     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   6319     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6321     _flag_k = FK_NARROW(FK_CMP, 24);
   6322     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   6323 L_4000E07E:
   6324     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   6325     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   6326     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   6327     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   6328     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   6329     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   6330     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   6331     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   6332     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6333     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6334     _flag_k = FK_CMP;
   6335     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   6336 L_4000E096:
   6337     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   6338 L_4000E099:
   6339     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   6340     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   6341     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   6342     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   6343     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6345     _flag_k = FK_CMP;
   6346     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   6347 L_4000E0A7:
   6348     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   6349     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   6350 L_4000E0AC:
   6351     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   6352     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   6353     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6354     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6355     _flag_k = FK_CMP;
   6356     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   6357 L_4000E0B4:
   6358     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   6359     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   6360 L_4000E0B9:
   6361     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   6362 L_4000E0BB:
   6363     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   6364     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   6365     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   6366     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   6367 L_4000E0C7:
   6368     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   6369     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   6370     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   6371     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   6372     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   6373     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   6374     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   6375     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   6376     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   6377     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   6378     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   6379     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   6380     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   6381     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6382     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6383     _flag_k = FK_CMP;
   6384     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   6385 L_4000E0EE:
   6386     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   6387 L_4000E0F1:
   6388     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   6389     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   6390     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   6391     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   6392     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6394     _flag_k = FK_CMP;
   6395     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   6396 L_4000E0FF:
   6397     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   6398     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   6399     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   6400 L_4000E109:
   6401     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   6402     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   6403     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6405     _flag_k = FK_CMP;
   6406     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   6407 L_4000E110:
   6408     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   6409     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   6410     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   6411 L_4000E119:
   6412     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   6413     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   6414     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   6415 L_4000E123:
   6416     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   6417     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   6418     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6420     _flag_k = FK_NARROW(FK_CMP, 24);
   6421     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   6422 L_4000E12A:
   6423     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   6424     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   6425     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   6426     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   6427     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   6428     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   6429     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   6430     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   6431     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6432     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6433     _flag_k = FK_CMP;
   6434     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   6435 L_4000E143:
   6436     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   6437 L_4000E146:
   6438     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   6439     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   6440     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   6441     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   6442     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6443     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6444     _flag_k = FK_CMP;
   6445     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   6446 L_4000E154:
   6447     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   6448     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   6449 L_4000E159:
   6450     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   6451     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   6452     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6454     _flag_k = FK_CMP;
   6455     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   6456 L_4000E160:
   6457     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   6458     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   6459 L_4000E164:
   6460     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   6461 L_4000E167:
   6462     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   6463     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   6464     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   6465     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   6466 L_4000E171:
   6467     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   6468     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   6469     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   6470     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   6471     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   6472     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   6473     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   6474     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   6475     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   6476     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   6477     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   6478     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   6479     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   6480     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6482     _flag_k = FK_CMP;
   6483     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   6484 L_4000E197:
   6485     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   6486 L_4000E19A:
   6487     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   6488     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   6489     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   6490     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   6491     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6493     _flag_k = FK_CMP;
   6494     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   6495 L_4000E1A8:
   6496     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   6497     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   6498 L_4000E1AD:
   6499     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   6500     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   6501     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6503     _flag_k = FK_CMP;
   6504     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   6505 L_4000E1B5:
   6506     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   6507     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   6508 L_4000E1BA:
   6509     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   6510 L_4000E1BC:
   6511     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   6512 L_4000E1BF:
   6513     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   6514 L_4000E1C2:
   6515     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   6516     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   6517     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   6518     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   6519     RECOMP_FLAGS_IN();
   6520     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   6521     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   6522     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6523     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6524     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   6525     _flag_k = FK_ADD;
   6526     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6527     eax = eax - 1; /* 0x4000E1D7: dec eax */
   6528     _flag_k = FK_DEC;
   6529     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   6530     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   6531     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   6532     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   6533     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   6534     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   6535     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   6536     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   6537     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   6538     RECOMP_REGS_OUT();
   6539 }
   6540 
   6541 void sub_4000DFD0(void) {
   6542     int _fpu_cmp = 0;
   6543     uint32_t _cf = 0;
   6544     int _df = 1;
   6545     uint32_t _flag_k = FK_NONE;
   6546     uint32_t _flag_a = 0, _flag_b = 0;
   6547     uint32_t _itail_tgt = 0;
   6548     RECOMP_REGS_LOCALS
   6549     RECOMP_ENTER(0x4000DFD0u);
   6550 
   6551     goto L_4000DFD0;
   6552 L_4000DF74:
   6553     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   6554     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6555     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6556     _flag_k = FK_NARROW(FK_CMP, 24);
   6557     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   6558 L_4000DF7D:
   6559     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   6560     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   6561     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   6562     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6563     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6564     _flag_k = FK_CMP;
   6565     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   6566 L_4000DF86:
   6567     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   6568     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   6569     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   6570     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6571     _cf = 0;
   6572     _flag_k = FK_NARROW(FK_TEST, 24);
   6573     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   6574 L_4000DF90:
   6575     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   6576     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   6577     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   6578     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   6579     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   6580     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   6581     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   6582     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   6583     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   6584     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6585     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6586     _flag_k = FK_CMP;
   6587     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   6588 L_4000DFAC:
   6589     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   6590 L_4000DFAF:
   6591     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   6592     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   6593     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   6594     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   6595     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6597     _flag_k = FK_CMP;
   6598     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   6599 L_4000DFBD:
   6600     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   6601     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   6602 L_4000DFC2:
   6603     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   6604     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   6605     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6607     _flag_k = FK_CMP;
   6608     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   6609 L_4000DFC9:
   6610     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   6611     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   6612 L_4000DFCD:
   6613     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   6614 L_4000DFD0:
   6615     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   6616     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   6617     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   6618     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   6619 L_4000DFDB:
   6620     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   6621     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   6622     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6623     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6624     _flag_k = FK_NARROW(FK_CMP, 24);
   6625     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   6626 L_4000DFE6:
   6627     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   6628     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   6629     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6630     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6631     _flag_k = FK_NARROW(FK_CMP, 24);
   6632     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   6633 L_4000DFF2:
   6634     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   6635 L_4000DFF4:
   6636     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   6637     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   6638     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6639     _cf = 0;
   6640     _flag_k = FK_NARROW(FK_TEST, 24);
   6641     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   6642 L_4000DFFB:
   6643     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   6644     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   6645     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   6646     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   6647     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   6648     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   6649     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   6650     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   6651     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   6652     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6653     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6654     _flag_k = FK_CMP;
   6655     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   6656 L_4000E017:
   6657     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   6658 L_4000E01A:
   6659     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   6660     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   6661     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   6662     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   6663     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6664     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6665     _flag_k = FK_CMP;
   6666     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   6667 L_4000E028:
   6668     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   6669     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   6670 L_4000E02D:
   6671     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   6672     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   6673     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6674     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6675     _flag_k = FK_CMP;
   6676     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   6677 L_4000E035:
   6678     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   6679     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   6680 L_4000E03A:
   6681     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   6682 L_4000E03C:
   6683     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   6684     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   6685     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   6686     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   6687 L_4000E047:
   6688     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   6689     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   6690     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6692     _flag_k = FK_NARROW(FK_CMP, 24);
   6693     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   6694 L_4000E053:
   6695     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   6696     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   6697     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6699     _flag_k = FK_NARROW(FK_CMP, 24);
   6700     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   6701 L_4000E05E:
   6702     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   6703     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   6704     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   6705     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   6706     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   6707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6708     _flag_k = FK_CMP;
   6709     RECOMP_BACKEDGE();
   6710     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   6711 L_4000E071:
   6712     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   6713 L_4000E076:
   6714     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   6715     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   6716     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6717     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6718     _flag_k = FK_NARROW(FK_CMP, 24);
   6719     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   6720 L_4000E07E:
   6721     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   6722     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   6723     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   6724     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   6725     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   6726     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   6727     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   6728     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   6729     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6731     _flag_k = FK_CMP;
   6732     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   6733 L_4000E096:
   6734     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   6735 L_4000E099:
   6736     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   6737     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   6738     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   6739     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   6740     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6742     _flag_k = FK_CMP;
   6743     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   6744 L_4000E0A7:
   6745     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   6746     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   6747 L_4000E0AC:
   6748     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   6749     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   6750     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6752     _flag_k = FK_CMP;
   6753     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   6754 L_4000E0B4:
   6755     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   6756     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   6757 L_4000E0B9:
   6758     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   6759 L_4000E0BB:
   6760     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   6761     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   6762     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   6763     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   6764 L_4000E0C7:
   6765     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   6766     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   6767     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   6768     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   6769     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   6770     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   6771     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   6772     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   6773     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   6774     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   6775     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   6776     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   6777     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   6778     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6779     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6780     _flag_k = FK_CMP;
   6781     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   6782 L_4000E0EE:
   6783     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   6784 L_4000E0F1:
   6785     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   6786     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   6787     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   6788     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   6789     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6791     _flag_k = FK_CMP;
   6792     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   6793 L_4000E0FF:
   6794     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   6795     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   6796     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   6797 L_4000E109:
   6798     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   6799     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   6800     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6801     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6802     _flag_k = FK_CMP;
   6803     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   6804 L_4000E110:
   6805     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   6806     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   6807     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   6808 L_4000E119:
   6809     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   6810     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   6811     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   6812 L_4000E123:
   6813     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   6814     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   6815     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6817     _flag_k = FK_NARROW(FK_CMP, 24);
   6818     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   6819 L_4000E12A:
   6820     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   6821     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   6822     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   6823     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   6824     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   6825     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   6826     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   6827     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   6828     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6830     _flag_k = FK_CMP;
   6831     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   6832 L_4000E143:
   6833     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   6834 L_4000E146:
   6835     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   6836     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   6837     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   6838     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   6839     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6841     _flag_k = FK_CMP;
   6842     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   6843 L_4000E154:
   6844     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   6845     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   6846 L_4000E159:
   6847     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   6848     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   6849     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   6850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6851     _flag_k = FK_CMP;
   6852     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   6853 L_4000E160:
   6854     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   6855     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   6856 L_4000E164:
   6857     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   6858 L_4000E167:
   6859     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   6860     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   6861     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   6862     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   6863 L_4000E171:
   6864     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   6865     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   6866     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   6867     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   6868     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   6869     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   6870     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   6871     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   6872     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   6873     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   6874     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   6875     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   6876     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   6877     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6879     _flag_k = FK_CMP;
   6880     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   6881 L_4000E197:
   6882     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   6883 L_4000E19A:
   6884     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   6885     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   6886     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   6887     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   6888     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6890     _flag_k = FK_CMP;
   6891     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   6892 L_4000E1A8:
   6893     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   6894     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   6895 L_4000E1AD:
   6896     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   6897     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   6898     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   6899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6900     _flag_k = FK_CMP;
   6901     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   6902 L_4000E1B5:
   6903     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   6904     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   6905 L_4000E1BA:
   6906     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   6907 L_4000E1BC:
   6908     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   6909 L_4000E1BF:
   6910     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   6911 L_4000E1C2:
   6912     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   6913     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   6914     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   6915     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   6916     RECOMP_FLAGS_IN();
   6917     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   6918     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   6919     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6920     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6921     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   6922     _flag_k = FK_ADD;
   6923     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6924     eax = eax - 1; /* 0x4000E1D7: dec eax */
   6925     _flag_k = FK_DEC;
   6926     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   6927     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   6928     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   6929     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   6930     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   6931     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   6932     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   6933     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   6934     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   6935     RECOMP_REGS_OUT();
   6936 }
   6937 
   6938 void sub_4000DFDB(void) {
   6939     int _fpu_cmp = 0;
   6940     uint32_t _cf = 0;
   6941     int _df = 1;
   6942     uint32_t _flag_k = FK_NONE;
   6943     uint32_t _flag_a = 0, _flag_b = 0;
   6944     uint32_t _itail_tgt = 0;
   6945     RECOMP_REGS_LOCALS
   6946     RECOMP_ENTER(0x4000DFDBu);
   6947 
   6948     goto L_4000DFDB;
   6949 L_4000DF74:
   6950     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   6951     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6952     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6953     _flag_k = FK_NARROW(FK_CMP, 24);
   6954     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   6955 L_4000DF7D:
   6956     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   6957     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   6958     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   6959     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   6960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6961     _flag_k = FK_CMP;
   6962     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   6963 L_4000DF86:
   6964     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   6965     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   6966     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   6967     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   6968     _cf = 0;
   6969     _flag_k = FK_NARROW(FK_TEST, 24);
   6970     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   6971 L_4000DF90:
   6972     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   6973     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   6974     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   6975     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   6976     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   6977     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   6978     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   6979     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   6980     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   6981     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   6982     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6983     _flag_k = FK_CMP;
   6984     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   6985 L_4000DFAC:
   6986     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   6987 L_4000DFAF:
   6988     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   6989     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   6990     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   6991     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   6992     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   6993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6994     _flag_k = FK_CMP;
   6995     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   6996 L_4000DFBD:
   6997     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   6998     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   6999 L_4000DFC2:
   7000     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   7001     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   7002     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7004     _flag_k = FK_CMP;
   7005     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   7006 L_4000DFC9:
   7007     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   7008     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   7009 L_4000DFCD:
   7010     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   7011 L_4000DFD0:
   7012     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   7013     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   7014     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   7015     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   7016 L_4000DFDB:
   7017     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   7018     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   7019     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7021     _flag_k = FK_NARROW(FK_CMP, 24);
   7022     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   7023 L_4000DFE6:
   7024     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   7025     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   7026     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7028     _flag_k = FK_NARROW(FK_CMP, 24);
   7029     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   7030 L_4000DFF2:
   7031     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   7032 L_4000DFF4:
   7033     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   7034     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   7035     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7036     _cf = 0;
   7037     _flag_k = FK_NARROW(FK_TEST, 24);
   7038     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   7039 L_4000DFFB:
   7040     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   7041     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   7042     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   7043     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   7044     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   7045     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   7046     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   7047     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   7048     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   7049     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7050     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7051     _flag_k = FK_CMP;
   7052     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   7053 L_4000E017:
   7054     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   7055 L_4000E01A:
   7056     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   7057     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   7058     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   7059     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   7060     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7061     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7062     _flag_k = FK_CMP;
   7063     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   7064 L_4000E028:
   7065     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   7066     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   7067 L_4000E02D:
   7068     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   7069     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   7070     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7071     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7072     _flag_k = FK_CMP;
   7073     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   7074 L_4000E035:
   7075     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   7076     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   7077 L_4000E03A:
   7078     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   7079 L_4000E03C:
   7080     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   7081     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   7082     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   7083     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   7084 L_4000E047:
   7085     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   7086     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   7087     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7088     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7089     _flag_k = FK_NARROW(FK_CMP, 24);
   7090     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   7091 L_4000E053:
   7092     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   7093     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   7094     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7096     _flag_k = FK_NARROW(FK_CMP, 24);
   7097     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   7098 L_4000E05E:
   7099     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   7100     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   7101     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   7102     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   7103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7105     _flag_k = FK_CMP;
   7106     RECOMP_BACKEDGE();
   7107     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   7108 L_4000E071:
   7109     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   7110 L_4000E076:
   7111     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   7112     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   7113     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7114     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7115     _flag_k = FK_NARROW(FK_CMP, 24);
   7116     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   7117 L_4000E07E:
   7118     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   7119     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   7120     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   7121     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   7122     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   7123     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   7124     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   7125     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   7126     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7128     _flag_k = FK_CMP;
   7129     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   7130 L_4000E096:
   7131     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   7132 L_4000E099:
   7133     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   7134     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   7135     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   7136     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   7137     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7139     _flag_k = FK_CMP;
   7140     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   7141 L_4000E0A7:
   7142     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   7143     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   7144 L_4000E0AC:
   7145     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   7146     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   7147     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7148     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7149     _flag_k = FK_CMP;
   7150     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   7151 L_4000E0B4:
   7152     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   7153     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   7154 L_4000E0B9:
   7155     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   7156 L_4000E0BB:
   7157     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   7158     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   7159     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   7160     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   7161 L_4000E0C7:
   7162     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   7163     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   7164     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   7165     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   7166     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   7167     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   7168     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   7169     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   7170     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   7171     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   7172     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   7173     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   7174     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   7175     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7176     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7177     _flag_k = FK_CMP;
   7178     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   7179 L_4000E0EE:
   7180     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   7181 L_4000E0F1:
   7182     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   7183     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   7184     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   7185     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   7186     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7188     _flag_k = FK_CMP;
   7189     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   7190 L_4000E0FF:
   7191     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   7192     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   7193     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   7194 L_4000E109:
   7195     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   7196     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   7197     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7198     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7199     _flag_k = FK_CMP;
   7200     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   7201 L_4000E110:
   7202     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   7203     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   7204     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   7205 L_4000E119:
   7206     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   7207     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   7208     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   7209 L_4000E123:
   7210     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   7211     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   7212     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7214     _flag_k = FK_NARROW(FK_CMP, 24);
   7215     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   7216 L_4000E12A:
   7217     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   7218     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   7219     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   7220     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   7221     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   7222     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   7223     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   7224     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   7225     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7227     _flag_k = FK_CMP;
   7228     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   7229 L_4000E143:
   7230     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   7231 L_4000E146:
   7232     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   7233     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   7234     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   7235     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   7236     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7237     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7238     _flag_k = FK_CMP;
   7239     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   7240 L_4000E154:
   7241     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   7242     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   7243 L_4000E159:
   7244     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   7245     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   7246     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7247     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7248     _flag_k = FK_CMP;
   7249     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   7250 L_4000E160:
   7251     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   7252     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   7253 L_4000E164:
   7254     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   7255 L_4000E167:
   7256     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   7257     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   7258     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   7259     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   7260 L_4000E171:
   7261     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   7262     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   7263     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   7264     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   7265     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   7266     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   7267     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   7268     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   7269     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   7270     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   7271     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   7272     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   7273     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   7274     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7275     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7276     _flag_k = FK_CMP;
   7277     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   7278 L_4000E197:
   7279     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   7280 L_4000E19A:
   7281     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   7282     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   7283     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   7284     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   7285     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7286     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7287     _flag_k = FK_CMP;
   7288     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   7289 L_4000E1A8:
   7290     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   7291     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   7292 L_4000E1AD:
   7293     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   7294     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   7295     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7297     _flag_k = FK_CMP;
   7298     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   7299 L_4000E1B5:
   7300     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   7301     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   7302 L_4000E1BA:
   7303     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   7304 L_4000E1BC:
   7305     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   7306 L_4000E1BF:
   7307     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   7308 L_4000E1C2:
   7309     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   7310     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   7311     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   7312     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   7313     RECOMP_FLAGS_IN();
   7314     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   7315     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   7316     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7317     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7318     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   7319     _flag_k = FK_ADD;
   7320     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7321     eax = eax - 1; /* 0x4000E1D7: dec eax */
   7322     _flag_k = FK_DEC;
   7323     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   7324     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   7325     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   7326     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   7327     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   7328     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   7329     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   7330     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   7331     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   7332     RECOMP_REGS_OUT();
   7333 }
   7334 
   7335 void sub_4000DFF4(void) {
   7336     int _fpu_cmp = 0;
   7337     uint32_t _cf = 0;
   7338     int _df = 1;
   7339     uint32_t _flag_k = FK_NONE;
   7340     uint32_t _flag_a = 0, _flag_b = 0;
   7341     uint32_t _itail_tgt = 0;
   7342     RECOMP_REGS_LOCALS
   7343     RECOMP_ENTER(0x4000DFF4u);
   7344 
   7345     goto L_4000DFF4;
   7346 L_4000DF74:
   7347     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   7348     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7350     _flag_k = FK_NARROW(FK_CMP, 24);
   7351     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   7352 L_4000DF7D:
   7353     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   7354     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   7355     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   7356     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(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_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   7360 L_4000DF86:
   7361     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   7362     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   7363     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   7364     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7365     _cf = 0;
   7366     _flag_k = FK_NARROW(FK_TEST, 24);
   7367     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   7368 L_4000DF90:
   7369     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   7370     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   7371     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   7372     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   7373     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   7374     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   7375     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   7376     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   7377     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   7378     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7380     _flag_k = FK_CMP;
   7381     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   7382 L_4000DFAC:
   7383     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   7384 L_4000DFAF:
   7385     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   7386     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   7387     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   7388     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   7389     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7391     _flag_k = FK_CMP;
   7392     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   7393 L_4000DFBD:
   7394     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   7395     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   7396 L_4000DFC2:
   7397     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   7398     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   7399     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7400     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7401     _flag_k = FK_CMP;
   7402     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   7403 L_4000DFC9:
   7404     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   7405     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   7406 L_4000DFCD:
   7407     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   7408 L_4000DFD0:
   7409     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   7410     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   7411     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   7412     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   7413 L_4000DFDB:
   7414     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   7415     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   7416     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7418     _flag_k = FK_NARROW(FK_CMP, 24);
   7419     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   7420 L_4000DFE6:
   7421     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   7422     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   7423     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7425     _flag_k = FK_NARROW(FK_CMP, 24);
   7426     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   7427 L_4000DFF2:
   7428     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   7429 L_4000DFF4:
   7430     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   7431     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   7432     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7433     _cf = 0;
   7434     _flag_k = FK_NARROW(FK_TEST, 24);
   7435     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   7436 L_4000DFFB:
   7437     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   7438     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   7439     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   7440     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   7441     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   7442     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   7443     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   7444     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   7445     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   7446     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7447     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7448     _flag_k = FK_CMP;
   7449     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   7450 L_4000E017:
   7451     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   7452 L_4000E01A:
   7453     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   7454     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   7455     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   7456     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   7457     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7458     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7459     _flag_k = FK_CMP;
   7460     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   7461 L_4000E028:
   7462     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   7463     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   7464 L_4000E02D:
   7465     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   7466     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   7467     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7468     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7469     _flag_k = FK_CMP;
   7470     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   7471 L_4000E035:
   7472     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   7473     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   7474 L_4000E03A:
   7475     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   7476 L_4000E03C:
   7477     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   7478     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   7479     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   7480     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   7481 L_4000E047:
   7482     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   7483     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   7484     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7486     _flag_k = FK_NARROW(FK_CMP, 24);
   7487     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   7488 L_4000E053:
   7489     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   7490     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   7491     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7493     _flag_k = FK_NARROW(FK_CMP, 24);
   7494     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   7495 L_4000E05E:
   7496     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   7497     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   7498     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   7499     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   7500     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7502     _flag_k = FK_CMP;
   7503     RECOMP_BACKEDGE();
   7504     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   7505 L_4000E071:
   7506     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   7507 L_4000E076:
   7508     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   7509     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   7510     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7511     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7512     _flag_k = FK_NARROW(FK_CMP, 24);
   7513     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   7514 L_4000E07E:
   7515     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   7516     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   7517     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   7518     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   7519     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   7520     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   7521     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   7522     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   7523     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7524     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7525     _flag_k = FK_CMP;
   7526     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   7527 L_4000E096:
   7528     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   7529 L_4000E099:
   7530     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   7531     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   7532     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   7533     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   7534     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7536     _flag_k = FK_CMP;
   7537     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   7538 L_4000E0A7:
   7539     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   7540     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   7541 L_4000E0AC:
   7542     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   7543     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   7544     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7545     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7546     _flag_k = FK_CMP;
   7547     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   7548 L_4000E0B4:
   7549     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   7550     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   7551 L_4000E0B9:
   7552     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   7553 L_4000E0BB:
   7554     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   7555     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   7556     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   7557     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   7558 L_4000E0C7:
   7559     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   7560     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   7561     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   7562     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   7563     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   7564     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   7565     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   7566     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   7567     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   7568     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   7569     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   7570     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   7571     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   7572     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7573     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7574     _flag_k = FK_CMP;
   7575     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   7576 L_4000E0EE:
   7577     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   7578 L_4000E0F1:
   7579     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   7580     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   7581     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   7582     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   7583     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7584     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7585     _flag_k = FK_CMP;
   7586     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   7587 L_4000E0FF:
   7588     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   7589     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   7590     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   7591 L_4000E109:
   7592     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   7593     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   7594     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7595     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7596     _flag_k = FK_CMP;
   7597     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   7598 L_4000E110:
   7599     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   7600     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   7601     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   7602 L_4000E119:
   7603     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   7604     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   7605     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   7606 L_4000E123:
   7607     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   7608     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   7609     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7610     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7611     _flag_k = FK_NARROW(FK_CMP, 24);
   7612     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   7613 L_4000E12A:
   7614     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   7615     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   7616     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   7617     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   7618     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   7619     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   7620     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   7621     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   7622     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7623     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7624     _flag_k = FK_CMP;
   7625     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   7626 L_4000E143:
   7627     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   7628 L_4000E146:
   7629     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   7630     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   7631     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   7632     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   7633     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7634     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7635     _flag_k = FK_CMP;
   7636     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   7637 L_4000E154:
   7638     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   7639     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   7640 L_4000E159:
   7641     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   7642     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   7643     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7644     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7645     _flag_k = FK_CMP;
   7646     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   7647 L_4000E160:
   7648     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   7649     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   7650 L_4000E164:
   7651     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   7652 L_4000E167:
   7653     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   7654     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   7655     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   7656     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   7657 L_4000E171:
   7658     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   7659     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   7660     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   7661     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   7662     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   7663     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   7664     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   7665     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   7666     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   7667     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   7668     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   7669     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   7670     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   7671     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7672     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7673     _flag_k = FK_CMP;
   7674     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   7675 L_4000E197:
   7676     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   7677 L_4000E19A:
   7678     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   7679     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   7680     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   7681     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   7682     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7684     _flag_k = FK_CMP;
   7685     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   7686 L_4000E1A8:
   7687     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   7688     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   7689 L_4000E1AD:
   7690     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   7691     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   7692     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7694     _flag_k = FK_CMP;
   7695     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   7696 L_4000E1B5:
   7697     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   7698     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   7699 L_4000E1BA:
   7700     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   7701 L_4000E1BC:
   7702     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   7703 L_4000E1BF:
   7704     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   7705 L_4000E1C2:
   7706     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   7707     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   7708     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   7709     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   7710     RECOMP_FLAGS_IN();
   7711     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   7712     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   7713     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7714     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7715     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   7716     _flag_k = FK_ADD;
   7717     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7718     eax = eax - 1; /* 0x4000E1D7: dec eax */
   7719     _flag_k = FK_DEC;
   7720     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   7721     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   7722     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   7723     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   7724     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   7725     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   7726     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   7727     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   7728     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   7729     RECOMP_REGS_OUT();
   7730 }
   7731 
   7732 void sub_4000E03C(void) {
   7733     int _fpu_cmp = 0;
   7734     uint32_t _cf = 0;
   7735     int _df = 1;
   7736     uint32_t _flag_k = FK_NONE;
   7737     uint32_t _flag_a = 0, _flag_b = 0;
   7738     uint32_t _itail_tgt = 0;
   7739     RECOMP_REGS_LOCALS
   7740     RECOMP_ENTER(0x4000E03Cu);
   7741 
   7742     goto L_4000E03C;
   7743 L_4000DF74:
   7744     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   7745     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7747     _flag_k = FK_NARROW(FK_CMP, 24);
   7748     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   7749 L_4000DF7D:
   7750     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   7751     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   7752     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   7753     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7754     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7755     _flag_k = FK_CMP;
   7756     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   7757 L_4000DF86:
   7758     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   7759     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   7760     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   7761     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7762     _cf = 0;
   7763     _flag_k = FK_NARROW(FK_TEST, 24);
   7764     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   7765 L_4000DF90:
   7766     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   7767     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   7768     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   7769     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   7770     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   7771     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   7772     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   7773     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   7774     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   7775     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7777     _flag_k = FK_CMP;
   7778     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   7779 L_4000DFAC:
   7780     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   7781 L_4000DFAF:
   7782     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   7783     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   7784     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   7785     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   7786     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7788     _flag_k = FK_CMP;
   7789     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   7790 L_4000DFBD:
   7791     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   7792     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   7793 L_4000DFC2:
   7794     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   7795     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   7796     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7798     _flag_k = FK_CMP;
   7799     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   7800 L_4000DFC9:
   7801     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   7802     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   7803 L_4000DFCD:
   7804     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   7805 L_4000DFD0:
   7806     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   7807     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   7808     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   7809     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   7810 L_4000DFDB:
   7811     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   7812     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   7813     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7814     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7815     _flag_k = FK_NARROW(FK_CMP, 24);
   7816     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   7817 L_4000DFE6:
   7818     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   7819     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   7820     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7821     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7822     _flag_k = FK_NARROW(FK_CMP, 24);
   7823     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   7824 L_4000DFF2:
   7825     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   7826 L_4000DFF4:
   7827     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   7828     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   7829     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   7830     _cf = 0;
   7831     _flag_k = FK_NARROW(FK_TEST, 24);
   7832     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   7833 L_4000DFFB:
   7834     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   7835     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   7836     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   7837     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   7838     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   7839     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   7840     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   7841     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   7842     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   7843     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7844     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7845     _flag_k = FK_CMP;
   7846     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   7847 L_4000E017:
   7848     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   7849 L_4000E01A:
   7850     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   7851     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   7852     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   7853     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   7854     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7855     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7856     _flag_k = FK_CMP;
   7857     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   7858 L_4000E028:
   7859     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   7860     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   7861 L_4000E02D:
   7862     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   7863     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   7864     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7865     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7866     _flag_k = FK_CMP;
   7867     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   7868 L_4000E035:
   7869     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   7870     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   7871 L_4000E03A:
   7872     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   7873 L_4000E03C:
   7874     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   7875     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   7876     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   7877     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   7878 L_4000E047:
   7879     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   7880     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   7881     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7882     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7883     _flag_k = FK_NARROW(FK_CMP, 24);
   7884     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   7885 L_4000E053:
   7886     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   7887     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   7888     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7890     _flag_k = FK_NARROW(FK_CMP, 24);
   7891     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   7892 L_4000E05E:
   7893     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   7894     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   7895     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   7896     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   7897     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   7898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7899     _flag_k = FK_CMP;
   7900     RECOMP_BACKEDGE();
   7901     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   7902 L_4000E071:
   7903     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   7904 L_4000E076:
   7905     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   7906     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   7907     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7908     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7909     _flag_k = FK_NARROW(FK_CMP, 24);
   7910     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   7911 L_4000E07E:
   7912     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   7913     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   7914     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   7915     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   7916     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   7917     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   7918     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   7919     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   7920     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7922     _flag_k = FK_CMP;
   7923     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   7924 L_4000E096:
   7925     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   7926 L_4000E099:
   7927     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   7928     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   7929     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   7930     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   7931     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7933     _flag_k = FK_CMP;
   7934     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   7935 L_4000E0A7:
   7936     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   7937     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   7938 L_4000E0AC:
   7939     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   7940     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   7941     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7943     _flag_k = FK_CMP;
   7944     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   7945 L_4000E0B4:
   7946     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   7947     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   7948 L_4000E0B9:
   7949     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   7950 L_4000E0BB:
   7951     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   7952     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   7953     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   7954     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   7955 L_4000E0C7:
   7956     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   7957     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   7958     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   7959     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   7960     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   7961     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   7962     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   7963     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   7964     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   7965     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   7966     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   7967     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   7968     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   7969     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   7970     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7971     _flag_k = FK_CMP;
   7972     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   7973 L_4000E0EE:
   7974     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   7975 L_4000E0F1:
   7976     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   7977     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   7978     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   7979     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   7980     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   7981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7982     _flag_k = FK_CMP;
   7983     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   7984 L_4000E0FF:
   7985     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   7986     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   7987     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   7988 L_4000E109:
   7989     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   7990     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   7991     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   7992     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7993     _flag_k = FK_CMP;
   7994     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   7995 L_4000E110:
   7996     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   7997     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   7998     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   7999 L_4000E119:
   8000     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   8001     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   8002     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   8003 L_4000E123:
   8004     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   8005     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   8006     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8007     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8008     _flag_k = FK_NARROW(FK_CMP, 24);
   8009     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   8010 L_4000E12A:
   8011     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   8012     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   8013     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   8014     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   8015     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   8016     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   8017     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   8018     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   8019     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8021     _flag_k = FK_CMP;
   8022     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   8023 L_4000E143:
   8024     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   8025 L_4000E146:
   8026     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   8027     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   8028     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   8029     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   8030     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8031     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8032     _flag_k = FK_CMP;
   8033     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   8034 L_4000E154:
   8035     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   8036     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   8037 L_4000E159:
   8038     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   8039     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   8040     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8041     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8042     _flag_k = FK_CMP;
   8043     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   8044 L_4000E160:
   8045     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   8046     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   8047 L_4000E164:
   8048     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   8049 L_4000E167:
   8050     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   8051     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   8052     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   8053     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   8054 L_4000E171:
   8055     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   8056     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   8057     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   8058     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   8059     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   8060     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   8061     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   8062     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   8063     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   8064     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   8065     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   8066     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   8067     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   8068     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8070     _flag_k = FK_CMP;
   8071     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   8072 L_4000E197:
   8073     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   8074 L_4000E19A:
   8075     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   8076     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   8077     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   8078     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   8079     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8080     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8081     _flag_k = FK_CMP;
   8082     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   8083 L_4000E1A8:
   8084     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   8085     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   8086 L_4000E1AD:
   8087     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   8088     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   8089     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8090     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8091     _flag_k = FK_CMP;
   8092     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   8093 L_4000E1B5:
   8094     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   8095     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   8096 L_4000E1BA:
   8097     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   8098 L_4000E1BC:
   8099     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   8100 L_4000E1BF:
   8101     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   8102 L_4000E1C2:
   8103     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   8104     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   8105     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   8106     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   8107     RECOMP_FLAGS_IN();
   8108     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   8109     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   8110     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8111     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8112     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   8113     _flag_k = FK_ADD;
   8114     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8115     eax = eax - 1; /* 0x4000E1D7: dec eax */
   8116     _flag_k = FK_DEC;
   8117     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   8118     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   8119     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   8120     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   8121     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   8122     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   8123     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   8124     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   8125     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   8126     RECOMP_REGS_OUT();
   8127 }
   8128 
   8129 void sub_4000E047(void) {
   8130     int _fpu_cmp = 0;
   8131     uint32_t _cf = 0;
   8132     int _df = 1;
   8133     uint32_t _flag_k = FK_NONE;
   8134     uint32_t _flag_a = 0, _flag_b = 0;
   8135     uint32_t _itail_tgt = 0;
   8136     RECOMP_REGS_LOCALS
   8137     RECOMP_ENTER(0x4000E047u);
   8138 
   8139     goto L_4000E047;
   8140 L_4000DF74:
   8141     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   8142     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8144     _flag_k = FK_NARROW(FK_CMP, 24);
   8145     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   8146 L_4000DF7D:
   8147     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   8148     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   8149     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   8150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8151     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8152     _flag_k = FK_CMP;
   8153     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   8154 L_4000DF86:
   8155     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   8156     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   8157     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   8158     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8159     _cf = 0;
   8160     _flag_k = FK_NARROW(FK_TEST, 24);
   8161     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   8162 L_4000DF90:
   8163     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   8164     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   8165     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   8166     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   8167     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   8168     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   8169     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   8170     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   8171     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   8172     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8173     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8174     _flag_k = FK_CMP;
   8175     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   8176 L_4000DFAC:
   8177     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   8178 L_4000DFAF:
   8179     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   8180     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   8181     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   8182     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   8183     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8185     _flag_k = FK_CMP;
   8186     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   8187 L_4000DFBD:
   8188     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   8189     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   8190 L_4000DFC2:
   8191     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   8192     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   8193     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8194     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8195     _flag_k = FK_CMP;
   8196     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   8197 L_4000DFC9:
   8198     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   8199     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   8200 L_4000DFCD:
   8201     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   8202 L_4000DFD0:
   8203     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   8204     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   8205     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   8206     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   8207 L_4000DFDB:
   8208     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   8209     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   8210     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8211     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8212     _flag_k = FK_NARROW(FK_CMP, 24);
   8213     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   8214 L_4000DFE6:
   8215     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   8216     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   8217     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8219     _flag_k = FK_NARROW(FK_CMP, 24);
   8220     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   8221 L_4000DFF2:
   8222     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   8223 L_4000DFF4:
   8224     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   8225     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   8226     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8227     _cf = 0;
   8228     _flag_k = FK_NARROW(FK_TEST, 24);
   8229     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   8230 L_4000DFFB:
   8231     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   8232     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   8233     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   8234     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   8235     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   8236     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   8237     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   8238     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   8239     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   8240     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8241     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8242     _flag_k = FK_CMP;
   8243     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   8244 L_4000E017:
   8245     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   8246 L_4000E01A:
   8247     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   8248     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   8249     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   8250     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   8251     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8253     _flag_k = FK_CMP;
   8254     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   8255 L_4000E028:
   8256     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   8257     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   8258 L_4000E02D:
   8259     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   8260     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   8261     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8262     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8263     _flag_k = FK_CMP;
   8264     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   8265 L_4000E035:
   8266     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   8267     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   8268 L_4000E03A:
   8269     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   8270 L_4000E03C:
   8271     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   8272     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   8273     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   8274     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   8275 L_4000E047:
   8276     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   8277     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   8278     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8280     _flag_k = FK_NARROW(FK_CMP, 24);
   8281     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   8282 L_4000E053:
   8283     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   8284     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   8285     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8286     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8287     _flag_k = FK_NARROW(FK_CMP, 24);
   8288     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   8289 L_4000E05E:
   8290     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   8291     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   8292     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   8293     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   8294     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8295     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8296     _flag_k = FK_CMP;
   8297     RECOMP_BACKEDGE();
   8298     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   8299 L_4000E071:
   8300     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   8301 L_4000E076:
   8302     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   8303     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   8304     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8306     _flag_k = FK_NARROW(FK_CMP, 24);
   8307     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   8308 L_4000E07E:
   8309     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   8310     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   8311     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   8312     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   8313     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   8314     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   8315     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   8316     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   8317     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8318     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8319     _flag_k = FK_CMP;
   8320     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   8321 L_4000E096:
   8322     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   8323 L_4000E099:
   8324     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   8325     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   8326     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   8327     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   8328     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   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_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   8332 L_4000E0A7:
   8333     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   8334     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   8335 L_4000E0AC:
   8336     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   8337     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   8338     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8339     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8340     _flag_k = FK_CMP;
   8341     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   8342 L_4000E0B4:
   8343     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   8344     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   8345 L_4000E0B9:
   8346     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   8347 L_4000E0BB:
   8348     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   8349     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   8350     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   8351     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   8352 L_4000E0C7:
   8353     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   8354     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   8355     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   8356     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   8357     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   8358     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   8359     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   8360     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   8361     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   8362     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   8363     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   8364     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   8365     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   8366     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8368     _flag_k = FK_CMP;
   8369     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   8370 L_4000E0EE:
   8371     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   8372 L_4000E0F1:
   8373     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   8374     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   8375     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   8376     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   8377     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8378     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8379     _flag_k = FK_CMP;
   8380     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   8381 L_4000E0FF:
   8382     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   8383     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   8384     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   8385 L_4000E109:
   8386     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   8387     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   8388     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8390     _flag_k = FK_CMP;
   8391     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   8392 L_4000E110:
   8393     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   8394     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   8395     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   8396 L_4000E119:
   8397     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   8398     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   8399     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   8400 L_4000E123:
   8401     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   8402     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   8403     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8405     _flag_k = FK_NARROW(FK_CMP, 24);
   8406     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   8407 L_4000E12A:
   8408     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   8409     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   8410     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   8411     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   8412     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   8413     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   8414     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   8415     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   8416     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8418     _flag_k = FK_CMP;
   8419     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   8420 L_4000E143:
   8421     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   8422 L_4000E146:
   8423     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   8424     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   8425     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   8426     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   8427     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8428     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8429     _flag_k = FK_CMP;
   8430     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   8431 L_4000E154:
   8432     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   8433     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   8434 L_4000E159:
   8435     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   8436     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   8437     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8439     _flag_k = FK_CMP;
   8440     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   8441 L_4000E160:
   8442     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   8443     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   8444 L_4000E164:
   8445     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   8446 L_4000E167:
   8447     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   8448     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   8449     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   8450     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   8451 L_4000E171:
   8452     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   8453     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   8454     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   8455     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   8456     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   8457     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   8458     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   8459     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   8460     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   8461     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   8462     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   8463     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   8464     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   8465     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8466     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8467     _flag_k = FK_CMP;
   8468     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   8469 L_4000E197:
   8470     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   8471 L_4000E19A:
   8472     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   8473     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   8474     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   8475     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   8476     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8478     _flag_k = FK_CMP;
   8479     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   8480 L_4000E1A8:
   8481     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   8482     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   8483 L_4000E1AD:
   8484     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   8485     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   8486     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8488     _flag_k = FK_CMP;
   8489     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   8490 L_4000E1B5:
   8491     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   8492     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   8493 L_4000E1BA:
   8494     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   8495 L_4000E1BC:
   8496     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   8497 L_4000E1BF:
   8498     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   8499 L_4000E1C2:
   8500     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   8501     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   8502     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   8503     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   8504     RECOMP_FLAGS_IN();
   8505     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   8506     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   8507     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8508     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8509     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   8510     _flag_k = FK_ADD;
   8511     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8512     eax = eax - 1; /* 0x4000E1D7: dec eax */
   8513     _flag_k = FK_DEC;
   8514     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   8515     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   8516     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   8517     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   8518     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   8519     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   8520     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   8521     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   8522     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   8523     RECOMP_REGS_OUT();
   8524 }
   8525 
   8526 void sub_4000E05E(void) {
   8527     int _fpu_cmp = 0;
   8528     uint32_t _cf = 0;
   8529     int _df = 1;
   8530     uint32_t _flag_k = FK_NONE;
   8531     uint32_t _flag_a = 0, _flag_b = 0;
   8532     uint32_t _itail_tgt = 0;
   8533     RECOMP_REGS_LOCALS
   8534     RECOMP_ENTER(0x4000E05Eu);
   8535 
   8536     goto L_4000E05E;
   8537 L_4000DF74:
   8538     /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x4000DF74: cmp byte ptr [eax + 0x1c], bl */
   8539     _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8540     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8541     _flag_k = FK_NARROW(FK_CMP, 24);
   8542     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1C2; /* 0x4000DF77: jne 0x4000e1c2 */
   8543 L_4000DF7D:
   8544     edx = MEM32(eax + 0x4); /* 0x4000DF7D: mov edx, dword ptr [eax + 4] */
   8545     ecx = MEM32(edx); /* 0x4000DF80: mov ecx, dword ptr [edx] */
   8546     /* cmp eax, ecx */ /* 0x4000DF82: cmp eax, ecx */
   8547     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8548     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8549     _flag_k = FK_CMP;
   8550     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFF4; /* 0x4000DF84: jne 0x4000dff4 */
   8551 L_4000DF86:
   8552     ecx = MEM32(edx + 0x8); /* 0x4000DF86: mov ecx, dword ptr [edx + 8] */
   8553     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DF89: mov dl, byte ptr [ecx + 0x1c] */
   8554     /* test LO8(edx), LO8(edx) */ /* 0x4000DF8C: test dl, dl */
   8555     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8556     _cf = 0;
   8557     _flag_k = FK_NARROW(FK_TEST, 24);
   8558     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000DFDB; /* 0x4000DF8E: jne 0x4000dfdb */
   8559 L_4000DF90:
   8560     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DF90: mov byte ptr [ecx + 0x1c], bl */
   8561     ecx = MEM32(eax + 0x4); /* 0x4000DF93: mov ecx, dword ptr [eax + 4] */
   8562     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000DF96: mov byte ptr [ecx + 0x1c], 0 */
   8563     ecx = MEM32(eax + 0x4); /* 0x4000DF9A: mov ecx, dword ptr [eax + 4] */
   8564     edx = MEM32(ecx + 0x8); /* 0x4000DF9D: mov edx, dword ptr [ecx + 8] */
   8565     esi = MEM32(edx); /* 0x4000DFA0: mov esi, dword ptr [edx] */
   8566     MEM32(ecx + 0x8) = esi; /* 0x4000DFA2: mov dword ptr [ecx + 8], esi */
   8567     esi = MEM32(edx); /* 0x4000DFA5: mov esi, dword ptr [edx] */
   8568     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000DFA7: cmp esi, dword ptr [edi + 8] */
   8569     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8570     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8571     _flag_k = FK_CMP;
   8572     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000DFAF; /* 0x4000DFAA: je 0x4000dfaf */
   8573 L_4000DFAC:
   8574     MEM32(esi + 0x4) = ecx; /* 0x4000DFAC: mov dword ptr [esi + 4], ecx */
   8575 L_4000DFAF:
   8576     esi = MEM32(ecx + 0x4); /* 0x4000DFAF: mov esi, dword ptr [ecx + 4] */
   8577     MEM32(edx + 0x4) = esi; /* 0x4000DFB2: mov dword ptr [edx + 4], esi */
   8578     esi = MEM32(edi + 0x4); /* 0x4000DFB5: mov esi, dword ptr [edi + 4] */
   8579     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000DFB8: cmp ecx, dword ptr [esi + 4] */
   8580     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8581     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8582     _flag_k = FK_CMP;
   8583     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFC2; /* 0x4000DFBB: jne 0x4000dfc2 */
   8584 L_4000DFBD:
   8585     MEM32(esi + 0x4) = edx; /* 0x4000DFBD: mov dword ptr [esi + 4], edx */
   8586     goto L_4000DFD0; /* 0x4000DFC0: jmp 0x4000dfd0 */
   8587 L_4000DFC2:
   8588     esi = MEM32(ecx + 0x4); /* 0x4000DFC2: mov esi, dword ptr [ecx + 4] */
   8589     /* cmp ecx, MEM32(esi) */ /* 0x4000DFC5: cmp ecx, dword ptr [esi] */
   8590     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8592     _flag_k = FK_CMP;
   8593     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DFCD; /* 0x4000DFC7: jne 0x4000dfcd */
   8594 L_4000DFC9:
   8595     MEM32(esi) = edx; /* 0x4000DFC9: mov dword ptr [esi], edx */
   8596     goto L_4000DFD0; /* 0x4000DFCB: jmp 0x4000dfd0 */
   8597 L_4000DFCD:
   8598     MEM32(esi + 0x8) = edx; /* 0x4000DFCD: mov dword ptr [esi + 8], edx */
   8599 L_4000DFD0:
   8600     MEM32(edx) = ecx; /* 0x4000DFD0: mov dword ptr [edx], ecx */
   8601     MEM32(ecx + 0x4) = edx; /* 0x4000DFD2: mov dword ptr [ecx + 4], edx */
   8602     edx = MEM32(eax + 0x4); /* 0x4000DFD5: mov edx, dword ptr [eax + 4] */
   8603     ecx = MEM32(edx + 0x8); /* 0x4000DFD8: mov ecx, dword ptr [edx + 8] */
   8604 L_4000DFDB:
   8605     edx = MEM32(ecx); /* 0x4000DFDB: mov edx, dword ptr [ecx] */
   8606     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFDD: cmp byte ptr [edx + 0x1c], bl */
   8607     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8609     _flag_k = FK_NARROW(FK_CMP, 24);
   8610     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFE0: jne 0x4000e076 */
   8611 L_4000DFE6:
   8612     edx = MEM32(ecx + 0x8); /* 0x4000DFE6: mov edx, dword ptr [ecx + 8] */
   8613     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000DFE9: cmp byte ptr [edx + 0x1c], bl */
   8614     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8616     _flag_k = FK_NARROW(FK_CMP, 24);
   8617     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E076; /* 0x4000DFEC: jne 0x4000e076 */
   8618 L_4000DFF2:
   8619     goto L_4000E05E; /* 0x4000DFF2: jmp 0x4000e05e */
   8620 L_4000DFF4:
   8621     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000DFF4: mov dl, byte ptr [ecx + 0x1c] */
   8622     /* test LO8(edx), LO8(edx) */ /* 0x4000DFF7: test dl, dl */
   8623     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   8624     _cf = 0;
   8625     _flag_k = FK_NARROW(FK_TEST, 24);
   8626     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E047; /* 0x4000DFF9: jne 0x4000e047 */
   8627 L_4000DFFB:
   8628     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000DFFB: mov byte ptr [ecx + 0x1c], bl */
   8629     ecx = MEM32(eax + 0x4); /* 0x4000DFFE: mov ecx, dword ptr [eax + 4] */
   8630     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E001: mov byte ptr [ecx + 0x1c], 0 */
   8631     ecx = MEM32(eax + 0x4); /* 0x4000E005: mov ecx, dword ptr [eax + 4] */
   8632     edx = MEM32(ecx); /* 0x4000E008: mov edx, dword ptr [ecx] */
   8633     esi = MEM32(edx + 0x8); /* 0x4000E00A: mov esi, dword ptr [edx + 8] */
   8634     MEM32(ecx) = esi; /* 0x4000E00D: mov dword ptr [ecx], esi */
   8635     esi = MEM32(edx + 0x8); /* 0x4000E00F: mov esi, dword ptr [edx + 8] */
   8636     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E012: cmp esi, dword ptr [edi + 8] */
   8637     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8638     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8639     _flag_k = FK_CMP;
   8640     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E01A; /* 0x4000E015: je 0x4000e01a */
   8641 L_4000E017:
   8642     MEM32(esi + 0x4) = ecx; /* 0x4000E017: mov dword ptr [esi + 4], ecx */
   8643 L_4000E01A:
   8644     esi = MEM32(ecx + 0x4); /* 0x4000E01A: mov esi, dword ptr [ecx + 4] */
   8645     MEM32(edx + 0x4) = esi; /* 0x4000E01D: mov dword ptr [edx + 4], esi */
   8646     esi = MEM32(edi + 0x4); /* 0x4000E020: mov esi, dword ptr [edi + 4] */
   8647     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E023: cmp ecx, dword ptr [esi + 4] */
   8648     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8649     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8650     _flag_k = FK_CMP;
   8651     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E02D; /* 0x4000E026: jne 0x4000e02d */
   8652 L_4000E028:
   8653     MEM32(esi + 0x4) = edx; /* 0x4000E028: mov dword ptr [esi + 4], edx */
   8654     goto L_4000E03C; /* 0x4000E02B: jmp 0x4000e03c */
   8655 L_4000E02D:
   8656     esi = MEM32(ecx + 0x4); /* 0x4000E02D: mov esi, dword ptr [ecx + 4] */
   8657     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E030: cmp ecx, dword ptr [esi + 8] */
   8658     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8659     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8660     _flag_k = FK_CMP;
   8661     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E03A; /* 0x4000E033: jne 0x4000e03a */
   8662 L_4000E035:
   8663     MEM32(esi + 0x8) = edx; /* 0x4000E035: mov dword ptr [esi + 8], edx */
   8664     goto L_4000E03C; /* 0x4000E038: jmp 0x4000e03c */
   8665 L_4000E03A:
   8666     MEM32(esi) = edx; /* 0x4000E03A: mov dword ptr [esi], edx */
   8667 L_4000E03C:
   8668     MEM32(edx + 0x8) = ecx; /* 0x4000E03C: mov dword ptr [edx + 8], ecx */
   8669     MEM32(ecx + 0x4) = edx; /* 0x4000E03F: mov dword ptr [ecx + 4], edx */
   8670     edx = MEM32(eax + 0x4); /* 0x4000E042: mov edx, dword ptr [eax + 4] */
   8671     ecx = MEM32(edx); /* 0x4000E045: mov ecx, dword ptr [edx] */
   8672 L_4000E047:
   8673     edx = MEM32(ecx + 0x8); /* 0x4000E047: mov edx, dword ptr [ecx + 8] */
   8674     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E04A: cmp byte ptr [edx + 0x1c], bl */
   8675     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8676     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8677     _flag_k = FK_NARROW(FK_CMP, 24);
   8678     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E04D: jne 0x4000e123 */
   8679 L_4000E053:
   8680     edx = MEM32(ecx); /* 0x4000E053: mov edx, dword ptr [ecx] */
   8681     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E055: cmp byte ptr [edx + 0x1c], bl */
   8682     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8684     _flag_k = FK_NARROW(FK_CMP, 24);
   8685     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E123; /* 0x4000E058: jne 0x4000e123 */
   8686 L_4000E05E:
   8687     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E05E: mov byte ptr [ecx + 0x1c], 0 */
   8688     ecx = MEM32(edi + 0x4); /* 0x4000E062: mov ecx, dword ptr [edi + 4] */
   8689     eax = MEM32(eax + 0x4); /* 0x4000E065: mov eax, dword ptr [eax + 4] */
   8690     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E068: cmp eax, dword ptr [ecx + 4] */
   8691     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   8692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8693     _flag_k = FK_CMP;
   8694     RECOMP_BACKEDGE();
   8695     if (CMP_NE(_flag_a, _flag_b)) goto L_4000DF74; /* 0x4000E06B: jne 0x4000df74 */
   8696 L_4000E071:
   8697     goto L_4000E1C2; /* 0x4000E071: jmp 0x4000e1c2 */
   8698 L_4000E076:
   8699     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   8700     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   8701     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8702     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8703     _flag_k = FK_NARROW(FK_CMP, 24);
   8704     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   8705 L_4000E07E:
   8706     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   8707     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   8708     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   8709     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   8710     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   8711     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   8712     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   8713     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   8714     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8716     _flag_k = FK_CMP;
   8717     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   8718 L_4000E096:
   8719     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   8720 L_4000E099:
   8721     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   8722     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   8723     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   8724     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   8725     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8727     _flag_k = FK_CMP;
   8728     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   8729 L_4000E0A7:
   8730     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   8731     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   8732 L_4000E0AC:
   8733     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   8734     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   8735     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8736     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8737     _flag_k = FK_CMP;
   8738     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   8739 L_4000E0B4:
   8740     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   8741     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   8742 L_4000E0B9:
   8743     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   8744 L_4000E0BB:
   8745     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   8746     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   8747     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   8748     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   8749 L_4000E0C7:
   8750     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   8751     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   8752     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   8753     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   8754     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   8755     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   8756     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   8757     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   8758     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   8759     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   8760     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   8761     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   8762     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   8763     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8764     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8765     _flag_k = FK_CMP;
   8766     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   8767 L_4000E0EE:
   8768     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   8769 L_4000E0F1:
   8770     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   8771     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   8772     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   8773     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   8774     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8776     _flag_k = FK_CMP;
   8777     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   8778 L_4000E0FF:
   8779     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   8780     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   8781     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   8782 L_4000E109:
   8783     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   8784     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   8785     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8786     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8787     _flag_k = FK_CMP;
   8788     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   8789 L_4000E110:
   8790     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   8791     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   8792     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   8793 L_4000E119:
   8794     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   8795     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   8796     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   8797 L_4000E123:
   8798     edx = MEM32(ecx); /* 0x4000E123: mov edx, dword ptr [ecx] */
   8799     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E125: cmp byte ptr [edx + 0x1c], bl */
   8800     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8801     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8802     _flag_k = FK_NARROW(FK_CMP, 24);
   8803     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E171; /* 0x4000E128: jne 0x4000e171 */
   8804 L_4000E12A:
   8805     edx = MEM32(ecx + 0x8); /* 0x4000E12A: mov edx, dword ptr [ecx + 8] */
   8806     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E12D: mov byte ptr [edx + 0x1c], bl */
   8807     edx = MEM32(ecx + 0x8); /* 0x4000E130: mov edx, dword ptr [ecx + 8] */
   8808     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E133: mov byte ptr [ecx + 0x1c], 0 */
   8809     esi = MEM32(edx); /* 0x4000E137: mov esi, dword ptr [edx] */
   8810     MEM32(ecx + 0x8) = esi; /* 0x4000E139: mov dword ptr [ecx + 8], esi */
   8811     esi = MEM32(edx); /* 0x4000E13C: mov esi, dword ptr [edx] */
   8812     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E13E: cmp esi, dword ptr [edi + 8] */
   8813     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8814     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8815     _flag_k = FK_CMP;
   8816     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E146; /* 0x4000E141: je 0x4000e146 */
   8817 L_4000E143:
   8818     MEM32(esi + 0x4) = ecx; /* 0x4000E143: mov dword ptr [esi + 4], ecx */
   8819 L_4000E146:
   8820     esi = MEM32(ecx + 0x4); /* 0x4000E146: mov esi, dword ptr [ecx + 4] */
   8821     MEM32(edx + 0x4) = esi; /* 0x4000E149: mov dword ptr [edx + 4], esi */
   8822     esi = MEM32(edi + 0x4); /* 0x4000E14C: mov esi, dword ptr [edi + 4] */
   8823     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E14F: cmp ecx, dword ptr [esi + 4] */
   8824     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8825     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8826     _flag_k = FK_CMP;
   8827     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E159; /* 0x4000E152: jne 0x4000e159 */
   8828 L_4000E154:
   8829     MEM32(esi + 0x4) = edx; /* 0x4000E154: mov dword ptr [esi + 4], edx */
   8830     goto L_4000E167; /* 0x4000E157: jmp 0x4000e167 */
   8831 L_4000E159:
   8832     esi = MEM32(ecx + 0x4); /* 0x4000E159: mov esi, dword ptr [ecx + 4] */
   8833     /* cmp ecx, MEM32(esi) */ /* 0x4000E15C: cmp ecx, dword ptr [esi] */
   8834     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   8835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8836     _flag_k = FK_CMP;
   8837     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E164; /* 0x4000E15E: jne 0x4000e164 */
   8838 L_4000E160:
   8839     MEM32(esi) = edx; /* 0x4000E160: mov dword ptr [esi], edx */
   8840     goto L_4000E167; /* 0x4000E162: jmp 0x4000e167 */
   8841 L_4000E164:
   8842     MEM32(esi + 0x8) = edx; /* 0x4000E164: mov dword ptr [esi + 8], edx */
   8843 L_4000E167:
   8844     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   8845     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   8846     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   8847     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   8848 L_4000E171:
   8849     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   8850     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   8851     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   8852     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   8853     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   8854     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   8855     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   8856     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   8857     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   8858     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   8859     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   8860     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   8861     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   8862     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8863     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8864     _flag_k = FK_CMP;
   8865     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   8866 L_4000E197:
   8867     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   8868 L_4000E19A:
   8869     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   8870     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   8871     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   8872     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   8873     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8874     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8875     _flag_k = FK_CMP;
   8876     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   8877 L_4000E1A8:
   8878     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   8879     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   8880 L_4000E1AD:
   8881     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   8882     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   8883     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8884     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8885     _flag_k = FK_CMP;
   8886     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   8887 L_4000E1B5:
   8888     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   8889     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   8890 L_4000E1BA:
   8891     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   8892 L_4000E1BC:
   8893     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   8894 L_4000E1BF:
   8895     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   8896 L_4000E1C2:
   8897     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   8898     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   8899     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   8900     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   8901     RECOMP_FLAGS_IN();
   8902     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   8903     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   8904     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8905     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8906     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   8907     _flag_k = FK_ADD;
   8908     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8909     eax = eax - 1; /* 0x4000E1D7: dec eax */
   8910     _flag_k = FK_DEC;
   8911     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   8912     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   8913     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   8914     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   8915     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   8916     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   8917     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   8918     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   8919     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   8920     RECOMP_REGS_OUT();
   8921 }
   8922 
   8923 void sub_4000E076(void) {
   8924     int _fpu_cmp = 0;
   8925     uint32_t _cf = 0;
   8926     int _df = 1;
   8927     uint32_t _flag_k = FK_NONE;
   8928     uint32_t _flag_a = 0, _flag_b = 0;
   8929     uint32_t _itail_tgt = 0;
   8930     RECOMP_REGS_LOCALS
   8931     RECOMP_ENTER(0x4000E076u);
   8932 
   8933 L_4000E076:
   8934     edx = MEM32(ecx + 0x8); /* 0x4000E076: mov edx, dword ptr [ecx + 8] */
   8935     /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x4000E079: cmp byte ptr [edx + 0x1c], bl */
   8936     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8938     _flag_k = FK_NARROW(FK_CMP, 24);
   8939     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0C7; /* 0x4000E07C: jne 0x4000e0c7 */
   8940 L_4000E07E:
   8941     edx = MEM32(ecx); /* 0x4000E07E: mov edx, dword ptr [ecx] */
   8942     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E080: mov byte ptr [edx + 0x1c], bl */
   8943     edx = MEM32(ecx); /* 0x4000E083: mov edx, dword ptr [ecx] */
   8944     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E085: mov byte ptr [ecx + 0x1c], 0 */
   8945     esi = MEM32(edx + 0x8); /* 0x4000E089: mov esi, dword ptr [edx + 8] */
   8946     MEM32(ecx) = esi; /* 0x4000E08C: mov dword ptr [ecx], esi */
   8947     esi = MEM32(edx + 0x8); /* 0x4000E08E: mov esi, dword ptr [edx + 8] */
   8948     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E091: cmp esi, dword ptr [edi + 8] */
   8949     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8951     _flag_k = FK_CMP;
   8952     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E099; /* 0x4000E094: je 0x4000e099 */
   8953 L_4000E096:
   8954     MEM32(esi + 0x4) = ecx; /* 0x4000E096: mov dword ptr [esi + 4], ecx */
   8955 L_4000E099:
   8956     esi = MEM32(ecx + 0x4); /* 0x4000E099: mov esi, dword ptr [ecx + 4] */
   8957     MEM32(edx + 0x4) = esi; /* 0x4000E09C: mov dword ptr [edx + 4], esi */
   8958     esi = MEM32(edi + 0x4); /* 0x4000E09F: mov esi, dword ptr [edi + 4] */
   8959     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0A2: cmp ecx, dword ptr [esi + 4] */
   8960     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   8961     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8962     _flag_k = FK_CMP;
   8963     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0AC; /* 0x4000E0A5: jne 0x4000e0ac */
   8964 L_4000E0A7:
   8965     MEM32(esi + 0x4) = edx; /* 0x4000E0A7: mov dword ptr [esi + 4], edx */
   8966     goto L_4000E0BB; /* 0x4000E0AA: jmp 0x4000e0bb */
   8967 L_4000E0AC:
   8968     esi = MEM32(ecx + 0x4); /* 0x4000E0AC: mov esi, dword ptr [ecx + 4] */
   8969     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E0AF: cmp ecx, dword ptr [esi + 8] */
   8970     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   8971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8972     _flag_k = FK_CMP;
   8973     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E0B9; /* 0x4000E0B2: jne 0x4000e0b9 */
   8974 L_4000E0B4:
   8975     MEM32(esi + 0x8) = edx; /* 0x4000E0B4: mov dword ptr [esi + 8], edx */
   8976     goto L_4000E0BB; /* 0x4000E0B7: jmp 0x4000e0bb */
   8977 L_4000E0B9:
   8978     MEM32(esi) = edx; /* 0x4000E0B9: mov dword ptr [esi], edx */
   8979 L_4000E0BB:
   8980     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   8981     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   8982     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   8983     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   8984 L_4000E0C7:
   8985     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   8986     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   8987     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   8988     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   8989     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   8990     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   8991     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   8992     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   8993     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   8994     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   8995     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   8996     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   8997     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   8998     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   8999     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9000     _flag_k = FK_CMP;
   9001     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   9002 L_4000E0EE:
   9003     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   9004 L_4000E0F1:
   9005     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   9006     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   9007     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   9008     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   9009     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9011     _flag_k = FK_CMP;
   9012     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   9013 L_4000E0FF:
   9014     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   9015     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   9016     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   9017 L_4000E109:
   9018     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   9019     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   9020     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   9021     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9022     _flag_k = FK_CMP;
   9023     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   9024 L_4000E110:
   9025     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   9026     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   9027     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   9028 L_4000E119:
   9029     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   9030     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   9031     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   9032 L_4000E1BF:
   9033     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   9034     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   9035     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   9036     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   9037     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   9038     RECOMP_FLAGS_IN();
   9039     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   9040     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   9041     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9042     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9043     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   9044     _flag_k = FK_ADD;
   9045     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9046     eax = eax - 1; /* 0x4000E1D7: dec eax */
   9047     _flag_k = FK_DEC;
   9048     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   9049     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   9050     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   9051     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   9052     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   9053     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   9054     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   9055     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   9056     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   9057     RECOMP_REGS_OUT();
   9058 }
   9059 
   9060 void sub_4000E0BB(void) {
   9061     int _fpu_cmp = 0;
   9062     uint32_t _cf = 0;
   9063     int _df = 1;
   9064     uint32_t _flag_k = FK_NONE;
   9065     uint32_t _flag_a = 0, _flag_b = 0;
   9066     uint32_t _itail_tgt = 0;
   9067     RECOMP_REGS_LOCALS
   9068     RECOMP_ENTER(0x4000E0BBu);
   9069 
   9070 L_4000E0BB:
   9071     MEM32(edx + 0x8) = ecx; /* 0x4000E0BB: mov dword ptr [edx + 8], ecx */
   9072     MEM32(ecx + 0x4) = edx; /* 0x4000E0BE: mov dword ptr [ecx + 4], edx */
   9073     ecx = MEM32(eax + 0x4); /* 0x4000E0C1: mov ecx, dword ptr [eax + 4] */
   9074     ecx = MEM32(ecx + 0x8); /* 0x4000E0C4: mov ecx, dword ptr [ecx + 8] */
   9075     edx = MEM32(eax + 0x4); /* 0x4000E0C7: mov edx, dword ptr [eax + 4] */
   9076     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E0CA: mov dl, byte ptr [edx + 0x1c] */
   9077     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E0CD: mov byte ptr [ecx + 0x1c], dl */
   9078     edx = MEM32(eax + 0x4); /* 0x4000E0D0: mov edx, dword ptr [eax + 4] */
   9079     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D3: mov byte ptr [edx + 0x1c], bl */
   9080     ecx = MEM32(ecx + 0x8); /* 0x4000E0D6: mov ecx, dword ptr [ecx + 8] */
   9081     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E0D9: mov byte ptr [ecx + 0x1c], bl */
   9082     ecx = MEM32(eax + 0x4); /* 0x4000E0DC: mov ecx, dword ptr [eax + 4] */
   9083     edx = MEM32(ecx + 0x8); /* 0x4000E0DF: mov edx, dword ptr [ecx + 8] */
   9084     esi = MEM32(edx); /* 0x4000E0E2: mov esi, dword ptr [edx] */
   9085     MEM32(ecx + 0x8) = esi; /* 0x4000E0E4: mov dword ptr [ecx + 8], esi */
   9086     esi = MEM32(edx); /* 0x4000E0E7: mov esi, dword ptr [edx] */
   9087     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E0E9: cmp esi, dword ptr [edi + 8] */
   9088     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9090     _flag_k = FK_CMP;
   9091     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E0F1; /* 0x4000E0EC: je 0x4000e0f1 */
   9092 L_4000E0EE:
   9093     MEM32(esi + 0x4) = ecx; /* 0x4000E0EE: mov dword ptr [esi + 4], ecx */
   9094 L_4000E0F1:
   9095     esi = MEM32(ecx + 0x4); /* 0x4000E0F1: mov esi, dword ptr [ecx + 4] */
   9096     MEM32(edx + 0x4) = esi; /* 0x4000E0F4: mov dword ptr [edx + 4], esi */
   9097     esi = MEM32(edi + 0x4); /* 0x4000E0F7: mov esi, dword ptr [edi + 4] */
   9098     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E0FA: cmp ecx, dword ptr [esi + 4] */
   9099     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9100     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9101     _flag_k = FK_CMP;
   9102     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E109; /* 0x4000E0FD: jne 0x4000e109 */
   9103 L_4000E0FF:
   9104     MEM32(esi + 0x4) = edx; /* 0x4000E0FF: mov dword ptr [esi + 4], edx */
   9105     MEM32(edx) = ecx; /* 0x4000E102: mov dword ptr [edx], ecx */
   9106     goto L_4000E1BF; /* 0x4000E104: jmp 0x4000e1bf */
   9107 L_4000E109:
   9108     esi = MEM32(ecx + 0x4); /* 0x4000E109: mov esi, dword ptr [ecx + 4] */
   9109     /* cmp ecx, MEM32(esi) */ /* 0x4000E10C: cmp ecx, dword ptr [esi] */
   9110     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi));
   9111     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9112     _flag_k = FK_CMP;
   9113     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E119; /* 0x4000E10E: jne 0x4000e119 */
   9114 L_4000E110:
   9115     MEM32(esi) = edx; /* 0x4000E110: mov dword ptr [esi], edx */
   9116     MEM32(edx) = ecx; /* 0x4000E112: mov dword ptr [edx], ecx */
   9117     goto L_4000E1BF; /* 0x4000E114: jmp 0x4000e1bf */
   9118 L_4000E119:
   9119     MEM32(esi + 0x8) = edx; /* 0x4000E119: mov dword ptr [esi + 8], edx */
   9120     MEM32(edx) = ecx; /* 0x4000E11C: mov dword ptr [edx], ecx */
   9121     goto L_4000E1BF; /* 0x4000E11E: jmp 0x4000e1bf */
   9122 L_4000E1BF:
   9123     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   9124     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   9125     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   9126     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   9127     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   9128     RECOMP_FLAGS_IN();
   9129     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   9130     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   9131     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9132     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9133     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   9134     _flag_k = FK_ADD;
   9135     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9136     eax = eax - 1; /* 0x4000E1D7: dec eax */
   9137     _flag_k = FK_DEC;
   9138     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   9139     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   9140     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   9141     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   9142     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   9143     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   9144     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   9145     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   9146     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   9147     RECOMP_REGS_OUT();
   9148 }
   9149 
   9150 void sub_4000E167(void) {
   9151     int _fpu_cmp = 0;
   9152     uint32_t _cf = 0;
   9153     int _df = 1;
   9154     uint32_t _flag_k = FK_NONE;
   9155     uint32_t _flag_a = 0, _flag_b = 0;
   9156     uint32_t _itail_tgt = 0;
   9157     RECOMP_REGS_LOCALS
   9158     RECOMP_ENTER(0x4000E167u);
   9159 
   9160 L_4000E167:
   9161     MEM32(edx) = ecx; /* 0x4000E167: mov dword ptr [edx], ecx */
   9162     MEM32(ecx + 0x4) = edx; /* 0x4000E169: mov dword ptr [ecx + 4], edx */
   9163     ecx = MEM32(eax + 0x4); /* 0x4000E16C: mov ecx, dword ptr [eax + 4] */
   9164     ecx = MEM32(ecx); /* 0x4000E16F: mov ecx, dword ptr [ecx] */
   9165     edx = MEM32(eax + 0x4); /* 0x4000E171: mov edx, dword ptr [eax + 4] */
   9166     SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x4000E174: mov dl, byte ptr [edx + 0x1c] */
   9167     MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x4000E177: mov byte ptr [ecx + 0x1c], dl */
   9168     edx = MEM32(eax + 0x4); /* 0x4000E17A: mov edx, dword ptr [eax + 4] */
   9169     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E17D: mov byte ptr [edx + 0x1c], bl */
   9170     ecx = MEM32(ecx); /* 0x4000E180: mov ecx, dword ptr [ecx] */
   9171     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E182: mov byte ptr [ecx + 0x1c], bl */
   9172     ecx = MEM32(eax + 0x4); /* 0x4000E185: mov ecx, dword ptr [eax + 4] */
   9173     edx = MEM32(ecx); /* 0x4000E188: mov edx, dword ptr [ecx] */
   9174     esi = MEM32(edx + 0x8); /* 0x4000E18A: mov esi, dword ptr [edx + 8] */
   9175     MEM32(ecx) = esi; /* 0x4000E18D: mov dword ptr [ecx], esi */
   9176     esi = MEM32(edx + 0x8); /* 0x4000E18F: mov esi, dword ptr [edx + 8] */
   9177     /* cmp esi, MEM32(edi + 0x8) */ /* 0x4000E192: cmp esi, dword ptr [edi + 8] */
   9178     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9179     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9180     _flag_k = FK_CMP;
   9181     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E19A; /* 0x4000E195: je 0x4000e19a */
   9182 L_4000E197:
   9183     MEM32(esi + 0x4) = ecx; /* 0x4000E197: mov dword ptr [esi + 4], ecx */
   9184 L_4000E19A:
   9185     esi = MEM32(ecx + 0x4); /* 0x4000E19A: mov esi, dword ptr [ecx + 4] */
   9186     MEM32(edx + 0x4) = esi; /* 0x4000E19D: mov dword ptr [edx + 4], esi */
   9187     esi = MEM32(edi + 0x4); /* 0x4000E1A0: mov esi, dword ptr [edi + 4] */
   9188     /* cmp ecx, MEM32(esi + 0x4) */ /* 0x4000E1A3: cmp ecx, dword ptr [esi + 4] */
   9189     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   9190     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9191     _flag_k = FK_CMP;
   9192     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1AD; /* 0x4000E1A6: jne 0x4000e1ad */
   9193 L_4000E1A8:
   9194     MEM32(esi + 0x4) = edx; /* 0x4000E1A8: mov dword ptr [esi + 4], edx */
   9195     goto L_4000E1BC; /* 0x4000E1AB: jmp 0x4000e1bc */
   9196 L_4000E1AD:
   9197     esi = MEM32(ecx + 0x4); /* 0x4000E1AD: mov esi, dword ptr [ecx + 4] */
   9198     /* cmp ecx, MEM32(esi + 0x8) */ /* 0x4000E1B0: cmp ecx, dword ptr [esi + 8] */
   9199     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9200     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9201     _flag_k = FK_CMP;
   9202     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E1BA; /* 0x4000E1B3: jne 0x4000e1ba */
   9203 L_4000E1B5:
   9204     MEM32(esi + 0x8) = edx; /* 0x4000E1B5: mov dword ptr [esi + 8], edx */
   9205     goto L_4000E1BC; /* 0x4000E1B8: jmp 0x4000e1bc */
   9206 L_4000E1BA:
   9207     MEM32(esi) = edx; /* 0x4000E1BA: mov dword ptr [esi], edx */
   9208 L_4000E1BC:
   9209     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   9210     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   9211     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   9212     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   9213     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   9214     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   9215     RECOMP_FLAGS_IN();
   9216     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   9217     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   9218     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9219     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9220     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   9221     _flag_k = FK_ADD;
   9222     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9223     eax = eax - 1; /* 0x4000E1D7: dec eax */
   9224     _flag_k = FK_DEC;
   9225     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   9226     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   9227     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   9228     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   9229     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   9230     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   9231     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   9232     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   9233     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   9234     RECOMP_REGS_OUT();
   9235 }
   9236 
   9237 void sub_4000E1BC(void) {
   9238     int _fpu_cmp = 0;
   9239     uint32_t _cf = 0;
   9240     int _df = 1;
   9241     uint32_t _flag_k = FK_NONE;
   9242     uint32_t _flag_a = 0, _flag_b = 0;
   9243     uint32_t _itail_tgt = 0;
   9244     RECOMP_REGS_LOCALS
   9245     RECOMP_ENTER(0x4000E1BCu);
   9246 
   9247 L_4000E1BC:
   9248     MEM32(edx + 0x8) = ecx; /* 0x4000E1BC: mov dword ptr [edx + 8], ecx */
   9249     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   9250     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   9251     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   9252     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   9253     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   9254     RECOMP_FLAGS_IN();
   9255     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   9256     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   9257     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9258     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9259     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   9260     _flag_k = FK_ADD;
   9261     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9262     eax = eax - 1; /* 0x4000E1D7: dec eax */
   9263     _flag_k = FK_DEC;
   9264     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   9265     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   9266     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   9267     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   9268     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   9269     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   9270     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   9271     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   9272     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   9273     RECOMP_REGS_OUT();
   9274 }
   9275 
   9276 void sub_4000E1BF(void) {
   9277     int _fpu_cmp = 0;
   9278     uint32_t _cf = 0;
   9279     int _df = 1;
   9280     uint32_t _flag_k = FK_NONE;
   9281     uint32_t _flag_a = 0, _flag_b = 0;
   9282     uint32_t _itail_tgt = 0;
   9283     RECOMP_REGS_LOCALS
   9284     RECOMP_ENTER(0x4000E1BFu);
   9285 
   9286 L_4000E1BF:
   9287     MEM32(ecx + 0x4) = edx; /* 0x4000E1BF: mov dword ptr [ecx + 4], edx */
   9288     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   9289     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   9290     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   9291     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   9292     RECOMP_FLAGS_IN();
   9293     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   9294     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   9295     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9296     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9297     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   9298     _flag_k = FK_ADD;
   9299     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9300     eax = eax - 1; /* 0x4000E1D7: dec eax */
   9301     _flag_k = FK_DEC;
   9302     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   9303     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   9304     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   9305     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   9306     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   9307     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   9308     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   9309     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   9310     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   9311     RECOMP_REGS_OUT();
   9312 }
   9313 
   9314 void sub_4000E1C2(void) {
   9315     int _fpu_cmp = 0;
   9316     uint32_t _cf = 0;
   9317     int _df = 1;
   9318     uint32_t _flag_k = FK_NONE;
   9319     uint32_t _flag_a = 0, _flag_b = 0;
   9320     uint32_t _itail_tgt = 0;
   9321     RECOMP_REGS_LOCALS
   9322     RECOMP_ENTER(0x4000E1C2u);
   9323 
   9324 L_4000E1C2:
   9325     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E1C2: mov byte ptr [eax + 0x1c], bl */
   9326     edx = MEM32(ebp + (-0x4)); /* 0x4000E1C5: mov edx, dword ptr [ebp - 4] */
   9327     PUSH32(esp, edx); /* 0x4000E1C8: push edx */
   9328     RECOMP_ICALL(0x400146F2u); /* 0x4000E1C9: call 0x400146f2 */ /* not lifted */
   9329     RECOMP_FLAGS_IN();
   9330     eax = MEM32(edi + 0x10); /* 0x4000E1CE: mov eax, dword ptr [edi + 0x10] */
   9331     ecx = MEM32(ebp + 0xC); /* 0x4000E1D1: mov ecx, dword ptr [ebp + 0xc] */
   9332     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9333     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9334     esp = esp + 4; /* 0x4000E1D4: add esp, 4 */
   9335     _flag_k = FK_ADD;
   9336     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   9337     eax = eax - 1; /* 0x4000E1D7: dec eax */
   9338     _flag_k = FK_DEC;
   9339     MEM32(edi + 0x10) = eax; /* 0x4000E1D8: mov dword ptr [edi + 0x10], eax */
   9340     eax = MEM32(ebp + 0x8); /* 0x4000E1DB: mov eax, dword ptr [ebp + 8] */
   9341     edi = POP32_VAL(esp); /* 0x4000E1DE: pop edi */
   9342     esi = POP32_VAL(esp); /* 0x4000E1DF: pop esi */
   9343     MEM32(eax) = ecx; /* 0x4000E1E0: mov dword ptr [eax], ecx */
   9344     ebx = POP32_VAL(esp); /* 0x4000E1E2: pop ebx */
   9345     esp = ebp; /* 0x4000E1E3: mov esp, ebp */
   9346     ebp = POP32_VAL(esp); /* 0x4000E1E5: pop ebp */
   9347     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E1E6: ret 8 */
   9348     RECOMP_REGS_OUT();
   9349 }
   9350 
   9351 void sub_4000E1F0(void) {
   9352     int _fpu_cmp = 0;
   9353     uint32_t _cf = 0;
   9354     int _df = 1;
   9355     uint32_t _flag_k = FK_NONE;
   9356     uint32_t _flag_a = 0, _flag_b = 0;
   9357     uint32_t _itail_tgt = 0;
   9358     RECOMP_REGS_LOCALS
   9359     RECOMP_ENTER(0x4000E1F0u);
   9360 
   9361 L_4000E1F0:
   9362     PUSH32(esp, ebp); /* 0x4000E1F0: push ebp */
   9363     ebp = esp; /* 0x4000E1F1: mov ebp, esp */
   9364     PUSH32(esp, ebx); /* 0x4000E1F3: push ebx */
   9365     PUSH32(esp, esi); /* 0x4000E1F4: push esi */
   9366     ebx = ecx; /* 0x4000E1F5: mov ebx, ecx */
   9367     eax = MEM32(ebx + 0x8); /* 0x4000E1F7: mov eax, dword ptr [ebx + 8] */
   9368     PUSH32(esp, edi); /* 0x4000E1FA: push edi */
   9369     edi = MEM32(ebp + 0x8); /* 0x4000E1FB: mov edi, dword ptr [ebp + 8] */
   9370     /* cmp edi, eax */ /* 0x4000E1FE: cmp edi, eax */
   9371     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9373     _flag_k = FK_CMP;
   9374     esi = edi; /* 0x4000E200: mov esi, edi */
   9375     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E223; /* 0x4000E202: je 0x4000e223 */
   9376 L_4000E204:
   9377     eax = MEM32(esi + 0x8); /* 0x4000E204: mov eax, dword ptr [esi + 8] */
   9378     PUSH32(esp, eax); /* 0x4000E207: push eax */
   9379     ecx = ebx; /* 0x4000E208: mov ecx, ebx */
   9380     RECOMP_ICALL(0x4000E1F0u); /* 0x4000E20A: call 0x4000e1f0 */ /* not lifted */
   9381     RECOMP_FLAGS_IN();
   9382     esi = MEM32(esi); /* 0x4000E20F: mov esi, dword ptr [esi] */
   9383     PUSH32(esp, edi); /* 0x4000E211: push edi */
   9384     RECOMP_ICALL(0x400146F2u); /* 0x4000E212: call 0x400146f2 */ /* not lifted */
   9385     RECOMP_FLAGS_IN();
   9386     eax = MEM32(ebx + 0x8); /* 0x4000E217: mov eax, dword ptr [ebx + 8] */
   9387     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9388     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9389     esp = esp + 4; /* 0x4000E21A: add esp, 4 */
   9390     _flag_k = FK_ADD;
   9391     /* cmp esi, eax */ /* 0x4000E21D: cmp esi, eax */
   9392     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   9393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9394     _flag_k = FK_CMP;
   9395     edi = esi; /* 0x4000E21F: mov edi, esi */
   9396     RECOMP_BACKEDGE();
   9397     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E204; /* 0x4000E221: jne 0x4000e204 */
   9398 L_4000E223:
   9399     edi = POP32_VAL(esp); /* 0x4000E223: pop edi */
   9400     esi = POP32_VAL(esp); /* 0x4000E224: pop esi */
   9401     ebx = POP32_VAL(esp); /* 0x4000E225: pop ebx */
   9402     ebp = POP32_VAL(esp); /* 0x4000E226: pop ebp */
   9403     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000E227: ret 4 */
   9404     RECOMP_REGS_OUT();
   9405 }
   9406 
   9407 void sub_4000E230(void) {
   9408     int _fpu_cmp = 0;
   9409     uint32_t _cf = 0;
   9410     int _df = 1;
   9411     uint32_t _flag_k = FK_NONE;
   9412     uint32_t _flag_a = 0, _flag_b = 0;
   9413     uint32_t _itail_tgt = 0;
   9414     RECOMP_REGS_LOCALS
   9415     RECOMP_ENTER(0x4000E230u);
   9416 
   9417 L_4000E230:
   9418     PUSH32(esp, ebx); /* 0x4000E230: push ebx */
   9419     PUSH32(esp, esi); /* 0x4000E231: push esi */
   9420     PUSH32(esp, edi); /* 0x4000E232: push edi */
   9421     PUSH32(esp, 0x20u); /* 0x4000E233: push 0x20 */
   9422     esi = ecx; /* 0x4000E235: mov esi, ecx */
   9423     RECOMP_ICALL(0x40014704u); /* 0x4000E237: call 0x40014704 */ /* not lifted */
   9424     RECOMP_FLAGS_IN();
   9425     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9426     ebx = 0; /* 0x4000E23C: xor ebx, ebx */
   9427     _cf = 0;
   9428     _flag_k = FK_TEST;
   9429     MEM32(eax + 0x4) = ebx; /* 0x4000E23E: mov dword ptr [eax + 4], ebx */
   9430     MEM8(eax + 0x1D) = (uint8_t)(LO8(ebx)); /* 0x4000E241: mov byte ptr [eax + 0x1d], bl */
   9431     SET_LO8(ecx, 1); /* 0x4000E244: mov cl, 1 */
   9432     MEM8(eax + 0x1C) = (uint8_t)(LO8(ecx)); /* 0x4000E246: mov byte ptr [eax + 0x1c], cl */
   9433     MEM32(esi + 0x8) = eax; /* 0x4000E249: mov dword ptr [esi + 8], eax */
   9434     MEM8(eax + 0x1D) = (uint8_t)(LO8(ecx)); /* 0x4000E24C: mov byte ptr [eax + 0x1d], cl */
   9435     eax = MEM32(esi + 0x8); /* 0x4000E24F: mov eax, dword ptr [esi + 8] */
   9436     MEM32(eax) = ebx; /* 0x4000E252: mov dword ptr [eax], ebx */
   9437     ecx = MEM32(esi + 0x8); /* 0x4000E254: mov ecx, dword ptr [esi + 8] */
   9438     MEM32(ecx + 0x8) = ebx; /* 0x4000E257: mov dword ptr [ecx + 8], ebx */
   9439     edi = MEM32(esi + 0x8); /* 0x4000E25A: mov edi, dword ptr [esi + 8] */
   9440     PUSH32(esp, 0x20u); /* 0x4000E25D: push 0x20 */
   9441     RECOMP_ICALL(0x40014704u); /* 0x4000E25F: call 0x40014704 */ /* not lifted */
   9442     RECOMP_FLAGS_IN();
   9443     MEM32(eax + 0x4) = edi; /* 0x4000E264: mov dword ptr [eax + 4], edi */
   9444     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E267: mov byte ptr [eax + 0x1c], bl */
   9445     MEM8(eax + 0x1D) = (uint8_t)(LO8(ebx)); /* 0x4000E26A: mov byte ptr [eax + 0x1d], bl */
   9446     MEM32(esi + 0x4) = eax; /* 0x4000E26D: mov dword ptr [esi + 4], eax */
   9447     MEM32(eax) = eax; /* 0x4000E270: mov dword ptr [eax], eax */
   9448     eax = MEM32(esi + 0x4); /* 0x4000E272: mov eax, dword ptr [esi + 4] */
   9449     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   9450     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9451     esp = esp + 8; /* 0x4000E275: add esp, 8 */
   9452     _flag_k = FK_ADD;
   9453     edi = POP32_VAL(esp); /* 0x4000E278: pop edi */
   9454     MEM32(eax + 0x8) = eax; /* 0x4000E279: mov dword ptr [eax + 8], eax */
   9455     MEM32(esi + 0x10) = ebx; /* 0x4000E27C: mov dword ptr [esi + 0x10], ebx */
   9456     esi = POP32_VAL(esp); /* 0x4000E27F: pop esi */
   9457     ebx = POP32_VAL(esp); /* 0x4000E280: pop ebx */
   9458     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000E281: ret  */
   9459     RECOMP_REGS_OUT();
   9460 }
   9461 
   9462 void sub_4000E290(void) {
   9463     int _fpu_cmp = 0;
   9464     uint32_t _cf = 0;
   9465     int _df = 1;
   9466     uint32_t _flag_k = FK_NONE;
   9467     uint32_t _flag_a = 0, _flag_b = 0;
   9468     uint32_t _itail_tgt = 0;
   9469     RECOMP_REGS_LOCALS
   9470     RECOMP_ENTER(0x4000E290u);
   9471 
   9472 L_4000E290:
   9473     PUSH32(esp, ebp); /* 0x4000E290: push ebp */
   9474     ebp = esp; /* 0x4000E291: mov ebp, esp */
   9475     PUSH32(esp, ebx); /* 0x4000E293: push ebx */
   9476     PUSH32(esp, esi); /* 0x4000E294: push esi */
   9477     esi = MEM32(ecx); /* 0x4000E295: mov esi, dword ptr [ecx] */
   9478     edx = MEM32(esi + 0x8); /* 0x4000E297: mov edx, dword ptr [esi + 8] */
   9479     SET_LO8(eax, MEM8(edx + 0x1D)); /* 0x4000E29A: mov al, byte ptr [edx + 0x1d] */
   9480     /* test LO8(eax), LO8(eax) */ /* 0x4000E29D: test al, al */
   9481     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9482     _cf = 0;
   9483     _flag_k = FK_NARROW(FK_TEST, 24);
   9484     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E2C2; /* 0x4000E29F: jne 0x4000e2c2 */
   9485 L_4000E2A1:
   9486     eax = MEM32(edx); /* 0x4000E2A1: mov eax, dword ptr [edx] */
   9487     SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x4000E2A3: mov bl, byte ptr [eax + 0x1d] */
   9488     /* test LO8(ebx), LO8(ebx) */ /* 0x4000E2A6: test bl, bl */
   9489     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9490     _cf = 0;
   9491     _flag_k = FK_NARROW(FK_TEST, 24);
   9492     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E2B5; /* 0x4000E2A8: jne 0x4000e2b5 */
   9493 L_4000E2AA:
   9494     edx = eax; /* 0x4000E2AA: mov edx, eax */
   9495     eax = MEM32(edx); /* 0x4000E2AC: mov eax, dword ptr [edx] */
   9496     SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x4000E2AE: mov bl, byte ptr [eax + 0x1d] */
   9497     /* test LO8(ebx), LO8(ebx) */ /* 0x4000E2B1: test bl, bl */
   9498     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9499     _cf = 0;
   9500     _flag_k = FK_NARROW(FK_TEST, 24);
   9501     RECOMP_BACKEDGE();
   9502     if (TEST_Z(_flag_a, _flag_b)) goto L_4000E2AA; /* 0x4000E2B3: je 0x4000e2aa */
   9503 L_4000E2B5:
   9504     eax = MEM32(ebp + 0x8); /* 0x4000E2B5: mov eax, dword ptr [ebp + 8] */
   9505     MEM32(ecx) = edx; /* 0x4000E2B8: mov dword ptr [ecx], edx */
   9506     MEM32(eax) = esi; /* 0x4000E2BA: mov dword ptr [eax], esi */
   9507     esi = POP32_VAL(esp); /* 0x4000E2BC: pop esi */
   9508     ebx = POP32_VAL(esp); /* 0x4000E2BD: pop ebx */
   9509     ebp = POP32_VAL(esp); /* 0x4000E2BE: pop ebp */
   9510     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E2BF: ret 8 */
   9511 L_4000E2C2:
   9512     eax = MEM32(esi + 0x4); /* 0x4000E2C2: mov eax, dword ptr [esi + 4] */
   9513     edx = MEM32(ecx); /* 0x4000E2C5: mov edx, dword ptr [ecx] */
   9514     /* cmp edx, MEM32(eax + 0x8) */ /* 0x4000E2C7: cmp edx, dword ptr [eax + 8] */
   9515     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   9516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9517     _flag_k = FK_CMP;
   9518     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E2D8; /* 0x4000E2CA: jne 0x4000e2d8 */
   9519 L_4000E2CC:
   9520     MEM32(ecx) = eax; /* 0x4000E2CC: mov dword ptr [ecx], eax */
   9521     eax = MEM32(eax + 0x4); /* 0x4000E2CE: mov eax, dword ptr [eax + 4] */
   9522     edx = MEM32(ecx); /* 0x4000E2D1: mov edx, dword ptr [ecx] */
   9523     /* cmp edx, MEM32(eax + 0x8) */ /* 0x4000E2D3: cmp edx, dword ptr [eax + 8] */
   9524     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   9525     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9526     _flag_k = FK_CMP;
   9527     RECOMP_BACKEDGE();
   9528     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E2CC; /* 0x4000E2D6: je 0x4000e2cc */
   9529 L_4000E2D8:
   9530     edx = MEM32(ecx); /* 0x4000E2D8: mov edx, dword ptr [ecx] */
   9531     /* cmp MEM32(edx + 0x8), eax */ /* 0x4000E2DA: cmp dword ptr [edx + 8], eax */
   9532     _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax);
   9533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9534     _flag_k = FK_CMP;
   9535     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E2E1; /* 0x4000E2DD: je 0x4000e2e1 */
   9536 L_4000E2DF:
   9537     MEM32(ecx) = eax; /* 0x4000E2DF: mov dword ptr [ecx], eax */
   9538 L_4000E2E1:
   9539     eax = MEM32(ebp + 0x8); /* 0x4000E2E1: mov eax, dword ptr [ebp + 8] */
   9540     MEM32(eax) = esi; /* 0x4000E2E4: mov dword ptr [eax], esi */
   9541     esi = POP32_VAL(esp); /* 0x4000E2E6: pop esi */
   9542     ebx = POP32_VAL(esp); /* 0x4000E2E7: pop ebx */
   9543     ebp = POP32_VAL(esp); /* 0x4000E2E8: pop ebp */
   9544     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4000E2E9: ret 8 */
   9545     RECOMP_REGS_OUT();
   9546 }
   9547 
   9548 void sub_4000E2F0(void) {
   9549     int _fpu_cmp = 0;
   9550     uint32_t _cf = 0;
   9551     int _df = 1;
   9552     uint32_t _flag_k = FK_NONE;
   9553     uint32_t _flag_a = 0, _flag_b = 0;
   9554     uint32_t _itail_tgt = 0;
   9555     RECOMP_REGS_LOCALS
   9556     RECOMP_ENTER(0x4000E2F0u);
   9557 
   9558 L_4000E2F0:
   9559     eax = MEM32(ecx); /* 0x4000E2F0: mov eax, dword ptr [ecx] */
   9560     SET_LO8(edx, MEM8(eax + 0x28)); /* 0x4000E2F2: mov dl, byte ptr [eax + 0x28] */
   9561     /* test LO8(edx), LO8(edx) */ /* 0x4000E2F5: test dl, dl */
   9562     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9563     _cf = 0;
   9564     _flag_k = FK_NARROW(FK_TEST, 24);
   9565     PUSH32(esp, ebx); /* 0x4000E2F7: push ebx */
   9566     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E309; /* 0x4000E2F8: jne 0x4000e309 */
   9567 L_4000E2FA:
   9568     edx = MEM32(eax + 0x4); /* 0x4000E2FA: mov edx, dword ptr [eax + 4] */
   9569     /* cmp MEM32(edx + 0x4), eax */ /* 0x4000E2FD: cmp dword ptr [edx + 4], eax */
   9570     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax);
   9571     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9572     _flag_k = FK_CMP;
   9573     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E309; /* 0x4000E300: jne 0x4000e309 */
   9574 L_4000E302:
   9575     eax = MEM32(eax + 0x8); /* 0x4000E302: mov eax, dword ptr [eax + 8] */
   9576     MEM32(ecx) = eax; /* 0x4000E305: mov dword ptr [ecx], eax */
   9577     ebx = POP32_VAL(esp); /* 0x4000E307: pop ebx */
   9578     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000E308: ret  */
   9579 L_4000E309:
   9580     edx = MEM32(eax); /* 0x4000E309: mov edx, dword ptr [eax] */
   9581     SET_LO8(ebx, MEM8(edx + 0x29)); /* 0x4000E30B: mov bl, byte ptr [edx + 0x29] */
   9582     /* test LO8(ebx), LO8(ebx) */ /* 0x4000E30E: test bl, bl */
   9583     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9584     _cf = 0;
   9585     _flag_k = FK_NARROW(FK_TEST, 24);
   9586     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E32C; /* 0x4000E310: jne 0x4000e32c */
   9587 L_4000E312:
   9588     eax = MEM32(edx + 0x8); /* 0x4000E312: mov eax, dword ptr [edx + 8] */
   9589     SET_LO8(ebx, MEM8(eax + 0x29)); /* 0x4000E315: mov bl, byte ptr [eax + 0x29] */
   9590     /* test LO8(ebx), LO8(ebx) */ /* 0x4000E318: test bl, bl */
   9591     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9592     _cf = 0;
   9593     _flag_k = FK_NARROW(FK_TEST, 24);
   9594     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E328; /* 0x4000E31A: jne 0x4000e328 */
   9595 L_4000E31C:
   9596     edx = eax; /* 0x4000E31C: mov edx, eax */
   9597     eax = MEM32(edx + 0x8); /* 0x4000E31E: mov eax, dword ptr [edx + 8] */
   9598     SET_LO8(ebx, MEM8(eax + 0x29)); /* 0x4000E321: mov bl, byte ptr [eax + 0x29] */
   9599     /* test LO8(ebx), LO8(ebx) */ /* 0x4000E324: test bl, bl */
   9600     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9601     _cf = 0;
   9602     _flag_k = FK_NARROW(FK_TEST, 24);
   9603     RECOMP_BACKEDGE();
   9604     if (TEST_Z(_flag_a, _flag_b)) goto L_4000E31C; /* 0x4000E326: je 0x4000e31c */
   9605 L_4000E328:
   9606     MEM32(ecx) = edx; /* 0x4000E328: mov dword ptr [ecx], edx */
   9607     ebx = POP32_VAL(esp); /* 0x4000E32A: pop ebx */
   9608     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000E32B: ret  */
   9609 L_4000E32C:
   9610     eax = MEM32(eax + 0x4); /* 0x4000E32C: mov eax, dword ptr [eax + 4] */
   9611     edx = MEM32(ecx); /* 0x4000E32F: mov edx, dword ptr [ecx] */
   9612     /* cmp edx, MEM32(eax) */ /* 0x4000E331: cmp edx, dword ptr [eax] */
   9613     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   9614     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9615     _flag_k = FK_CMP;
   9616     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E340; /* 0x4000E333: jne 0x4000e340 */
   9617 L_4000E335:
   9618     MEM32(ecx) = eax; /* 0x4000E335: mov dword ptr [ecx], eax */
   9619     eax = MEM32(eax + 0x4); /* 0x4000E337: mov eax, dword ptr [eax + 4] */
   9620     edx = MEM32(ecx); /* 0x4000E33A: mov edx, dword ptr [ecx] */
   9621     /* cmp edx, MEM32(eax) */ /* 0x4000E33C: cmp edx, dword ptr [eax] */
   9622     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   9623     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9624     _flag_k = FK_CMP;
   9625     RECOMP_BACKEDGE();
   9626     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E335; /* 0x4000E33E: je 0x4000e335 */
   9627 L_4000E340:
   9628     MEM32(ecx) = eax; /* 0x4000E340: mov dword ptr [ecx], eax */
   9629     ebx = POP32_VAL(esp); /* 0x4000E342: pop ebx */
   9630     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000E343: ret  */
   9631     RECOMP_REGS_OUT();
   9632 }
   9633 
   9634 void sub_4000E350(void) {
   9635     int _fpu_cmp = 0;
   9636     uint32_t _cf = 0;
   9637     int _df = 1;
   9638     uint32_t _flag_k = FK_NONE;
   9639     uint32_t _flag_a = 0, _flag_b = 0;
   9640     uint32_t _itail_tgt = 0;
   9641     RECOMP_REGS_LOCALS
   9642     RECOMP_ENTER(0x4000E350u);
   9643 
   9644 L_4000E350:
   9645     PUSH32(esp, ebp); /* 0x4000E350: push ebp */
   9646     ebp = esp; /* 0x4000E351: mov ebp, esp */
   9647     PUSH32(esp, ecx); /* 0x4000E353: push ecx */
   9648     PUSH32(esp, ebx); /* 0x4000E354: push ebx */
   9649     PUSH32(esp, esi); /* 0x4000E355: push esi */
   9650     PUSH32(esp, edi); /* 0x4000E356: push edi */
   9651     PUSH32(esp, 0x1Cu); /* 0x4000E357: push 0x1c */
   9652     esi = ecx; /* 0x4000E359: mov esi, ecx */
   9653     RECOMP_ICALL(0x40014704u); /* 0x4000E35B: call 0x40014704 */ /* not lifted */
   9654     RECOMP_FLAGS_IN();
   9655     edi = MEM32(ebp + 0x10); /* 0x4000E360: mov edi, dword ptr [ebp + 0x10] */
   9656     ebx = MEM32(ebp + 0x14); /* 0x4000E363: mov ebx, dword ptr [ebp + 0x14] */
   9657     MEM32(eax + 0x4) = edi; /* 0x4000E366: mov dword ptr [eax + 4], edi */
   9658     MEM8(eax + 0x18) = (uint8_t)(0); /* 0x4000E369: mov byte ptr [eax + 0x18], 0 */
   9659     MEM8(eax + 0x19) = (uint8_t)(0); /* 0x4000E36D: mov byte ptr [eax + 0x19], 0 */
   9660     ecx = MEM32(esi + 0x8); /* 0x4000E371: mov ecx, dword ptr [esi + 8] */
   9661     MEM32(eax) = ecx; /* 0x4000E374: mov dword ptr [eax], ecx */
   9662     edx = MEM32(esi + 0x8); /* 0x4000E376: mov edx, dword ptr [esi + 8] */
   9663     MEM32(ebp + (-0x4)) = eax; /* 0x4000E379: mov dword ptr [ebp - 4], eax */
   9664     MEM32(eax + 0x8) = edx; /* 0x4000E37C: mov dword ptr [eax + 8], edx */
   9665     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   9666     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9667     eax = eax + 0xCu; /* 0x4000E37F: add eax, 0xc */
   9668     _flag_k = FK_ADD;
   9669     PUSH32(esp, ebx); /* 0x4000E382: push ebx */
   9670     PUSH32(esp, eax); /* 0x4000E383: push eax */
   9671     RECOMP_ICALL(0x4000FBA0u); /* 0x4000E384: call 0x4000fba0 */ /* not lifted */
   9672     RECOMP_FLAGS_IN();
   9673     ecx = MEM32(esi + 0x10); /* 0x4000E389: mov ecx, dword ptr [esi + 0x10] */
   9674     eax = MEM32(esi + 0x4); /* 0x4000E38C: mov eax, dword ptr [esi + 4] */
   9675     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   9676     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9677     esp = esp + 0xCu; /* 0x4000E38F: add esp, 0xc */
   9678     _flag_k = FK_ADD;
   9679     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   9680     ecx = ecx + 1; /* 0x4000E392: inc ecx */
   9681     _flag_k = FK_INC;
   9682     /* cmp edi, eax */ /* 0x4000E393: cmp edi, eax */
   9683     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9684     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9685     _flag_k = FK_CMP;
   9686     MEM32(esi + 0x10) = ecx; /* 0x4000E395: mov dword ptr [esi + 0x10], ecx */
   9687     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E3C4; /* 0x4000E398: je 0x4000e3c4 */
   9688 L_4000E39A:
   9689     eax = MEM32(ebp + 0xC); /* 0x4000E39A: mov eax, dword ptr [ebp + 0xc] */
   9690     /* cmp eax, MEM32(esi + 0x8) */ /* 0x4000E39D: cmp eax, dword ptr [esi + 8] */
   9691     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9693     _flag_k = FK_CMP;
   9694     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3C4; /* 0x4000E3A0: jne 0x4000e3c4 */
   9695 L_4000E3A2:
   9696     ecx = edi + 0xC; /* 0x4000E3A2: lea ecx, [edi + 0xc] */
   9697     PUSH32(esp, ecx); /* 0x4000E3A5: push ecx */
   9698     ecx = ebx; /* 0x4000E3A6: mov ecx, ebx */
   9699     RECOMP_ICALL(0x400015C0u); /* 0x4000E3A8: call 0x400015c0 */ /* not lifted */
   9700     RECOMP_FLAGS_IN();
   9701     /* test LO8(eax), LO8(eax) */ /* 0x4000E3AD: test al, al */
   9702     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9703     _cf = 0;
   9704     _flag_k = FK_NARROW(FK_TEST, 24);
   9705     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E3C4; /* 0x4000E3AF: jne 0x4000e3c4 */
   9706 L_4000E3B1:
   9707     ecx = MEM32(ebp + (-0x4)); /* 0x4000E3B1: mov ecx, dword ptr [ebp - 4] */
   9708     MEM32(edi + 0x8) = ecx; /* 0x4000E3B4: mov dword ptr [edi + 8], ecx */
   9709     eax = MEM32(esi + 0x4); /* 0x4000E3B7: mov eax, dword ptr [esi + 4] */
   9710     /* cmp edi, MEM32(eax + 0x8) */ /* 0x4000E3BA: cmp edi, dword ptr [eax + 8] */
   9711     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   9712     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9713     _flag_k = FK_CMP;
   9714     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3E4; /* 0x4000E3BD: jne 0x4000e3e4 */
   9715 L_4000E3BF:
   9716     MEM32(eax + 0x8) = ecx; /* 0x4000E3BF: mov dword ptr [eax + 8], ecx */
   9717     goto L_4000E3E4; /* 0x4000E3C2: jmp 0x4000e3e4 */
   9718 L_4000E3C4:
   9719     ecx = MEM32(ebp + (-0x4)); /* 0x4000E3C4: mov ecx, dword ptr [ebp - 4] */
   9720     MEM32(edi) = ecx; /* 0x4000E3C7: mov dword ptr [edi], ecx */
   9721     eax = MEM32(esi + 0x4); /* 0x4000E3C9: mov eax, dword ptr [esi + 4] */
   9722     /* cmp edi, eax */ /* 0x4000E3CC: cmp edi, eax */
   9723     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   9724     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9725     _flag_k = FK_CMP;
   9726     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3DB; /* 0x4000E3CE: jne 0x4000e3db */
   9727 L_4000E3D0:
   9728     MEM32(eax + 0x4) = ecx; /* 0x4000E3D0: mov dword ptr [eax + 4], ecx */
   9729     edx = MEM32(esi + 0x4); /* 0x4000E3D3: mov edx, dword ptr [esi + 4] */
   9730     MEM32(edx + 0x8) = ecx; /* 0x4000E3D6: mov dword ptr [edx + 8], ecx */
   9731     goto L_4000E3E4; /* 0x4000E3D9: jmp 0x4000e3e4 */
   9732 L_4000E3DB:
   9733     /* cmp edi, MEM32(eax) */ /* 0x4000E3DB: cmp edi, dword ptr [eax] */
   9734     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   9735     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9736     _flag_k = FK_CMP;
   9737     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3E4; /* 0x4000E3DD: jne 0x4000e3e4 */
   9738 L_4000E3DF:
   9739     ecx = MEM32(ebp + (-0x4)); /* 0x4000E3DF: mov ecx, dword ptr [ebp - 4] */
   9740     MEM32(eax) = ecx; /* 0x4000E3E2: mov dword ptr [eax], ecx */
   9741 L_4000E3E4:
   9742     edx = MEM32(esi + 0x4); /* 0x4000E3E4: mov edx, dword ptr [esi + 4] */
   9743     eax = MEM32(ebp + (-0x4)); /* 0x4000E3E7: mov eax, dword ptr [ebp - 4] */
   9744     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E3EA: cmp eax, dword ptr [edx + 4] */
   9745     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   9746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9747     _flag_k = FK_CMP;
   9748     SET_LO8(ebx, 1); /* 0x4000E3ED: mov bl, 1 */
   9749     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3EF: je 0x4000e575 */
   9750 L_4000E3F5:
   9751     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
   9752     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
   9753     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
   9754     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   9755     _cf = 0;
   9756     _flag_k = FK_NARROW(FK_TEST, 24);
   9757     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
   9758 L_4000E403:
   9759     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
   9760     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
   9761     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
   9762     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   9763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9764     _flag_k = FK_CMP;
   9765     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
   9766 L_4000E410:
   9767     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
   9768     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
   9769     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
   9770     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9771     _flag_k = FK_NARROW(FK_CMP, 24);
   9772     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
   9773 L_4000E419:
   9774     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
   9775     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
   9776     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
   9777     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
   9778     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
   9779     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
   9780     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
   9781     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
   9782 L_4000E434:
   9783     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
   9784     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   9785     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9786     _flag_k = FK_CMP;
   9787     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
   9788 L_4000E439:
   9789     eax = ecx; /* 0x4000E439: mov eax, ecx */
   9790     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
   9791     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
   9792     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
   9793     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
   9794     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
   9795     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9797     _flag_k = FK_CMP;
   9798     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
   9799 L_4000E44A:
   9800     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
   9801 L_4000E44D:
   9802     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
   9803     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
   9804     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
   9805     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
   9806     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   9807     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9808     _flag_k = FK_CMP;
   9809     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
   9810 L_4000E45B:
   9811     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
   9812     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
   9813 L_4000E460:
   9814     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
   9815     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
   9816     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   9817     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9818     _flag_k = FK_CMP;
   9819     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
   9820 L_4000E467:
   9821     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
   9822     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
   9823 L_4000E46B:
   9824     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
   9825 L_4000E46E:
   9826     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
   9827     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
   9828 L_4000E473:
   9829     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
   9830     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
   9831     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
   9832     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
   9833     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
   9834     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
   9835     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
   9836     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
   9837     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
   9838     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
   9839     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
   9840     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
   9841     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9843     _flag_k = FK_CMP;
   9844     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
   9845 L_4000E498:
   9846     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
   9847 L_4000E49B:
   9848     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
   9849     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
   9850     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
   9851     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
   9852     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   9853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9854     _flag_k = FK_CMP;
   9855     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
   9856 L_4000E4A9:
   9857     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
   9858     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
   9859     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
   9860 L_4000E4B4:
   9861     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
   9862     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
   9863     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   9864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9865     _flag_k = FK_CMP;
   9866     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
   9867 L_4000E4BC:
   9868     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
   9869     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
   9870     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
   9871 L_4000E4C7:
   9872     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
   9873     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
   9874     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
   9875 L_4000E4D1:
   9876     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
   9877     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
   9878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9879     _flag_k = FK_NARROW(FK_CMP, 24);
   9880     RECOMP_BACKEDGE();
   9881     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
   9882 L_4000E4DB:
   9883     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
   9884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   9885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9886     _flag_k = FK_CMP;
   9887     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
   9888 L_4000E4DF:
   9889     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
   9890     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
   9891     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
   9892     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
   9893     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
   9894     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
   9895     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9897     _flag_k = FK_CMP;
   9898     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
   9899 L_4000E4F0:
   9900     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
   9901 L_4000E4F3:
   9902     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
   9903     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
   9904     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
   9905     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
   9906     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   9907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9908     _flag_k = FK_CMP;
   9909     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
   9910 L_4000E501:
   9911     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
   9912     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
   9913 L_4000E506:
   9914     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
   9915     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
   9916     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   9917     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9918     _flag_k = FK_CMP;
   9919     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
   9920 L_4000E50E:
   9921     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
   9922     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
   9923 L_4000E513:
   9924     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
   9925 L_4000E515:
   9926     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
   9927     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
   9928 L_4000E51B:
   9929     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
   9930     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
   9931     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
   9932     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
   9933     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
   9934     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
   9935     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
   9936     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
   9937     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
   9938     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
   9939     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
   9940     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
   9941     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   9942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9943     _flag_k = FK_CMP;
   9944     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
   9945 L_4000E540:
   9946     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
   9947 L_4000E543:
   9948     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
   9949     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
   9950     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
   9951     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
   9952     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   9953     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9954     _flag_k = FK_CMP;
   9955     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
   9956 L_4000E551:
   9957     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
   9958     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
   9959 L_4000E556:
   9960     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
   9961     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
   9962     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   9963     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9964     _flag_k = FK_CMP;
   9965     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
   9966 L_4000E55D:
   9967     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
   9968     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
   9969 L_4000E561:
   9970     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
   9971 L_4000E564:
   9972     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
   9973 L_4000E566:
   9974     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
   9975 L_4000E569:
   9976     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
   9977     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
   9978     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   9979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9980     _flag_k = FK_CMP;
   9981     RECOMP_BACKEDGE();
   9982     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
   9983 L_4000E575:
   9984     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
   9985     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
   9986     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
   9987     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
   9988     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
   9989     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
   9990     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
   9991     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
   9992     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
   9993     esp = ebp; /* 0x4000E589: mov esp, ebp */
   9994     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
   9995     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
   9996     RECOMP_REGS_OUT();
   9997 }
   9998 
   9999 void sub_4000E3F5(void) {
  10000     int _fpu_cmp = 0;
  10001     uint32_t _cf = 0;
  10002     int _df = 1;
  10003     uint32_t _flag_k = FK_NONE;
  10004     uint32_t _flag_a = 0, _flag_b = 0;
  10005     uint32_t _itail_tgt = 0;
  10006     RECOMP_REGS_LOCALS
  10007     RECOMP_ENTER(0x4000E3F5u);
  10008 
  10009 L_4000E3F5:
  10010     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  10011     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  10012     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  10013     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10014     _cf = 0;
  10015     _flag_k = FK_NARROW(FK_TEST, 24);
  10016     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  10017 L_4000E403:
  10018     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  10019     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  10020     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  10021     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10023     _flag_k = FK_CMP;
  10024     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  10025 L_4000E410:
  10026     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  10027     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  10028     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10029     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10030     _flag_k = FK_NARROW(FK_CMP, 24);
  10031     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  10032 L_4000E419:
  10033     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  10034     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  10035     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  10036     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  10037     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  10038     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  10039     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  10040     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  10041 L_4000E434:
  10042     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  10043     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10044     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10045     _flag_k = FK_CMP;
  10046     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  10047 L_4000E439:
  10048     eax = ecx; /* 0x4000E439: mov eax, ecx */
  10049     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  10050     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  10051     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  10052     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  10053     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  10054     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10056     _flag_k = FK_CMP;
  10057     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  10058 L_4000E44A:
  10059     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  10060 L_4000E44D:
  10061     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  10062     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  10063     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  10064     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  10065     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10066     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10067     _flag_k = FK_CMP;
  10068     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  10069 L_4000E45B:
  10070     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  10071     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  10072 L_4000E460:
  10073     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  10074     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  10075     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10076     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10077     _flag_k = FK_CMP;
  10078     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  10079 L_4000E467:
  10080     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  10081     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  10082 L_4000E46B:
  10083     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  10084 L_4000E46E:
  10085     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  10086     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  10087 L_4000E473:
  10088     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  10089     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  10090     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  10091     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  10092     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  10093     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  10094     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  10095     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  10096     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  10097     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  10098     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  10099     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  10100     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10101     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10102     _flag_k = FK_CMP;
  10103     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  10104 L_4000E498:
  10105     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  10106 L_4000E49B:
  10107     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  10108     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  10109     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  10110     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  10111     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10112     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10113     _flag_k = FK_CMP;
  10114     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  10115 L_4000E4A9:
  10116     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  10117     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  10118     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  10119 L_4000E4B4:
  10120     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  10121     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  10122     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10124     _flag_k = FK_CMP;
  10125     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  10126 L_4000E4BC:
  10127     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  10128     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  10129     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  10130 L_4000E4C7:
  10131     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  10132     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  10133     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  10134 L_4000E4D1:
  10135     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  10136     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10138     _flag_k = FK_NARROW(FK_CMP, 24);
  10139     RECOMP_BACKEDGE();
  10140     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  10141 L_4000E4DB:
  10142     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  10143     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10144     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10145     _flag_k = FK_CMP;
  10146     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  10147 L_4000E4DF:
  10148     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  10149     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  10150     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  10151     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  10152     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  10153     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  10154     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10155     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10156     _flag_k = FK_CMP;
  10157     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  10158 L_4000E4F0:
  10159     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  10160 L_4000E4F3:
  10161     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  10162     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  10163     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  10164     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  10165     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10167     _flag_k = FK_CMP;
  10168     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  10169 L_4000E501:
  10170     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  10171     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  10172 L_4000E506:
  10173     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  10174     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  10175     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10176     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10177     _flag_k = FK_CMP;
  10178     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  10179 L_4000E50E:
  10180     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  10181     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  10182 L_4000E513:
  10183     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  10184 L_4000E515:
  10185     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  10186     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  10187 L_4000E51B:
  10188     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  10189     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  10190     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  10191     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  10192     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  10193     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  10194     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  10195     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  10196     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  10197     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  10198     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  10199     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  10200     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10201     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10202     _flag_k = FK_CMP;
  10203     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  10204 L_4000E540:
  10205     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  10206 L_4000E543:
  10207     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  10208     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  10209     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  10210     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  10211     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10212     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10213     _flag_k = FK_CMP;
  10214     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  10215 L_4000E551:
  10216     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  10217     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  10218 L_4000E556:
  10219     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  10220     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  10221     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10223     _flag_k = FK_CMP;
  10224     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  10225 L_4000E55D:
  10226     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  10227     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  10228 L_4000E561:
  10229     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  10230 L_4000E564:
  10231     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  10232 L_4000E566:
  10233     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  10234 L_4000E569:
  10235     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  10236     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  10237     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10238     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10239     _flag_k = FK_CMP;
  10240     RECOMP_BACKEDGE();
  10241     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  10242 L_4000E575:
  10243     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  10244     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  10245     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  10246     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  10247     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  10248     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  10249     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  10250     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  10251     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  10252     esp = ebp; /* 0x4000E589: mov esp, ebp */
  10253     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  10254     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  10255     RECOMP_REGS_OUT();
  10256 }
  10257 
  10258 void sub_4000E419(void) {
  10259     int _fpu_cmp = 0;
  10260     uint32_t _cf = 0;
  10261     int _df = 1;
  10262     uint32_t _flag_k = FK_NONE;
  10263     uint32_t _flag_a = 0, _flag_b = 0;
  10264     uint32_t _itail_tgt = 0;
  10265     RECOMP_REGS_LOCALS
  10266     RECOMP_ENTER(0x4000E419u);
  10267 
  10268     goto L_4000E419;
  10269 L_4000E3F5:
  10270     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  10271     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  10272     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  10273     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10274     _cf = 0;
  10275     _flag_k = FK_NARROW(FK_TEST, 24);
  10276     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  10277 L_4000E403:
  10278     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  10279     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  10280     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  10281     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10282     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10283     _flag_k = FK_CMP;
  10284     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  10285 L_4000E410:
  10286     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  10287     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  10288     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10289     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10290     _flag_k = FK_NARROW(FK_CMP, 24);
  10291     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  10292 L_4000E419:
  10293     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  10294     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  10295     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  10296     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  10297     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  10298     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  10299     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  10300     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  10301 L_4000E434:
  10302     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  10303     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10304     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10305     _flag_k = FK_CMP;
  10306     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  10307 L_4000E439:
  10308     eax = ecx; /* 0x4000E439: mov eax, ecx */
  10309     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  10310     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  10311     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  10312     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  10313     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  10314     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10316     _flag_k = FK_CMP;
  10317     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  10318 L_4000E44A:
  10319     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  10320 L_4000E44D:
  10321     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  10322     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  10323     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  10324     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  10325     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10326     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10327     _flag_k = FK_CMP;
  10328     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  10329 L_4000E45B:
  10330     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  10331     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  10332 L_4000E460:
  10333     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  10334     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  10335     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10336     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10337     _flag_k = FK_CMP;
  10338     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  10339 L_4000E467:
  10340     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  10341     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  10342 L_4000E46B:
  10343     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  10344 L_4000E46E:
  10345     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  10346     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  10347 L_4000E473:
  10348     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  10349     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  10350     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  10351     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  10352     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  10353     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  10354     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  10355     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  10356     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  10357     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  10358     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  10359     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  10360     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10361     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10362     _flag_k = FK_CMP;
  10363     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  10364 L_4000E498:
  10365     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  10366 L_4000E49B:
  10367     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  10368     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  10369     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  10370     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  10371     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10373     _flag_k = FK_CMP;
  10374     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  10375 L_4000E4A9:
  10376     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  10377     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  10378     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  10379 L_4000E4B4:
  10380     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  10381     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  10382     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10384     _flag_k = FK_CMP;
  10385     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  10386 L_4000E4BC:
  10387     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  10388     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  10389     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  10390 L_4000E4C7:
  10391     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  10392     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  10393     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  10394 L_4000E4D1:
  10395     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  10396     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10397     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10398     _flag_k = FK_NARROW(FK_CMP, 24);
  10399     RECOMP_BACKEDGE();
  10400     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  10401 L_4000E4DB:
  10402     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  10403     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10405     _flag_k = FK_CMP;
  10406     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  10407 L_4000E4DF:
  10408     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  10409     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  10410     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  10411     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  10412     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  10413     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  10414     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10416     _flag_k = FK_CMP;
  10417     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  10418 L_4000E4F0:
  10419     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  10420 L_4000E4F3:
  10421     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  10422     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  10423     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  10424     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  10425     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10426     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10427     _flag_k = FK_CMP;
  10428     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  10429 L_4000E501:
  10430     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  10431     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  10432 L_4000E506:
  10433     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  10434     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  10435     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10436     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10437     _flag_k = FK_CMP;
  10438     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  10439 L_4000E50E:
  10440     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  10441     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  10442 L_4000E513:
  10443     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  10444 L_4000E515:
  10445     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  10446     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  10447 L_4000E51B:
  10448     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  10449     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  10450     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  10451     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  10452     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  10453     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  10454     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  10455     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  10456     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  10457     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  10458     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  10459     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  10460     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10461     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10462     _flag_k = FK_CMP;
  10463     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  10464 L_4000E540:
  10465     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  10466 L_4000E543:
  10467     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  10468     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  10469     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  10470     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  10471     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10472     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10473     _flag_k = FK_CMP;
  10474     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  10475 L_4000E551:
  10476     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  10477     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  10478 L_4000E556:
  10479     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  10480     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  10481     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10482     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10483     _flag_k = FK_CMP;
  10484     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  10485 L_4000E55D:
  10486     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  10487     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  10488 L_4000E561:
  10489     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  10490 L_4000E564:
  10491     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  10492 L_4000E566:
  10493     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  10494 L_4000E569:
  10495     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  10496     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  10497     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10498     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10499     _flag_k = FK_CMP;
  10500     RECOMP_BACKEDGE();
  10501     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  10502 L_4000E575:
  10503     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  10504     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  10505     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  10506     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  10507     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  10508     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  10509     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  10510     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  10511     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  10512     esp = ebp; /* 0x4000E589: mov esp, ebp */
  10513     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  10514     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  10515     RECOMP_REGS_OUT();
  10516 }
  10517 
  10518 void sub_4000E46E(void) {
  10519     int _fpu_cmp = 0;
  10520     uint32_t _cf = 0;
  10521     int _df = 1;
  10522     uint32_t _flag_k = FK_NONE;
  10523     uint32_t _flag_a = 0, _flag_b = 0;
  10524     uint32_t _itail_tgt = 0;
  10525     RECOMP_REGS_LOCALS
  10526     RECOMP_ENTER(0x4000E46Eu);
  10527 
  10528     goto L_4000E46E;
  10529 L_4000E3F5:
  10530     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  10531     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  10532     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  10533     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10534     _cf = 0;
  10535     _flag_k = FK_NARROW(FK_TEST, 24);
  10536     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  10537 L_4000E403:
  10538     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  10539     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  10540     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  10541     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10543     _flag_k = FK_CMP;
  10544     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  10545 L_4000E410:
  10546     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  10547     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  10548     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10550     _flag_k = FK_NARROW(FK_CMP, 24);
  10551     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  10552 L_4000E419:
  10553     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  10554     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  10555     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  10556     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  10557     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  10558     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  10559     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  10560     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  10561 L_4000E434:
  10562     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  10563     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10564     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10565     _flag_k = FK_CMP;
  10566     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  10567 L_4000E439:
  10568     eax = ecx; /* 0x4000E439: mov eax, ecx */
  10569     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  10570     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  10571     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  10572     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  10573     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  10574     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10576     _flag_k = FK_CMP;
  10577     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  10578 L_4000E44A:
  10579     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  10580 L_4000E44D:
  10581     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  10582     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  10583     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  10584     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  10585     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10586     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10587     _flag_k = FK_CMP;
  10588     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  10589 L_4000E45B:
  10590     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  10591     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  10592 L_4000E460:
  10593     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  10594     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  10595     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10596     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10597     _flag_k = FK_CMP;
  10598     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  10599 L_4000E467:
  10600     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  10601     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  10602 L_4000E46B:
  10603     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  10604 L_4000E46E:
  10605     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  10606     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  10607 L_4000E473:
  10608     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  10609     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  10610     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  10611     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  10612     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  10613     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  10614     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  10615     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  10616     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  10617     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  10618     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  10619     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  10620     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10622     _flag_k = FK_CMP;
  10623     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  10624 L_4000E498:
  10625     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  10626 L_4000E49B:
  10627     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  10628     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  10629     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  10630     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  10631     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10633     _flag_k = FK_CMP;
  10634     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  10635 L_4000E4A9:
  10636     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  10637     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  10638     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  10639 L_4000E4B4:
  10640     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  10641     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  10642     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10643     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10644     _flag_k = FK_CMP;
  10645     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  10646 L_4000E4BC:
  10647     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  10648     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  10649     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  10650 L_4000E4C7:
  10651     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  10652     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  10653     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  10654 L_4000E4D1:
  10655     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  10656     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10658     _flag_k = FK_NARROW(FK_CMP, 24);
  10659     RECOMP_BACKEDGE();
  10660     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  10661 L_4000E4DB:
  10662     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  10663     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10664     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10665     _flag_k = FK_CMP;
  10666     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  10667 L_4000E4DF:
  10668     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  10669     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  10670     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  10671     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  10672     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  10673     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  10674     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10675     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10676     _flag_k = FK_CMP;
  10677     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  10678 L_4000E4F0:
  10679     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  10680 L_4000E4F3:
  10681     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  10682     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  10683     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  10684     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  10685     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  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_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  10689 L_4000E501:
  10690     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  10691     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  10692 L_4000E506:
  10693     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  10694     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  10695     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10696     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10697     _flag_k = FK_CMP;
  10698     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  10699 L_4000E50E:
  10700     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  10701     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  10702 L_4000E513:
  10703     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  10704 L_4000E515:
  10705     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  10706     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  10707 L_4000E51B:
  10708     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  10709     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  10710     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  10711     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  10712     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  10713     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  10714     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  10715     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  10716     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  10717     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  10718     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  10719     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  10720     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10721     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10722     _flag_k = FK_CMP;
  10723     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  10724 L_4000E540:
  10725     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  10726 L_4000E543:
  10727     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  10728     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  10729     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  10730     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  10731     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10732     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10733     _flag_k = FK_CMP;
  10734     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  10735 L_4000E551:
  10736     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  10737     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  10738 L_4000E556:
  10739     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  10740     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  10741     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  10742     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10743     _flag_k = FK_CMP;
  10744     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  10745 L_4000E55D:
  10746     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  10747     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  10748 L_4000E561:
  10749     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  10750 L_4000E564:
  10751     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  10752 L_4000E566:
  10753     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  10754 L_4000E569:
  10755     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  10756     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  10757     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  10758     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10759     _flag_k = FK_CMP;
  10760     RECOMP_BACKEDGE();
  10761     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  10762 L_4000E575:
  10763     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  10764     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  10765     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  10766     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  10767     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  10768     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  10769     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  10770     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  10771     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  10772     esp = ebp; /* 0x4000E589: mov esp, ebp */
  10773     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  10774     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  10775     RECOMP_REGS_OUT();
  10776 }
  10777 
  10778 void sub_4000E473(void) {
  10779     int _fpu_cmp = 0;
  10780     uint32_t _cf = 0;
  10781     int _df = 1;
  10782     uint32_t _flag_k = FK_NONE;
  10783     uint32_t _flag_a = 0, _flag_b = 0;
  10784     uint32_t _itail_tgt = 0;
  10785     RECOMP_REGS_LOCALS
  10786     RECOMP_ENTER(0x4000E473u);
  10787 
  10788     goto L_4000E473;
  10789 L_4000E3F5:
  10790     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  10791     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  10792     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  10793     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  10794     _cf = 0;
  10795     _flag_k = FK_NARROW(FK_TEST, 24);
  10796     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  10797 L_4000E403:
  10798     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  10799     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  10800     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  10801     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  10802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10803     _flag_k = FK_CMP;
  10804     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  10805 L_4000E410:
  10806     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  10807     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  10808     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10809     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10810     _flag_k = FK_NARROW(FK_CMP, 24);
  10811     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  10812 L_4000E419:
  10813     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  10814     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  10815     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  10816     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  10817     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  10818     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  10819     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  10820     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  10821 L_4000E434:
  10822     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  10823     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  10824     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10825     _flag_k = FK_CMP;
  10826     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  10827 L_4000E439:
  10828     eax = ecx; /* 0x4000E439: mov eax, ecx */
  10829     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  10830     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  10831     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  10832     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  10833     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  10834     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10836     _flag_k = FK_CMP;
  10837     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  10838 L_4000E44A:
  10839     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  10840 L_4000E44D:
  10841     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  10842     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  10843     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  10844     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  10845     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10847     _flag_k = FK_CMP;
  10848     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  10849 L_4000E45B:
  10850     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  10851     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  10852 L_4000E460:
  10853     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  10854     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  10855     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  10856     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10857     _flag_k = FK_CMP;
  10858     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  10859 L_4000E467:
  10860     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  10861     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  10862 L_4000E46B:
  10863     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  10864 L_4000E46E:
  10865     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  10866     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  10867 L_4000E473:
  10868     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  10869     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  10870     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  10871     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  10872     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  10873     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  10874     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  10875     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  10876     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  10877     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  10878     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  10879     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  10880     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10881     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10882     _flag_k = FK_CMP;
  10883     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  10884 L_4000E498:
  10885     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  10886 L_4000E49B:
  10887     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  10888     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  10889     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  10890     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  10891     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10892     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10893     _flag_k = FK_CMP;
  10894     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  10895 L_4000E4A9:
  10896     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  10897     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  10898     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  10899 L_4000E4B4:
  10900     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  10901     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  10902     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  10903     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10904     _flag_k = FK_CMP;
  10905     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  10906 L_4000E4BC:
  10907     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  10908     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  10909     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  10910 L_4000E4C7:
  10911     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  10912     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  10913     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  10914 L_4000E4D1:
  10915     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  10916     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  10917     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10918     _flag_k = FK_NARROW(FK_CMP, 24);
  10919     RECOMP_BACKEDGE();
  10920     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  10921 L_4000E4DB:
  10922     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  10923     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  10924     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10925     _flag_k = FK_CMP;
  10926     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  10927 L_4000E4DF:
  10928     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  10929     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  10930     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  10931     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  10932     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  10933     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  10934     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10935     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10936     _flag_k = FK_CMP;
  10937     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  10938 L_4000E4F0:
  10939     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  10940 L_4000E4F3:
  10941     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  10942     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  10943     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  10944     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  10945     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  10946     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10947     _flag_k = FK_CMP;
  10948     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  10949 L_4000E501:
  10950     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  10951     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  10952 L_4000E506:
  10953     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  10954     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  10955     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  10956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10957     _flag_k = FK_CMP;
  10958     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  10959 L_4000E50E:
  10960     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  10961     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  10962 L_4000E513:
  10963     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  10964 L_4000E515:
  10965     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  10966     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  10967 L_4000E51B:
  10968     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  10969     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  10970     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  10971     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  10972     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  10973     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  10974     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  10975     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  10976     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  10977     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  10978     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  10979     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  10980     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  10981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10982     _flag_k = FK_CMP;
  10983     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  10984 L_4000E540:
  10985     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  10986 L_4000E543:
  10987     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  10988     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  10989     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  10990     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  10991     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  10992     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10993     _flag_k = FK_CMP;
  10994     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  10995 L_4000E551:
  10996     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  10997     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  10998 L_4000E556:
  10999     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  11000     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  11001     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11002     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11003     _flag_k = FK_CMP;
  11004     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  11005 L_4000E55D:
  11006     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  11007     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  11008 L_4000E561:
  11009     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  11010 L_4000E564:
  11011     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  11012 L_4000E566:
  11013     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  11014 L_4000E569:
  11015     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  11016     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  11017     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11018     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11019     _flag_k = FK_CMP;
  11020     RECOMP_BACKEDGE();
  11021     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  11022 L_4000E575:
  11023     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  11024     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  11025     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  11026     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  11027     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  11028     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  11029     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  11030     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  11031     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  11032     esp = ebp; /* 0x4000E589: mov esp, ebp */
  11033     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  11034     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  11035     RECOMP_REGS_OUT();
  11036 }
  11037 
  11038 void sub_4000E4D1(void) {
  11039     int _fpu_cmp = 0;
  11040     uint32_t _cf = 0;
  11041     int _df = 1;
  11042     uint32_t _flag_k = FK_NONE;
  11043     uint32_t _flag_a = 0, _flag_b = 0;
  11044     uint32_t _itail_tgt = 0;
  11045     RECOMP_REGS_LOCALS
  11046     RECOMP_ENTER(0x4000E4D1u);
  11047 
  11048     goto L_4000E4D1;
  11049 L_4000E3F5:
  11050     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  11051     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  11052     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  11053     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11054     _cf = 0;
  11055     _flag_k = FK_NARROW(FK_TEST, 24);
  11056     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  11057 L_4000E403:
  11058     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  11059     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  11060     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  11061     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11062     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11063     _flag_k = FK_CMP;
  11064     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  11065 L_4000E410:
  11066     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  11067     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  11068     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11070     _flag_k = FK_NARROW(FK_CMP, 24);
  11071     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  11072 L_4000E419:
  11073     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  11074     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  11075     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  11076     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  11077     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  11078     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  11079     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  11080     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  11081 L_4000E434:
  11082     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  11083     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11084     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11085     _flag_k = FK_CMP;
  11086     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  11087 L_4000E439:
  11088     eax = ecx; /* 0x4000E439: mov eax, ecx */
  11089     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  11090     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  11091     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  11092     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  11093     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  11094     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11096     _flag_k = FK_CMP;
  11097     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  11098 L_4000E44A:
  11099     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  11100 L_4000E44D:
  11101     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  11102     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  11103     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  11104     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  11105     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11106     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11107     _flag_k = FK_CMP;
  11108     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  11109 L_4000E45B:
  11110     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  11111     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  11112 L_4000E460:
  11113     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  11114     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  11115     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11116     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11117     _flag_k = FK_CMP;
  11118     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  11119 L_4000E467:
  11120     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  11121     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  11122 L_4000E46B:
  11123     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  11124 L_4000E46E:
  11125     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  11126     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  11127 L_4000E473:
  11128     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  11129     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  11130     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  11131     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  11132     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  11133     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  11134     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  11135     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  11136     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  11137     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  11138     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  11139     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  11140     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11141     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11142     _flag_k = FK_CMP;
  11143     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  11144 L_4000E498:
  11145     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  11146 L_4000E49B:
  11147     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  11148     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  11149     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  11150     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  11151     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11152     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11153     _flag_k = FK_CMP;
  11154     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  11155 L_4000E4A9:
  11156     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  11157     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  11158     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  11159 L_4000E4B4:
  11160     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  11161     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  11162     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11163     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11164     _flag_k = FK_CMP;
  11165     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  11166 L_4000E4BC:
  11167     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  11168     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  11169     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  11170 L_4000E4C7:
  11171     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  11172     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  11173     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  11174 L_4000E4D1:
  11175     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  11176     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11178     _flag_k = FK_NARROW(FK_CMP, 24);
  11179     RECOMP_BACKEDGE();
  11180     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  11181 L_4000E4DB:
  11182     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  11183     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11185     _flag_k = FK_CMP;
  11186     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  11187 L_4000E4DF:
  11188     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  11189     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  11190     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  11191     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  11192     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  11193     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  11194     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11196     _flag_k = FK_CMP;
  11197     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  11198 L_4000E4F0:
  11199     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  11200 L_4000E4F3:
  11201     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  11202     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  11203     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  11204     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  11205     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11206     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11207     _flag_k = FK_CMP;
  11208     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  11209 L_4000E501:
  11210     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  11211     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  11212 L_4000E506:
  11213     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  11214     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  11215     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11216     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11217     _flag_k = FK_CMP;
  11218     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  11219 L_4000E50E:
  11220     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  11221     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  11222 L_4000E513:
  11223     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  11224 L_4000E515:
  11225     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  11226     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  11227 L_4000E51B:
  11228     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  11229     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  11230     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  11231     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  11232     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  11233     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  11234     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  11235     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  11236     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  11237     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  11238     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  11239     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  11240     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11241     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11242     _flag_k = FK_CMP;
  11243     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  11244 L_4000E540:
  11245     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  11246 L_4000E543:
  11247     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  11248     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  11249     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  11250     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  11251     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11253     _flag_k = FK_CMP;
  11254     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  11255 L_4000E551:
  11256     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  11257     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  11258 L_4000E556:
  11259     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  11260     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  11261     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11262     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11263     _flag_k = FK_CMP;
  11264     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  11265 L_4000E55D:
  11266     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  11267     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  11268 L_4000E561:
  11269     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  11270 L_4000E564:
  11271     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  11272 L_4000E566:
  11273     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  11274 L_4000E569:
  11275     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  11276     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  11277     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11278     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11279     _flag_k = FK_CMP;
  11280     RECOMP_BACKEDGE();
  11281     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  11282 L_4000E575:
  11283     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  11284     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  11285     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  11286     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  11287     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  11288     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  11289     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  11290     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  11291     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  11292     esp = ebp; /* 0x4000E589: mov esp, ebp */
  11293     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  11294     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  11295     RECOMP_REGS_OUT();
  11296 }
  11297 
  11298 void sub_4000E515(void) {
  11299     int _fpu_cmp = 0;
  11300     uint32_t _cf = 0;
  11301     int _df = 1;
  11302     uint32_t _flag_k = FK_NONE;
  11303     uint32_t _flag_a = 0, _flag_b = 0;
  11304     uint32_t _itail_tgt = 0;
  11305     RECOMP_REGS_LOCALS
  11306     RECOMP_ENTER(0x4000E515u);
  11307 
  11308     goto L_4000E515;
  11309 L_4000E3F5:
  11310     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  11311     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  11312     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  11313     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11314     _cf = 0;
  11315     _flag_k = FK_NARROW(FK_TEST, 24);
  11316     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  11317 L_4000E403:
  11318     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  11319     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  11320     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  11321     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11322     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11323     _flag_k = FK_CMP;
  11324     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  11325 L_4000E410:
  11326     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  11327     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  11328     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11330     _flag_k = FK_NARROW(FK_CMP, 24);
  11331     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  11332 L_4000E419:
  11333     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  11334     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  11335     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  11336     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  11337     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  11338     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  11339     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  11340     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  11341 L_4000E434:
  11342     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  11343     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11345     _flag_k = FK_CMP;
  11346     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  11347 L_4000E439:
  11348     eax = ecx; /* 0x4000E439: mov eax, ecx */
  11349     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  11350     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  11351     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  11352     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  11353     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  11354     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11356     _flag_k = FK_CMP;
  11357     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  11358 L_4000E44A:
  11359     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  11360 L_4000E44D:
  11361     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  11362     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  11363     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  11364     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  11365     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11367     _flag_k = FK_CMP;
  11368     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  11369 L_4000E45B:
  11370     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  11371     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  11372 L_4000E460:
  11373     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  11374     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  11375     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11376     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11377     _flag_k = FK_CMP;
  11378     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  11379 L_4000E467:
  11380     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  11381     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  11382 L_4000E46B:
  11383     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  11384 L_4000E46E:
  11385     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  11386     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  11387 L_4000E473:
  11388     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  11389     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  11390     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  11391     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  11392     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  11393     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  11394     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  11395     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  11396     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  11397     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  11398     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  11399     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  11400     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11401     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11402     _flag_k = FK_CMP;
  11403     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  11404 L_4000E498:
  11405     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  11406 L_4000E49B:
  11407     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  11408     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  11409     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  11410     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  11411     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11412     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11413     _flag_k = FK_CMP;
  11414     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  11415 L_4000E4A9:
  11416     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  11417     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  11418     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  11419 L_4000E4B4:
  11420     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  11421     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  11422     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11423     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11424     _flag_k = FK_CMP;
  11425     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  11426 L_4000E4BC:
  11427     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  11428     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  11429     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  11430 L_4000E4C7:
  11431     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  11432     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  11433     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  11434 L_4000E4D1:
  11435     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  11436     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11438     _flag_k = FK_NARROW(FK_CMP, 24);
  11439     RECOMP_BACKEDGE();
  11440     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  11441 L_4000E4DB:
  11442     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  11443     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11444     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11445     _flag_k = FK_CMP;
  11446     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  11447 L_4000E4DF:
  11448     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  11449     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  11450     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  11451     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  11452     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  11453     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  11454     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11456     _flag_k = FK_CMP;
  11457     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  11458 L_4000E4F0:
  11459     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  11460 L_4000E4F3:
  11461     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  11462     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  11463     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  11464     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  11465     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11466     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11467     _flag_k = FK_CMP;
  11468     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  11469 L_4000E501:
  11470     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  11471     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  11472 L_4000E506:
  11473     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  11474     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  11475     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11477     _flag_k = FK_CMP;
  11478     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  11479 L_4000E50E:
  11480     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  11481     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  11482 L_4000E513:
  11483     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  11484 L_4000E515:
  11485     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  11486     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  11487 L_4000E51B:
  11488     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  11489     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  11490     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  11491     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  11492     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  11493     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  11494     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  11495     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  11496     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  11497     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  11498     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  11499     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  11500     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11502     _flag_k = FK_CMP;
  11503     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  11504 L_4000E540:
  11505     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  11506 L_4000E543:
  11507     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  11508     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  11509     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  11510     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  11511     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11513     _flag_k = FK_CMP;
  11514     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  11515 L_4000E551:
  11516     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  11517     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  11518 L_4000E556:
  11519     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  11520     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  11521     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11523     _flag_k = FK_CMP;
  11524     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  11525 L_4000E55D:
  11526     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  11527     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  11528 L_4000E561:
  11529     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  11530 L_4000E564:
  11531     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  11532 L_4000E566:
  11533     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  11534 L_4000E569:
  11535     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  11536     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  11537     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11538     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11539     _flag_k = FK_CMP;
  11540     RECOMP_BACKEDGE();
  11541     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  11542 L_4000E575:
  11543     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  11544     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  11545     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  11546     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  11547     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  11548     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  11549     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  11550     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  11551     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  11552     esp = ebp; /* 0x4000E589: mov esp, ebp */
  11553     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  11554     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  11555     RECOMP_REGS_OUT();
  11556 }
  11557 
  11558 void sub_4000E51B(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(0x4000E51Bu);
  11567 
  11568     goto L_4000E51B;
  11569 L_4000E3F5:
  11570     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  11571     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  11572     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  11573     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11574     _cf = 0;
  11575     _flag_k = FK_NARROW(FK_TEST, 24);
  11576     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  11577 L_4000E403:
  11578     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  11579     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  11580     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  11581     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11582     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11583     _flag_k = FK_CMP;
  11584     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  11585 L_4000E410:
  11586     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  11587     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  11588     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11590     _flag_k = FK_NARROW(FK_CMP, 24);
  11591     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  11592 L_4000E419:
  11593     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  11594     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  11595     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  11596     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  11597     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  11598     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  11599     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  11600     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  11601 L_4000E434:
  11602     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  11603     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11604     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11605     _flag_k = FK_CMP;
  11606     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  11607 L_4000E439:
  11608     eax = ecx; /* 0x4000E439: mov eax, ecx */
  11609     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  11610     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  11611     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  11612     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  11613     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  11614     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11616     _flag_k = FK_CMP;
  11617     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  11618 L_4000E44A:
  11619     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  11620 L_4000E44D:
  11621     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  11622     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  11623     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  11624     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  11625     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11626     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11627     _flag_k = FK_CMP;
  11628     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  11629 L_4000E45B:
  11630     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  11631     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  11632 L_4000E460:
  11633     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  11634     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  11635     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11636     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11637     _flag_k = FK_CMP;
  11638     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  11639 L_4000E467:
  11640     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  11641     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  11642 L_4000E46B:
  11643     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  11644 L_4000E46E:
  11645     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  11646     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  11647 L_4000E473:
  11648     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  11649     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  11650     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  11651     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  11652     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  11653     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  11654     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  11655     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  11656     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  11657     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  11658     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  11659     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  11660     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11661     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11662     _flag_k = FK_CMP;
  11663     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  11664 L_4000E498:
  11665     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  11666 L_4000E49B:
  11667     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  11668     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  11669     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  11670     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  11671     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11672     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11673     _flag_k = FK_CMP;
  11674     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  11675 L_4000E4A9:
  11676     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  11677     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  11678     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  11679 L_4000E4B4:
  11680     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  11681     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  11682     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11684     _flag_k = FK_CMP;
  11685     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  11686 L_4000E4BC:
  11687     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  11688     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  11689     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  11690 L_4000E4C7:
  11691     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  11692     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  11693     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  11694 L_4000E4D1:
  11695     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  11696     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11697     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11698     _flag_k = FK_NARROW(FK_CMP, 24);
  11699     RECOMP_BACKEDGE();
  11700     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  11701 L_4000E4DB:
  11702     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  11703     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11705     _flag_k = FK_CMP;
  11706     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  11707 L_4000E4DF:
  11708     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  11709     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  11710     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  11711     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  11712     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  11713     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  11714     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11716     _flag_k = FK_CMP;
  11717     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  11718 L_4000E4F0:
  11719     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  11720 L_4000E4F3:
  11721     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  11722     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  11723     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  11724     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  11725     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11727     _flag_k = FK_CMP;
  11728     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  11729 L_4000E501:
  11730     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  11731     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  11732 L_4000E506:
  11733     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  11734     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  11735     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11736     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11737     _flag_k = FK_CMP;
  11738     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  11739 L_4000E50E:
  11740     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  11741     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  11742 L_4000E513:
  11743     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  11744 L_4000E515:
  11745     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  11746     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  11747 L_4000E51B:
  11748     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  11749     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  11750     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  11751     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  11752     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  11753     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  11754     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  11755     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  11756     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  11757     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  11758     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  11759     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  11760     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11761     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11762     _flag_k = FK_CMP;
  11763     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  11764 L_4000E540:
  11765     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  11766 L_4000E543:
  11767     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  11768     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  11769     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  11770     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  11771     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11772     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11773     _flag_k = FK_CMP;
  11774     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  11775 L_4000E551:
  11776     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  11777     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  11778 L_4000E556:
  11779     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  11780     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  11781     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  11782     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11783     _flag_k = FK_CMP;
  11784     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  11785 L_4000E55D:
  11786     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  11787     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  11788 L_4000E561:
  11789     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  11790 L_4000E564:
  11791     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  11792 L_4000E566:
  11793     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  11794 L_4000E569:
  11795     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  11796     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  11797     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  11798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11799     _flag_k = FK_CMP;
  11800     RECOMP_BACKEDGE();
  11801     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  11802 L_4000E575:
  11803     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  11804     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  11805     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  11806     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  11807     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  11808     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  11809     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  11810     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  11811     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  11812     esp = ebp; /* 0x4000E589: mov esp, ebp */
  11813     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  11814     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  11815     RECOMP_REGS_OUT();
  11816 }
  11817 
  11818 void sub_4000E564(void) {
  11819     int _fpu_cmp = 0;
  11820     uint32_t _cf = 0;
  11821     int _df = 1;
  11822     uint32_t _flag_k = FK_NONE;
  11823     uint32_t _flag_a = 0, _flag_b = 0;
  11824     uint32_t _itail_tgt = 0;
  11825     RECOMP_REGS_LOCALS
  11826     RECOMP_ENTER(0x4000E564u);
  11827 
  11828     goto L_4000E564;
  11829 L_4000E3F5:
  11830     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  11831     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  11832     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  11833     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  11834     _cf = 0;
  11835     _flag_k = FK_NARROW(FK_TEST, 24);
  11836     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  11837 L_4000E403:
  11838     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  11839     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  11840     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  11841     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  11842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11843     _flag_k = FK_CMP;
  11844     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  11845 L_4000E410:
  11846     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  11847     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  11848     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11849     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11850     _flag_k = FK_NARROW(FK_CMP, 24);
  11851     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  11852 L_4000E419:
  11853     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  11854     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  11855     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  11856     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  11857     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  11858     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  11859     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  11860     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  11861 L_4000E434:
  11862     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  11863     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  11864     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11865     _flag_k = FK_CMP;
  11866     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  11867 L_4000E439:
  11868     eax = ecx; /* 0x4000E439: mov eax, ecx */
  11869     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  11870     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  11871     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  11872     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  11873     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  11874     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11876     _flag_k = FK_CMP;
  11877     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  11878 L_4000E44A:
  11879     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  11880 L_4000E44D:
  11881     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  11882     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  11883     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  11884     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  11885     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11886     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11887     _flag_k = FK_CMP;
  11888     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  11889 L_4000E45B:
  11890     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  11891     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  11892 L_4000E460:
  11893     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  11894     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  11895     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  11896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11897     _flag_k = FK_CMP;
  11898     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  11899 L_4000E467:
  11900     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  11901     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  11902 L_4000E46B:
  11903     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  11904 L_4000E46E:
  11905     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  11906     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  11907 L_4000E473:
  11908     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  11909     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  11910     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  11911     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  11912     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  11913     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  11914     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  11915     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  11916     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  11917     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  11918     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  11919     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  11920     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11922     _flag_k = FK_CMP;
  11923     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  11924 L_4000E498:
  11925     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  11926 L_4000E49B:
  11927     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  11928     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  11929     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  11930     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  11931     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  11932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11933     _flag_k = FK_CMP;
  11934     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  11935 L_4000E4A9:
  11936     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  11937     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  11938     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  11939 L_4000E4B4:
  11940     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  11941     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  11942     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  11943     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11944     _flag_k = FK_CMP;
  11945     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  11946 L_4000E4BC:
  11947     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  11948     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  11949     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  11950 L_4000E4C7:
  11951     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  11952     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  11953     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  11954 L_4000E4D1:
  11955     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  11956     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  11957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11958     _flag_k = FK_NARROW(FK_CMP, 24);
  11959     RECOMP_BACKEDGE();
  11960     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  11961 L_4000E4DB:
  11962     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  11963     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  11964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11965     _flag_k = FK_CMP;
  11966     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  11967 L_4000E4DF:
  11968     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  11969     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  11970     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  11971     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  11972     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  11973     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  11974     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  11975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11976     _flag_k = FK_CMP;
  11977     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  11978 L_4000E4F0:
  11979     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  11980 L_4000E4F3:
  11981     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  11982     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  11983     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  11984     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  11985     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  11986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11987     _flag_k = FK_CMP;
  11988     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  11989 L_4000E501:
  11990     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  11991     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  11992 L_4000E506:
  11993     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  11994     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  11995     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  11996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11997     _flag_k = FK_CMP;
  11998     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  11999 L_4000E50E:
  12000     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  12001     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  12002 L_4000E513:
  12003     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  12004 L_4000E515:
  12005     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  12006     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  12007 L_4000E51B:
  12008     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  12009     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  12010     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  12011     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  12012     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  12013     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  12014     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  12015     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  12016     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  12017     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  12018     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  12019     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  12020     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12021     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12022     _flag_k = FK_CMP;
  12023     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  12024 L_4000E540:
  12025     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  12026 L_4000E543:
  12027     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  12028     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  12029     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  12030     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  12031     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12032     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12033     _flag_k = FK_CMP;
  12034     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  12035 L_4000E551:
  12036     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  12037     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  12038 L_4000E556:
  12039     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  12040     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  12041     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12042     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12043     _flag_k = FK_CMP;
  12044     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  12045 L_4000E55D:
  12046     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  12047     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  12048 L_4000E561:
  12049     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  12050 L_4000E564:
  12051     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  12052 L_4000E566:
  12053     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  12054 L_4000E569:
  12055     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  12056     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  12057     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12059     _flag_k = FK_CMP;
  12060     RECOMP_BACKEDGE();
  12061     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  12062 L_4000E575:
  12063     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  12064     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  12065     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  12066     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  12067     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  12068     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  12069     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  12070     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  12071     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  12072     esp = ebp; /* 0x4000E589: mov esp, ebp */
  12073     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  12074     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  12075     RECOMP_REGS_OUT();
  12076 }
  12077 
  12078 void sub_4000E566(void) {
  12079     int _fpu_cmp = 0;
  12080     uint32_t _cf = 0;
  12081     int _df = 1;
  12082     uint32_t _flag_k = FK_NONE;
  12083     uint32_t _flag_a = 0, _flag_b = 0;
  12084     uint32_t _itail_tgt = 0;
  12085     RECOMP_REGS_LOCALS
  12086     RECOMP_ENTER(0x4000E566u);
  12087 
  12088     goto L_4000E566;
  12089 L_4000E3F5:
  12090     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  12091     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  12092     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  12093     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12094     _cf = 0;
  12095     _flag_k = FK_NARROW(FK_TEST, 24);
  12096     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  12097 L_4000E403:
  12098     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  12099     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  12100     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  12101     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12102     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12103     _flag_k = FK_CMP;
  12104     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  12105 L_4000E410:
  12106     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  12107     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  12108     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  12109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12110     _flag_k = FK_NARROW(FK_CMP, 24);
  12111     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  12112 L_4000E419:
  12113     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  12114     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  12115     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  12116     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  12117     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  12118     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  12119     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  12120     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  12121 L_4000E434:
  12122     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  12123     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  12124     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12125     _flag_k = FK_CMP;
  12126     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  12127 L_4000E439:
  12128     eax = ecx; /* 0x4000E439: mov eax, ecx */
  12129     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  12130     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  12131     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  12132     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  12133     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  12134     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12136     _flag_k = FK_CMP;
  12137     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  12138 L_4000E44A:
  12139     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  12140 L_4000E44D:
  12141     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  12142     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  12143     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  12144     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  12145     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12147     _flag_k = FK_CMP;
  12148     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  12149 L_4000E45B:
  12150     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  12151     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  12152 L_4000E460:
  12153     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  12154     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  12155     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  12156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12157     _flag_k = FK_CMP;
  12158     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  12159 L_4000E467:
  12160     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  12161     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  12162 L_4000E46B:
  12163     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  12164 L_4000E46E:
  12165     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  12166     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  12167 L_4000E473:
  12168     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  12169     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  12170     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  12171     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  12172     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  12173     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  12174     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  12175     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  12176     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  12177     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  12178     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  12179     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  12180     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12182     _flag_k = FK_CMP;
  12183     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  12184 L_4000E498:
  12185     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  12186 L_4000E49B:
  12187     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  12188     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  12189     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  12190     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  12191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12193     _flag_k = FK_CMP;
  12194     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  12195 L_4000E4A9:
  12196     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  12197     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  12198     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  12199 L_4000E4B4:
  12200     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  12201     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  12202     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12203     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12204     _flag_k = FK_CMP;
  12205     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  12206 L_4000E4BC:
  12207     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  12208     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  12209     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  12210 L_4000E4C7:
  12211     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  12212     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  12213     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  12214 L_4000E4D1:
  12215     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  12216     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  12217     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12218     _flag_k = FK_NARROW(FK_CMP, 24);
  12219     RECOMP_BACKEDGE();
  12220     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  12221 L_4000E4DB:
  12222     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  12223     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  12224     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12225     _flag_k = FK_CMP;
  12226     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  12227 L_4000E4DF:
  12228     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  12229     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  12230     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  12231     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  12232     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  12233     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  12234     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12236     _flag_k = FK_CMP;
  12237     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  12238 L_4000E4F0:
  12239     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  12240 L_4000E4F3:
  12241     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  12242     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  12243     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  12244     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  12245     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12246     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12247     _flag_k = FK_CMP;
  12248     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  12249 L_4000E501:
  12250     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  12251     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  12252 L_4000E506:
  12253     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  12254     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  12255     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  12256     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12257     _flag_k = FK_CMP;
  12258     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  12259 L_4000E50E:
  12260     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  12261     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  12262 L_4000E513:
  12263     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  12264 L_4000E515:
  12265     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  12266     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  12267 L_4000E51B:
  12268     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  12269     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  12270     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  12271     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  12272     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  12273     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  12274     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  12275     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  12276     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  12277     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  12278     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  12279     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  12280     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12282     _flag_k = FK_CMP;
  12283     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  12284 L_4000E540:
  12285     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  12286 L_4000E543:
  12287     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  12288     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  12289     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  12290     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  12291     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12293     _flag_k = FK_CMP;
  12294     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  12295 L_4000E551:
  12296     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  12297     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  12298 L_4000E556:
  12299     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  12300     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  12301     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12302     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12303     _flag_k = FK_CMP;
  12304     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  12305 L_4000E55D:
  12306     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  12307     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  12308 L_4000E561:
  12309     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  12310 L_4000E564:
  12311     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  12312 L_4000E566:
  12313     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  12314 L_4000E569:
  12315     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  12316     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  12317     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12318     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12319     _flag_k = FK_CMP;
  12320     RECOMP_BACKEDGE();
  12321     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  12322 L_4000E575:
  12323     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  12324     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  12325     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  12326     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  12327     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  12328     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  12329     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  12330     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  12331     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  12332     esp = ebp; /* 0x4000E589: mov esp, ebp */
  12333     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  12334     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  12335     RECOMP_REGS_OUT();
  12336 }
  12337 
  12338 void sub_4000E569(void) {
  12339     int _fpu_cmp = 0;
  12340     uint32_t _cf = 0;
  12341     int _df = 1;
  12342     uint32_t _flag_k = FK_NONE;
  12343     uint32_t _flag_a = 0, _flag_b = 0;
  12344     uint32_t _itail_tgt = 0;
  12345     RECOMP_REGS_LOCALS
  12346     RECOMP_ENTER(0x4000E569u);
  12347 
  12348     goto L_4000E569;
  12349 L_4000E3F5:
  12350     ecx = MEM32(eax + 0x4); /* 0x4000E3F5: mov ecx, dword ptr [eax + 4] */
  12351     SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x4000E3F8: mov dl, byte ptr [ecx + 0x18] */
  12352     /* test LO8(edx), LO8(edx) */ /* 0x4000E3FB: test dl, dl */
  12353     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12354     _cf = 0;
  12355     _flag_k = FK_NARROW(FK_TEST, 24);
  12356     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E575; /* 0x4000E3FD: jne 0x4000e575 */
  12357 L_4000E403:
  12358     edi = MEM32(ecx + 0x4); /* 0x4000E403: mov edi, dword ptr [ecx + 4] */
  12359     edx = MEM32(edi); /* 0x4000E406: mov edx, dword ptr [edi] */
  12360     /* cmp ecx, edx */ /* 0x4000E408: cmp ecx, edx */
  12361     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12362     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12363     _flag_k = FK_CMP;
  12364     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4D1; /* 0x4000E40A: jne 0x4000e4d1 */
  12365 L_4000E410:
  12366     edx = MEM32(edi + 0x8); /* 0x4000E410: mov edx, dword ptr [edi + 8] */
  12367     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E413: cmp byte ptr [edx + 0x18], 0 */
  12368     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  12369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12370     _flag_k = FK_NARROW(FK_CMP, 24);
  12371     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E434; /* 0x4000E417: jne 0x4000e434 */
  12372 L_4000E419:
  12373     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E419: mov byte ptr [ecx + 0x18], bl */
  12374     MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E41C: mov byte ptr [edx + 0x18], bl */
  12375     ecx = MEM32(eax + 0x4); /* 0x4000E41F: mov ecx, dword ptr [eax + 4] */
  12376     edx = MEM32(ecx + 0x4); /* 0x4000E422: mov edx, dword ptr [ecx + 4] */
  12377     MEM8(edx + 0x18) = (uint8_t)(0); /* 0x4000E425: mov byte ptr [edx + 0x18], 0 */
  12378     eax = MEM32(eax + 0x4); /* 0x4000E429: mov eax, dword ptr [eax + 4] */
  12379     eax = MEM32(eax + 0x4); /* 0x4000E42C: mov eax, dword ptr [eax + 4] */
  12380     goto L_4000E569; /* 0x4000E42F: jmp 0x4000e569 */
  12381 L_4000E434:
  12382     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E434: cmp eax, dword ptr [ecx + 8] */
  12383     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  12384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12385     _flag_k = FK_CMP;
  12386     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E473; /* 0x4000E437: jne 0x4000e473 */
  12387 L_4000E439:
  12388     eax = ecx; /* 0x4000E439: mov eax, ecx */
  12389     ecx = MEM32(eax + 0x8); /* 0x4000E43B: mov ecx, dword ptr [eax + 8] */
  12390     edx = MEM32(ecx); /* 0x4000E43E: mov edx, dword ptr [ecx] */
  12391     MEM32(eax + 0x8) = edx; /* 0x4000E440: mov dword ptr [eax + 8], edx */
  12392     edx = MEM32(ecx); /* 0x4000E443: mov edx, dword ptr [ecx] */
  12393     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E445: cmp edx, dword ptr [esi + 8] */
  12394     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12396     _flag_k = FK_CMP;
  12397     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E44D; /* 0x4000E448: je 0x4000e44d */
  12398 L_4000E44A:
  12399     MEM32(edx + 0x4) = eax; /* 0x4000E44A: mov dword ptr [edx + 4], eax */
  12400 L_4000E44D:
  12401     edx = MEM32(eax + 0x4); /* 0x4000E44D: mov edx, dword ptr [eax + 4] */
  12402     MEM32(ecx + 0x4) = edx; /* 0x4000E450: mov dword ptr [ecx + 4], edx */
  12403     edx = MEM32(esi + 0x4); /* 0x4000E453: mov edx, dword ptr [esi + 4] */
  12404     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E456: cmp eax, dword ptr [edx + 4] */
  12405     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12407     _flag_k = FK_CMP;
  12408     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E460; /* 0x4000E459: jne 0x4000e460 */
  12409 L_4000E45B:
  12410     MEM32(edx + 0x4) = ecx; /* 0x4000E45B: mov dword ptr [edx + 4], ecx */
  12411     goto L_4000E46E; /* 0x4000E45E: jmp 0x4000e46e */
  12412 L_4000E460:
  12413     edx = MEM32(eax + 0x4); /* 0x4000E460: mov edx, dword ptr [eax + 4] */
  12414     /* cmp eax, MEM32(edx) */ /* 0x4000E463: cmp eax, dword ptr [edx] */
  12415     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  12416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12417     _flag_k = FK_CMP;
  12418     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E46B; /* 0x4000E465: jne 0x4000e46b */
  12419 L_4000E467:
  12420     MEM32(edx) = ecx; /* 0x4000E467: mov dword ptr [edx], ecx */
  12421     goto L_4000E46E; /* 0x4000E469: jmp 0x4000e46e */
  12422 L_4000E46B:
  12423     MEM32(edx + 0x8) = ecx; /* 0x4000E46B: mov dword ptr [edx + 8], ecx */
  12424 L_4000E46E:
  12425     MEM32(ecx) = eax; /* 0x4000E46E: mov dword ptr [ecx], eax */
  12426     MEM32(eax + 0x4) = ecx; /* 0x4000E470: mov dword ptr [eax + 4], ecx */
  12427 L_4000E473:
  12428     ecx = MEM32(eax + 0x4); /* 0x4000E473: mov ecx, dword ptr [eax + 4] */
  12429     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E476: mov byte ptr [ecx + 0x18], bl */
  12430     edx = MEM32(eax + 0x4); /* 0x4000E479: mov edx, dword ptr [eax + 4] */
  12431     ecx = MEM32(edx + 0x4); /* 0x4000E47C: mov ecx, dword ptr [edx + 4] */
  12432     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E47F: mov byte ptr [ecx + 0x18], 0 */
  12433     edx = MEM32(eax + 0x4); /* 0x4000E483: mov edx, dword ptr [eax + 4] */
  12434     ecx = MEM32(edx + 0x4); /* 0x4000E486: mov ecx, dword ptr [edx + 4] */
  12435     edx = MEM32(ecx); /* 0x4000E489: mov edx, dword ptr [ecx] */
  12436     edi = MEM32(edx + 0x8); /* 0x4000E48B: mov edi, dword ptr [edx + 8] */
  12437     MEM32(ecx) = edi; /* 0x4000E48E: mov dword ptr [ecx], edi */
  12438     edi = MEM32(edx + 0x8); /* 0x4000E490: mov edi, dword ptr [edx + 8] */
  12439     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E493: cmp edi, dword ptr [esi + 8] */
  12440     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12442     _flag_k = FK_CMP;
  12443     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E49B; /* 0x4000E496: je 0x4000e49b */
  12444 L_4000E498:
  12445     MEM32(edi + 0x4) = ecx; /* 0x4000E498: mov dword ptr [edi + 4], ecx */
  12446 L_4000E49B:
  12447     edi = MEM32(ecx + 0x4); /* 0x4000E49B: mov edi, dword ptr [ecx + 4] */
  12448     MEM32(edx + 0x4) = edi; /* 0x4000E49E: mov dword ptr [edx + 4], edi */
  12449     edi = MEM32(esi + 0x4); /* 0x4000E4A1: mov edi, dword ptr [esi + 4] */
  12450     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E4A4: cmp ecx, dword ptr [edi + 4] */
  12451     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12453     _flag_k = FK_CMP;
  12454     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4B4; /* 0x4000E4A7: jne 0x4000e4b4 */
  12455 L_4000E4A9:
  12456     MEM32(edi + 0x4) = edx; /* 0x4000E4A9: mov dword ptr [edi + 4], edx */
  12457     MEM32(edx + 0x8) = ecx; /* 0x4000E4AC: mov dword ptr [edx + 8], ecx */
  12458     goto L_4000E566; /* 0x4000E4AF: jmp 0x4000e566 */
  12459 L_4000E4B4:
  12460     edi = MEM32(ecx + 0x4); /* 0x4000E4B4: mov edi, dword ptr [ecx + 4] */
  12461     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E4B7: cmp ecx, dword ptr [edi + 8] */
  12462     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12463     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12464     _flag_k = FK_CMP;
  12465     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E4C7; /* 0x4000E4BA: jne 0x4000e4c7 */
  12466 L_4000E4BC:
  12467     MEM32(edi + 0x8) = edx; /* 0x4000E4BC: mov dword ptr [edi + 8], edx */
  12468     MEM32(edx + 0x8) = ecx; /* 0x4000E4BF: mov dword ptr [edx + 8], ecx */
  12469     goto L_4000E566; /* 0x4000E4C2: jmp 0x4000e566 */
  12470 L_4000E4C7:
  12471     MEM32(edi) = edx; /* 0x4000E4C7: mov dword ptr [edi], edx */
  12472     MEM32(edx + 0x8) = ecx; /* 0x4000E4C9: mov dword ptr [edx + 8], ecx */
  12473     goto L_4000E566; /* 0x4000E4CC: jmp 0x4000e566 */
  12474 L_4000E4D1:
  12475     /* cmp MEM8(edx + 0x18), 0 */ /* 0x4000E4D1: cmp byte ptr [edx + 0x18], 0 */
  12476     _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24;
  12477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12478     _flag_k = FK_NARROW(FK_CMP, 24);
  12479     RECOMP_BACKEDGE();
  12480     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E419; /* 0x4000E4D5: je 0x4000e419 */
  12481 L_4000E4DB:
  12482     /* cmp eax, MEM32(ecx) */ /* 0x4000E4DB: cmp eax, dword ptr [ecx] */
  12483     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  12484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12485     _flag_k = FK_CMP;
  12486     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E51B; /* 0x4000E4DD: jne 0x4000e51b */
  12487 L_4000E4DF:
  12488     eax = ecx; /* 0x4000E4DF: mov eax, ecx */
  12489     ecx = MEM32(eax); /* 0x4000E4E1: mov ecx, dword ptr [eax] */
  12490     edx = MEM32(ecx + 0x8); /* 0x4000E4E3: mov edx, dword ptr [ecx + 8] */
  12491     MEM32(eax) = edx; /* 0x4000E4E6: mov dword ptr [eax], edx */
  12492     edx = MEM32(ecx + 0x8); /* 0x4000E4E8: mov edx, dword ptr [ecx + 8] */
  12493     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E4EB: cmp edx, dword ptr [esi + 8] */
  12494     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12496     _flag_k = FK_CMP;
  12497     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E4F3; /* 0x4000E4EE: je 0x4000e4f3 */
  12498 L_4000E4F0:
  12499     MEM32(edx + 0x4) = eax; /* 0x4000E4F0: mov dword ptr [edx + 4], eax */
  12500 L_4000E4F3:
  12501     edx = MEM32(eax + 0x4); /* 0x4000E4F3: mov edx, dword ptr [eax + 4] */
  12502     MEM32(ecx + 0x4) = edx; /* 0x4000E4F6: mov dword ptr [ecx + 4], edx */
  12503     edx = MEM32(esi + 0x4); /* 0x4000E4F9: mov edx, dword ptr [esi + 4] */
  12504     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E4FC: cmp eax, dword ptr [edx + 4] */
  12505     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12507     _flag_k = FK_CMP;
  12508     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E506; /* 0x4000E4FF: jne 0x4000e506 */
  12509 L_4000E501:
  12510     MEM32(edx + 0x4) = ecx; /* 0x4000E501: mov dword ptr [edx + 4], ecx */
  12511     goto L_4000E515; /* 0x4000E504: jmp 0x4000e515 */
  12512 L_4000E506:
  12513     edx = MEM32(eax + 0x4); /* 0x4000E506: mov edx, dword ptr [eax + 4] */
  12514     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E509: cmp eax, dword ptr [edx + 8] */
  12515     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  12516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12517     _flag_k = FK_CMP;
  12518     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E513; /* 0x4000E50C: jne 0x4000e513 */
  12519 L_4000E50E:
  12520     MEM32(edx + 0x8) = ecx; /* 0x4000E50E: mov dword ptr [edx + 8], ecx */
  12521     goto L_4000E515; /* 0x4000E511: jmp 0x4000e515 */
  12522 L_4000E513:
  12523     MEM32(edx) = ecx; /* 0x4000E513: mov dword ptr [edx], ecx */
  12524 L_4000E515:
  12525     MEM32(ecx + 0x8) = eax; /* 0x4000E515: mov dword ptr [ecx + 8], eax */
  12526     MEM32(eax + 0x4) = ecx; /* 0x4000E518: mov dword ptr [eax + 4], ecx */
  12527 L_4000E51B:
  12528     ecx = MEM32(eax + 0x4); /* 0x4000E51B: mov ecx, dword ptr [eax + 4] */
  12529     MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E51E: mov byte ptr [ecx + 0x18], bl */
  12530     edx = MEM32(eax + 0x4); /* 0x4000E521: mov edx, dword ptr [eax + 4] */
  12531     ecx = MEM32(edx + 0x4); /* 0x4000E524: mov ecx, dword ptr [edx + 4] */
  12532     MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x4000E527: mov byte ptr [ecx + 0x18], 0 */
  12533     edx = MEM32(eax + 0x4); /* 0x4000E52B: mov edx, dword ptr [eax + 4] */
  12534     ecx = MEM32(edx + 0x4); /* 0x4000E52E: mov ecx, dword ptr [edx + 4] */
  12535     edx = MEM32(ecx + 0x8); /* 0x4000E531: mov edx, dword ptr [ecx + 8] */
  12536     edi = MEM32(edx); /* 0x4000E534: mov edi, dword ptr [edx] */
  12537     MEM32(ecx + 0x8) = edi; /* 0x4000E536: mov dword ptr [ecx + 8], edi */
  12538     edi = MEM32(edx); /* 0x4000E539: mov edi, dword ptr [edx] */
  12539     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E53B: cmp edi, dword ptr [esi + 8] */
  12540     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12541     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12542     _flag_k = FK_CMP;
  12543     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E543; /* 0x4000E53E: je 0x4000e543 */
  12544 L_4000E540:
  12545     MEM32(edi + 0x4) = ecx; /* 0x4000E540: mov dword ptr [edi + 4], ecx */
  12546 L_4000E543:
  12547     edi = MEM32(ecx + 0x4); /* 0x4000E543: mov edi, dword ptr [ecx + 4] */
  12548     MEM32(edx + 0x4) = edi; /* 0x4000E546: mov dword ptr [edx + 4], edi */
  12549     edi = MEM32(esi + 0x4); /* 0x4000E549: mov edi, dword ptr [esi + 4] */
  12550     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E54C: cmp ecx, dword ptr [edi + 4] */
  12551     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12552     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12553     _flag_k = FK_CMP;
  12554     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E556; /* 0x4000E54F: jne 0x4000e556 */
  12555 L_4000E551:
  12556     MEM32(edi + 0x4) = edx; /* 0x4000E551: mov dword ptr [edi + 4], edx */
  12557     goto L_4000E564; /* 0x4000E554: jmp 0x4000e564 */
  12558 L_4000E556:
  12559     edi = MEM32(ecx + 0x4); /* 0x4000E556: mov edi, dword ptr [ecx + 4] */
  12560     /* cmp ecx, MEM32(edi) */ /* 0x4000E559: cmp ecx, dword ptr [edi] */
  12561     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  12562     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12563     _flag_k = FK_CMP;
  12564     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E561; /* 0x4000E55B: jne 0x4000e561 */
  12565 L_4000E55D:
  12566     MEM32(edi) = edx; /* 0x4000E55D: mov dword ptr [edi], edx */
  12567     goto L_4000E564; /* 0x4000E55F: jmp 0x4000e564 */
  12568 L_4000E561:
  12569     MEM32(edi + 0x8) = edx; /* 0x4000E561: mov dword ptr [edi + 8], edx */
  12570 L_4000E564:
  12571     MEM32(edx) = ecx; /* 0x4000E564: mov dword ptr [edx], ecx */
  12572 L_4000E566:
  12573     MEM32(ecx + 0x4) = edx; /* 0x4000E566: mov dword ptr [ecx + 4], edx */
  12574 L_4000E569:
  12575     ecx = MEM32(esi + 0x4); /* 0x4000E569: mov ecx, dword ptr [esi + 4] */
  12576     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E56C: cmp eax, dword ptr [ecx + 4] */
  12577     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  12578     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12579     _flag_k = FK_CMP;
  12580     RECOMP_BACKEDGE();
  12581     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E3F5; /* 0x4000E56F: jne 0x4000e3f5 */
  12582 L_4000E575:
  12583     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  12584     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  12585     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  12586     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  12587     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  12588     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  12589     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  12590     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  12591     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  12592     esp = ebp; /* 0x4000E589: mov esp, ebp */
  12593     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  12594     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  12595     RECOMP_REGS_OUT();
  12596 }
  12597 
  12598 void sub_4000E575(void) {
  12599     int _fpu_cmp = 0;
  12600     uint32_t _cf = 0;
  12601     int _df = 1;
  12602     uint32_t _flag_k = FK_NONE;
  12603     uint32_t _flag_a = 0, _flag_b = 0;
  12604     uint32_t _itail_tgt = 0;
  12605     RECOMP_REGS_LOCALS
  12606     RECOMP_ENTER(0x4000E575u);
  12607 
  12608 L_4000E575:
  12609     edx = MEM32(esi + 0x4); /* 0x4000E575: mov edx, dword ptr [esi + 4] */
  12610     eax = MEM32(edx + 0x4); /* 0x4000E578: mov eax, dword ptr [edx + 4] */
  12611     ecx = MEM32(ebp + (-0x4)); /* 0x4000E57B: mov ecx, dword ptr [ebp - 4] */
  12612     MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x4000E57E: mov byte ptr [eax + 0x18], bl */
  12613     eax = MEM32(ebp + 0x8); /* 0x4000E581: mov eax, dword ptr [ebp + 8] */
  12614     edi = POP32_VAL(esp); /* 0x4000E584: pop edi */
  12615     esi = POP32_VAL(esp); /* 0x4000E585: pop esi */
  12616     MEM32(eax) = ecx; /* 0x4000E586: mov dword ptr [eax], ecx */
  12617     ebx = POP32_VAL(esp); /* 0x4000E588: pop ebx */
  12618     esp = ebp; /* 0x4000E589: mov esp, ebp */
  12619     ebp = POP32_VAL(esp); /* 0x4000E58B: pop ebp */
  12620     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E58C: ret 0x10 */
  12621     RECOMP_REGS_OUT();
  12622 }
  12623 
  12624 void sub_4000E590(void) {
  12625     int _fpu_cmp = 0;
  12626     uint32_t _cf = 0;
  12627     int _df = 1;
  12628     uint32_t _flag_k = FK_NONE;
  12629     uint32_t _flag_a = 0, _flag_b = 0;
  12630     uint32_t _itail_tgt = 0;
  12631     RECOMP_REGS_LOCALS
  12632     RECOMP_ENTER(0x4000E590u);
  12633 
  12634 L_4000E590:
  12635     PUSH32(esp, ebp); /* 0x4000E590: push ebp */
  12636     ebp = esp; /* 0x4000E591: mov ebp, esp */
  12637     eax = MEM32(ecx + 0x4); /* 0x4000E593: mov eax, dword ptr [ecx + 4] */
  12638     edx = MEM32(eax + 0x4); /* 0x4000E596: mov edx, dword ptr [eax + 4] */
  12639     PUSH32(esp, edi); /* 0x4000E599: push edi */
  12640     edi = MEM32(ecx + 0x8); /* 0x4000E59A: mov edi, dword ptr [ecx + 8] */
  12641     /* cmp edx, edi */ /* 0x4000E59D: cmp edx, edi */
  12642     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  12643     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12644     _flag_k = FK_CMP;
  12645     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E5D0; /* 0x4000E59F: je 0x4000e5d0 */
  12646 L_4000E5A1:
  12647     PUSH32(esp, ebx); /* 0x4000E5A1: push ebx */
  12648     ebx = MEM32(ebp + 0x8); /* 0x4000E5A2: mov ebx, dword ptr [ebp + 8] */
  12649     PUSH32(esp, esi); /* 0x4000E5A5: push esi */
  12650     esi = MEM32(ebx); /* 0x4000E5A6: mov esi, dword ptr [ebx] */
  12651 L_4000E5A8:
  12652     ecx = MEM32(edx + 0xC); /* 0x4000E5A8: mov ecx, dword ptr [edx + 0xc] */
  12653     /* cmp ecx, esi */ /* 0x4000E5AB: cmp ecx, esi */
  12654     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
  12655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12656     _flag_k = FK_CMP;
  12657     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E5BA; /* 0x4000E5AD: jne 0x4000e5ba */
  12658 L_4000E5AF:
  12659     ecx = MEM32(edx + 0x10); /* 0x4000E5AF: mov ecx, dword ptr [edx + 0x10] */
  12660     /* cmp ecx, MEM32(ebx + 0x4) */ /* 0x4000E5B2: cmp ecx, dword ptr [ebx + 4] */
  12661     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebx + 0x4));
  12662     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12663     _flag_k = FK_CMP;
  12664     SET_LO8(ecx, (CMP_B(_flag_a, _flag_b)) ? 1 : 0); /* 0x4000E5B5: setb cl */
  12665     goto L_4000E5BD; /* 0x4000E5B8: jmp 0x4000e5bd */
  12666 L_4000E5BA:
  12667     SET_LO8(ecx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_L, _cf)) ? 1 : 0); /* 0x4000E5BA: setl cl */
  12668 L_4000E5BD:
  12669     /* test LO8(ecx), LO8(ecx) */ /* 0x4000E5BD: test cl, cl */
  12670     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
  12671     _cf = 0;
  12672     _flag_k = FK_NARROW(FK_TEST, 24);
  12673     if (TEST_Z(_flag_a, _flag_b)) goto L_4000E5C6; /* 0x4000E5BF: je 0x4000e5c6 */
  12674 L_4000E5C1:
  12675     edx = MEM32(edx + 0x8); /* 0x4000E5C1: mov edx, dword ptr [edx + 8] */
  12676     goto L_4000E5CA; /* 0x4000E5C4: jmp 0x4000e5ca */
  12677 L_4000E5C6:
  12678     eax = edx; /* 0x4000E5C6: mov eax, edx */
  12679     edx = MEM32(edx); /* 0x4000E5C8: mov edx, dword ptr [edx] */
  12680 L_4000E5CA:
  12681     /* cmp edx, edi */ /* 0x4000E5CA: cmp edx, edi */
  12682     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
  12683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12684     _flag_k = FK_CMP;
  12685     RECOMP_BACKEDGE();
  12686     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E5A8; /* 0x4000E5CC: jne 0x4000e5a8 */
  12687 L_4000E5CE:
  12688     esi = POP32_VAL(esp); /* 0x4000E5CE: pop esi */
  12689     ebx = POP32_VAL(esp); /* 0x4000E5CF: pop ebx */
  12690 L_4000E5D0:
  12691     edi = POP32_VAL(esp); /* 0x4000E5D0: pop edi */
  12692     ebp = POP32_VAL(esp); /* 0x4000E5D1: pop ebp */
  12693     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000E5D2: ret 4 */
  12694     RECOMP_REGS_OUT();
  12695 }
  12696 
  12697 void sub_4000E5E0(void) {
  12698     int _fpu_cmp = 0;
  12699     uint32_t _cf = 0;
  12700     int _df = 1;
  12701     uint32_t _flag_k = FK_NONE;
  12702     uint32_t _flag_a = 0, _flag_b = 0;
  12703     uint32_t _itail_tgt = 0;
  12704     RECOMP_REGS_LOCALS
  12705     RECOMP_ENTER(0x4000E5E0u);
  12706 
  12707 L_4000E5E0:
  12708     PUSH32(esp, ebp); /* 0x4000E5E0: push ebp */
  12709     ebp = esp; /* 0x4000E5E1: mov ebp, esp */
  12710     eax = MEM32(ecx + 0x4); /* 0x4000E5E3: mov eax, dword ptr [ecx + 4] */
  12711     edx = MEM32(eax + 0x4); /* 0x4000E5E6: mov edx, dword ptr [eax + 4] */
  12712     ecx = MEM32(ecx + 0x8); /* 0x4000E5E9: mov ecx, dword ptr [ecx + 8] */
  12713     /* cmp edx, ecx */ /* 0x4000E5EC: cmp edx, ecx */
  12714     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  12715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12716     _flag_k = FK_CMP;
  12717     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E609; /* 0x4000E5EE: je 0x4000e609 */
  12718 L_4000E5F0:
  12719     PUSH32(esp, esi); /* 0x4000E5F0: push esi */
  12720     esi = MEM32(ebp + 0x8); /* 0x4000E5F1: mov esi, dword ptr [ebp + 8] */
  12721     esi = MEM32(esi); /* 0x4000E5F4: mov esi, dword ptr [esi] */
  12722 L_4000E5F6:
  12723     /* cmp MEM32(edx + 0xC), esi */ /* 0x4000E5F6: cmp dword ptr [edx + 0xc], esi */
  12724     _flag_a = (uint32_t)(MEM32(edx + 0xC)); _flag_b = (uint32_t)(esi);
  12725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12726     _flag_k = FK_CMP;
  12727     if (CMP_GE(_flag_a, _flag_b)) goto L_4000E600; /* 0x4000E5F9: jge 0x4000e600 */
  12728 L_4000E5FB:
  12729     edx = MEM32(edx + 0x8); /* 0x4000E5FB: mov edx, dword ptr [edx + 8] */
  12730     goto L_4000E604; /* 0x4000E5FE: jmp 0x4000e604 */
  12731 L_4000E600:
  12732     eax = edx; /* 0x4000E600: mov eax, edx */
  12733     edx = MEM32(edx); /* 0x4000E602: mov edx, dword ptr [edx] */
  12734 L_4000E604:
  12735     /* cmp edx, ecx */ /* 0x4000E604: cmp edx, ecx */
  12736     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
  12737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12738     _flag_k = FK_CMP;
  12739     RECOMP_BACKEDGE();
  12740     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E5F6; /* 0x4000E606: jne 0x4000e5f6 */
  12741 L_4000E608:
  12742     esi = POP32_VAL(esp); /* 0x4000E608: pop esi */
  12743 L_4000E609:
  12744     ebp = POP32_VAL(esp); /* 0x4000E609: pop ebp */
  12745     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4000E60A: ret 4 */
  12746     RECOMP_REGS_OUT();
  12747 }
  12748 
  12749 void sub_4000E610(void) {
  12750     int _fpu_cmp = 0;
  12751     uint32_t _cf = 0;
  12752     int _df = 1;
  12753     uint32_t _flag_k = FK_NONE;
  12754     uint32_t _flag_a = 0, _flag_b = 0;
  12755     uint32_t _itail_tgt = 0;
  12756     RECOMP_REGS_LOCALS
  12757     RECOMP_ENTER(0x4000E610u);
  12758 
  12759 L_4000E610:
  12760     PUSH32(esp, ebp); /* 0x4000E610: push ebp */
  12761     ebp = esp; /* 0x4000E611: mov ebp, esp */
  12762     PUSH32(esp, ecx); /* 0x4000E613: push ecx */
  12763     PUSH32(esp, ebx); /* 0x4000E614: push ebx */
  12764     PUSH32(esp, esi); /* 0x4000E615: push esi */
  12765     PUSH32(esp, edi); /* 0x4000E616: push edi */
  12766     PUSH32(esp, 0x20u); /* 0x4000E617: push 0x20 */
  12767     esi = ecx; /* 0x4000E619: mov esi, ecx */
  12768     RECOMP_ICALL(0x40014704u); /* 0x4000E61B: call 0x40014704 */ /* not lifted */
  12769     RECOMP_FLAGS_IN();
  12770     edi = MEM32(ebp + 0x10); /* 0x4000E620: mov edi, dword ptr [ebp + 0x10] */
  12771     ebx = MEM32(ebp + 0x14); /* 0x4000E623: mov ebx, dword ptr [ebp + 0x14] */
  12772     MEM32(eax + 0x4) = edi; /* 0x4000E626: mov dword ptr [eax + 4], edi */
  12773     MEM8(eax + 0x1C) = (uint8_t)(0); /* 0x4000E629: mov byte ptr [eax + 0x1c], 0 */
  12774     MEM8(eax + 0x1D) = (uint8_t)(0); /* 0x4000E62D: mov byte ptr [eax + 0x1d], 0 */
  12775     ecx = MEM32(esi + 0x8); /* 0x4000E631: mov ecx, dword ptr [esi + 8] */
  12776     MEM32(eax) = ecx; /* 0x4000E634: mov dword ptr [eax], ecx */
  12777     edx = MEM32(esi + 0x8); /* 0x4000E636: mov edx, dword ptr [esi + 8] */
  12778     MEM32(ebp + (-0x4)) = eax; /* 0x4000E639: mov dword ptr [ebp - 4], eax */
  12779     MEM32(eax + 0x8) = edx; /* 0x4000E63C: mov dword ptr [eax + 8], edx */
  12780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  12781     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12782     eax = eax + 0xCu; /* 0x4000E63F: add eax, 0xc */
  12783     _flag_k = FK_ADD;
  12784     PUSH32(esp, ebx); /* 0x4000E642: push ebx */
  12785     PUSH32(esp, eax); /* 0x4000E643: push eax */
  12786     RECOMP_ICALL(0x4000FC10u); /* 0x4000E644: call 0x4000fc10 */ /* not lifted */
  12787     RECOMP_FLAGS_IN();
  12788     ecx = MEM32(esi + 0x10); /* 0x4000E649: mov ecx, dword ptr [esi + 0x10] */
  12789     eax = MEM32(esi + 0x4); /* 0x4000E64C: mov eax, dword ptr [esi + 4] */
  12790     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  12791     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12792     esp = esp + 0xCu; /* 0x4000E64F: add esp, 0xc */
  12793     _flag_k = FK_ADD;
  12794     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  12795     ecx = ecx + 1; /* 0x4000E652: inc ecx */
  12796     _flag_k = FK_INC;
  12797     /* cmp edi, eax */ /* 0x4000E653: cmp edi, eax */
  12798     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  12799     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12800     _flag_k = FK_CMP;
  12801     MEM32(esi + 0x10) = ecx; /* 0x4000E655: mov dword ptr [esi + 0x10], ecx */
  12802     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E684; /* 0x4000E658: je 0x4000e684 */
  12803 L_4000E65A:
  12804     eax = MEM32(ebp + 0xC); /* 0x4000E65A: mov eax, dword ptr [ebp + 0xc] */
  12805     /* cmp eax, MEM32(esi + 0x8) */ /* 0x4000E65D: cmp eax, dword ptr [esi + 8] */
  12806     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12807     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12808     _flag_k = FK_CMP;
  12809     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E684; /* 0x4000E660: jne 0x4000e684 */
  12810 L_4000E662:
  12811     ecx = edi + 0xC; /* 0x4000E662: lea ecx, [edi + 0xc] */
  12812     PUSH32(esp, ecx); /* 0x4000E665: push ecx */
  12813     ecx = ebx; /* 0x4000E666: mov ecx, ebx */
  12814     RECOMP_ICALL(0x400015C0u); /* 0x4000E668: call 0x400015c0 */ /* not lifted */
  12815     RECOMP_FLAGS_IN();
  12816     /* test LO8(eax), LO8(eax) */ /* 0x4000E66D: test al, al */
  12817     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12818     _cf = 0;
  12819     _flag_k = FK_NARROW(FK_TEST, 24);
  12820     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E684; /* 0x4000E66F: jne 0x4000e684 */
  12821 L_4000E671:
  12822     ecx = MEM32(ebp + (-0x4)); /* 0x4000E671: mov ecx, dword ptr [ebp - 4] */
  12823     MEM32(edi + 0x8) = ecx; /* 0x4000E674: mov dword ptr [edi + 8], ecx */
  12824     eax = MEM32(esi + 0x4); /* 0x4000E677: mov eax, dword ptr [esi + 4] */
  12825     /* cmp edi, MEM32(eax + 0x8) */ /* 0x4000E67A: cmp edi, dword ptr [eax + 8] */
  12826     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  12827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12828     _flag_k = FK_CMP;
  12829     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6A4; /* 0x4000E67D: jne 0x4000e6a4 */
  12830 L_4000E67F:
  12831     MEM32(eax + 0x8) = ecx; /* 0x4000E67F: mov dword ptr [eax + 8], ecx */
  12832     goto L_4000E6A4; /* 0x4000E682: jmp 0x4000e6a4 */
  12833 L_4000E684:
  12834     ecx = MEM32(ebp + (-0x4)); /* 0x4000E684: mov ecx, dword ptr [ebp - 4] */
  12835     MEM32(edi) = ecx; /* 0x4000E687: mov dword ptr [edi], ecx */
  12836     eax = MEM32(esi + 0x4); /* 0x4000E689: mov eax, dword ptr [esi + 4] */
  12837     /* cmp edi, eax */ /* 0x4000E68C: cmp edi, eax */
  12838     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  12839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12840     _flag_k = FK_CMP;
  12841     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E69B; /* 0x4000E68E: jne 0x4000e69b */
  12842 L_4000E690:
  12843     MEM32(eax + 0x4) = ecx; /* 0x4000E690: mov dword ptr [eax + 4], ecx */
  12844     edx = MEM32(esi + 0x4); /* 0x4000E693: mov edx, dword ptr [esi + 4] */
  12845     MEM32(edx + 0x8) = ecx; /* 0x4000E696: mov dword ptr [edx + 8], ecx */
  12846     goto L_4000E6A4; /* 0x4000E699: jmp 0x4000e6a4 */
  12847 L_4000E69B:
  12848     /* cmp edi, MEM32(eax) */ /* 0x4000E69B: cmp edi, dword ptr [eax] */
  12849     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
  12850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12851     _flag_k = FK_CMP;
  12852     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6A4; /* 0x4000E69D: jne 0x4000e6a4 */
  12853 L_4000E69F:
  12854     ecx = MEM32(ebp + (-0x4)); /* 0x4000E69F: mov ecx, dword ptr [ebp - 4] */
  12855     MEM32(eax) = ecx; /* 0x4000E6A2: mov dword ptr [eax], ecx */
  12856 L_4000E6A4:
  12857     edx = MEM32(esi + 0x4); /* 0x4000E6A4: mov edx, dword ptr [esi + 4] */
  12858     eax = MEM32(ebp + (-0x4)); /* 0x4000E6A7: mov eax, dword ptr [ebp - 4] */
  12859     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E6AA: cmp eax, dword ptr [edx + 4] */
  12860     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12862     _flag_k = FK_CMP;
  12863     SET_LO8(ebx, 1); /* 0x4000E6AD: mov bl, 1 */
  12864     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6AF: je 0x4000e835 */
  12865 L_4000E6B5:
  12866     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  12867     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  12868     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  12869     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  12870     _cf = 0;
  12871     _flag_k = FK_NARROW(FK_TEST, 24);
  12872     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  12873 L_4000E6C3:
  12874     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  12875     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  12876     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  12877     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  12878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12879     _flag_k = FK_CMP;
  12880     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  12881 L_4000E6D0:
  12882     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  12883     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  12884     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  12885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12886     _flag_k = FK_NARROW(FK_CMP, 24);
  12887     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  12888 L_4000E6D9:
  12889     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  12890     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  12891     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  12892     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  12893     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  12894     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  12895     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  12896     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  12897 L_4000E6F4:
  12898     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  12899     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  12900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12901     _flag_k = FK_CMP;
  12902     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  12903 L_4000E6F9:
  12904     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  12905     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  12906     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  12907     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  12908     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  12909     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  12910     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12911     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12912     _flag_k = FK_CMP;
  12913     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  12914 L_4000E70A:
  12915     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  12916 L_4000E70D:
  12917     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  12918     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  12919     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  12920     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  12921     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  12922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12923     _flag_k = FK_CMP;
  12924     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  12925 L_4000E71B:
  12926     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  12927     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  12928 L_4000E720:
  12929     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  12930     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  12931     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  12932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12933     _flag_k = FK_CMP;
  12934     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  12935 L_4000E727:
  12936     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  12937     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  12938 L_4000E72B:
  12939     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  12940 L_4000E72E:
  12941     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  12942     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  12943 L_4000E733:
  12944     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  12945     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  12946     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  12947     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  12948     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  12949     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  12950     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  12951     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  12952     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  12953     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  12954     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  12955     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  12956     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  12957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12958     _flag_k = FK_CMP;
  12959     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  12960 L_4000E758:
  12961     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  12962 L_4000E75B:
  12963     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  12964     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  12965     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  12966     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  12967     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  12968     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12969     _flag_k = FK_CMP;
  12970     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  12971 L_4000E769:
  12972     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  12973     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  12974     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  12975 L_4000E774:
  12976     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  12977     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  12978     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  12979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12980     _flag_k = FK_CMP;
  12981     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  12982 L_4000E77C:
  12983     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  12984     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  12985     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  12986 L_4000E787:
  12987     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  12988     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  12989     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  12990 L_4000E791:
  12991     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  12992     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  12993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12994     _flag_k = FK_NARROW(FK_CMP, 24);
  12995     RECOMP_BACKEDGE();
  12996     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  12997 L_4000E79B:
  12998     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  12999     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  13000     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13001     _flag_k = FK_CMP;
  13002     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  13003 L_4000E79F:
  13004     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  13005     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  13006     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  13007     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  13008     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  13009     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  13010     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13011     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13012     _flag_k = FK_CMP;
  13013     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  13014 L_4000E7B0:
  13015     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  13016 L_4000E7B3:
  13017     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  13018     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  13019     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  13020     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  13021     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13023     _flag_k = FK_CMP;
  13024     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  13025 L_4000E7C1:
  13026     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  13027     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  13028 L_4000E7C6:
  13029     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  13030     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  13031     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  13032     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13033     _flag_k = FK_CMP;
  13034     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  13035 L_4000E7CE:
  13036     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  13037     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  13038 L_4000E7D3:
  13039     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  13040 L_4000E7D5:
  13041     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  13042     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  13043 L_4000E7DB:
  13044     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  13045     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  13046     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  13047     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  13048     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  13049     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  13050     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  13051     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  13052     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  13053     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  13054     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  13055     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  13056     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13057     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13058     _flag_k = FK_CMP;
  13059     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  13060 L_4000E800:
  13061     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  13062 L_4000E803:
  13063     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  13064     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  13065     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  13066     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  13067     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13068     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13069     _flag_k = FK_CMP;
  13070     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  13071 L_4000E811:
  13072     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  13073     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  13074 L_4000E816:
  13075     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  13076     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  13077     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  13078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13079     _flag_k = FK_CMP;
  13080     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  13081 L_4000E81D:
  13082     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  13083     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  13084 L_4000E821:
  13085     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  13086 L_4000E824:
  13087     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  13088 L_4000E826:
  13089     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  13090 L_4000E829:
  13091     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  13092     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  13093     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  13094     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13095     _flag_k = FK_CMP;
  13096     RECOMP_BACKEDGE();
  13097     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  13098 L_4000E835:
  13099     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  13100     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  13101     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  13102     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  13103     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  13104     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  13105     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  13106     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  13107     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  13108     esp = ebp; /* 0x4000E849: mov esp, ebp */
  13109     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  13110     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  13111     RECOMP_REGS_OUT();
  13112 }
  13113 
  13114 void sub_4000E6B5(void) {
  13115     int _fpu_cmp = 0;
  13116     uint32_t _cf = 0;
  13117     int _df = 1;
  13118     uint32_t _flag_k = FK_NONE;
  13119     uint32_t _flag_a = 0, _flag_b = 0;
  13120     uint32_t _itail_tgt = 0;
  13121     RECOMP_REGS_LOCALS
  13122     RECOMP_ENTER(0x4000E6B5u);
  13123 
  13124 L_4000E6B5:
  13125     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  13126     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  13127     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  13128     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13129     _cf = 0;
  13130     _flag_k = FK_NARROW(FK_TEST, 24);
  13131     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  13132 L_4000E6C3:
  13133     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  13134     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  13135     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  13136     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  13137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13138     _flag_k = FK_CMP;
  13139     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  13140 L_4000E6D0:
  13141     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  13142     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  13143     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13144     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13145     _flag_k = FK_NARROW(FK_CMP, 24);
  13146     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  13147 L_4000E6D9:
  13148     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  13149     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  13150     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  13151     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  13152     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  13153     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  13154     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  13155     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  13156 L_4000E6F4:
  13157     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  13158     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  13159     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13160     _flag_k = FK_CMP;
  13161     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  13162 L_4000E6F9:
  13163     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  13164     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  13165     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  13166     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  13167     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  13168     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  13169     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13171     _flag_k = FK_CMP;
  13172     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  13173 L_4000E70A:
  13174     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  13175 L_4000E70D:
  13176     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  13177     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  13178     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  13179     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  13180     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13182     _flag_k = FK_CMP;
  13183     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  13184 L_4000E71B:
  13185     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  13186     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  13187 L_4000E720:
  13188     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  13189     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  13190     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  13191     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13192     _flag_k = FK_CMP;
  13193     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  13194 L_4000E727:
  13195     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  13196     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  13197 L_4000E72B:
  13198     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  13199 L_4000E72E:
  13200     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  13201     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  13202 L_4000E733:
  13203     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  13204     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  13205     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  13206     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  13207     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  13208     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  13209     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  13210     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  13211     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  13212     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  13213     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  13214     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  13215     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13216     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13217     _flag_k = FK_CMP;
  13218     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  13219 L_4000E758:
  13220     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  13221 L_4000E75B:
  13222     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  13223     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  13224     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  13225     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  13226     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13227     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13228     _flag_k = FK_CMP;
  13229     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  13230 L_4000E769:
  13231     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  13232     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  13233     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  13234 L_4000E774:
  13235     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  13236     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  13237     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  13238     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13239     _flag_k = FK_CMP;
  13240     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  13241 L_4000E77C:
  13242     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  13243     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  13244     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  13245 L_4000E787:
  13246     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  13247     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  13248     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  13249 L_4000E791:
  13250     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  13251     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13253     _flag_k = FK_NARROW(FK_CMP, 24);
  13254     RECOMP_BACKEDGE();
  13255     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  13256 L_4000E79B:
  13257     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  13258     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  13259     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13260     _flag_k = FK_CMP;
  13261     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  13262 L_4000E79F:
  13263     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  13264     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  13265     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  13266     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  13267     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  13268     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  13269     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13271     _flag_k = FK_CMP;
  13272     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  13273 L_4000E7B0:
  13274     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  13275 L_4000E7B3:
  13276     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  13277     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  13278     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  13279     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  13280     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13282     _flag_k = FK_CMP;
  13283     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  13284 L_4000E7C1:
  13285     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  13286     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  13287 L_4000E7C6:
  13288     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  13289     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  13290     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  13291     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13292     _flag_k = FK_CMP;
  13293     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  13294 L_4000E7CE:
  13295     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  13296     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  13297 L_4000E7D3:
  13298     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  13299 L_4000E7D5:
  13300     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  13301     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  13302 L_4000E7DB:
  13303     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  13304     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  13305     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  13306     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  13307     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  13308     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  13309     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  13310     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  13311     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  13312     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  13313     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  13314     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  13315     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13317     _flag_k = FK_CMP;
  13318     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  13319 L_4000E800:
  13320     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  13321 L_4000E803:
  13322     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  13323     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  13324     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  13325     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  13326     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13328     _flag_k = FK_CMP;
  13329     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  13330 L_4000E811:
  13331     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  13332     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  13333 L_4000E816:
  13334     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  13335     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  13336     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  13337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13338     _flag_k = FK_CMP;
  13339     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  13340 L_4000E81D:
  13341     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  13342     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  13343 L_4000E821:
  13344     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  13345 L_4000E824:
  13346     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  13347 L_4000E826:
  13348     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  13349 L_4000E829:
  13350     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  13351     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  13352     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  13353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13354     _flag_k = FK_CMP;
  13355     RECOMP_BACKEDGE();
  13356     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  13357 L_4000E835:
  13358     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  13359     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  13360     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  13361     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  13362     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  13363     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  13364     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  13365     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  13366     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  13367     esp = ebp; /* 0x4000E849: mov esp, ebp */
  13368     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  13369     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  13370     RECOMP_REGS_OUT();
  13371 }
  13372 
  13373 void sub_4000E6D9(void) {
  13374     int _fpu_cmp = 0;
  13375     uint32_t _cf = 0;
  13376     int _df = 1;
  13377     uint32_t _flag_k = FK_NONE;
  13378     uint32_t _flag_a = 0, _flag_b = 0;
  13379     uint32_t _itail_tgt = 0;
  13380     RECOMP_REGS_LOCALS
  13381     RECOMP_ENTER(0x4000E6D9u);
  13382 
  13383     goto L_4000E6D9;
  13384 L_4000E6B5:
  13385     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  13386     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  13387     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  13388     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13389     _cf = 0;
  13390     _flag_k = FK_NARROW(FK_TEST, 24);
  13391     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  13392 L_4000E6C3:
  13393     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  13394     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  13395     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  13396     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  13397     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13398     _flag_k = FK_CMP;
  13399     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  13400 L_4000E6D0:
  13401     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  13402     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  13403     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13405     _flag_k = FK_NARROW(FK_CMP, 24);
  13406     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  13407 L_4000E6D9:
  13408     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  13409     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  13410     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  13411     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  13412     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  13413     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  13414     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  13415     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  13416 L_4000E6F4:
  13417     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  13418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  13419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13420     _flag_k = FK_CMP;
  13421     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  13422 L_4000E6F9:
  13423     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  13424     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  13425     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  13426     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  13427     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  13428     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  13429     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13431     _flag_k = FK_CMP;
  13432     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  13433 L_4000E70A:
  13434     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  13435 L_4000E70D:
  13436     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  13437     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  13438     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  13439     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  13440     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13442     _flag_k = FK_CMP;
  13443     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  13444 L_4000E71B:
  13445     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  13446     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  13447 L_4000E720:
  13448     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  13449     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  13450     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  13451     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13452     _flag_k = FK_CMP;
  13453     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  13454 L_4000E727:
  13455     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  13456     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  13457 L_4000E72B:
  13458     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  13459 L_4000E72E:
  13460     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  13461     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  13462 L_4000E733:
  13463     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  13464     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  13465     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  13466     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  13467     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  13468     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  13469     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  13470     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  13471     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  13472     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  13473     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  13474     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  13475     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13477     _flag_k = FK_CMP;
  13478     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  13479 L_4000E758:
  13480     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  13481 L_4000E75B:
  13482     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  13483     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  13484     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  13485     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  13486     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13488     _flag_k = FK_CMP;
  13489     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  13490 L_4000E769:
  13491     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  13492     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  13493     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  13494 L_4000E774:
  13495     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  13496     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  13497     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  13498     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13499     _flag_k = FK_CMP;
  13500     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  13501 L_4000E77C:
  13502     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  13503     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  13504     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  13505 L_4000E787:
  13506     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  13507     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  13508     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  13509 L_4000E791:
  13510     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  13511     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13513     _flag_k = FK_NARROW(FK_CMP, 24);
  13514     RECOMP_BACKEDGE();
  13515     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  13516 L_4000E79B:
  13517     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  13518     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  13519     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13520     _flag_k = FK_CMP;
  13521     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  13522 L_4000E79F:
  13523     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  13524     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  13525     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  13526     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  13527     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  13528     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  13529     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13530     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13531     _flag_k = FK_CMP;
  13532     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  13533 L_4000E7B0:
  13534     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  13535 L_4000E7B3:
  13536     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  13537     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  13538     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  13539     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  13540     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13541     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13542     _flag_k = FK_CMP;
  13543     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  13544 L_4000E7C1:
  13545     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  13546     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  13547 L_4000E7C6:
  13548     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  13549     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  13550     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  13551     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13552     _flag_k = FK_CMP;
  13553     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  13554 L_4000E7CE:
  13555     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  13556     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  13557 L_4000E7D3:
  13558     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  13559 L_4000E7D5:
  13560     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  13561     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  13562 L_4000E7DB:
  13563     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  13564     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  13565     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  13566     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  13567     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  13568     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  13569     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  13570     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  13571     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  13572     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  13573     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  13574     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  13575     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13576     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13577     _flag_k = FK_CMP;
  13578     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  13579 L_4000E800:
  13580     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  13581 L_4000E803:
  13582     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  13583     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  13584     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  13585     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  13586     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13588     _flag_k = FK_CMP;
  13589     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  13590 L_4000E811:
  13591     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  13592     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  13593 L_4000E816:
  13594     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  13595     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  13596     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  13597     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13598     _flag_k = FK_CMP;
  13599     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  13600 L_4000E81D:
  13601     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  13602     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  13603 L_4000E821:
  13604     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  13605 L_4000E824:
  13606     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  13607 L_4000E826:
  13608     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  13609 L_4000E829:
  13610     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  13611     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  13612     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  13613     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13614     _flag_k = FK_CMP;
  13615     RECOMP_BACKEDGE();
  13616     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  13617 L_4000E835:
  13618     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  13619     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  13620     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  13621     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  13622     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  13623     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  13624     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  13625     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  13626     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  13627     esp = ebp; /* 0x4000E849: mov esp, ebp */
  13628     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  13629     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  13630     RECOMP_REGS_OUT();
  13631 }
  13632 
  13633 void sub_4000E72E(void) {
  13634     int _fpu_cmp = 0;
  13635     uint32_t _cf = 0;
  13636     int _df = 1;
  13637     uint32_t _flag_k = FK_NONE;
  13638     uint32_t _flag_a = 0, _flag_b = 0;
  13639     uint32_t _itail_tgt = 0;
  13640     RECOMP_REGS_LOCALS
  13641     RECOMP_ENTER(0x4000E72Eu);
  13642 
  13643     goto L_4000E72E;
  13644 L_4000E6B5:
  13645     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  13646     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  13647     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  13648     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13649     _cf = 0;
  13650     _flag_k = FK_NARROW(FK_TEST, 24);
  13651     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  13652 L_4000E6C3:
  13653     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  13654     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  13655     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  13656     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  13657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13658     _flag_k = FK_CMP;
  13659     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  13660 L_4000E6D0:
  13661     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  13662     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  13663     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13664     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13665     _flag_k = FK_NARROW(FK_CMP, 24);
  13666     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  13667 L_4000E6D9:
  13668     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  13669     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  13670     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  13671     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  13672     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  13673     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  13674     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  13675     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  13676 L_4000E6F4:
  13677     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  13678     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  13679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13680     _flag_k = FK_CMP;
  13681     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  13682 L_4000E6F9:
  13683     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  13684     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  13685     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  13686     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  13687     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  13688     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  13689     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13690     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13691     _flag_k = FK_CMP;
  13692     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  13693 L_4000E70A:
  13694     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  13695 L_4000E70D:
  13696     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  13697     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  13698     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  13699     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  13700     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13701     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13702     _flag_k = FK_CMP;
  13703     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  13704 L_4000E71B:
  13705     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  13706     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  13707 L_4000E720:
  13708     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  13709     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  13710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  13711     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13712     _flag_k = FK_CMP;
  13713     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  13714 L_4000E727:
  13715     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  13716     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  13717 L_4000E72B:
  13718     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  13719 L_4000E72E:
  13720     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  13721     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  13722 L_4000E733:
  13723     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  13724     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  13725     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  13726     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  13727     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  13728     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  13729     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  13730     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  13731     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  13732     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  13733     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  13734     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  13735     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13736     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13737     _flag_k = FK_CMP;
  13738     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  13739 L_4000E758:
  13740     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  13741 L_4000E75B:
  13742     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  13743     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  13744     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  13745     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  13746     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13747     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13748     _flag_k = FK_CMP;
  13749     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  13750 L_4000E769:
  13751     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  13752     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  13753     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  13754 L_4000E774:
  13755     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  13756     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  13757     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  13758     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13759     _flag_k = FK_CMP;
  13760     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  13761 L_4000E77C:
  13762     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  13763     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  13764     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  13765 L_4000E787:
  13766     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  13767     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  13768     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  13769 L_4000E791:
  13770     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  13771     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13772     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13773     _flag_k = FK_NARROW(FK_CMP, 24);
  13774     RECOMP_BACKEDGE();
  13775     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  13776 L_4000E79B:
  13777     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  13778     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  13779     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13780     _flag_k = FK_CMP;
  13781     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  13782 L_4000E79F:
  13783     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  13784     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  13785     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  13786     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  13787     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  13788     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  13789     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13790     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13791     _flag_k = FK_CMP;
  13792     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  13793 L_4000E7B0:
  13794     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  13795 L_4000E7B3:
  13796     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  13797     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  13798     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  13799     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  13800     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13801     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13802     _flag_k = FK_CMP;
  13803     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  13804 L_4000E7C1:
  13805     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  13806     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  13807 L_4000E7C6:
  13808     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  13809     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  13810     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  13811     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13812     _flag_k = FK_CMP;
  13813     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  13814 L_4000E7CE:
  13815     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  13816     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  13817 L_4000E7D3:
  13818     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  13819 L_4000E7D5:
  13820     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  13821     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  13822 L_4000E7DB:
  13823     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  13824     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  13825     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  13826     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  13827     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  13828     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  13829     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  13830     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  13831     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  13832     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  13833     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  13834     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  13835     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13837     _flag_k = FK_CMP;
  13838     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  13839 L_4000E800:
  13840     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  13841 L_4000E803:
  13842     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  13843     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  13844     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  13845     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  13846     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  13847     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13848     _flag_k = FK_CMP;
  13849     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  13850 L_4000E811:
  13851     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  13852     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  13853 L_4000E816:
  13854     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  13855     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  13856     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  13857     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13858     _flag_k = FK_CMP;
  13859     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  13860 L_4000E81D:
  13861     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  13862     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  13863 L_4000E821:
  13864     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  13865 L_4000E824:
  13866     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  13867 L_4000E826:
  13868     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  13869 L_4000E829:
  13870     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  13871     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  13872     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  13873     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13874     _flag_k = FK_CMP;
  13875     RECOMP_BACKEDGE();
  13876     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  13877 L_4000E835:
  13878     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  13879     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  13880     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  13881     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  13882     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  13883     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  13884     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  13885     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  13886     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  13887     esp = ebp; /* 0x4000E849: mov esp, ebp */
  13888     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  13889     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  13890     RECOMP_REGS_OUT();
  13891 }
  13892 
  13893 void sub_4000E733(void) {
  13894     int _fpu_cmp = 0;
  13895     uint32_t _cf = 0;
  13896     int _df = 1;
  13897     uint32_t _flag_k = FK_NONE;
  13898     uint32_t _flag_a = 0, _flag_b = 0;
  13899     uint32_t _itail_tgt = 0;
  13900     RECOMP_REGS_LOCALS
  13901     RECOMP_ENTER(0x4000E733u);
  13902 
  13903     goto L_4000E733;
  13904 L_4000E6B5:
  13905     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  13906     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  13907     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  13908     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  13909     _cf = 0;
  13910     _flag_k = FK_NARROW(FK_TEST, 24);
  13911     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  13912 L_4000E6C3:
  13913     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  13914     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  13915     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  13916     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  13917     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13918     _flag_k = FK_CMP;
  13919     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  13920 L_4000E6D0:
  13921     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  13922     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  13923     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  13924     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13925     _flag_k = FK_NARROW(FK_CMP, 24);
  13926     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  13927 L_4000E6D9:
  13928     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  13929     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  13930     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  13931     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  13932     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  13933     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  13934     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  13935     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  13936 L_4000E6F4:
  13937     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  13938     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  13939     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13940     _flag_k = FK_CMP;
  13941     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  13942 L_4000E6F9:
  13943     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  13944     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  13945     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  13946     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  13947     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  13948     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  13949     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13951     _flag_k = FK_CMP;
  13952     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  13953 L_4000E70A:
  13954     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  13955 L_4000E70D:
  13956     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  13957     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  13958     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  13959     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  13960     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  13961     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13962     _flag_k = FK_CMP;
  13963     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  13964 L_4000E71B:
  13965     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  13966     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  13967 L_4000E720:
  13968     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  13969     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  13970     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  13971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13972     _flag_k = FK_CMP;
  13973     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  13974 L_4000E727:
  13975     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  13976     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  13977 L_4000E72B:
  13978     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  13979 L_4000E72E:
  13980     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  13981     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  13982 L_4000E733:
  13983     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  13984     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  13985     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  13986     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  13987     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  13988     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  13989     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  13990     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  13991     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  13992     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  13993     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  13994     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  13995     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  13996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  13997     _flag_k = FK_CMP;
  13998     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  13999 L_4000E758:
  14000     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  14001 L_4000E75B:
  14002     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  14003     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  14004     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  14005     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  14006     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14007     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14008     _flag_k = FK_CMP;
  14009     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  14010 L_4000E769:
  14011     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  14012     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  14013     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  14014 L_4000E774:
  14015     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  14016     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  14017     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14018     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14019     _flag_k = FK_CMP;
  14020     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  14021 L_4000E77C:
  14022     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  14023     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  14024     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  14025 L_4000E787:
  14026     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  14027     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  14028     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  14029 L_4000E791:
  14030     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  14031     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14032     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14033     _flag_k = FK_NARROW(FK_CMP, 24);
  14034     RECOMP_BACKEDGE();
  14035     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  14036 L_4000E79B:
  14037     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  14038     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  14039     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14040     _flag_k = FK_CMP;
  14041     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  14042 L_4000E79F:
  14043     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  14044     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  14045     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  14046     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  14047     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  14048     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  14049     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14050     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14051     _flag_k = FK_CMP;
  14052     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  14053 L_4000E7B0:
  14054     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  14055 L_4000E7B3:
  14056     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  14057     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  14058     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  14059     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  14060     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14061     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14062     _flag_k = FK_CMP;
  14063     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  14064 L_4000E7C1:
  14065     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  14066     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  14067 L_4000E7C6:
  14068     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  14069     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  14070     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  14071     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14072     _flag_k = FK_CMP;
  14073     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  14074 L_4000E7CE:
  14075     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  14076     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  14077 L_4000E7D3:
  14078     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  14079 L_4000E7D5:
  14080     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  14081     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  14082 L_4000E7DB:
  14083     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  14084     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  14085     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  14086     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  14087     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  14088     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  14089     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  14090     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  14091     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  14092     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  14093     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  14094     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  14095     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14096     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14097     _flag_k = FK_CMP;
  14098     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  14099 L_4000E800:
  14100     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  14101 L_4000E803:
  14102     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  14103     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  14104     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  14105     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  14106     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14107     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14108     _flag_k = FK_CMP;
  14109     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  14110 L_4000E811:
  14111     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  14112     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  14113 L_4000E816:
  14114     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  14115     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  14116     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  14117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14118     _flag_k = FK_CMP;
  14119     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  14120 L_4000E81D:
  14121     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  14122     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  14123 L_4000E821:
  14124     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  14125 L_4000E824:
  14126     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  14127 L_4000E826:
  14128     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  14129 L_4000E829:
  14130     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  14131     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  14132     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  14133     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14134     _flag_k = FK_CMP;
  14135     RECOMP_BACKEDGE();
  14136     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  14137 L_4000E835:
  14138     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  14139     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  14140     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  14141     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  14142     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  14143     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  14144     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  14145     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  14146     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  14147     esp = ebp; /* 0x4000E849: mov esp, ebp */
  14148     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  14149     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  14150     RECOMP_REGS_OUT();
  14151 }
  14152 
  14153 void sub_4000E791(void) {
  14154     int _fpu_cmp = 0;
  14155     uint32_t _cf = 0;
  14156     int _df = 1;
  14157     uint32_t _flag_k = FK_NONE;
  14158     uint32_t _flag_a = 0, _flag_b = 0;
  14159     uint32_t _itail_tgt = 0;
  14160     RECOMP_REGS_LOCALS
  14161     RECOMP_ENTER(0x4000E791u);
  14162 
  14163     goto L_4000E791;
  14164 L_4000E6B5:
  14165     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  14166     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  14167     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  14168     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14169     _cf = 0;
  14170     _flag_k = FK_NARROW(FK_TEST, 24);
  14171     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  14172 L_4000E6C3:
  14173     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  14174     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  14175     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  14176     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  14177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14178     _flag_k = FK_CMP;
  14179     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  14180 L_4000E6D0:
  14181     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  14182     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  14183     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14185     _flag_k = FK_NARROW(FK_CMP, 24);
  14186     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  14187 L_4000E6D9:
  14188     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  14189     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  14190     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  14191     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  14192     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  14193     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  14194     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  14195     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  14196 L_4000E6F4:
  14197     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  14198     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  14199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14200     _flag_k = FK_CMP;
  14201     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  14202 L_4000E6F9:
  14203     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  14204     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  14205     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  14206     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  14207     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  14208     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  14209     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14211     _flag_k = FK_CMP;
  14212     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  14213 L_4000E70A:
  14214     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  14215 L_4000E70D:
  14216     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  14217     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  14218     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  14219     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  14220     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14221     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14222     _flag_k = FK_CMP;
  14223     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  14224 L_4000E71B:
  14225     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  14226     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  14227 L_4000E720:
  14228     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  14229     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  14230     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  14231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14232     _flag_k = FK_CMP;
  14233     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  14234 L_4000E727:
  14235     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  14236     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  14237 L_4000E72B:
  14238     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  14239 L_4000E72E:
  14240     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  14241     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  14242 L_4000E733:
  14243     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  14244     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  14245     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  14246     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  14247     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  14248     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  14249     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  14250     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  14251     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  14252     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  14253     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  14254     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  14255     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14256     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14257     _flag_k = FK_CMP;
  14258     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  14259 L_4000E758:
  14260     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  14261 L_4000E75B:
  14262     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  14263     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  14264     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  14265     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  14266     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14267     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14268     _flag_k = FK_CMP;
  14269     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  14270 L_4000E769:
  14271     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  14272     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  14273     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  14274 L_4000E774:
  14275     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  14276     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  14277     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14278     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14279     _flag_k = FK_CMP;
  14280     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  14281 L_4000E77C:
  14282     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  14283     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  14284     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  14285 L_4000E787:
  14286     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  14287     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  14288     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  14289 L_4000E791:
  14290     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  14291     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14293     _flag_k = FK_NARROW(FK_CMP, 24);
  14294     RECOMP_BACKEDGE();
  14295     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  14296 L_4000E79B:
  14297     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  14298     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  14299     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14300     _flag_k = FK_CMP;
  14301     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  14302 L_4000E79F:
  14303     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  14304     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  14305     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  14306     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  14307     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  14308     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  14309     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14311     _flag_k = FK_CMP;
  14312     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  14313 L_4000E7B0:
  14314     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  14315 L_4000E7B3:
  14316     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  14317     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  14318     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  14319     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  14320     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14321     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14322     _flag_k = FK_CMP;
  14323     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  14324 L_4000E7C1:
  14325     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  14326     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  14327 L_4000E7C6:
  14328     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  14329     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  14330     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  14331     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14332     _flag_k = FK_CMP;
  14333     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  14334 L_4000E7CE:
  14335     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  14336     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  14337 L_4000E7D3:
  14338     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  14339 L_4000E7D5:
  14340     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  14341     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  14342 L_4000E7DB:
  14343     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  14344     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  14345     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  14346     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  14347     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  14348     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  14349     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  14350     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  14351     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  14352     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  14353     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  14354     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  14355     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14356     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14357     _flag_k = FK_CMP;
  14358     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  14359 L_4000E800:
  14360     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  14361 L_4000E803:
  14362     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  14363     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  14364     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  14365     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  14366     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14368     _flag_k = FK_CMP;
  14369     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  14370 L_4000E811:
  14371     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  14372     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  14373 L_4000E816:
  14374     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  14375     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  14376     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  14377     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14378     _flag_k = FK_CMP;
  14379     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  14380 L_4000E81D:
  14381     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  14382     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  14383 L_4000E821:
  14384     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  14385 L_4000E824:
  14386     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  14387 L_4000E826:
  14388     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  14389 L_4000E829:
  14390     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  14391     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  14392     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  14393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14394     _flag_k = FK_CMP;
  14395     RECOMP_BACKEDGE();
  14396     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  14397 L_4000E835:
  14398     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  14399     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  14400     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  14401     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  14402     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  14403     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  14404     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  14405     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  14406     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  14407     esp = ebp; /* 0x4000E849: mov esp, ebp */
  14408     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  14409     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  14410     RECOMP_REGS_OUT();
  14411 }
  14412 
  14413 void sub_4000E7D5(void) {
  14414     int _fpu_cmp = 0;
  14415     uint32_t _cf = 0;
  14416     int _df = 1;
  14417     uint32_t _flag_k = FK_NONE;
  14418     uint32_t _flag_a = 0, _flag_b = 0;
  14419     uint32_t _itail_tgt = 0;
  14420     RECOMP_REGS_LOCALS
  14421     RECOMP_ENTER(0x4000E7D5u);
  14422 
  14423     goto L_4000E7D5;
  14424 L_4000E6B5:
  14425     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  14426     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  14427     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  14428     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14429     _cf = 0;
  14430     _flag_k = FK_NARROW(FK_TEST, 24);
  14431     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  14432 L_4000E6C3:
  14433     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  14434     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  14435     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  14436     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  14437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14438     _flag_k = FK_CMP;
  14439     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  14440 L_4000E6D0:
  14441     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  14442     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  14443     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14444     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14445     _flag_k = FK_NARROW(FK_CMP, 24);
  14446     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  14447 L_4000E6D9:
  14448     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  14449     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  14450     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  14451     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  14452     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  14453     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  14454     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  14455     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  14456 L_4000E6F4:
  14457     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  14458     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  14459     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14460     _flag_k = FK_CMP;
  14461     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  14462 L_4000E6F9:
  14463     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  14464     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  14465     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  14466     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  14467     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  14468     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  14469     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14470     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14471     _flag_k = FK_CMP;
  14472     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  14473 L_4000E70A:
  14474     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  14475 L_4000E70D:
  14476     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  14477     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  14478     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  14479     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  14480     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14482     _flag_k = FK_CMP;
  14483     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  14484 L_4000E71B:
  14485     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  14486     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  14487 L_4000E720:
  14488     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  14489     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  14490     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  14491     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14492     _flag_k = FK_CMP;
  14493     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  14494 L_4000E727:
  14495     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  14496     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  14497 L_4000E72B:
  14498     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  14499 L_4000E72E:
  14500     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  14501     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  14502 L_4000E733:
  14503     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  14504     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  14505     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  14506     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  14507     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  14508     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  14509     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  14510     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  14511     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  14512     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  14513     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  14514     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  14515     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14517     _flag_k = FK_CMP;
  14518     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  14519 L_4000E758:
  14520     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  14521 L_4000E75B:
  14522     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  14523     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  14524     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  14525     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  14526     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14527     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14528     _flag_k = FK_CMP;
  14529     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  14530 L_4000E769:
  14531     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  14532     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  14533     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  14534 L_4000E774:
  14535     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  14536     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  14537     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14538     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14539     _flag_k = FK_CMP;
  14540     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  14541 L_4000E77C:
  14542     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  14543     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  14544     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  14545 L_4000E787:
  14546     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  14547     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  14548     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  14549 L_4000E791:
  14550     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  14551     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14552     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14553     _flag_k = FK_NARROW(FK_CMP, 24);
  14554     RECOMP_BACKEDGE();
  14555     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  14556 L_4000E79B:
  14557     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  14558     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  14559     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14560     _flag_k = FK_CMP;
  14561     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  14562 L_4000E79F:
  14563     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  14564     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  14565     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  14566     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  14567     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  14568     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  14569     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14570     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14571     _flag_k = FK_CMP;
  14572     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  14573 L_4000E7B0:
  14574     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  14575 L_4000E7B3:
  14576     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  14577     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  14578     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  14579     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  14580     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14581     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14582     _flag_k = FK_CMP;
  14583     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  14584 L_4000E7C1:
  14585     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  14586     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  14587 L_4000E7C6:
  14588     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  14589     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  14590     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  14591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14592     _flag_k = FK_CMP;
  14593     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  14594 L_4000E7CE:
  14595     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  14596     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  14597 L_4000E7D3:
  14598     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  14599 L_4000E7D5:
  14600     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  14601     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  14602 L_4000E7DB:
  14603     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  14604     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  14605     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  14606     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  14607     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  14608     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  14609     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  14610     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  14611     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  14612     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  14613     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  14614     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  14615     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14616     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14617     _flag_k = FK_CMP;
  14618     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  14619 L_4000E800:
  14620     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  14621 L_4000E803:
  14622     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  14623     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  14624     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  14625     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  14626     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14627     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14628     _flag_k = FK_CMP;
  14629     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  14630 L_4000E811:
  14631     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  14632     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  14633 L_4000E816:
  14634     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  14635     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  14636     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  14637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14638     _flag_k = FK_CMP;
  14639     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  14640 L_4000E81D:
  14641     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  14642     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  14643 L_4000E821:
  14644     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  14645 L_4000E824:
  14646     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  14647 L_4000E826:
  14648     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  14649 L_4000E829:
  14650     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  14651     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  14652     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  14653     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14654     _flag_k = FK_CMP;
  14655     RECOMP_BACKEDGE();
  14656     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  14657 L_4000E835:
  14658     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  14659     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  14660     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  14661     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  14662     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  14663     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  14664     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  14665     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  14666     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  14667     esp = ebp; /* 0x4000E849: mov esp, ebp */
  14668     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  14669     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  14670     RECOMP_REGS_OUT();
  14671 }
  14672 
  14673 void sub_4000E7DB(void) {
  14674     int _fpu_cmp = 0;
  14675     uint32_t _cf = 0;
  14676     int _df = 1;
  14677     uint32_t _flag_k = FK_NONE;
  14678     uint32_t _flag_a = 0, _flag_b = 0;
  14679     uint32_t _itail_tgt = 0;
  14680     RECOMP_REGS_LOCALS
  14681     RECOMP_ENTER(0x4000E7DBu);
  14682 
  14683     goto L_4000E7DB;
  14684 L_4000E6B5:
  14685     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  14686     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  14687     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  14688     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14689     _cf = 0;
  14690     _flag_k = FK_NARROW(FK_TEST, 24);
  14691     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  14692 L_4000E6C3:
  14693     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  14694     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  14695     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  14696     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  14697     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14698     _flag_k = FK_CMP;
  14699     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  14700 L_4000E6D0:
  14701     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  14702     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  14703     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14704     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14705     _flag_k = FK_NARROW(FK_CMP, 24);
  14706     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  14707 L_4000E6D9:
  14708     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  14709     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  14710     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  14711     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  14712     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  14713     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  14714     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  14715     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  14716 L_4000E6F4:
  14717     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  14718     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  14719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14720     _flag_k = FK_CMP;
  14721     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  14722 L_4000E6F9:
  14723     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  14724     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  14725     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  14726     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  14727     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  14728     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  14729     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14731     _flag_k = FK_CMP;
  14732     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  14733 L_4000E70A:
  14734     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  14735 L_4000E70D:
  14736     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  14737     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  14738     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  14739     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  14740     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14742     _flag_k = FK_CMP;
  14743     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  14744 L_4000E71B:
  14745     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  14746     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  14747 L_4000E720:
  14748     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  14749     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  14750     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  14751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14752     _flag_k = FK_CMP;
  14753     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  14754 L_4000E727:
  14755     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  14756     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  14757 L_4000E72B:
  14758     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  14759 L_4000E72E:
  14760     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  14761     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  14762 L_4000E733:
  14763     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  14764     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  14765     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  14766     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  14767     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  14768     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  14769     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  14770     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  14771     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  14772     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  14773     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  14774     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  14775     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14777     _flag_k = FK_CMP;
  14778     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  14779 L_4000E758:
  14780     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  14781 L_4000E75B:
  14782     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  14783     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  14784     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  14785     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  14786     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14788     _flag_k = FK_CMP;
  14789     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  14790 L_4000E769:
  14791     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  14792     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  14793     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  14794 L_4000E774:
  14795     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  14796     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  14797     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  14798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14799     _flag_k = FK_CMP;
  14800     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  14801 L_4000E77C:
  14802     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  14803     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  14804     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  14805 L_4000E787:
  14806     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  14807     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  14808     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  14809 L_4000E791:
  14810     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  14811     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14813     _flag_k = FK_NARROW(FK_CMP, 24);
  14814     RECOMP_BACKEDGE();
  14815     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  14816 L_4000E79B:
  14817     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  14818     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  14819     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14820     _flag_k = FK_CMP;
  14821     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  14822 L_4000E79F:
  14823     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  14824     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  14825     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  14826     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  14827     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  14828     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  14829     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14831     _flag_k = FK_CMP;
  14832     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  14833 L_4000E7B0:
  14834     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  14835 L_4000E7B3:
  14836     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  14837     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  14838     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  14839     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  14840     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  14841     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14842     _flag_k = FK_CMP;
  14843     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  14844 L_4000E7C1:
  14845     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  14846     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  14847 L_4000E7C6:
  14848     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  14849     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  14850     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  14851     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14852     _flag_k = FK_CMP;
  14853     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  14854 L_4000E7CE:
  14855     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  14856     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  14857 L_4000E7D3:
  14858     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  14859 L_4000E7D5:
  14860     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  14861     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  14862 L_4000E7DB:
  14863     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  14864     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  14865     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  14866     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  14867     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  14868     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  14869     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  14870     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  14871     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  14872     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  14873     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  14874     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  14875     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14877     _flag_k = FK_CMP;
  14878     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  14879 L_4000E800:
  14880     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  14881 L_4000E803:
  14882     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  14883     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  14884     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  14885     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  14886     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  14887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14888     _flag_k = FK_CMP;
  14889     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  14890 L_4000E811:
  14891     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  14892     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  14893 L_4000E816:
  14894     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  14895     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  14896     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  14897     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14898     _flag_k = FK_CMP;
  14899     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  14900 L_4000E81D:
  14901     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  14902     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  14903 L_4000E821:
  14904     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  14905 L_4000E824:
  14906     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  14907 L_4000E826:
  14908     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  14909 L_4000E829:
  14910     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  14911     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  14912     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  14913     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14914     _flag_k = FK_CMP;
  14915     RECOMP_BACKEDGE();
  14916     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  14917 L_4000E835:
  14918     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  14919     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  14920     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  14921     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  14922     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  14923     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  14924     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  14925     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  14926     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  14927     esp = ebp; /* 0x4000E849: mov esp, ebp */
  14928     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  14929     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  14930     RECOMP_REGS_OUT();
  14931 }
  14932 
  14933 void sub_4000E824(void) {
  14934     int _fpu_cmp = 0;
  14935     uint32_t _cf = 0;
  14936     int _df = 1;
  14937     uint32_t _flag_k = FK_NONE;
  14938     uint32_t _flag_a = 0, _flag_b = 0;
  14939     uint32_t _itail_tgt = 0;
  14940     RECOMP_REGS_LOCALS
  14941     RECOMP_ENTER(0x4000E824u);
  14942 
  14943     goto L_4000E824;
  14944 L_4000E6B5:
  14945     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  14946     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  14947     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  14948     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  14949     _cf = 0;
  14950     _flag_k = FK_NARROW(FK_TEST, 24);
  14951     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  14952 L_4000E6C3:
  14953     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  14954     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  14955     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  14956     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  14957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14958     _flag_k = FK_CMP;
  14959     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  14960 L_4000E6D0:
  14961     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  14962     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  14963     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  14964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14965     _flag_k = FK_NARROW(FK_CMP, 24);
  14966     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  14967 L_4000E6D9:
  14968     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  14969     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  14970     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  14971     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  14972     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  14973     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  14974     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  14975     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  14976 L_4000E6F4:
  14977     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  14978     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  14979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14980     _flag_k = FK_CMP;
  14981     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  14982 L_4000E6F9:
  14983     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  14984     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  14985     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  14986     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  14987     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  14988     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  14989     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  14990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  14991     _flag_k = FK_CMP;
  14992     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  14993 L_4000E70A:
  14994     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  14995 L_4000E70D:
  14996     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  14997     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  14998     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  14999     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  15000     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15002     _flag_k = FK_CMP;
  15003     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  15004 L_4000E71B:
  15005     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  15006     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  15007 L_4000E720:
  15008     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  15009     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  15010     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  15011     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15012     _flag_k = FK_CMP;
  15013     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  15014 L_4000E727:
  15015     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  15016     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  15017 L_4000E72B:
  15018     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  15019 L_4000E72E:
  15020     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  15021     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  15022 L_4000E733:
  15023     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  15024     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  15025     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  15026     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  15027     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  15028     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  15029     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  15030     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  15031     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  15032     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  15033     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  15034     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  15035     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15036     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15037     _flag_k = FK_CMP;
  15038     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  15039 L_4000E758:
  15040     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  15041 L_4000E75B:
  15042     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  15043     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  15044     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  15045     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  15046     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15047     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15048     _flag_k = FK_CMP;
  15049     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  15050 L_4000E769:
  15051     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  15052     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  15053     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  15054 L_4000E774:
  15055     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  15056     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  15057     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  15058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15059     _flag_k = FK_CMP;
  15060     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  15061 L_4000E77C:
  15062     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  15063     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  15064     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  15065 L_4000E787:
  15066     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  15067     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  15068     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  15069 L_4000E791:
  15070     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  15071     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  15072     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15073     _flag_k = FK_NARROW(FK_CMP, 24);
  15074     RECOMP_BACKEDGE();
  15075     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  15076 L_4000E79B:
  15077     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  15078     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  15079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15080     _flag_k = FK_CMP;
  15081     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  15082 L_4000E79F:
  15083     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  15084     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  15085     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  15086     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  15087     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  15088     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  15089     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15090     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15091     _flag_k = FK_CMP;
  15092     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  15093 L_4000E7B0:
  15094     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  15095 L_4000E7B3:
  15096     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  15097     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  15098     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  15099     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  15100     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15101     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15102     _flag_k = FK_CMP;
  15103     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  15104 L_4000E7C1:
  15105     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  15106     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  15107 L_4000E7C6:
  15108     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  15109     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  15110     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  15111     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15112     _flag_k = FK_CMP;
  15113     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  15114 L_4000E7CE:
  15115     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  15116     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  15117 L_4000E7D3:
  15118     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  15119 L_4000E7D5:
  15120     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  15121     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  15122 L_4000E7DB:
  15123     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  15124     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  15125     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  15126     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  15127     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  15128     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  15129     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  15130     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  15131     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  15132     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  15133     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  15134     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  15135     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15136     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15137     _flag_k = FK_CMP;
  15138     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  15139 L_4000E800:
  15140     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  15141 L_4000E803:
  15142     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  15143     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  15144     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  15145     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  15146     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15147     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15148     _flag_k = FK_CMP;
  15149     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  15150 L_4000E811:
  15151     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  15152     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  15153 L_4000E816:
  15154     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  15155     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  15156     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  15157     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15158     _flag_k = FK_CMP;
  15159     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  15160 L_4000E81D:
  15161     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  15162     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  15163 L_4000E821:
  15164     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  15165 L_4000E824:
  15166     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  15167 L_4000E826:
  15168     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  15169 L_4000E829:
  15170     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  15171     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  15172     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  15173     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15174     _flag_k = FK_CMP;
  15175     RECOMP_BACKEDGE();
  15176     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  15177 L_4000E835:
  15178     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  15179     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  15180     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  15181     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  15182     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  15183     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  15184     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  15185     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  15186     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  15187     esp = ebp; /* 0x4000E849: mov esp, ebp */
  15188     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  15189     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  15190     RECOMP_REGS_OUT();
  15191 }
  15192 
  15193 void sub_4000E826(void) {
  15194     int _fpu_cmp = 0;
  15195     uint32_t _cf = 0;
  15196     int _df = 1;
  15197     uint32_t _flag_k = FK_NONE;
  15198     uint32_t _flag_a = 0, _flag_b = 0;
  15199     uint32_t _itail_tgt = 0;
  15200     RECOMP_REGS_LOCALS
  15201     RECOMP_ENTER(0x4000E826u);
  15202 
  15203     goto L_4000E826;
  15204 L_4000E6B5:
  15205     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  15206     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  15207     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  15208     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  15209     _cf = 0;
  15210     _flag_k = FK_NARROW(FK_TEST, 24);
  15211     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  15212 L_4000E6C3:
  15213     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  15214     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  15215     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  15216     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15217     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15218     _flag_k = FK_CMP;
  15219     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  15220 L_4000E6D0:
  15221     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  15222     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  15223     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  15224     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15225     _flag_k = FK_NARROW(FK_CMP, 24);
  15226     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  15227 L_4000E6D9:
  15228     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  15229     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  15230     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  15231     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  15232     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  15233     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  15234     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  15235     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  15236 L_4000E6F4:
  15237     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  15238     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  15239     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15240     _flag_k = FK_CMP;
  15241     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  15242 L_4000E6F9:
  15243     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  15244     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  15245     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  15246     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  15247     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  15248     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  15249     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15250     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15251     _flag_k = FK_CMP;
  15252     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  15253 L_4000E70A:
  15254     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  15255 L_4000E70D:
  15256     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  15257     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  15258     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  15259     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  15260     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15261     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15262     _flag_k = FK_CMP;
  15263     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  15264 L_4000E71B:
  15265     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  15266     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  15267 L_4000E720:
  15268     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  15269     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  15270     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  15271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15272     _flag_k = FK_CMP;
  15273     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  15274 L_4000E727:
  15275     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  15276     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  15277 L_4000E72B:
  15278     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  15279 L_4000E72E:
  15280     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  15281     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  15282 L_4000E733:
  15283     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  15284     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  15285     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  15286     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  15287     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  15288     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  15289     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  15290     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  15291     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  15292     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  15293     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  15294     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  15295     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15297     _flag_k = FK_CMP;
  15298     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  15299 L_4000E758:
  15300     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  15301 L_4000E75B:
  15302     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  15303     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  15304     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  15305     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  15306     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15307     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15308     _flag_k = FK_CMP;
  15309     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  15310 L_4000E769:
  15311     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  15312     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  15313     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  15314 L_4000E774:
  15315     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  15316     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  15317     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  15318     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15319     _flag_k = FK_CMP;
  15320     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  15321 L_4000E77C:
  15322     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  15323     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  15324     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  15325 L_4000E787:
  15326     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  15327     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  15328     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  15329 L_4000E791:
  15330     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  15331     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  15332     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15333     _flag_k = FK_NARROW(FK_CMP, 24);
  15334     RECOMP_BACKEDGE();
  15335     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  15336 L_4000E79B:
  15337     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  15338     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  15339     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15340     _flag_k = FK_CMP;
  15341     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  15342 L_4000E79F:
  15343     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  15344     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  15345     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  15346     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  15347     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  15348     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  15349     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15350     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15351     _flag_k = FK_CMP;
  15352     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  15353 L_4000E7B0:
  15354     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  15355 L_4000E7B3:
  15356     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  15357     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  15358     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  15359     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  15360     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15361     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15362     _flag_k = FK_CMP;
  15363     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  15364 L_4000E7C1:
  15365     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  15366     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  15367 L_4000E7C6:
  15368     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  15369     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  15370     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  15371     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15372     _flag_k = FK_CMP;
  15373     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  15374 L_4000E7CE:
  15375     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  15376     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  15377 L_4000E7D3:
  15378     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  15379 L_4000E7D5:
  15380     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  15381     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  15382 L_4000E7DB:
  15383     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  15384     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  15385     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  15386     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  15387     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  15388     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  15389     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  15390     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  15391     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  15392     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  15393     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  15394     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  15395     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15396     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15397     _flag_k = FK_CMP;
  15398     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  15399 L_4000E800:
  15400     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  15401 L_4000E803:
  15402     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  15403     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  15404     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  15405     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  15406     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15407     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15408     _flag_k = FK_CMP;
  15409     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  15410 L_4000E811:
  15411     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  15412     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  15413 L_4000E816:
  15414     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  15415     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  15416     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  15417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15418     _flag_k = FK_CMP;
  15419     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  15420 L_4000E81D:
  15421     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  15422     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  15423 L_4000E821:
  15424     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  15425 L_4000E824:
  15426     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  15427 L_4000E826:
  15428     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  15429 L_4000E829:
  15430     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  15431     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  15432     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  15433     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15434     _flag_k = FK_CMP;
  15435     RECOMP_BACKEDGE();
  15436     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  15437 L_4000E835:
  15438     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  15439     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  15440     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  15441     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  15442     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  15443     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  15444     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  15445     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  15446     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  15447     esp = ebp; /* 0x4000E849: mov esp, ebp */
  15448     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  15449     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  15450     RECOMP_REGS_OUT();
  15451 }
  15452 
  15453 void sub_4000E829(void) {
  15454     int _fpu_cmp = 0;
  15455     uint32_t _cf = 0;
  15456     int _df = 1;
  15457     uint32_t _flag_k = FK_NONE;
  15458     uint32_t _flag_a = 0, _flag_b = 0;
  15459     uint32_t _itail_tgt = 0;
  15460     RECOMP_REGS_LOCALS
  15461     RECOMP_ENTER(0x4000E829u);
  15462 
  15463     goto L_4000E829;
  15464 L_4000E6B5:
  15465     ecx = MEM32(eax + 0x4); /* 0x4000E6B5: mov ecx, dword ptr [eax + 4] */
  15466     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000E6B8: mov dl, byte ptr [ecx + 0x1c] */
  15467     /* test LO8(edx), LO8(edx) */ /* 0x4000E6BB: test dl, dl */
  15468     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  15469     _cf = 0;
  15470     _flag_k = FK_NARROW(FK_TEST, 24);
  15471     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E835; /* 0x4000E6BD: jne 0x4000e835 */
  15472 L_4000E6C3:
  15473     edi = MEM32(ecx + 0x4); /* 0x4000E6C3: mov edi, dword ptr [ecx + 4] */
  15474     edx = MEM32(edi); /* 0x4000E6C6: mov edx, dword ptr [edi] */
  15475     /* cmp ecx, edx */ /* 0x4000E6C8: cmp ecx, edx */
  15476     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15478     _flag_k = FK_CMP;
  15479     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E791; /* 0x4000E6CA: jne 0x4000e791 */
  15480 L_4000E6D0:
  15481     edx = MEM32(edi + 0x8); /* 0x4000E6D0: mov edx, dword ptr [edi + 8] */
  15482     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E6D3: cmp byte ptr [edx + 0x1c], 0 */
  15483     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  15484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15485     _flag_k = FK_NARROW(FK_CMP, 24);
  15486     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6F4; /* 0x4000E6D7: jne 0x4000e6f4 */
  15487 L_4000E6D9:
  15488     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6D9: mov byte ptr [ecx + 0x1c], bl */
  15489     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E6DC: mov byte ptr [edx + 0x1c], bl */
  15490     ecx = MEM32(eax + 0x4); /* 0x4000E6DF: mov ecx, dword ptr [eax + 4] */
  15491     edx = MEM32(ecx + 0x4); /* 0x4000E6E2: mov edx, dword ptr [ecx + 4] */
  15492     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000E6E5: mov byte ptr [edx + 0x1c], 0 */
  15493     eax = MEM32(eax + 0x4); /* 0x4000E6E9: mov eax, dword ptr [eax + 4] */
  15494     eax = MEM32(eax + 0x4); /* 0x4000E6EC: mov eax, dword ptr [eax + 4] */
  15495     goto L_4000E829; /* 0x4000E6EF: jmp 0x4000e829 */
  15496 L_4000E6F4:
  15497     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E6F4: cmp eax, dword ptr [ecx + 8] */
  15498     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  15499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15500     _flag_k = FK_CMP;
  15501     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E733; /* 0x4000E6F7: jne 0x4000e733 */
  15502 L_4000E6F9:
  15503     eax = ecx; /* 0x4000E6F9: mov eax, ecx */
  15504     ecx = MEM32(eax + 0x8); /* 0x4000E6FB: mov ecx, dword ptr [eax + 8] */
  15505     edx = MEM32(ecx); /* 0x4000E6FE: mov edx, dword ptr [ecx] */
  15506     MEM32(eax + 0x8) = edx; /* 0x4000E700: mov dword ptr [eax + 8], edx */
  15507     edx = MEM32(ecx); /* 0x4000E703: mov edx, dword ptr [ecx] */
  15508     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E705: cmp edx, dword ptr [esi + 8] */
  15509     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15510     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15511     _flag_k = FK_CMP;
  15512     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E70D; /* 0x4000E708: je 0x4000e70d */
  15513 L_4000E70A:
  15514     MEM32(edx + 0x4) = eax; /* 0x4000E70A: mov dword ptr [edx + 4], eax */
  15515 L_4000E70D:
  15516     edx = MEM32(eax + 0x4); /* 0x4000E70D: mov edx, dword ptr [eax + 4] */
  15517     MEM32(ecx + 0x4) = edx; /* 0x4000E710: mov dword ptr [ecx + 4], edx */
  15518     edx = MEM32(esi + 0x4); /* 0x4000E713: mov edx, dword ptr [esi + 4] */
  15519     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E716: cmp eax, dword ptr [edx + 4] */
  15520     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15522     _flag_k = FK_CMP;
  15523     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E720; /* 0x4000E719: jne 0x4000e720 */
  15524 L_4000E71B:
  15525     MEM32(edx + 0x4) = ecx; /* 0x4000E71B: mov dword ptr [edx + 4], ecx */
  15526     goto L_4000E72E; /* 0x4000E71E: jmp 0x4000e72e */
  15527 L_4000E720:
  15528     edx = MEM32(eax + 0x4); /* 0x4000E720: mov edx, dword ptr [eax + 4] */
  15529     /* cmp eax, MEM32(edx) */ /* 0x4000E723: cmp eax, dword ptr [edx] */
  15530     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  15531     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15532     _flag_k = FK_CMP;
  15533     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E72B; /* 0x4000E725: jne 0x4000e72b */
  15534 L_4000E727:
  15535     MEM32(edx) = ecx; /* 0x4000E727: mov dword ptr [edx], ecx */
  15536     goto L_4000E72E; /* 0x4000E729: jmp 0x4000e72e */
  15537 L_4000E72B:
  15538     MEM32(edx + 0x8) = ecx; /* 0x4000E72B: mov dword ptr [edx + 8], ecx */
  15539 L_4000E72E:
  15540     MEM32(ecx) = eax; /* 0x4000E72E: mov dword ptr [ecx], eax */
  15541     MEM32(eax + 0x4) = ecx; /* 0x4000E730: mov dword ptr [eax + 4], ecx */
  15542 L_4000E733:
  15543     ecx = MEM32(eax + 0x4); /* 0x4000E733: mov ecx, dword ptr [eax + 4] */
  15544     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E736: mov byte ptr [ecx + 0x1c], bl */
  15545     edx = MEM32(eax + 0x4); /* 0x4000E739: mov edx, dword ptr [eax + 4] */
  15546     ecx = MEM32(edx + 0x4); /* 0x4000E73C: mov ecx, dword ptr [edx + 4] */
  15547     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E73F: mov byte ptr [ecx + 0x1c], 0 */
  15548     edx = MEM32(eax + 0x4); /* 0x4000E743: mov edx, dword ptr [eax + 4] */
  15549     ecx = MEM32(edx + 0x4); /* 0x4000E746: mov ecx, dword ptr [edx + 4] */
  15550     edx = MEM32(ecx); /* 0x4000E749: mov edx, dword ptr [ecx] */
  15551     edi = MEM32(edx + 0x8); /* 0x4000E74B: mov edi, dword ptr [edx + 8] */
  15552     MEM32(ecx) = edi; /* 0x4000E74E: mov dword ptr [ecx], edi */
  15553     edi = MEM32(edx + 0x8); /* 0x4000E750: mov edi, dword ptr [edx + 8] */
  15554     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E753: cmp edi, dword ptr [esi + 8] */
  15555     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15557     _flag_k = FK_CMP;
  15558     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E75B; /* 0x4000E756: je 0x4000e75b */
  15559 L_4000E758:
  15560     MEM32(edi + 0x4) = ecx; /* 0x4000E758: mov dword ptr [edi + 4], ecx */
  15561 L_4000E75B:
  15562     edi = MEM32(ecx + 0x4); /* 0x4000E75B: mov edi, dword ptr [ecx + 4] */
  15563     MEM32(edx + 0x4) = edi; /* 0x4000E75E: mov dword ptr [edx + 4], edi */
  15564     edi = MEM32(esi + 0x4); /* 0x4000E761: mov edi, dword ptr [esi + 4] */
  15565     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E764: cmp ecx, dword ptr [edi + 4] */
  15566     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15568     _flag_k = FK_CMP;
  15569     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E774; /* 0x4000E767: jne 0x4000e774 */
  15570 L_4000E769:
  15571     MEM32(edi + 0x4) = edx; /* 0x4000E769: mov dword ptr [edi + 4], edx */
  15572     MEM32(edx + 0x8) = ecx; /* 0x4000E76C: mov dword ptr [edx + 8], ecx */
  15573     goto L_4000E826; /* 0x4000E76F: jmp 0x4000e826 */
  15574 L_4000E774:
  15575     edi = MEM32(ecx + 0x4); /* 0x4000E774: mov edi, dword ptr [ecx + 4] */
  15576     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E777: cmp ecx, dword ptr [edi + 8] */
  15577     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  15578     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15579     _flag_k = FK_CMP;
  15580     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E787; /* 0x4000E77A: jne 0x4000e787 */
  15581 L_4000E77C:
  15582     MEM32(edi + 0x8) = edx; /* 0x4000E77C: mov dword ptr [edi + 8], edx */
  15583     MEM32(edx + 0x8) = ecx; /* 0x4000E77F: mov dword ptr [edx + 8], ecx */
  15584     goto L_4000E826; /* 0x4000E782: jmp 0x4000e826 */
  15585 L_4000E787:
  15586     MEM32(edi) = edx; /* 0x4000E787: mov dword ptr [edi], edx */
  15587     MEM32(edx + 0x8) = ecx; /* 0x4000E789: mov dword ptr [edx + 8], ecx */
  15588     goto L_4000E826; /* 0x4000E78C: jmp 0x4000e826 */
  15589 L_4000E791:
  15590     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000E791: cmp byte ptr [edx + 0x1c], 0 */
  15591     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  15592     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15593     _flag_k = FK_NARROW(FK_CMP, 24);
  15594     RECOMP_BACKEDGE();
  15595     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E6D9; /* 0x4000E795: je 0x4000e6d9 */
  15596 L_4000E79B:
  15597     /* cmp eax, MEM32(ecx) */ /* 0x4000E79B: cmp eax, dword ptr [ecx] */
  15598     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  15599     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15600     _flag_k = FK_CMP;
  15601     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7DB; /* 0x4000E79D: jne 0x4000e7db */
  15602 L_4000E79F:
  15603     eax = ecx; /* 0x4000E79F: mov eax, ecx */
  15604     ecx = MEM32(eax); /* 0x4000E7A1: mov ecx, dword ptr [eax] */
  15605     edx = MEM32(ecx + 0x8); /* 0x4000E7A3: mov edx, dword ptr [ecx + 8] */
  15606     MEM32(eax) = edx; /* 0x4000E7A6: mov dword ptr [eax], edx */
  15607     edx = MEM32(ecx + 0x8); /* 0x4000E7A8: mov edx, dword ptr [ecx + 8] */
  15608     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E7AB: cmp edx, dword ptr [esi + 8] */
  15609     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15610     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15611     _flag_k = FK_CMP;
  15612     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E7B3; /* 0x4000E7AE: je 0x4000e7b3 */
  15613 L_4000E7B0:
  15614     MEM32(edx + 0x4) = eax; /* 0x4000E7B0: mov dword ptr [edx + 4], eax */
  15615 L_4000E7B3:
  15616     edx = MEM32(eax + 0x4); /* 0x4000E7B3: mov edx, dword ptr [eax + 4] */
  15617     MEM32(ecx + 0x4) = edx; /* 0x4000E7B6: mov dword ptr [ecx + 4], edx */
  15618     edx = MEM32(esi + 0x4); /* 0x4000E7B9: mov edx, dword ptr [esi + 4] */
  15619     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E7BC: cmp eax, dword ptr [edx + 4] */
  15620     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15622     _flag_k = FK_CMP;
  15623     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7C6; /* 0x4000E7BF: jne 0x4000e7c6 */
  15624 L_4000E7C1:
  15625     MEM32(edx + 0x4) = ecx; /* 0x4000E7C1: mov dword ptr [edx + 4], ecx */
  15626     goto L_4000E7D5; /* 0x4000E7C4: jmp 0x4000e7d5 */
  15627 L_4000E7C6:
  15628     edx = MEM32(eax + 0x4); /* 0x4000E7C6: mov edx, dword ptr [eax + 4] */
  15629     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000E7C9: cmp eax, dword ptr [edx + 8] */
  15630     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  15631     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15632     _flag_k = FK_CMP;
  15633     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E7D3; /* 0x4000E7CC: jne 0x4000e7d3 */
  15634 L_4000E7CE:
  15635     MEM32(edx + 0x8) = ecx; /* 0x4000E7CE: mov dword ptr [edx + 8], ecx */
  15636     goto L_4000E7D5; /* 0x4000E7D1: jmp 0x4000e7d5 */
  15637 L_4000E7D3:
  15638     MEM32(edx) = ecx; /* 0x4000E7D3: mov dword ptr [edx], ecx */
  15639 L_4000E7D5:
  15640     MEM32(ecx + 0x8) = eax; /* 0x4000E7D5: mov dword ptr [ecx + 8], eax */
  15641     MEM32(eax + 0x4) = ecx; /* 0x4000E7D8: mov dword ptr [eax + 4], ecx */
  15642 L_4000E7DB:
  15643     ecx = MEM32(eax + 0x4); /* 0x4000E7DB: mov ecx, dword ptr [eax + 4] */
  15644     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E7DE: mov byte ptr [ecx + 0x1c], bl */
  15645     edx = MEM32(eax + 0x4); /* 0x4000E7E1: mov edx, dword ptr [eax + 4] */
  15646     ecx = MEM32(edx + 0x4); /* 0x4000E7E4: mov ecx, dword ptr [edx + 4] */
  15647     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000E7E7: mov byte ptr [ecx + 0x1c], 0 */
  15648     edx = MEM32(eax + 0x4); /* 0x4000E7EB: mov edx, dword ptr [eax + 4] */
  15649     ecx = MEM32(edx + 0x4); /* 0x4000E7EE: mov ecx, dword ptr [edx + 4] */
  15650     edx = MEM32(ecx + 0x8); /* 0x4000E7F1: mov edx, dword ptr [ecx + 8] */
  15651     edi = MEM32(edx); /* 0x4000E7F4: mov edi, dword ptr [edx] */
  15652     MEM32(ecx + 0x8) = edi; /* 0x4000E7F6: mov dword ptr [ecx + 8], edi */
  15653     edi = MEM32(edx); /* 0x4000E7F9: mov edi, dword ptr [edx] */
  15654     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E7FB: cmp edi, dword ptr [esi + 8] */
  15655     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15656     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15657     _flag_k = FK_CMP;
  15658     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E803; /* 0x4000E7FE: je 0x4000e803 */
  15659 L_4000E800:
  15660     MEM32(edi + 0x4) = ecx; /* 0x4000E800: mov dword ptr [edi + 4], ecx */
  15661 L_4000E803:
  15662     edi = MEM32(ecx + 0x4); /* 0x4000E803: mov edi, dword ptr [ecx + 4] */
  15663     MEM32(edx + 0x4) = edi; /* 0x4000E806: mov dword ptr [edx + 4], edi */
  15664     edi = MEM32(esi + 0x4); /* 0x4000E809: mov edi, dword ptr [esi + 4] */
  15665     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E80C: cmp ecx, dword ptr [edi + 4] */
  15666     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15668     _flag_k = FK_CMP;
  15669     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E816; /* 0x4000E80F: jne 0x4000e816 */
  15670 L_4000E811:
  15671     MEM32(edi + 0x4) = edx; /* 0x4000E811: mov dword ptr [edi + 4], edx */
  15672     goto L_4000E824; /* 0x4000E814: jmp 0x4000e824 */
  15673 L_4000E816:
  15674     edi = MEM32(ecx + 0x4); /* 0x4000E816: mov edi, dword ptr [ecx + 4] */
  15675     /* cmp ecx, MEM32(edi) */ /* 0x4000E819: cmp ecx, dword ptr [edi] */
  15676     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  15677     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15678     _flag_k = FK_CMP;
  15679     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E821; /* 0x4000E81B: jne 0x4000e821 */
  15680 L_4000E81D:
  15681     MEM32(edi) = edx; /* 0x4000E81D: mov dword ptr [edi], edx */
  15682     goto L_4000E824; /* 0x4000E81F: jmp 0x4000e824 */
  15683 L_4000E821:
  15684     MEM32(edi + 0x8) = edx; /* 0x4000E821: mov dword ptr [edi + 8], edx */
  15685 L_4000E824:
  15686     MEM32(edx) = ecx; /* 0x4000E824: mov dword ptr [edx], ecx */
  15687 L_4000E826:
  15688     MEM32(ecx + 0x4) = edx; /* 0x4000E826: mov dword ptr [ecx + 4], edx */
  15689 L_4000E829:
  15690     ecx = MEM32(esi + 0x4); /* 0x4000E829: mov ecx, dword ptr [esi + 4] */
  15691     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000E82C: cmp eax, dword ptr [ecx + 4] */
  15692     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  15693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15694     _flag_k = FK_CMP;
  15695     RECOMP_BACKEDGE();
  15696     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E6B5; /* 0x4000E82F: jne 0x4000e6b5 */
  15697 L_4000E835:
  15698     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  15699     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  15700     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  15701     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  15702     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  15703     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  15704     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  15705     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  15706     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  15707     esp = ebp; /* 0x4000E849: mov esp, ebp */
  15708     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  15709     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  15710     RECOMP_REGS_OUT();
  15711 }
  15712 
  15713 void sub_4000E835(void) {
  15714     int _fpu_cmp = 0;
  15715     uint32_t _cf = 0;
  15716     int _df = 1;
  15717     uint32_t _flag_k = FK_NONE;
  15718     uint32_t _flag_a = 0, _flag_b = 0;
  15719     uint32_t _itail_tgt = 0;
  15720     RECOMP_REGS_LOCALS
  15721     RECOMP_ENTER(0x4000E835u);
  15722 
  15723 L_4000E835:
  15724     edx = MEM32(esi + 0x4); /* 0x4000E835: mov edx, dword ptr [esi + 4] */
  15725     eax = MEM32(edx + 0x4); /* 0x4000E838: mov eax, dword ptr [edx + 4] */
  15726     ecx = MEM32(ebp + (-0x4)); /* 0x4000E83B: mov ecx, dword ptr [ebp - 4] */
  15727     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000E83E: mov byte ptr [eax + 0x1c], bl */
  15728     eax = MEM32(ebp + 0x8); /* 0x4000E841: mov eax, dword ptr [ebp + 8] */
  15729     edi = POP32_VAL(esp); /* 0x4000E844: pop edi */
  15730     esi = POP32_VAL(esp); /* 0x4000E845: pop esi */
  15731     MEM32(eax) = ecx; /* 0x4000E846: mov dword ptr [eax], ecx */
  15732     ebx = POP32_VAL(esp); /* 0x4000E848: pop ebx */
  15733     esp = ebp; /* 0x4000E849: mov esp, ebp */
  15734     ebp = POP32_VAL(esp); /* 0x4000E84B: pop ebp */
  15735     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000E84C: ret 0x10 */
  15736     RECOMP_REGS_OUT();
  15737 }
  15738 
  15739 void sub_4000E850(void) {
  15740     int _fpu_cmp = 0;
  15741     uint32_t _cf = 0;
  15742     int _df = 1;
  15743     uint32_t _flag_k = FK_NONE;
  15744     uint32_t _flag_a = 0, _flag_b = 0;
  15745     uint32_t _itail_tgt = 0;
  15746     RECOMP_REGS_LOCALS
  15747     RECOMP_ENTER(0x4000E850u);
  15748 
  15749 L_4000E850:
  15750     PUSH32(esp, ebp); /* 0x4000E850: push ebp */
  15751     ebp = esp; /* 0x4000E851: mov ebp, esp */
  15752     PUSH32(esp, ecx); /* 0x4000E853: push ecx */
  15753     PUSH32(esp, ebx); /* 0x4000E854: push ebx */
  15754     PUSH32(esp, esi); /* 0x4000E855: push esi */
  15755     PUSH32(esp, edi); /* 0x4000E856: push edi */
  15756     PUSH32(esp, 0x24u); /* 0x4000E857: push 0x24 */
  15757     esi = ecx; /* 0x4000E859: mov esi, ecx */
  15758     RECOMP_ICALL(0x40014704u); /* 0x4000E85B: call 0x40014704 */ /* not lifted */
  15759     RECOMP_FLAGS_IN();
  15760     edi = MEM32(ebp + 0x10); /* 0x4000E860: mov edi, dword ptr [ebp + 0x10] */
  15761     ebx = MEM32(ebp + 0x14); /* 0x4000E863: mov ebx, dword ptr [ebp + 0x14] */
  15762     MEM32(eax + 0x4) = edi; /* 0x4000E866: mov dword ptr [eax + 4], edi */
  15763     MEM8(eax + 0x20) = (uint8_t)(0); /* 0x4000E869: mov byte ptr [eax + 0x20], 0 */
  15764     MEM8(eax + 0x21) = (uint8_t)(0); /* 0x4000E86D: mov byte ptr [eax + 0x21], 0 */
  15765     ecx = MEM32(esi + 0x8); /* 0x4000E871: mov ecx, dword ptr [esi + 8] */
  15766     MEM32(eax) = ecx; /* 0x4000E874: mov dword ptr [eax], ecx */
  15767     edx = MEM32(esi + 0x8); /* 0x4000E876: mov edx, dword ptr [esi + 8] */
  15768     MEM32(ebp + (-0x4)) = eax; /* 0x4000E879: mov dword ptr [ebp - 4], eax */
  15769     MEM32(eax + 0x8) = edx; /* 0x4000E87C: mov dword ptr [eax + 8], edx */
  15770     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  15771     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15772     eax = eax + 0xCu; /* 0x4000E87F: add eax, 0xc */
  15773     _flag_k = FK_ADD;
  15774     PUSH32(esp, ebx); /* 0x4000E882: push ebx */
  15775     PUSH32(esp, eax); /* 0x4000E883: push eax */
  15776     RECOMP_ICALL(0x4000FC40u); /* 0x4000E884: call 0x4000fc40 */ /* not lifted */
  15777     RECOMP_FLAGS_IN();
  15778     ecx = MEM32(esi + 0x10); /* 0x4000E889: mov ecx, dword ptr [esi + 0x10] */
  15779     eax = MEM32(esi + 0x4); /* 0x4000E88C: mov eax, dword ptr [esi + 4] */
  15780     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  15781     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  15782     esp = esp + 0xCu; /* 0x4000E88F: add esp, 0xc */
  15783     _flag_k = FK_ADD;
  15784     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  15785     ecx = ecx + 1; /* 0x4000E892: inc ecx */
  15786     _flag_k = FK_INC;
  15787     /* cmp edi, eax */ /* 0x4000E893: cmp edi, eax */
  15788     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  15789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15790     _flag_k = FK_CMP;
  15791     MEM32(esi + 0x10) = ecx; /* 0x4000E895: mov dword ptr [esi + 0x10], ecx */
  15792     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E8C4; /* 0x4000E898: je 0x4000e8c4 */
  15793 L_4000E89A:
  15794     eax = MEM32(ebp + 0xC); /* 0x4000E89A: mov eax, dword ptr [ebp + 0xc] */
  15795     /* cmp eax, MEM32(esi + 0x8) */ /* 0x4000E89D: cmp eax, dword ptr [esi + 8] */
  15796     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15798     _flag_k = FK_CMP;
  15799     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8C4; /* 0x4000E8A0: jne 0x4000e8c4 */
  15800 L_4000E8A2:
  15801     ecx = edi + 0xC; /* 0x4000E8A2: lea ecx, [edi + 0xc] */
  15802     PUSH32(esp, ecx); /* 0x4000E8A5: push ecx */
  15803     ecx = ebx; /* 0x4000E8A6: mov ecx, ebx */
  15804     RECOMP_ICALL(0x400015C0u); /* 0x4000E8A8: call 0x400015c0 */ /* not lifted */
  15805     RECOMP_FLAGS_IN();
  15806     /* test LO8(eax), LO8(eax) */ /* 0x4000E8AD: test al, al */
  15807     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  15808     _cf = 0;
  15809     _flag_k = FK_NARROW(FK_TEST, 24);
  15810     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000E8C4; /* 0x4000E8AF: jne 0x4000e8c4 */
  15811 L_4000E8B1:
  15812     ecx = MEM32(ebp + (-0x4)); /* 0x4000E8B1: mov ecx, dword ptr [ebp - 4] */
  15813     MEM32(edi + 0x8) = ecx; /* 0x4000E8B4: mov dword ptr [edi + 8], ecx */
  15814     eax = MEM32(esi + 0x4); /* 0x4000E8B7: mov eax, dword ptr [esi + 4] */
  15815     /* cmp edi, MEM32(eax + 0x8) */ /* 0x4000E8BA: cmp edi, dword ptr [eax + 8] */
  15816     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  15817     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15818     _flag_k = FK_CMP;
  15819     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8E4; /* 0x4000E8BD: jne 0x4000e8e4 */
  15820 L_4000E8BF:
  15821     MEM32(eax + 0x8) = ecx; /* 0x4000E8BF: mov dword ptr [eax + 8], ecx */
  15822     goto L_4000E8E4; /* 0x4000E8C2: jmp 0x4000e8e4 */
  15823 L_4000E8C4:
  15824     ecx = MEM32(ebp + (-0x4)); /* 0x4000E8C4: mov ecx, dword ptr [ebp - 4] */
  15825     MEM32(edi) = ecx; /* 0x4000E8C7: mov dword ptr [edi], ecx */
  15826     eax = MEM32(esi + 0x4); /* 0x4000E8C9: mov eax, dword ptr [esi + 4] */
  15827     /* cmp edi, eax */ /* 0x4000E8CC: cmp edi, eax */
  15828     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  15829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15830     _flag_k = FK_CMP;
  15831     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8DB; /* 0x4000E8CE: jne 0x4000e8db */
  15832 L_4000E8D0:
  15833     MEM32(eax + 0x4) = ecx; /* 0x4000E8D0: mov dword ptr [eax + 4], ecx */
  15834     edx = MEM32(esi + 0x4); /* 0x4000E8D3: mov edx, dword ptr [esi + 4] */
  15835     MEM32(edx + 0x8) = ecx; /* 0x4000E8D6: mov dword ptr [edx + 8], ecx */
  15836     goto L_4000E8E4; /* 0x4000E8D9: jmp 0x4000e8e4 */
  15837 L_4000E8DB:
  15838     /* cmp edi, MEM32(eax) */ /* 0x4000E8DB: cmp edi, dword ptr [eax] */
  15839     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
  15840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15841     _flag_k = FK_CMP;
  15842     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8E4; /* 0x4000E8DD: jne 0x4000e8e4 */
  15843 L_4000E8DF:
  15844     ecx = MEM32(ebp + (-0x4)); /* 0x4000E8DF: mov ecx, dword ptr [ebp - 4] */
  15845     MEM32(eax) = ecx; /* 0x4000E8E2: mov dword ptr [eax], ecx */
  15846 L_4000E8E4:
  15847     edx = MEM32(esi + 0x4); /* 0x4000E8E4: mov edx, dword ptr [esi + 4] */
  15848     eax = MEM32(ebp + (-0x4)); /* 0x4000E8E7: mov eax, dword ptr [ebp - 4] */
  15849     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E8EA: cmp eax, dword ptr [edx + 4] */
  15850     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15851     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15852     _flag_k = FK_CMP;
  15853     SET_LO8(ebx, 1); /* 0x4000E8ED: mov bl, 1 */
  15854     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8EF: je 0x4000ea75 */
  15855 L_4000E8F5:
  15856     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  15857     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  15858     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  15859     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  15860     _cf = 0;
  15861     _flag_k = FK_NARROW(FK_TEST, 24);
  15862     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  15863 L_4000E903:
  15864     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  15865     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  15866     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  15867     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  15868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15869     _flag_k = FK_CMP;
  15870     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  15871 L_4000E910:
  15872     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  15873     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  15874     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  15875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15876     _flag_k = FK_NARROW(FK_CMP, 24);
  15877     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  15878 L_4000E919:
  15879     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  15880     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  15881     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  15882     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  15883     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  15884     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  15885     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  15886     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  15887 L_4000E934:
  15888     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  15889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  15890     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15891     _flag_k = FK_CMP;
  15892     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  15893 L_4000E939:
  15894     eax = ecx; /* 0x4000E939: mov eax, ecx */
  15895     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  15896     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  15897     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  15898     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  15899     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  15900     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15901     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15902     _flag_k = FK_CMP;
  15903     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  15904 L_4000E94A:
  15905     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  15906 L_4000E94D:
  15907     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  15908     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  15909     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  15910     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  15911     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  15912     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15913     _flag_k = FK_CMP;
  15914     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  15915 L_4000E95B:
  15916     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  15917     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  15918 L_4000E960:
  15919     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  15920     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  15921     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  15922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15923     _flag_k = FK_CMP;
  15924     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  15925 L_4000E967:
  15926     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  15927     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  15928 L_4000E96B:
  15929     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  15930 L_4000E96E:
  15931     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  15932     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  15933 L_4000E973:
  15934     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  15935     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  15936     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  15937     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  15938     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  15939     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  15940     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  15941     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  15942     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  15943     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  15944     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  15945     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  15946     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  15947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15948     _flag_k = FK_CMP;
  15949     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  15950 L_4000E998:
  15951     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  15952 L_4000E99B:
  15953     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  15954     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  15955     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  15956     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  15957     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  15958     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15959     _flag_k = FK_CMP;
  15960     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  15961 L_4000E9A9:
  15962     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  15963     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  15964     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  15965 L_4000E9B4:
  15966     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  15967     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  15968     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  15969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15970     _flag_k = FK_CMP;
  15971     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  15972 L_4000E9BC:
  15973     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  15974     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  15975     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  15976 L_4000E9C7:
  15977     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  15978     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  15979     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  15980 L_4000E9D1:
  15981     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  15982     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  15983     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15984     _flag_k = FK_NARROW(FK_CMP, 24);
  15985     RECOMP_BACKEDGE();
  15986     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  15987 L_4000E9DB:
  15988     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  15989     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  15990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  15991     _flag_k = FK_CMP;
  15992     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  15993 L_4000E9DF:
  15994     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  15995     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  15996     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  15997     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  15998     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  15999     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  16000     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16002     _flag_k = FK_CMP;
  16003     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  16004 L_4000E9F0:
  16005     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  16006 L_4000E9F3:
  16007     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  16008     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  16009     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  16010     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  16011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16013     _flag_k = FK_CMP;
  16014     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  16015 L_4000EA01:
  16016     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  16017     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  16018 L_4000EA06:
  16019     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  16020     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  16021     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  16022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16023     _flag_k = FK_CMP;
  16024     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  16025 L_4000EA0E:
  16026     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  16027     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  16028 L_4000EA13:
  16029     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  16030 L_4000EA15:
  16031     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  16032     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  16033 L_4000EA1B:
  16034     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  16035     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  16036     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  16037     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  16038     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  16039     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  16040     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  16041     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  16042     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  16043     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  16044     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  16045     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  16046     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16047     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16048     _flag_k = FK_CMP;
  16049     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  16050 L_4000EA40:
  16051     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  16052 L_4000EA43:
  16053     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  16054     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  16055     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  16056     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  16057     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16059     _flag_k = FK_CMP;
  16060     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  16061 L_4000EA51:
  16062     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  16063     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  16064 L_4000EA56:
  16065     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  16066     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  16067     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  16068     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16069     _flag_k = FK_CMP;
  16070     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  16071 L_4000EA5D:
  16072     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  16073     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  16074 L_4000EA61:
  16075     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  16076 L_4000EA64:
  16077     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  16078 L_4000EA66:
  16079     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  16080 L_4000EA69:
  16081     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  16082     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  16083     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  16084     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16085     _flag_k = FK_CMP;
  16086     RECOMP_BACKEDGE();
  16087     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  16088 L_4000EA75:
  16089     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  16090     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  16091     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  16092     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  16093     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  16094     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  16095     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  16096     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  16097     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  16098     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  16099     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  16100     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  16101     RECOMP_REGS_OUT();
  16102 }
  16103 
  16104 void sub_4000E8F5(void) {
  16105     int _fpu_cmp = 0;
  16106     uint32_t _cf = 0;
  16107     int _df = 1;
  16108     uint32_t _flag_k = FK_NONE;
  16109     uint32_t _flag_a = 0, _flag_b = 0;
  16110     uint32_t _itail_tgt = 0;
  16111     RECOMP_REGS_LOCALS
  16112     RECOMP_ENTER(0x4000E8F5u);
  16113 
  16114 L_4000E8F5:
  16115     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  16116     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  16117     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  16118     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  16119     _cf = 0;
  16120     _flag_k = FK_NARROW(FK_TEST, 24);
  16121     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  16122 L_4000E903:
  16123     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  16124     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  16125     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  16126     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16128     _flag_k = FK_CMP;
  16129     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  16130 L_4000E910:
  16131     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  16132     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  16133     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16134     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16135     _flag_k = FK_NARROW(FK_CMP, 24);
  16136     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  16137 L_4000E919:
  16138     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  16139     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  16140     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  16141     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  16142     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  16143     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  16144     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  16145     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  16146 L_4000E934:
  16147     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  16148     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  16149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16150     _flag_k = FK_CMP;
  16151     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  16152 L_4000E939:
  16153     eax = ecx; /* 0x4000E939: mov eax, ecx */
  16154     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  16155     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  16156     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  16157     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  16158     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  16159     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16161     _flag_k = FK_CMP;
  16162     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  16163 L_4000E94A:
  16164     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  16165 L_4000E94D:
  16166     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  16167     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  16168     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  16169     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  16170     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16172     _flag_k = FK_CMP;
  16173     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  16174 L_4000E95B:
  16175     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  16176     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  16177 L_4000E960:
  16178     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  16179     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  16180     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  16181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16182     _flag_k = FK_CMP;
  16183     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  16184 L_4000E967:
  16185     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  16186     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  16187 L_4000E96B:
  16188     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  16189 L_4000E96E:
  16190     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  16191     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  16192 L_4000E973:
  16193     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  16194     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  16195     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  16196     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  16197     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  16198     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  16199     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  16200     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  16201     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  16202     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  16203     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  16204     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  16205     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16206     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16207     _flag_k = FK_CMP;
  16208     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  16209 L_4000E998:
  16210     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  16211 L_4000E99B:
  16212     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  16213     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  16214     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  16215     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  16216     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16217     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16218     _flag_k = FK_CMP;
  16219     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  16220 L_4000E9A9:
  16221     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  16222     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  16223     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  16224 L_4000E9B4:
  16225     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  16226     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  16227     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  16228     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16229     _flag_k = FK_CMP;
  16230     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  16231 L_4000E9BC:
  16232     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  16233     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  16234     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  16235 L_4000E9C7:
  16236     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  16237     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  16238     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  16239 L_4000E9D1:
  16240     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  16241     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16243     _flag_k = FK_NARROW(FK_CMP, 24);
  16244     RECOMP_BACKEDGE();
  16245     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  16246 L_4000E9DB:
  16247     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  16248     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  16249     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16250     _flag_k = FK_CMP;
  16251     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  16252 L_4000E9DF:
  16253     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  16254     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  16255     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  16256     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  16257     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  16258     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  16259     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16260     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16261     _flag_k = FK_CMP;
  16262     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  16263 L_4000E9F0:
  16264     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  16265 L_4000E9F3:
  16266     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  16267     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  16268     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  16269     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  16270     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16271     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16272     _flag_k = FK_CMP;
  16273     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  16274 L_4000EA01:
  16275     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  16276     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  16277 L_4000EA06:
  16278     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  16279     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  16280     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  16281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16282     _flag_k = FK_CMP;
  16283     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  16284 L_4000EA0E:
  16285     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  16286     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  16287 L_4000EA13:
  16288     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  16289 L_4000EA15:
  16290     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  16291     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  16292 L_4000EA1B:
  16293     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  16294     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  16295     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  16296     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  16297     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  16298     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  16299     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  16300     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  16301     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  16302     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  16303     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  16304     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  16305     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16306     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16307     _flag_k = FK_CMP;
  16308     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  16309 L_4000EA40:
  16310     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  16311 L_4000EA43:
  16312     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  16313     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  16314     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  16315     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  16316     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16317     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16318     _flag_k = FK_CMP;
  16319     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  16320 L_4000EA51:
  16321     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  16322     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  16323 L_4000EA56:
  16324     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  16325     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  16326     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  16327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16328     _flag_k = FK_CMP;
  16329     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  16330 L_4000EA5D:
  16331     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  16332     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  16333 L_4000EA61:
  16334     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  16335 L_4000EA64:
  16336     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  16337 L_4000EA66:
  16338     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  16339 L_4000EA69:
  16340     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  16341     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  16342     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  16343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16344     _flag_k = FK_CMP;
  16345     RECOMP_BACKEDGE();
  16346     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  16347 L_4000EA75:
  16348     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  16349     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  16350     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  16351     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  16352     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  16353     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  16354     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  16355     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  16356     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  16357     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  16358     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  16359     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  16360     RECOMP_REGS_OUT();
  16361 }
  16362 
  16363 void sub_4000E919(void) {
  16364     int _fpu_cmp = 0;
  16365     uint32_t _cf = 0;
  16366     int _df = 1;
  16367     uint32_t _flag_k = FK_NONE;
  16368     uint32_t _flag_a = 0, _flag_b = 0;
  16369     uint32_t _itail_tgt = 0;
  16370     RECOMP_REGS_LOCALS
  16371     RECOMP_ENTER(0x4000E919u);
  16372 
  16373     goto L_4000E919;
  16374 L_4000E8F5:
  16375     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  16376     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  16377     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  16378     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  16379     _cf = 0;
  16380     _flag_k = FK_NARROW(FK_TEST, 24);
  16381     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  16382 L_4000E903:
  16383     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  16384     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  16385     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  16386     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16387     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16388     _flag_k = FK_CMP;
  16389     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  16390 L_4000E910:
  16391     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  16392     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  16393     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16394     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16395     _flag_k = FK_NARROW(FK_CMP, 24);
  16396     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  16397 L_4000E919:
  16398     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  16399     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  16400     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  16401     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  16402     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  16403     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  16404     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  16405     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  16406 L_4000E934:
  16407     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  16408     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  16409     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16410     _flag_k = FK_CMP;
  16411     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  16412 L_4000E939:
  16413     eax = ecx; /* 0x4000E939: mov eax, ecx */
  16414     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  16415     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  16416     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  16417     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  16418     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  16419     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16420     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16421     _flag_k = FK_CMP;
  16422     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  16423 L_4000E94A:
  16424     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  16425 L_4000E94D:
  16426     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  16427     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  16428     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  16429     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  16430     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16432     _flag_k = FK_CMP;
  16433     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  16434 L_4000E95B:
  16435     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  16436     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  16437 L_4000E960:
  16438     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  16439     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  16440     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  16441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16442     _flag_k = FK_CMP;
  16443     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  16444 L_4000E967:
  16445     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  16446     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  16447 L_4000E96B:
  16448     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  16449 L_4000E96E:
  16450     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  16451     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  16452 L_4000E973:
  16453     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  16454     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  16455     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  16456     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  16457     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  16458     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  16459     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  16460     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  16461     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  16462     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  16463     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  16464     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  16465     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16466     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16467     _flag_k = FK_CMP;
  16468     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  16469 L_4000E998:
  16470     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  16471 L_4000E99B:
  16472     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  16473     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  16474     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  16475     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  16476     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16478     _flag_k = FK_CMP;
  16479     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  16480 L_4000E9A9:
  16481     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  16482     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  16483     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  16484 L_4000E9B4:
  16485     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  16486     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  16487     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  16488     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16489     _flag_k = FK_CMP;
  16490     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  16491 L_4000E9BC:
  16492     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  16493     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  16494     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  16495 L_4000E9C7:
  16496     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  16497     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  16498     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  16499 L_4000E9D1:
  16500     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  16501     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16502     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16503     _flag_k = FK_NARROW(FK_CMP, 24);
  16504     RECOMP_BACKEDGE();
  16505     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  16506 L_4000E9DB:
  16507     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  16508     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  16509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16510     _flag_k = FK_CMP;
  16511     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  16512 L_4000E9DF:
  16513     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  16514     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  16515     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  16516     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  16517     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  16518     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  16519     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16521     _flag_k = FK_CMP;
  16522     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  16523 L_4000E9F0:
  16524     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  16525 L_4000E9F3:
  16526     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  16527     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  16528     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  16529     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  16530     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16531     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16532     _flag_k = FK_CMP;
  16533     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  16534 L_4000EA01:
  16535     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  16536     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  16537 L_4000EA06:
  16538     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  16539     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  16540     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  16541     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16542     _flag_k = FK_CMP;
  16543     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  16544 L_4000EA0E:
  16545     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  16546     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  16547 L_4000EA13:
  16548     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  16549 L_4000EA15:
  16550     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  16551     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  16552 L_4000EA1B:
  16553     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  16554     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  16555     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  16556     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  16557     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  16558     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  16559     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  16560     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  16561     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  16562     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  16563     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  16564     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  16565     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16566     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16567     _flag_k = FK_CMP;
  16568     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  16569 L_4000EA40:
  16570     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  16571 L_4000EA43:
  16572     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  16573     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  16574     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  16575     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  16576     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16577     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16578     _flag_k = FK_CMP;
  16579     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  16580 L_4000EA51:
  16581     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  16582     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  16583 L_4000EA56:
  16584     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  16585     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  16586     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  16587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16588     _flag_k = FK_CMP;
  16589     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  16590 L_4000EA5D:
  16591     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  16592     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  16593 L_4000EA61:
  16594     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  16595 L_4000EA64:
  16596     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  16597 L_4000EA66:
  16598     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  16599 L_4000EA69:
  16600     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  16601     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  16602     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  16603     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16604     _flag_k = FK_CMP;
  16605     RECOMP_BACKEDGE();
  16606     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  16607 L_4000EA75:
  16608     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  16609     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  16610     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  16611     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  16612     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  16613     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  16614     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  16615     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  16616     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  16617     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  16618     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  16619     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  16620     RECOMP_REGS_OUT();
  16621 }
  16622 
  16623 void sub_4000E96E(void) {
  16624     int _fpu_cmp = 0;
  16625     uint32_t _cf = 0;
  16626     int _df = 1;
  16627     uint32_t _flag_k = FK_NONE;
  16628     uint32_t _flag_a = 0, _flag_b = 0;
  16629     uint32_t _itail_tgt = 0;
  16630     RECOMP_REGS_LOCALS
  16631     RECOMP_ENTER(0x4000E96Eu);
  16632 
  16633     goto L_4000E96E;
  16634 L_4000E8F5:
  16635     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  16636     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  16637     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  16638     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  16639     _cf = 0;
  16640     _flag_k = FK_NARROW(FK_TEST, 24);
  16641     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  16642 L_4000E903:
  16643     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  16644     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  16645     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  16646     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16647     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16648     _flag_k = FK_CMP;
  16649     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  16650 L_4000E910:
  16651     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  16652     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  16653     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16655     _flag_k = FK_NARROW(FK_CMP, 24);
  16656     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  16657 L_4000E919:
  16658     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  16659     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  16660     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  16661     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  16662     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  16663     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  16664     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  16665     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  16666 L_4000E934:
  16667     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  16668     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  16669     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16670     _flag_k = FK_CMP;
  16671     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  16672 L_4000E939:
  16673     eax = ecx; /* 0x4000E939: mov eax, ecx */
  16674     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  16675     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  16676     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  16677     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  16678     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  16679     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16681     _flag_k = FK_CMP;
  16682     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  16683 L_4000E94A:
  16684     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  16685 L_4000E94D:
  16686     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  16687     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  16688     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  16689     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  16690     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16692     _flag_k = FK_CMP;
  16693     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  16694 L_4000E95B:
  16695     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  16696     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  16697 L_4000E960:
  16698     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  16699     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  16700     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  16701     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16702     _flag_k = FK_CMP;
  16703     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  16704 L_4000E967:
  16705     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  16706     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  16707 L_4000E96B:
  16708     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  16709 L_4000E96E:
  16710     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  16711     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  16712 L_4000E973:
  16713     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  16714     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  16715     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  16716     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  16717     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  16718     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  16719     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  16720     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  16721     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  16722     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  16723     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  16724     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  16725     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16727     _flag_k = FK_CMP;
  16728     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  16729 L_4000E998:
  16730     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  16731 L_4000E99B:
  16732     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  16733     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  16734     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  16735     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  16736     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16738     _flag_k = FK_CMP;
  16739     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  16740 L_4000E9A9:
  16741     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  16742     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  16743     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  16744 L_4000E9B4:
  16745     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  16746     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  16747     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  16748     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16749     _flag_k = FK_CMP;
  16750     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  16751 L_4000E9BC:
  16752     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  16753     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  16754     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  16755 L_4000E9C7:
  16756     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  16757     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  16758     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  16759 L_4000E9D1:
  16760     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  16761     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16762     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16763     _flag_k = FK_NARROW(FK_CMP, 24);
  16764     RECOMP_BACKEDGE();
  16765     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  16766 L_4000E9DB:
  16767     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  16768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  16769     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16770     _flag_k = FK_CMP;
  16771     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  16772 L_4000E9DF:
  16773     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  16774     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  16775     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  16776     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  16777     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  16778     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  16779     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16780     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16781     _flag_k = FK_CMP;
  16782     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  16783 L_4000E9F0:
  16784     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  16785 L_4000E9F3:
  16786     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  16787     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  16788     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  16789     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  16790     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16791     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16792     _flag_k = FK_CMP;
  16793     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  16794 L_4000EA01:
  16795     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  16796     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  16797 L_4000EA06:
  16798     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  16799     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  16800     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  16801     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16802     _flag_k = FK_CMP;
  16803     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  16804 L_4000EA0E:
  16805     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  16806     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  16807 L_4000EA13:
  16808     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  16809 L_4000EA15:
  16810     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  16811     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  16812 L_4000EA1B:
  16813     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  16814     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  16815     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  16816     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  16817     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  16818     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  16819     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  16820     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  16821     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  16822     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  16823     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  16824     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  16825     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16826     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16827     _flag_k = FK_CMP;
  16828     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  16829 L_4000EA40:
  16830     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  16831 L_4000EA43:
  16832     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  16833     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  16834     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  16835     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  16836     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16838     _flag_k = FK_CMP;
  16839     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  16840 L_4000EA51:
  16841     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  16842     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  16843 L_4000EA56:
  16844     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  16845     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  16846     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  16847     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16848     _flag_k = FK_CMP;
  16849     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  16850 L_4000EA5D:
  16851     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  16852     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  16853 L_4000EA61:
  16854     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  16855 L_4000EA64:
  16856     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  16857 L_4000EA66:
  16858     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  16859 L_4000EA69:
  16860     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  16861     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  16862     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  16863     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16864     _flag_k = FK_CMP;
  16865     RECOMP_BACKEDGE();
  16866     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  16867 L_4000EA75:
  16868     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  16869     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  16870     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  16871     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  16872     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  16873     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  16874     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  16875     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  16876     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  16877     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  16878     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  16879     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  16880     RECOMP_REGS_OUT();
  16881 }
  16882 
  16883 void sub_4000E973(void) {
  16884     int _fpu_cmp = 0;
  16885     uint32_t _cf = 0;
  16886     int _df = 1;
  16887     uint32_t _flag_k = FK_NONE;
  16888     uint32_t _flag_a = 0, _flag_b = 0;
  16889     uint32_t _itail_tgt = 0;
  16890     RECOMP_REGS_LOCALS
  16891     RECOMP_ENTER(0x4000E973u);
  16892 
  16893     goto L_4000E973;
  16894 L_4000E8F5:
  16895     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  16896     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  16897     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  16898     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  16899     _cf = 0;
  16900     _flag_k = FK_NARROW(FK_TEST, 24);
  16901     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  16902 L_4000E903:
  16903     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  16904     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  16905     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  16906     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  16907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16908     _flag_k = FK_CMP;
  16909     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  16910 L_4000E910:
  16911     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  16912     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  16913     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  16914     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16915     _flag_k = FK_NARROW(FK_CMP, 24);
  16916     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  16917 L_4000E919:
  16918     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  16919     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  16920     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  16921     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  16922     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  16923     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  16924     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  16925     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  16926 L_4000E934:
  16927     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  16928     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  16929     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16930     _flag_k = FK_CMP;
  16931     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  16932 L_4000E939:
  16933     eax = ecx; /* 0x4000E939: mov eax, ecx */
  16934     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  16935     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  16936     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  16937     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  16938     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  16939     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16941     _flag_k = FK_CMP;
  16942     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  16943 L_4000E94A:
  16944     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  16945 L_4000E94D:
  16946     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  16947     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  16948     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  16949     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  16950     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  16951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16952     _flag_k = FK_CMP;
  16953     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  16954 L_4000E95B:
  16955     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  16956     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  16957 L_4000E960:
  16958     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  16959     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  16960     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  16961     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16962     _flag_k = FK_CMP;
  16963     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  16964 L_4000E967:
  16965     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  16966     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  16967 L_4000E96B:
  16968     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  16969 L_4000E96E:
  16970     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  16971     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  16972 L_4000E973:
  16973     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  16974     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  16975     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  16976     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  16977     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  16978     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  16979     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  16980     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  16981     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  16982     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  16983     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  16984     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  16985     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  16986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16987     _flag_k = FK_CMP;
  16988     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  16989 L_4000E998:
  16990     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  16991 L_4000E99B:
  16992     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  16993     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  16994     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  16995     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  16996     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  16997     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  16998     _flag_k = FK_CMP;
  16999     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  17000 L_4000E9A9:
  17001     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  17002     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  17003     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  17004 L_4000E9B4:
  17005     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  17006     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  17007     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  17008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17009     _flag_k = FK_CMP;
  17010     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  17011 L_4000E9BC:
  17012     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  17013     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  17014     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  17015 L_4000E9C7:
  17016     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  17017     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  17018     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  17019 L_4000E9D1:
  17020     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  17021     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17022     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17023     _flag_k = FK_NARROW(FK_CMP, 24);
  17024     RECOMP_BACKEDGE();
  17025     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  17026 L_4000E9DB:
  17027     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  17028     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  17029     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17030     _flag_k = FK_CMP;
  17031     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  17032 L_4000E9DF:
  17033     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  17034     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  17035     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  17036     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  17037     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  17038     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  17039     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17040     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17041     _flag_k = FK_CMP;
  17042     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  17043 L_4000E9F0:
  17044     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  17045 L_4000E9F3:
  17046     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  17047     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  17048     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  17049     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  17050     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17051     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17052     _flag_k = FK_CMP;
  17053     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  17054 L_4000EA01:
  17055     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  17056     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  17057 L_4000EA06:
  17058     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  17059     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  17060     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  17061     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17062     _flag_k = FK_CMP;
  17063     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  17064 L_4000EA0E:
  17065     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  17066     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  17067 L_4000EA13:
  17068     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  17069 L_4000EA15:
  17070     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  17071     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  17072 L_4000EA1B:
  17073     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  17074     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  17075     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  17076     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  17077     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  17078     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  17079     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  17080     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  17081     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  17082     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  17083     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  17084     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  17085     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17086     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17087     _flag_k = FK_CMP;
  17088     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  17089 L_4000EA40:
  17090     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  17091 L_4000EA43:
  17092     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  17093     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  17094     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  17095     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  17096     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17097     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17098     _flag_k = FK_CMP;
  17099     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  17100 L_4000EA51:
  17101     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  17102     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  17103 L_4000EA56:
  17104     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  17105     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  17106     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  17107     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17108     _flag_k = FK_CMP;
  17109     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  17110 L_4000EA5D:
  17111     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  17112     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  17113 L_4000EA61:
  17114     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  17115 L_4000EA64:
  17116     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  17117 L_4000EA66:
  17118     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  17119 L_4000EA69:
  17120     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  17121     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  17122     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  17123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17124     _flag_k = FK_CMP;
  17125     RECOMP_BACKEDGE();
  17126     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  17127 L_4000EA75:
  17128     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  17129     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  17130     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  17131     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  17132     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  17133     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  17134     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  17135     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  17136     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  17137     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  17138     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  17139     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  17140     RECOMP_REGS_OUT();
  17141 }
  17142 
  17143 void sub_4000E9D1(void) {
  17144     int _fpu_cmp = 0;
  17145     uint32_t _cf = 0;
  17146     int _df = 1;
  17147     uint32_t _flag_k = FK_NONE;
  17148     uint32_t _flag_a = 0, _flag_b = 0;
  17149     uint32_t _itail_tgt = 0;
  17150     RECOMP_REGS_LOCALS
  17151     RECOMP_ENTER(0x4000E9D1u);
  17152 
  17153     goto L_4000E9D1;
  17154 L_4000E8F5:
  17155     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  17156     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  17157     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  17158     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  17159     _cf = 0;
  17160     _flag_k = FK_NARROW(FK_TEST, 24);
  17161     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  17162 L_4000E903:
  17163     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  17164     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  17165     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  17166     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  17167     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17168     _flag_k = FK_CMP;
  17169     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  17170 L_4000E910:
  17171     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  17172     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  17173     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17174     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17175     _flag_k = FK_NARROW(FK_CMP, 24);
  17176     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  17177 L_4000E919:
  17178     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  17179     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  17180     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  17181     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  17182     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  17183     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  17184     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  17185     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  17186 L_4000E934:
  17187     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  17188     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  17189     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17190     _flag_k = FK_CMP;
  17191     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  17192 L_4000E939:
  17193     eax = ecx; /* 0x4000E939: mov eax, ecx */
  17194     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  17195     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  17196     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  17197     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  17198     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  17199     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17200     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17201     _flag_k = FK_CMP;
  17202     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  17203 L_4000E94A:
  17204     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  17205 L_4000E94D:
  17206     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  17207     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  17208     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  17209     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  17210     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17211     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17212     _flag_k = FK_CMP;
  17213     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  17214 L_4000E95B:
  17215     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  17216     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  17217 L_4000E960:
  17218     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  17219     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  17220     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  17221     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17222     _flag_k = FK_CMP;
  17223     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  17224 L_4000E967:
  17225     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  17226     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  17227 L_4000E96B:
  17228     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  17229 L_4000E96E:
  17230     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  17231     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  17232 L_4000E973:
  17233     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  17234     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  17235     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  17236     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  17237     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  17238     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  17239     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  17240     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  17241     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  17242     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  17243     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  17244     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  17245     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17246     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17247     _flag_k = FK_CMP;
  17248     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  17249 L_4000E998:
  17250     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  17251 L_4000E99B:
  17252     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  17253     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  17254     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  17255     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  17256     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17258     _flag_k = FK_CMP;
  17259     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  17260 L_4000E9A9:
  17261     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  17262     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  17263     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  17264 L_4000E9B4:
  17265     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  17266     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  17267     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  17268     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17269     _flag_k = FK_CMP;
  17270     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  17271 L_4000E9BC:
  17272     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  17273     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  17274     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  17275 L_4000E9C7:
  17276     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  17277     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  17278     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  17279 L_4000E9D1:
  17280     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  17281     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17282     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17283     _flag_k = FK_NARROW(FK_CMP, 24);
  17284     RECOMP_BACKEDGE();
  17285     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  17286 L_4000E9DB:
  17287     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  17288     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  17289     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17290     _flag_k = FK_CMP;
  17291     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  17292 L_4000E9DF:
  17293     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  17294     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  17295     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  17296     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  17297     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  17298     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  17299     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17300     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17301     _flag_k = FK_CMP;
  17302     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  17303 L_4000E9F0:
  17304     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  17305 L_4000E9F3:
  17306     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  17307     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  17308     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  17309     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  17310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17311     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17312     _flag_k = FK_CMP;
  17313     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  17314 L_4000EA01:
  17315     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  17316     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  17317 L_4000EA06:
  17318     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  17319     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  17320     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  17321     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17322     _flag_k = FK_CMP;
  17323     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  17324 L_4000EA0E:
  17325     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  17326     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  17327 L_4000EA13:
  17328     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  17329 L_4000EA15:
  17330     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  17331     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  17332 L_4000EA1B:
  17333     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  17334     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  17335     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  17336     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  17337     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  17338     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  17339     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  17340     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  17341     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  17342     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  17343     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  17344     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  17345     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17347     _flag_k = FK_CMP;
  17348     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  17349 L_4000EA40:
  17350     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  17351 L_4000EA43:
  17352     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  17353     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  17354     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  17355     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  17356     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17357     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17358     _flag_k = FK_CMP;
  17359     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  17360 L_4000EA51:
  17361     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  17362     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  17363 L_4000EA56:
  17364     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  17365     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  17366     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  17367     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17368     _flag_k = FK_CMP;
  17369     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  17370 L_4000EA5D:
  17371     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  17372     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  17373 L_4000EA61:
  17374     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  17375 L_4000EA64:
  17376     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  17377 L_4000EA66:
  17378     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  17379 L_4000EA69:
  17380     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  17381     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  17382     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  17383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17384     _flag_k = FK_CMP;
  17385     RECOMP_BACKEDGE();
  17386     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  17387 L_4000EA75:
  17388     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  17389     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  17390     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  17391     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  17392     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  17393     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  17394     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  17395     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  17396     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  17397     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  17398     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  17399     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  17400     RECOMP_REGS_OUT();
  17401 }
  17402 
  17403 void sub_4000EA15(void) {
  17404     int _fpu_cmp = 0;
  17405     uint32_t _cf = 0;
  17406     int _df = 1;
  17407     uint32_t _flag_k = FK_NONE;
  17408     uint32_t _flag_a = 0, _flag_b = 0;
  17409     uint32_t _itail_tgt = 0;
  17410     RECOMP_REGS_LOCALS
  17411     RECOMP_ENTER(0x4000EA15u);
  17412 
  17413     goto L_4000EA15;
  17414 L_4000E8F5:
  17415     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  17416     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  17417     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  17418     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  17419     _cf = 0;
  17420     _flag_k = FK_NARROW(FK_TEST, 24);
  17421     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  17422 L_4000E903:
  17423     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  17424     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  17425     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  17426     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  17427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17428     _flag_k = FK_CMP;
  17429     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  17430 L_4000E910:
  17431     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  17432     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  17433     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17434     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17435     _flag_k = FK_NARROW(FK_CMP, 24);
  17436     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  17437 L_4000E919:
  17438     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  17439     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  17440     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  17441     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  17442     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  17443     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  17444     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  17445     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  17446 L_4000E934:
  17447     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  17448     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  17449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17450     _flag_k = FK_CMP;
  17451     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  17452 L_4000E939:
  17453     eax = ecx; /* 0x4000E939: mov eax, ecx */
  17454     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  17455     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  17456     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  17457     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  17458     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  17459     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17460     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17461     _flag_k = FK_CMP;
  17462     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  17463 L_4000E94A:
  17464     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  17465 L_4000E94D:
  17466     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  17467     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  17468     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  17469     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  17470     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17471     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17472     _flag_k = FK_CMP;
  17473     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  17474 L_4000E95B:
  17475     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  17476     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  17477 L_4000E960:
  17478     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  17479     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  17480     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  17481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17482     _flag_k = FK_CMP;
  17483     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  17484 L_4000E967:
  17485     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  17486     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  17487 L_4000E96B:
  17488     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  17489 L_4000E96E:
  17490     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  17491     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  17492 L_4000E973:
  17493     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  17494     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  17495     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  17496     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  17497     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  17498     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  17499     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  17500     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  17501     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  17502     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  17503     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  17504     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  17505     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17507     _flag_k = FK_CMP;
  17508     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  17509 L_4000E998:
  17510     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  17511 L_4000E99B:
  17512     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  17513     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  17514     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  17515     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  17516     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17518     _flag_k = FK_CMP;
  17519     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  17520 L_4000E9A9:
  17521     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  17522     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  17523     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  17524 L_4000E9B4:
  17525     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  17526     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  17527     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  17528     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17529     _flag_k = FK_CMP;
  17530     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  17531 L_4000E9BC:
  17532     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  17533     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  17534     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  17535 L_4000E9C7:
  17536     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  17537     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  17538     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  17539 L_4000E9D1:
  17540     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  17541     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17543     _flag_k = FK_NARROW(FK_CMP, 24);
  17544     RECOMP_BACKEDGE();
  17545     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  17546 L_4000E9DB:
  17547     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  17548     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  17549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17550     _flag_k = FK_CMP;
  17551     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  17552 L_4000E9DF:
  17553     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  17554     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  17555     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  17556     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  17557     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  17558     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  17559     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17560     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17561     _flag_k = FK_CMP;
  17562     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  17563 L_4000E9F0:
  17564     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  17565 L_4000E9F3:
  17566     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  17567     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  17568     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  17569     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  17570     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17571     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17572     _flag_k = FK_CMP;
  17573     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  17574 L_4000EA01:
  17575     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  17576     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  17577 L_4000EA06:
  17578     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  17579     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  17580     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  17581     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17582     _flag_k = FK_CMP;
  17583     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  17584 L_4000EA0E:
  17585     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  17586     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  17587 L_4000EA13:
  17588     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  17589 L_4000EA15:
  17590     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  17591     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  17592 L_4000EA1B:
  17593     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  17594     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  17595     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  17596     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  17597     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  17598     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  17599     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  17600     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  17601     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  17602     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  17603     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  17604     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  17605     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17607     _flag_k = FK_CMP;
  17608     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  17609 L_4000EA40:
  17610     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  17611 L_4000EA43:
  17612     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  17613     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  17614     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  17615     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  17616     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17617     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17618     _flag_k = FK_CMP;
  17619     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  17620 L_4000EA51:
  17621     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  17622     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  17623 L_4000EA56:
  17624     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  17625     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  17626     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  17627     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17628     _flag_k = FK_CMP;
  17629     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  17630 L_4000EA5D:
  17631     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  17632     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  17633 L_4000EA61:
  17634     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  17635 L_4000EA64:
  17636     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  17637 L_4000EA66:
  17638     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  17639 L_4000EA69:
  17640     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  17641     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  17642     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  17643     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17644     _flag_k = FK_CMP;
  17645     RECOMP_BACKEDGE();
  17646     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  17647 L_4000EA75:
  17648     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  17649     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  17650     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  17651     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  17652     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  17653     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  17654     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  17655     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  17656     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  17657     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  17658     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  17659     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  17660     RECOMP_REGS_OUT();
  17661 }
  17662 
  17663 void sub_4000EA1B(void) {
  17664     int _fpu_cmp = 0;
  17665     uint32_t _cf = 0;
  17666     int _df = 1;
  17667     uint32_t _flag_k = FK_NONE;
  17668     uint32_t _flag_a = 0, _flag_b = 0;
  17669     uint32_t _itail_tgt = 0;
  17670     RECOMP_REGS_LOCALS
  17671     RECOMP_ENTER(0x4000EA1Bu);
  17672 
  17673     goto L_4000EA1B;
  17674 L_4000E8F5:
  17675     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  17676     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  17677     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  17678     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  17679     _cf = 0;
  17680     _flag_k = FK_NARROW(FK_TEST, 24);
  17681     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  17682 L_4000E903:
  17683     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  17684     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  17685     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  17686     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  17687     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17688     _flag_k = FK_CMP;
  17689     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  17690 L_4000E910:
  17691     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  17692     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  17693     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17694     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17695     _flag_k = FK_NARROW(FK_CMP, 24);
  17696     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  17697 L_4000E919:
  17698     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  17699     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  17700     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  17701     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  17702     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  17703     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  17704     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  17705     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  17706 L_4000E934:
  17707     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  17708     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  17709     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17710     _flag_k = FK_CMP;
  17711     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  17712 L_4000E939:
  17713     eax = ecx; /* 0x4000E939: mov eax, ecx */
  17714     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  17715     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  17716     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  17717     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  17718     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  17719     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17720     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17721     _flag_k = FK_CMP;
  17722     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  17723 L_4000E94A:
  17724     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  17725 L_4000E94D:
  17726     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  17727     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  17728     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  17729     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  17730     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17731     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17732     _flag_k = FK_CMP;
  17733     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  17734 L_4000E95B:
  17735     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  17736     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  17737 L_4000E960:
  17738     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  17739     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  17740     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  17741     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17742     _flag_k = FK_CMP;
  17743     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  17744 L_4000E967:
  17745     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  17746     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  17747 L_4000E96B:
  17748     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  17749 L_4000E96E:
  17750     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  17751     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  17752 L_4000E973:
  17753     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  17754     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  17755     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  17756     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  17757     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  17758     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  17759     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  17760     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  17761     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  17762     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  17763     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  17764     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  17765     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17766     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17767     _flag_k = FK_CMP;
  17768     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  17769 L_4000E998:
  17770     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  17771 L_4000E99B:
  17772     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  17773     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  17774     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  17775     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  17776     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17777     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17778     _flag_k = FK_CMP;
  17779     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  17780 L_4000E9A9:
  17781     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  17782     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  17783     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  17784 L_4000E9B4:
  17785     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  17786     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  17787     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  17788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17789     _flag_k = FK_CMP;
  17790     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  17791 L_4000E9BC:
  17792     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  17793     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  17794     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  17795 L_4000E9C7:
  17796     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  17797     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  17798     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  17799 L_4000E9D1:
  17800     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  17801     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17803     _flag_k = FK_NARROW(FK_CMP, 24);
  17804     RECOMP_BACKEDGE();
  17805     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  17806 L_4000E9DB:
  17807     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  17808     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  17809     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17810     _flag_k = FK_CMP;
  17811     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  17812 L_4000E9DF:
  17813     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  17814     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  17815     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  17816     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  17817     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  17818     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  17819     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17821     _flag_k = FK_CMP;
  17822     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  17823 L_4000E9F0:
  17824     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  17825 L_4000E9F3:
  17826     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  17827     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  17828     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  17829     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  17830     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17831     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17832     _flag_k = FK_CMP;
  17833     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  17834 L_4000EA01:
  17835     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  17836     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  17837 L_4000EA06:
  17838     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  17839     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  17840     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  17841     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17842     _flag_k = FK_CMP;
  17843     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  17844 L_4000EA0E:
  17845     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  17846     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  17847 L_4000EA13:
  17848     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  17849 L_4000EA15:
  17850     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  17851     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  17852 L_4000EA1B:
  17853     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  17854     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  17855     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  17856     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  17857     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  17858     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  17859     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  17860     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  17861     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  17862     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  17863     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  17864     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  17865     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17866     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17867     _flag_k = FK_CMP;
  17868     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  17869 L_4000EA40:
  17870     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  17871 L_4000EA43:
  17872     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  17873     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  17874     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  17875     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  17876     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  17877     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17878     _flag_k = FK_CMP;
  17879     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  17880 L_4000EA51:
  17881     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  17882     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  17883 L_4000EA56:
  17884     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  17885     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  17886     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  17887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17888     _flag_k = FK_CMP;
  17889     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  17890 L_4000EA5D:
  17891     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  17892     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  17893 L_4000EA61:
  17894     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  17895 L_4000EA64:
  17896     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  17897 L_4000EA66:
  17898     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  17899 L_4000EA69:
  17900     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  17901     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  17902     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  17903     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17904     _flag_k = FK_CMP;
  17905     RECOMP_BACKEDGE();
  17906     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  17907 L_4000EA75:
  17908     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  17909     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  17910     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  17911     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  17912     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  17913     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  17914     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  17915     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  17916     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  17917     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  17918     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  17919     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  17920     RECOMP_REGS_OUT();
  17921 }
  17922 
  17923 void sub_4000EA64(void) {
  17924     int _fpu_cmp = 0;
  17925     uint32_t _cf = 0;
  17926     int _df = 1;
  17927     uint32_t _flag_k = FK_NONE;
  17928     uint32_t _flag_a = 0, _flag_b = 0;
  17929     uint32_t _itail_tgt = 0;
  17930     RECOMP_REGS_LOCALS
  17931     RECOMP_ENTER(0x4000EA64u);
  17932 
  17933     goto L_4000EA64;
  17934 L_4000E8F5:
  17935     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  17936     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  17937     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  17938     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  17939     _cf = 0;
  17940     _flag_k = FK_NARROW(FK_TEST, 24);
  17941     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  17942 L_4000E903:
  17943     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  17944     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  17945     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  17946     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  17947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17948     _flag_k = FK_CMP;
  17949     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  17950 L_4000E910:
  17951     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  17952     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  17953     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  17954     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17955     _flag_k = FK_NARROW(FK_CMP, 24);
  17956     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  17957 L_4000E919:
  17958     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  17959     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  17960     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  17961     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  17962     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  17963     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  17964     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  17965     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  17966 L_4000E934:
  17967     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  17968     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  17969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17970     _flag_k = FK_CMP;
  17971     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  17972 L_4000E939:
  17973     eax = ecx; /* 0x4000E939: mov eax, ecx */
  17974     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  17975     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  17976     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  17977     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  17978     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  17979     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  17980     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17981     _flag_k = FK_CMP;
  17982     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  17983 L_4000E94A:
  17984     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  17985 L_4000E94D:
  17986     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  17987     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  17988     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  17989     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  17990     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  17991     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  17992     _flag_k = FK_CMP;
  17993     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  17994 L_4000E95B:
  17995     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  17996     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  17997 L_4000E960:
  17998     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  17999     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  18000     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  18001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18002     _flag_k = FK_CMP;
  18003     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  18004 L_4000E967:
  18005     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  18006     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  18007 L_4000E96B:
  18008     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  18009 L_4000E96E:
  18010     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  18011     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  18012 L_4000E973:
  18013     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  18014     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  18015     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  18016     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  18017     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  18018     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  18019     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  18020     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  18021     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  18022     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  18023     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  18024     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  18025     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18027     _flag_k = FK_CMP;
  18028     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  18029 L_4000E998:
  18030     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  18031 L_4000E99B:
  18032     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  18033     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  18034     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  18035     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  18036     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18037     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18038     _flag_k = FK_CMP;
  18039     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  18040 L_4000E9A9:
  18041     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  18042     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  18043     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  18044 L_4000E9B4:
  18045     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  18046     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  18047     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  18048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18049     _flag_k = FK_CMP;
  18050     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  18051 L_4000E9BC:
  18052     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  18053     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  18054     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  18055 L_4000E9C7:
  18056     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  18057     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  18058     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  18059 L_4000E9D1:
  18060     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  18061     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  18062     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18063     _flag_k = FK_NARROW(FK_CMP, 24);
  18064     RECOMP_BACKEDGE();
  18065     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  18066 L_4000E9DB:
  18067     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  18068     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  18069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18070     _flag_k = FK_CMP;
  18071     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  18072 L_4000E9DF:
  18073     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  18074     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  18075     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  18076     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  18077     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  18078     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  18079     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18080     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18081     _flag_k = FK_CMP;
  18082     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  18083 L_4000E9F0:
  18084     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  18085 L_4000E9F3:
  18086     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  18087     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  18088     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  18089     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  18090     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18091     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18092     _flag_k = FK_CMP;
  18093     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  18094 L_4000EA01:
  18095     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  18096     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  18097 L_4000EA06:
  18098     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  18099     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  18100     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  18101     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18102     _flag_k = FK_CMP;
  18103     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  18104 L_4000EA0E:
  18105     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  18106     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  18107 L_4000EA13:
  18108     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  18109 L_4000EA15:
  18110     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  18111     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  18112 L_4000EA1B:
  18113     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  18114     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  18115     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  18116     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  18117     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  18118     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  18119     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  18120     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  18121     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  18122     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  18123     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  18124     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  18125     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18127     _flag_k = FK_CMP;
  18128     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  18129 L_4000EA40:
  18130     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  18131 L_4000EA43:
  18132     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  18133     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  18134     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  18135     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  18136     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18137     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18138     _flag_k = FK_CMP;
  18139     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  18140 L_4000EA51:
  18141     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  18142     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  18143 L_4000EA56:
  18144     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  18145     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  18146     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  18147     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18148     _flag_k = FK_CMP;
  18149     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  18150 L_4000EA5D:
  18151     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  18152     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  18153 L_4000EA61:
  18154     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  18155 L_4000EA64:
  18156     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  18157 L_4000EA66:
  18158     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  18159 L_4000EA69:
  18160     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  18161     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  18162     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  18163     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18164     _flag_k = FK_CMP;
  18165     RECOMP_BACKEDGE();
  18166     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  18167 L_4000EA75:
  18168     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  18169     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  18170     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  18171     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  18172     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  18173     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  18174     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  18175     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  18176     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  18177     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  18178     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  18179     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  18180     RECOMP_REGS_OUT();
  18181 }
  18182 
  18183 void sub_4000EA66(void) {
  18184     int _fpu_cmp = 0;
  18185     uint32_t _cf = 0;
  18186     int _df = 1;
  18187     uint32_t _flag_k = FK_NONE;
  18188     uint32_t _flag_a = 0, _flag_b = 0;
  18189     uint32_t _itail_tgt = 0;
  18190     RECOMP_REGS_LOCALS
  18191     RECOMP_ENTER(0x4000EA66u);
  18192 
  18193     goto L_4000EA66;
  18194 L_4000E8F5:
  18195     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  18196     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  18197     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  18198     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  18199     _cf = 0;
  18200     _flag_k = FK_NARROW(FK_TEST, 24);
  18201     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  18202 L_4000E903:
  18203     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  18204     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  18205     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  18206     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  18207     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18208     _flag_k = FK_CMP;
  18209     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  18210 L_4000E910:
  18211     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  18212     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  18213     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  18214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18215     _flag_k = FK_NARROW(FK_CMP, 24);
  18216     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  18217 L_4000E919:
  18218     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  18219     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  18220     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  18221     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  18222     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  18223     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  18224     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  18225     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  18226 L_4000E934:
  18227     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  18228     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  18229     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18230     _flag_k = FK_CMP;
  18231     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  18232 L_4000E939:
  18233     eax = ecx; /* 0x4000E939: mov eax, ecx */
  18234     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  18235     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  18236     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  18237     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  18238     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  18239     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18241     _flag_k = FK_CMP;
  18242     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  18243 L_4000E94A:
  18244     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  18245 L_4000E94D:
  18246     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  18247     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  18248     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  18249     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  18250     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18252     _flag_k = FK_CMP;
  18253     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  18254 L_4000E95B:
  18255     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  18256     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  18257 L_4000E960:
  18258     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  18259     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  18260     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  18261     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18262     _flag_k = FK_CMP;
  18263     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  18264 L_4000E967:
  18265     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  18266     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  18267 L_4000E96B:
  18268     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  18269 L_4000E96E:
  18270     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  18271     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  18272 L_4000E973:
  18273     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  18274     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  18275     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  18276     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  18277     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  18278     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  18279     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  18280     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  18281     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  18282     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  18283     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  18284     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  18285     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18286     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18287     _flag_k = FK_CMP;
  18288     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  18289 L_4000E998:
  18290     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  18291 L_4000E99B:
  18292     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  18293     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  18294     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  18295     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  18296     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18297     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18298     _flag_k = FK_CMP;
  18299     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  18300 L_4000E9A9:
  18301     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  18302     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  18303     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  18304 L_4000E9B4:
  18305     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  18306     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  18307     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  18308     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18309     _flag_k = FK_CMP;
  18310     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  18311 L_4000E9BC:
  18312     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  18313     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  18314     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  18315 L_4000E9C7:
  18316     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  18317     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  18318     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  18319 L_4000E9D1:
  18320     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  18321     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  18322     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18323     _flag_k = FK_NARROW(FK_CMP, 24);
  18324     RECOMP_BACKEDGE();
  18325     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  18326 L_4000E9DB:
  18327     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  18328     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  18329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18330     _flag_k = FK_CMP;
  18331     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  18332 L_4000E9DF:
  18333     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  18334     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  18335     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  18336     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  18337     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  18338     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  18339     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18340     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18341     _flag_k = FK_CMP;
  18342     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  18343 L_4000E9F0:
  18344     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  18345 L_4000E9F3:
  18346     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  18347     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  18348     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  18349     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  18350     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18351     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18352     _flag_k = FK_CMP;
  18353     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  18354 L_4000EA01:
  18355     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  18356     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  18357 L_4000EA06:
  18358     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  18359     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  18360     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  18361     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18362     _flag_k = FK_CMP;
  18363     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  18364 L_4000EA0E:
  18365     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  18366     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  18367 L_4000EA13:
  18368     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  18369 L_4000EA15:
  18370     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  18371     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  18372 L_4000EA1B:
  18373     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  18374     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  18375     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  18376     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  18377     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  18378     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  18379     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  18380     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  18381     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  18382     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  18383     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  18384     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  18385     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18386     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18387     _flag_k = FK_CMP;
  18388     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  18389 L_4000EA40:
  18390     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  18391 L_4000EA43:
  18392     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  18393     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  18394     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  18395     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  18396     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18397     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18398     _flag_k = FK_CMP;
  18399     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  18400 L_4000EA51:
  18401     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  18402     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  18403 L_4000EA56:
  18404     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  18405     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  18406     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  18407     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18408     _flag_k = FK_CMP;
  18409     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  18410 L_4000EA5D:
  18411     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  18412     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  18413 L_4000EA61:
  18414     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  18415 L_4000EA64:
  18416     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  18417 L_4000EA66:
  18418     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  18419 L_4000EA69:
  18420     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  18421     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  18422     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  18423     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18424     _flag_k = FK_CMP;
  18425     RECOMP_BACKEDGE();
  18426     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  18427 L_4000EA75:
  18428     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  18429     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  18430     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  18431     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  18432     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  18433     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  18434     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  18435     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  18436     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  18437     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  18438     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  18439     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  18440     RECOMP_REGS_OUT();
  18441 }
  18442 
  18443 void sub_4000EA69(void) {
  18444     int _fpu_cmp = 0;
  18445     uint32_t _cf = 0;
  18446     int _df = 1;
  18447     uint32_t _flag_k = FK_NONE;
  18448     uint32_t _flag_a = 0, _flag_b = 0;
  18449     uint32_t _itail_tgt = 0;
  18450     RECOMP_REGS_LOCALS
  18451     RECOMP_ENTER(0x4000EA69u);
  18452 
  18453     goto L_4000EA69;
  18454 L_4000E8F5:
  18455     ecx = MEM32(eax + 0x4); /* 0x4000E8F5: mov ecx, dword ptr [eax + 4] */
  18456     SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x4000E8F8: mov dl, byte ptr [ecx + 0x20] */
  18457     /* test LO8(edx), LO8(edx) */ /* 0x4000E8FB: test dl, dl */
  18458     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  18459     _cf = 0;
  18460     _flag_k = FK_NARROW(FK_TEST, 24);
  18461     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EA75; /* 0x4000E8FD: jne 0x4000ea75 */
  18462 L_4000E903:
  18463     edi = MEM32(ecx + 0x4); /* 0x4000E903: mov edi, dword ptr [ecx + 4] */
  18464     edx = MEM32(edi); /* 0x4000E906: mov edx, dword ptr [edi] */
  18465     /* cmp ecx, edx */ /* 0x4000E908: cmp ecx, edx */
  18466     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  18467     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18468     _flag_k = FK_CMP;
  18469     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9D1; /* 0x4000E90A: jne 0x4000e9d1 */
  18470 L_4000E910:
  18471     edx = MEM32(edi + 0x8); /* 0x4000E910: mov edx, dword ptr [edi + 8] */
  18472     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E913: cmp byte ptr [edx + 0x20], 0 */
  18473     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  18474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18475     _flag_k = FK_NARROW(FK_CMP, 24);
  18476     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E934; /* 0x4000E917: jne 0x4000e934 */
  18477 L_4000E919:
  18478     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E919: mov byte ptr [ecx + 0x20], bl */
  18479     MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E91C: mov byte ptr [edx + 0x20], bl */
  18480     ecx = MEM32(eax + 0x4); /* 0x4000E91F: mov ecx, dword ptr [eax + 4] */
  18481     edx = MEM32(ecx + 0x4); /* 0x4000E922: mov edx, dword ptr [ecx + 4] */
  18482     MEM8(edx + 0x20) = (uint8_t)(0); /* 0x4000E925: mov byte ptr [edx + 0x20], 0 */
  18483     eax = MEM32(eax + 0x4); /* 0x4000E929: mov eax, dword ptr [eax + 4] */
  18484     eax = MEM32(eax + 0x4); /* 0x4000E92C: mov eax, dword ptr [eax + 4] */
  18485     goto L_4000EA69; /* 0x4000E92F: jmp 0x4000ea69 */
  18486 L_4000E934:
  18487     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000E934: cmp eax, dword ptr [ecx + 8] */
  18488     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  18489     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18490     _flag_k = FK_CMP;
  18491     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E973; /* 0x4000E937: jne 0x4000e973 */
  18492 L_4000E939:
  18493     eax = ecx; /* 0x4000E939: mov eax, ecx */
  18494     ecx = MEM32(eax + 0x8); /* 0x4000E93B: mov ecx, dword ptr [eax + 8] */
  18495     edx = MEM32(ecx); /* 0x4000E93E: mov edx, dword ptr [ecx] */
  18496     MEM32(eax + 0x8) = edx; /* 0x4000E940: mov dword ptr [eax + 8], edx */
  18497     edx = MEM32(ecx); /* 0x4000E943: mov edx, dword ptr [ecx] */
  18498     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E945: cmp edx, dword ptr [esi + 8] */
  18499     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18500     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18501     _flag_k = FK_CMP;
  18502     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E94D; /* 0x4000E948: je 0x4000e94d */
  18503 L_4000E94A:
  18504     MEM32(edx + 0x4) = eax; /* 0x4000E94A: mov dword ptr [edx + 4], eax */
  18505 L_4000E94D:
  18506     edx = MEM32(eax + 0x4); /* 0x4000E94D: mov edx, dword ptr [eax + 4] */
  18507     MEM32(ecx + 0x4) = edx; /* 0x4000E950: mov dword ptr [ecx + 4], edx */
  18508     edx = MEM32(esi + 0x4); /* 0x4000E953: mov edx, dword ptr [esi + 4] */
  18509     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E956: cmp eax, dword ptr [edx + 4] */
  18510     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18511     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18512     _flag_k = FK_CMP;
  18513     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E960; /* 0x4000E959: jne 0x4000e960 */
  18514 L_4000E95B:
  18515     MEM32(edx + 0x4) = ecx; /* 0x4000E95B: mov dword ptr [edx + 4], ecx */
  18516     goto L_4000E96E; /* 0x4000E95E: jmp 0x4000e96e */
  18517 L_4000E960:
  18518     edx = MEM32(eax + 0x4); /* 0x4000E960: mov edx, dword ptr [eax + 4] */
  18519     /* cmp eax, MEM32(edx) */ /* 0x4000E963: cmp eax, dword ptr [edx] */
  18520     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  18521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18522     _flag_k = FK_CMP;
  18523     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E96B; /* 0x4000E965: jne 0x4000e96b */
  18524 L_4000E967:
  18525     MEM32(edx) = ecx; /* 0x4000E967: mov dword ptr [edx], ecx */
  18526     goto L_4000E96E; /* 0x4000E969: jmp 0x4000e96e */
  18527 L_4000E96B:
  18528     MEM32(edx + 0x8) = ecx; /* 0x4000E96B: mov dword ptr [edx + 8], ecx */
  18529 L_4000E96E:
  18530     MEM32(ecx) = eax; /* 0x4000E96E: mov dword ptr [ecx], eax */
  18531     MEM32(eax + 0x4) = ecx; /* 0x4000E970: mov dword ptr [eax + 4], ecx */
  18532 L_4000E973:
  18533     ecx = MEM32(eax + 0x4); /* 0x4000E973: mov ecx, dword ptr [eax + 4] */
  18534     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000E976: mov byte ptr [ecx + 0x20], bl */
  18535     edx = MEM32(eax + 0x4); /* 0x4000E979: mov edx, dword ptr [eax + 4] */
  18536     ecx = MEM32(edx + 0x4); /* 0x4000E97C: mov ecx, dword ptr [edx + 4] */
  18537     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000E97F: mov byte ptr [ecx + 0x20], 0 */
  18538     edx = MEM32(eax + 0x4); /* 0x4000E983: mov edx, dword ptr [eax + 4] */
  18539     ecx = MEM32(edx + 0x4); /* 0x4000E986: mov ecx, dword ptr [edx + 4] */
  18540     edx = MEM32(ecx); /* 0x4000E989: mov edx, dword ptr [ecx] */
  18541     edi = MEM32(edx + 0x8); /* 0x4000E98B: mov edi, dword ptr [edx + 8] */
  18542     MEM32(ecx) = edi; /* 0x4000E98E: mov dword ptr [ecx], edi */
  18543     edi = MEM32(edx + 0x8); /* 0x4000E990: mov edi, dword ptr [edx + 8] */
  18544     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000E993: cmp edi, dword ptr [esi + 8] */
  18545     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18547     _flag_k = FK_CMP;
  18548     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E99B; /* 0x4000E996: je 0x4000e99b */
  18549 L_4000E998:
  18550     MEM32(edi + 0x4) = ecx; /* 0x4000E998: mov dword ptr [edi + 4], ecx */
  18551 L_4000E99B:
  18552     edi = MEM32(ecx + 0x4); /* 0x4000E99B: mov edi, dword ptr [ecx + 4] */
  18553     MEM32(edx + 0x4) = edi; /* 0x4000E99E: mov dword ptr [edx + 4], edi */
  18554     edi = MEM32(esi + 0x4); /* 0x4000E9A1: mov edi, dword ptr [esi + 4] */
  18555     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000E9A4: cmp ecx, dword ptr [edi + 4] */
  18556     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18558     _flag_k = FK_CMP;
  18559     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9B4; /* 0x4000E9A7: jne 0x4000e9b4 */
  18560 L_4000E9A9:
  18561     MEM32(edi + 0x4) = edx; /* 0x4000E9A9: mov dword ptr [edi + 4], edx */
  18562     MEM32(edx + 0x8) = ecx; /* 0x4000E9AC: mov dword ptr [edx + 8], ecx */
  18563     goto L_4000EA66; /* 0x4000E9AF: jmp 0x4000ea66 */
  18564 L_4000E9B4:
  18565     edi = MEM32(ecx + 0x4); /* 0x4000E9B4: mov edi, dword ptr [ecx + 4] */
  18566     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000E9B7: cmp ecx, dword ptr [edi + 8] */
  18567     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  18568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18569     _flag_k = FK_CMP;
  18570     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E9C7; /* 0x4000E9BA: jne 0x4000e9c7 */
  18571 L_4000E9BC:
  18572     MEM32(edi + 0x8) = edx; /* 0x4000E9BC: mov dword ptr [edi + 8], edx */
  18573     MEM32(edx + 0x8) = ecx; /* 0x4000E9BF: mov dword ptr [edx + 8], ecx */
  18574     goto L_4000EA66; /* 0x4000E9C2: jmp 0x4000ea66 */
  18575 L_4000E9C7:
  18576     MEM32(edi) = edx; /* 0x4000E9C7: mov dword ptr [edi], edx */
  18577     MEM32(edx + 0x8) = ecx; /* 0x4000E9C9: mov dword ptr [edx + 8], ecx */
  18578     goto L_4000EA66; /* 0x4000E9CC: jmp 0x4000ea66 */
  18579 L_4000E9D1:
  18580     /* cmp MEM8(edx + 0x20), 0 */ /* 0x4000E9D1: cmp byte ptr [edx + 0x20], 0 */
  18581     _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24;
  18582     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18583     _flag_k = FK_NARROW(FK_CMP, 24);
  18584     RECOMP_BACKEDGE();
  18585     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E919; /* 0x4000E9D5: je 0x4000e919 */
  18586 L_4000E9DB:
  18587     /* cmp eax, MEM32(ecx) */ /* 0x4000E9DB: cmp eax, dword ptr [ecx] */
  18588     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  18589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18590     _flag_k = FK_CMP;
  18591     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA1B; /* 0x4000E9DD: jne 0x4000ea1b */
  18592 L_4000E9DF:
  18593     eax = ecx; /* 0x4000E9DF: mov eax, ecx */
  18594     ecx = MEM32(eax); /* 0x4000E9E1: mov ecx, dword ptr [eax] */
  18595     edx = MEM32(ecx + 0x8); /* 0x4000E9E3: mov edx, dword ptr [ecx + 8] */
  18596     MEM32(eax) = edx; /* 0x4000E9E6: mov dword ptr [eax], edx */
  18597     edx = MEM32(ecx + 0x8); /* 0x4000E9E8: mov edx, dword ptr [ecx + 8] */
  18598     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000E9EB: cmp edx, dword ptr [esi + 8] */
  18599     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18600     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18601     _flag_k = FK_CMP;
  18602     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000E9F3; /* 0x4000E9EE: je 0x4000e9f3 */
  18603 L_4000E9F0:
  18604     MEM32(edx + 0x4) = eax; /* 0x4000E9F0: mov dword ptr [edx + 4], eax */
  18605 L_4000E9F3:
  18606     edx = MEM32(eax + 0x4); /* 0x4000E9F3: mov edx, dword ptr [eax + 4] */
  18607     MEM32(ecx + 0x4) = edx; /* 0x4000E9F6: mov dword ptr [ecx + 4], edx */
  18608     edx = MEM32(esi + 0x4); /* 0x4000E9F9: mov edx, dword ptr [esi + 4] */
  18609     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000E9FC: cmp eax, dword ptr [edx + 4] */
  18610     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18611     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18612     _flag_k = FK_CMP;
  18613     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA06; /* 0x4000E9FF: jne 0x4000ea06 */
  18614 L_4000EA01:
  18615     MEM32(edx + 0x4) = ecx; /* 0x4000EA01: mov dword ptr [edx + 4], ecx */
  18616     goto L_4000EA15; /* 0x4000EA04: jmp 0x4000ea15 */
  18617 L_4000EA06:
  18618     edx = MEM32(eax + 0x4); /* 0x4000EA06: mov edx, dword ptr [eax + 4] */
  18619     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EA09: cmp eax, dword ptr [edx + 8] */
  18620     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  18621     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18622     _flag_k = FK_CMP;
  18623     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA13; /* 0x4000EA0C: jne 0x4000ea13 */
  18624 L_4000EA0E:
  18625     MEM32(edx + 0x8) = ecx; /* 0x4000EA0E: mov dword ptr [edx + 8], ecx */
  18626     goto L_4000EA15; /* 0x4000EA11: jmp 0x4000ea15 */
  18627 L_4000EA13:
  18628     MEM32(edx) = ecx; /* 0x4000EA13: mov dword ptr [edx], ecx */
  18629 L_4000EA15:
  18630     MEM32(ecx + 0x8) = eax; /* 0x4000EA15: mov dword ptr [ecx + 8], eax */
  18631     MEM32(eax + 0x4) = ecx; /* 0x4000EA18: mov dword ptr [eax + 4], ecx */
  18632 L_4000EA1B:
  18633     ecx = MEM32(eax + 0x4); /* 0x4000EA1B: mov ecx, dword ptr [eax + 4] */
  18634     MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA1E: mov byte ptr [ecx + 0x20], bl */
  18635     edx = MEM32(eax + 0x4); /* 0x4000EA21: mov edx, dword ptr [eax + 4] */
  18636     ecx = MEM32(edx + 0x4); /* 0x4000EA24: mov ecx, dword ptr [edx + 4] */
  18637     MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x4000EA27: mov byte ptr [ecx + 0x20], 0 */
  18638     edx = MEM32(eax + 0x4); /* 0x4000EA2B: mov edx, dword ptr [eax + 4] */
  18639     ecx = MEM32(edx + 0x4); /* 0x4000EA2E: mov ecx, dword ptr [edx + 4] */
  18640     edx = MEM32(ecx + 0x8); /* 0x4000EA31: mov edx, dword ptr [ecx + 8] */
  18641     edi = MEM32(edx); /* 0x4000EA34: mov edi, dword ptr [edx] */
  18642     MEM32(ecx + 0x8) = edi; /* 0x4000EA36: mov dword ptr [ecx + 8], edi */
  18643     edi = MEM32(edx); /* 0x4000EA39: mov edi, dword ptr [edx] */
  18644     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EA3B: cmp edi, dword ptr [esi + 8] */
  18645     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18646     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18647     _flag_k = FK_CMP;
  18648     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EA43; /* 0x4000EA3E: je 0x4000ea43 */
  18649 L_4000EA40:
  18650     MEM32(edi + 0x4) = ecx; /* 0x4000EA40: mov dword ptr [edi + 4], ecx */
  18651 L_4000EA43:
  18652     edi = MEM32(ecx + 0x4); /* 0x4000EA43: mov edi, dword ptr [ecx + 4] */
  18653     MEM32(edx + 0x4) = edi; /* 0x4000EA46: mov dword ptr [edx + 4], edi */
  18654     edi = MEM32(esi + 0x4); /* 0x4000EA49: mov edi, dword ptr [esi + 4] */
  18655     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EA4C: cmp ecx, dword ptr [edi + 4] */
  18656     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18658     _flag_k = FK_CMP;
  18659     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA56; /* 0x4000EA4F: jne 0x4000ea56 */
  18660 L_4000EA51:
  18661     MEM32(edi + 0x4) = edx; /* 0x4000EA51: mov dword ptr [edi + 4], edx */
  18662     goto L_4000EA64; /* 0x4000EA54: jmp 0x4000ea64 */
  18663 L_4000EA56:
  18664     edi = MEM32(ecx + 0x4); /* 0x4000EA56: mov edi, dword ptr [ecx + 4] */
  18665     /* cmp ecx, MEM32(edi) */ /* 0x4000EA59: cmp ecx, dword ptr [edi] */
  18666     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  18667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18668     _flag_k = FK_CMP;
  18669     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EA61; /* 0x4000EA5B: jne 0x4000ea61 */
  18670 L_4000EA5D:
  18671     MEM32(edi) = edx; /* 0x4000EA5D: mov dword ptr [edi], edx */
  18672     goto L_4000EA64; /* 0x4000EA5F: jmp 0x4000ea64 */
  18673 L_4000EA61:
  18674     MEM32(edi + 0x8) = edx; /* 0x4000EA61: mov dword ptr [edi + 8], edx */
  18675 L_4000EA64:
  18676     MEM32(edx) = ecx; /* 0x4000EA64: mov dword ptr [edx], ecx */
  18677 L_4000EA66:
  18678     MEM32(ecx + 0x4) = edx; /* 0x4000EA66: mov dword ptr [ecx + 4], edx */
  18679 L_4000EA69:
  18680     ecx = MEM32(esi + 0x4); /* 0x4000EA69: mov ecx, dword ptr [esi + 4] */
  18681     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EA6C: cmp eax, dword ptr [ecx + 4] */
  18682     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  18683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18684     _flag_k = FK_CMP;
  18685     RECOMP_BACKEDGE();
  18686     if (CMP_NE(_flag_a, _flag_b)) goto L_4000E8F5; /* 0x4000EA6F: jne 0x4000e8f5 */
  18687 L_4000EA75:
  18688     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  18689     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  18690     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  18691     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  18692     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  18693     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  18694     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  18695     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  18696     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  18697     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  18698     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  18699     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  18700     RECOMP_REGS_OUT();
  18701 }
  18702 
  18703 void sub_4000EA75(void) {
  18704     int _fpu_cmp = 0;
  18705     uint32_t _cf = 0;
  18706     int _df = 1;
  18707     uint32_t _flag_k = FK_NONE;
  18708     uint32_t _flag_a = 0, _flag_b = 0;
  18709     uint32_t _itail_tgt = 0;
  18710     RECOMP_REGS_LOCALS
  18711     RECOMP_ENTER(0x4000EA75u);
  18712 
  18713 L_4000EA75:
  18714     edx = MEM32(esi + 0x4); /* 0x4000EA75: mov edx, dword ptr [esi + 4] */
  18715     eax = MEM32(edx + 0x4); /* 0x4000EA78: mov eax, dword ptr [edx + 4] */
  18716     ecx = MEM32(ebp + (-0x4)); /* 0x4000EA7B: mov ecx, dword ptr [ebp - 4] */
  18717     MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x4000EA7E: mov byte ptr [eax + 0x20], bl */
  18718     eax = MEM32(ebp + 0x8); /* 0x4000EA81: mov eax, dword ptr [ebp + 8] */
  18719     edi = POP32_VAL(esp); /* 0x4000EA84: pop edi */
  18720     esi = POP32_VAL(esp); /* 0x4000EA85: pop esi */
  18721     MEM32(eax) = ecx; /* 0x4000EA86: mov dword ptr [eax], ecx */
  18722     ebx = POP32_VAL(esp); /* 0x4000EA88: pop ebx */
  18723     esp = ebp; /* 0x4000EA89: mov esp, ebp */
  18724     ebp = POP32_VAL(esp); /* 0x4000EA8B: pop ebp */
  18725     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EA8C: ret 0x10 */
  18726     RECOMP_REGS_OUT();
  18727 }
  18728 
  18729 void sub_4000EA90(void) {
  18730     int _fpu_cmp = 0;
  18731     uint32_t _cf = 0;
  18732     int _df = 1;
  18733     uint32_t _flag_k = FK_NONE;
  18734     uint32_t _flag_a = 0, _flag_b = 0;
  18735     uint32_t _itail_tgt = 0;
  18736     RECOMP_REGS_LOCALS
  18737     RECOMP_ENTER(0x4000EA90u);
  18738 
  18739 L_4000EA90:
  18740     PUSH32(esp, ebp); /* 0x4000EA90: push ebp */
  18741     ebp = esp; /* 0x4000EA91: mov ebp, esp */
  18742     PUSH32(esp, ecx); /* 0x4000EA93: push ecx */
  18743     PUSH32(esp, ebx); /* 0x4000EA94: push ebx */
  18744     PUSH32(esp, esi); /* 0x4000EA95: push esi */
  18745     PUSH32(esp, edi); /* 0x4000EA96: push edi */
  18746     PUSH32(esp, 0x20u); /* 0x4000EA97: push 0x20 */
  18747     esi = ecx; /* 0x4000EA99: mov esi, ecx */
  18748     RECOMP_ICALL(0x40014704u); /* 0x4000EA9B: call 0x40014704 */ /* not lifted */
  18749     RECOMP_FLAGS_IN();
  18750     edi = MEM32(ebp + 0x10); /* 0x4000EAA0: mov edi, dword ptr [ebp + 0x10] */
  18751     ebx = MEM32(ebp + 0x14); /* 0x4000EAA3: mov ebx, dword ptr [ebp + 0x14] */
  18752     MEM32(eax + 0x4) = edi; /* 0x4000EAA6: mov dword ptr [eax + 4], edi */
  18753     MEM8(eax + 0x1C) = (uint8_t)(0); /* 0x4000EAA9: mov byte ptr [eax + 0x1c], 0 */
  18754     MEM8(eax + 0x1D) = (uint8_t)(0); /* 0x4000EAAD: mov byte ptr [eax + 0x1d], 0 */
  18755     ecx = MEM32(esi + 0x8); /* 0x4000EAB1: mov ecx, dword ptr [esi + 8] */
  18756     MEM32(eax) = ecx; /* 0x4000EAB4: mov dword ptr [eax], ecx */
  18757     edx = MEM32(esi + 0x8); /* 0x4000EAB6: mov edx, dword ptr [esi + 8] */
  18758     MEM32(ebp + (-0x4)) = eax; /* 0x4000EAB9: mov dword ptr [ebp - 4], eax */
  18759     MEM32(eax + 0x8) = edx; /* 0x4000EABC: mov dword ptr [eax + 8], edx */
  18760     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  18761     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18762     eax = eax + 0xCu; /* 0x4000EABF: add eax, 0xc */
  18763     _flag_k = FK_ADD;
  18764     PUSH32(esp, ebx); /* 0x4000EAC2: push ebx */
  18765     PUSH32(esp, eax); /* 0x4000EAC3: push eax */
  18766     RECOMP_ICALL(0x4000FD10u); /* 0x4000EAC4: call 0x4000fd10 */ /* not lifted */
  18767     RECOMP_FLAGS_IN();
  18768     ecx = MEM32(esi + 0x10); /* 0x4000EAC9: mov ecx, dword ptr [esi + 0x10] */
  18769     eax = MEM32(esi + 0x4); /* 0x4000EACC: mov eax, dword ptr [esi + 4] */
  18770     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  18771     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  18772     esp = esp + 0xCu; /* 0x4000EACF: add esp, 0xc */
  18773     _flag_k = FK_ADD;
  18774     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  18775     ecx = ecx + 1; /* 0x4000EAD2: inc ecx */
  18776     _flag_k = FK_INC;
  18777     /* cmp edi, eax */ /* 0x4000EAD3: cmp edi, eax */
  18778     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  18779     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18780     _flag_k = FK_CMP;
  18781     MEM32(esi + 0x10) = ecx; /* 0x4000EAD5: mov dword ptr [esi + 0x10], ecx */
  18782     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EAFC; /* 0x4000EAD8: je 0x4000eafc */
  18783 L_4000EADA:
  18784     eax = MEM32(ebp + 0xC); /* 0x4000EADA: mov eax, dword ptr [ebp + 0xc] */
  18785     /* cmp eax, MEM32(esi + 0x8) */ /* 0x4000EADD: cmp eax, dword ptr [esi + 8] */
  18786     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18788     _flag_k = FK_CMP;
  18789     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EAFC; /* 0x4000EAE0: jne 0x4000eafc */
  18790 L_4000EAE2:
  18791     ecx = MEM32(ebx); /* 0x4000EAE2: mov ecx, dword ptr [ebx] */
  18792     /* cmp ecx, MEM32(edi + 0xC) */ /* 0x4000EAE4: cmp ecx, dword ptr [edi + 0xc] */
  18793     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC));
  18794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18795     _flag_k = FK_CMP;
  18796     if (CMP_B(_flag_a, _flag_b)) goto L_4000EAFC; /* 0x4000EAE7: jb 0x4000eafc */
  18797 L_4000EAE9:
  18798     ecx = MEM32(ebp + (-0x4)); /* 0x4000EAE9: mov ecx, dword ptr [ebp - 4] */
  18799     MEM32(edi + 0x8) = ecx; /* 0x4000EAEC: mov dword ptr [edi + 8], ecx */
  18800     eax = MEM32(esi + 0x4); /* 0x4000EAEF: mov eax, dword ptr [esi + 4] */
  18801     /* cmp edi, MEM32(eax + 0x8) */ /* 0x4000EAF2: cmp edi, dword ptr [eax + 8] */
  18802     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  18803     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18804     _flag_k = FK_CMP;
  18805     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB1C; /* 0x4000EAF5: jne 0x4000eb1c */
  18806 L_4000EAF7:
  18807     MEM32(eax + 0x8) = ecx; /* 0x4000EAF7: mov dword ptr [eax + 8], ecx */
  18808     goto L_4000EB1C; /* 0x4000EAFA: jmp 0x4000eb1c */
  18809 L_4000EAFC:
  18810     ecx = MEM32(ebp + (-0x4)); /* 0x4000EAFC: mov ecx, dword ptr [ebp - 4] */
  18811     MEM32(edi) = ecx; /* 0x4000EAFF: mov dword ptr [edi], ecx */
  18812     eax = MEM32(esi + 0x4); /* 0x4000EB01: mov eax, dword ptr [esi + 4] */
  18813     /* cmp edi, eax */ /* 0x4000EB04: cmp edi, eax */
  18814     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  18815     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18816     _flag_k = FK_CMP;
  18817     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB13; /* 0x4000EB06: jne 0x4000eb13 */
  18818 L_4000EB08:
  18819     MEM32(eax + 0x4) = ecx; /* 0x4000EB08: mov dword ptr [eax + 4], ecx */
  18820     edx = MEM32(esi + 0x4); /* 0x4000EB0B: mov edx, dword ptr [esi + 4] */
  18821     MEM32(edx + 0x8) = ecx; /* 0x4000EB0E: mov dword ptr [edx + 8], ecx */
  18822     goto L_4000EB1C; /* 0x4000EB11: jmp 0x4000eb1c */
  18823 L_4000EB13:
  18824     /* cmp edi, MEM32(eax) */ /* 0x4000EB13: cmp edi, dword ptr [eax] */
  18825     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
  18826     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18827     _flag_k = FK_CMP;
  18828     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB1C; /* 0x4000EB15: jne 0x4000eb1c */
  18829 L_4000EB17:
  18830     ecx = MEM32(ebp + (-0x4)); /* 0x4000EB17: mov ecx, dword ptr [ebp - 4] */
  18831     MEM32(eax) = ecx; /* 0x4000EB1A: mov dword ptr [eax], ecx */
  18832 L_4000EB1C:
  18833     edx = MEM32(esi + 0x4); /* 0x4000EB1C: mov edx, dword ptr [esi + 4] */
  18834     eax = MEM32(ebp + (-0x4)); /* 0x4000EB1F: mov eax, dword ptr [ebp - 4] */
  18835     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB22: cmp eax, dword ptr [edx + 4] */
  18836     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18838     _flag_k = FK_CMP;
  18839     SET_LO8(ebx, 1); /* 0x4000EB25: mov bl, 1 */
  18840     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB27: je 0x4000ecad */
  18841 L_4000EB2D:
  18842     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  18843     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  18844     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  18845     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  18846     _cf = 0;
  18847     _flag_k = FK_NARROW(FK_TEST, 24);
  18848     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  18849 L_4000EB3B:
  18850     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  18851     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  18852     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  18853     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  18854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18855     _flag_k = FK_CMP;
  18856     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  18857 L_4000EB48:
  18858     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  18859     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  18860     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  18861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18862     _flag_k = FK_NARROW(FK_CMP, 24);
  18863     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  18864 L_4000EB51:
  18865     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  18866     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  18867     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  18868     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  18869     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  18870     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  18871     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  18872     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  18873 L_4000EB6C:
  18874     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  18875     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  18876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18877     _flag_k = FK_CMP;
  18878     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  18879 L_4000EB71:
  18880     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  18881     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  18882     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  18883     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  18884     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  18885     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  18886     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18888     _flag_k = FK_CMP;
  18889     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  18890 L_4000EB82:
  18891     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  18892 L_4000EB85:
  18893     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  18894     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  18895     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  18896     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  18897     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18898     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18899     _flag_k = FK_CMP;
  18900     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  18901 L_4000EB93:
  18902     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  18903     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  18904 L_4000EB98:
  18905     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  18906     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  18907     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  18908     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18909     _flag_k = FK_CMP;
  18910     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  18911 L_4000EB9F:
  18912     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  18913     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  18914 L_4000EBA3:
  18915     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  18916 L_4000EBA6:
  18917     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  18918     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  18919 L_4000EBAB:
  18920     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  18921     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  18922     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  18923     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  18924     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  18925     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  18926     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  18927     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  18928     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  18929     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  18930     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  18931     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  18932     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18934     _flag_k = FK_CMP;
  18935     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  18936 L_4000EBD0:
  18937     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  18938 L_4000EBD3:
  18939     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  18940     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  18941     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  18942     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  18943     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  18944     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18945     _flag_k = FK_CMP;
  18946     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  18947 L_4000EBE1:
  18948     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  18949     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  18950     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  18951 L_4000EBEC:
  18952     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  18953     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  18954     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  18955     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18956     _flag_k = FK_CMP;
  18957     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  18958 L_4000EBF4:
  18959     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  18960     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  18961     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  18962 L_4000EBFF:
  18963     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  18964     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  18965     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  18966 L_4000EC09:
  18967     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  18968     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  18969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18970     _flag_k = FK_NARROW(FK_CMP, 24);
  18971     RECOMP_BACKEDGE();
  18972     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  18973 L_4000EC13:
  18974     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  18975     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  18976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18977     _flag_k = FK_CMP;
  18978     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  18979 L_4000EC17:
  18980     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  18981     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  18982     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  18983     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  18984     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  18985     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  18986     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  18987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18988     _flag_k = FK_CMP;
  18989     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  18990 L_4000EC28:
  18991     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  18992 L_4000EC2B:
  18993     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  18994     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  18995     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  18996     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  18997     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  18998     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  18999     _flag_k = FK_CMP;
  19000     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  19001 L_4000EC39:
  19002     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  19003     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  19004 L_4000EC3E:
  19005     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  19006     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  19007     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  19008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19009     _flag_k = FK_CMP;
  19010     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  19011 L_4000EC46:
  19012     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  19013     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  19014 L_4000EC4B:
  19015     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  19016 L_4000EC4D:
  19017     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  19018     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  19019 L_4000EC53:
  19020     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  19021     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  19022     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  19023     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  19024     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  19025     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  19026     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  19027     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  19028     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  19029     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  19030     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  19031     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  19032     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19033     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19034     _flag_k = FK_CMP;
  19035     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  19036 L_4000EC78:
  19037     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  19038 L_4000EC7B:
  19039     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  19040     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  19041     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  19042     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  19043     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19044     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19045     _flag_k = FK_CMP;
  19046     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  19047 L_4000EC89:
  19048     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  19049     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  19050 L_4000EC8E:
  19051     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  19052     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  19053     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  19054     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19055     _flag_k = FK_CMP;
  19056     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  19057 L_4000EC95:
  19058     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  19059     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  19060 L_4000EC99:
  19061     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  19062 L_4000EC9C:
  19063     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  19064 L_4000EC9E:
  19065     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  19066 L_4000ECA1:
  19067     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  19068     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  19069     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  19070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19071     _flag_k = FK_CMP;
  19072     RECOMP_BACKEDGE();
  19073     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  19074 L_4000ECAD:
  19075     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  19076     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  19077     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  19078     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  19079     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  19080     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  19081     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  19082     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  19083     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  19084     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  19085     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  19086     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  19087     RECOMP_REGS_OUT();
  19088 }
  19089 
  19090 void sub_4000EB2D(void) {
  19091     int _fpu_cmp = 0;
  19092     uint32_t _cf = 0;
  19093     int _df = 1;
  19094     uint32_t _flag_k = FK_NONE;
  19095     uint32_t _flag_a = 0, _flag_b = 0;
  19096     uint32_t _itail_tgt = 0;
  19097     RECOMP_REGS_LOCALS
  19098     RECOMP_ENTER(0x4000EB2Du);
  19099 
  19100 L_4000EB2D:
  19101     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  19102     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  19103     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  19104     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  19105     _cf = 0;
  19106     _flag_k = FK_NARROW(FK_TEST, 24);
  19107     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  19108 L_4000EB3B:
  19109     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  19110     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  19111     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  19112     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  19113     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19114     _flag_k = FK_CMP;
  19115     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  19116 L_4000EB48:
  19117     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  19118     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  19119     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19120     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19121     _flag_k = FK_NARROW(FK_CMP, 24);
  19122     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  19123 L_4000EB51:
  19124     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  19125     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  19126     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  19127     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  19128     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  19129     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  19130     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  19131     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  19132 L_4000EB6C:
  19133     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  19134     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  19135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19136     _flag_k = FK_CMP;
  19137     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  19138 L_4000EB71:
  19139     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  19140     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  19141     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  19142     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  19143     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  19144     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  19145     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19147     _flag_k = FK_CMP;
  19148     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  19149 L_4000EB82:
  19150     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  19151 L_4000EB85:
  19152     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  19153     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  19154     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  19155     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  19156     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19157     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19158     _flag_k = FK_CMP;
  19159     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  19160 L_4000EB93:
  19161     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  19162     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  19163 L_4000EB98:
  19164     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  19165     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  19166     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  19167     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19168     _flag_k = FK_CMP;
  19169     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  19170 L_4000EB9F:
  19171     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  19172     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  19173 L_4000EBA3:
  19174     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  19175 L_4000EBA6:
  19176     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  19177     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  19178 L_4000EBAB:
  19179     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  19180     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  19181     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  19182     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  19183     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  19184     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  19185     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  19186     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  19187     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  19188     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  19189     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  19190     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  19191     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19192     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19193     _flag_k = FK_CMP;
  19194     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  19195 L_4000EBD0:
  19196     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  19197 L_4000EBD3:
  19198     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  19199     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  19200     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  19201     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  19202     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19203     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19204     _flag_k = FK_CMP;
  19205     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  19206 L_4000EBE1:
  19207     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  19208     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  19209     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  19210 L_4000EBEC:
  19211     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  19212     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  19213     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  19214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19215     _flag_k = FK_CMP;
  19216     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  19217 L_4000EBF4:
  19218     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  19219     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  19220     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  19221 L_4000EBFF:
  19222     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  19223     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  19224     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  19225 L_4000EC09:
  19226     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  19227     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19228     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19229     _flag_k = FK_NARROW(FK_CMP, 24);
  19230     RECOMP_BACKEDGE();
  19231     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  19232 L_4000EC13:
  19233     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  19234     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  19235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19236     _flag_k = FK_CMP;
  19237     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  19238 L_4000EC17:
  19239     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  19240     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  19241     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  19242     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  19243     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  19244     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  19245     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19246     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19247     _flag_k = FK_CMP;
  19248     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  19249 L_4000EC28:
  19250     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  19251 L_4000EC2B:
  19252     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  19253     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  19254     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  19255     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  19256     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19258     _flag_k = FK_CMP;
  19259     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  19260 L_4000EC39:
  19261     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  19262     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  19263 L_4000EC3E:
  19264     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  19265     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  19266     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  19267     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19268     _flag_k = FK_CMP;
  19269     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  19270 L_4000EC46:
  19271     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  19272     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  19273 L_4000EC4B:
  19274     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  19275 L_4000EC4D:
  19276     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  19277     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  19278 L_4000EC53:
  19279     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  19280     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  19281     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  19282     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  19283     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  19284     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  19285     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  19286     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  19287     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  19288     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  19289     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  19290     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  19291     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19292     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19293     _flag_k = FK_CMP;
  19294     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  19295 L_4000EC78:
  19296     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  19297 L_4000EC7B:
  19298     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  19299     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  19300     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  19301     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  19302     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19303     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19304     _flag_k = FK_CMP;
  19305     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  19306 L_4000EC89:
  19307     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  19308     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  19309 L_4000EC8E:
  19310     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  19311     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  19312     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  19313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19314     _flag_k = FK_CMP;
  19315     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  19316 L_4000EC95:
  19317     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  19318     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  19319 L_4000EC99:
  19320     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  19321 L_4000EC9C:
  19322     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  19323 L_4000EC9E:
  19324     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  19325 L_4000ECA1:
  19326     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  19327     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  19328     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  19329     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19330     _flag_k = FK_CMP;
  19331     RECOMP_BACKEDGE();
  19332     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  19333 L_4000ECAD:
  19334     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  19335     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  19336     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  19337     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  19338     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  19339     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  19340     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  19341     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  19342     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  19343     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  19344     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  19345     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  19346     RECOMP_REGS_OUT();
  19347 }
  19348 
  19349 void sub_4000EB51(void) {
  19350     int _fpu_cmp = 0;
  19351     uint32_t _cf = 0;
  19352     int _df = 1;
  19353     uint32_t _flag_k = FK_NONE;
  19354     uint32_t _flag_a = 0, _flag_b = 0;
  19355     uint32_t _itail_tgt = 0;
  19356     RECOMP_REGS_LOCALS
  19357     RECOMP_ENTER(0x4000EB51u);
  19358 
  19359     goto L_4000EB51;
  19360 L_4000EB2D:
  19361     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  19362     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  19363     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  19364     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  19365     _cf = 0;
  19366     _flag_k = FK_NARROW(FK_TEST, 24);
  19367     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  19368 L_4000EB3B:
  19369     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  19370     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  19371     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  19372     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  19373     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19374     _flag_k = FK_CMP;
  19375     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  19376 L_4000EB48:
  19377     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  19378     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  19379     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19380     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19381     _flag_k = FK_NARROW(FK_CMP, 24);
  19382     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  19383 L_4000EB51:
  19384     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  19385     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  19386     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  19387     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  19388     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  19389     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  19390     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  19391     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  19392 L_4000EB6C:
  19393     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  19394     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  19395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19396     _flag_k = FK_CMP;
  19397     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  19398 L_4000EB71:
  19399     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  19400     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  19401     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  19402     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  19403     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  19404     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  19405     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19407     _flag_k = FK_CMP;
  19408     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  19409 L_4000EB82:
  19410     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  19411 L_4000EB85:
  19412     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  19413     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  19414     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  19415     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  19416     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19418     _flag_k = FK_CMP;
  19419     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  19420 L_4000EB93:
  19421     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  19422     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  19423 L_4000EB98:
  19424     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  19425     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  19426     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  19427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19428     _flag_k = FK_CMP;
  19429     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  19430 L_4000EB9F:
  19431     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  19432     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  19433 L_4000EBA3:
  19434     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  19435 L_4000EBA6:
  19436     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  19437     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  19438 L_4000EBAB:
  19439     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  19440     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  19441     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  19442     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  19443     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  19444     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  19445     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  19446     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  19447     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  19448     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  19449     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  19450     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  19451     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19452     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19453     _flag_k = FK_CMP;
  19454     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  19455 L_4000EBD0:
  19456     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  19457 L_4000EBD3:
  19458     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  19459     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  19460     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  19461     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  19462     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19463     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19464     _flag_k = FK_CMP;
  19465     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  19466 L_4000EBE1:
  19467     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  19468     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  19469     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  19470 L_4000EBEC:
  19471     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  19472     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  19473     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  19474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19475     _flag_k = FK_CMP;
  19476     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  19477 L_4000EBF4:
  19478     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  19479     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  19480     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  19481 L_4000EBFF:
  19482     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  19483     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  19484     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  19485 L_4000EC09:
  19486     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  19487     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19488     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19489     _flag_k = FK_NARROW(FK_CMP, 24);
  19490     RECOMP_BACKEDGE();
  19491     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  19492 L_4000EC13:
  19493     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  19494     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  19495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19496     _flag_k = FK_CMP;
  19497     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  19498 L_4000EC17:
  19499     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  19500     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  19501     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  19502     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  19503     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  19504     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  19505     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19507     _flag_k = FK_CMP;
  19508     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  19509 L_4000EC28:
  19510     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  19511 L_4000EC2B:
  19512     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  19513     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  19514     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  19515     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  19516     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19518     _flag_k = FK_CMP;
  19519     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  19520 L_4000EC39:
  19521     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  19522     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  19523 L_4000EC3E:
  19524     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  19525     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  19526     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  19527     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19528     _flag_k = FK_CMP;
  19529     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  19530 L_4000EC46:
  19531     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  19532     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  19533 L_4000EC4B:
  19534     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  19535 L_4000EC4D:
  19536     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  19537     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  19538 L_4000EC53:
  19539     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  19540     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  19541     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  19542     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  19543     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  19544     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  19545     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  19546     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  19547     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  19548     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  19549     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  19550     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  19551     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19552     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19553     _flag_k = FK_CMP;
  19554     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  19555 L_4000EC78:
  19556     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  19557 L_4000EC7B:
  19558     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  19559     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  19560     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  19561     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  19562     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19563     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19564     _flag_k = FK_CMP;
  19565     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  19566 L_4000EC89:
  19567     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  19568     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  19569 L_4000EC8E:
  19570     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  19571     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  19572     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  19573     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19574     _flag_k = FK_CMP;
  19575     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  19576 L_4000EC95:
  19577     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  19578     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  19579 L_4000EC99:
  19580     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  19581 L_4000EC9C:
  19582     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  19583 L_4000EC9E:
  19584     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  19585 L_4000ECA1:
  19586     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  19587     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  19588     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  19589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19590     _flag_k = FK_CMP;
  19591     RECOMP_BACKEDGE();
  19592     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  19593 L_4000ECAD:
  19594     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  19595     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  19596     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  19597     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  19598     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  19599     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  19600     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  19601     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  19602     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  19603     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  19604     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  19605     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  19606     RECOMP_REGS_OUT();
  19607 }
  19608 
  19609 void sub_4000EBA6(void) {
  19610     int _fpu_cmp = 0;
  19611     uint32_t _cf = 0;
  19612     int _df = 1;
  19613     uint32_t _flag_k = FK_NONE;
  19614     uint32_t _flag_a = 0, _flag_b = 0;
  19615     uint32_t _itail_tgt = 0;
  19616     RECOMP_REGS_LOCALS
  19617     RECOMP_ENTER(0x4000EBA6u);
  19618 
  19619     goto L_4000EBA6;
  19620 L_4000EB2D:
  19621     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  19622     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  19623     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  19624     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  19625     _cf = 0;
  19626     _flag_k = FK_NARROW(FK_TEST, 24);
  19627     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  19628 L_4000EB3B:
  19629     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  19630     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  19631     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  19632     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  19633     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19634     _flag_k = FK_CMP;
  19635     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  19636 L_4000EB48:
  19637     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  19638     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  19639     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19641     _flag_k = FK_NARROW(FK_CMP, 24);
  19642     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  19643 L_4000EB51:
  19644     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  19645     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  19646     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  19647     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  19648     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  19649     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  19650     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  19651     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  19652 L_4000EB6C:
  19653     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  19654     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  19655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19656     _flag_k = FK_CMP;
  19657     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  19658 L_4000EB71:
  19659     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  19660     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  19661     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  19662     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  19663     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  19664     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  19665     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19666     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19667     _flag_k = FK_CMP;
  19668     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  19669 L_4000EB82:
  19670     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  19671 L_4000EB85:
  19672     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  19673     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  19674     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  19675     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  19676     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19677     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19678     _flag_k = FK_CMP;
  19679     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  19680 L_4000EB93:
  19681     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  19682     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  19683 L_4000EB98:
  19684     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  19685     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  19686     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  19687     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19688     _flag_k = FK_CMP;
  19689     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  19690 L_4000EB9F:
  19691     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  19692     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  19693 L_4000EBA3:
  19694     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  19695 L_4000EBA6:
  19696     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  19697     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  19698 L_4000EBAB:
  19699     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  19700     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  19701     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  19702     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  19703     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  19704     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  19705     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  19706     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  19707     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  19708     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  19709     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  19710     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  19711     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19712     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19713     _flag_k = FK_CMP;
  19714     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  19715 L_4000EBD0:
  19716     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  19717 L_4000EBD3:
  19718     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  19719     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  19720     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  19721     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  19722     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19723     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19724     _flag_k = FK_CMP;
  19725     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  19726 L_4000EBE1:
  19727     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  19728     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  19729     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  19730 L_4000EBEC:
  19731     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  19732     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  19733     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  19734     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19735     _flag_k = FK_CMP;
  19736     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  19737 L_4000EBF4:
  19738     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  19739     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  19740     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  19741 L_4000EBFF:
  19742     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  19743     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  19744     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  19745 L_4000EC09:
  19746     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  19747     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19748     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19749     _flag_k = FK_NARROW(FK_CMP, 24);
  19750     RECOMP_BACKEDGE();
  19751     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  19752 L_4000EC13:
  19753     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  19754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  19755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19756     _flag_k = FK_CMP;
  19757     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  19758 L_4000EC17:
  19759     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  19760     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  19761     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  19762     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  19763     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  19764     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  19765     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19766     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19767     _flag_k = FK_CMP;
  19768     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  19769 L_4000EC28:
  19770     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  19771 L_4000EC2B:
  19772     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  19773     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  19774     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  19775     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  19776     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19777     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19778     _flag_k = FK_CMP;
  19779     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  19780 L_4000EC39:
  19781     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  19782     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  19783 L_4000EC3E:
  19784     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  19785     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  19786     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  19787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19788     _flag_k = FK_CMP;
  19789     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  19790 L_4000EC46:
  19791     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  19792     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  19793 L_4000EC4B:
  19794     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  19795 L_4000EC4D:
  19796     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  19797     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  19798 L_4000EC53:
  19799     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  19800     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  19801     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  19802     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  19803     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  19804     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  19805     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  19806     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  19807     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  19808     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  19809     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  19810     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  19811     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19812     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19813     _flag_k = FK_CMP;
  19814     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  19815 L_4000EC78:
  19816     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  19817 L_4000EC7B:
  19818     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  19819     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  19820     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  19821     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  19822     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19823     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19824     _flag_k = FK_CMP;
  19825     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  19826 L_4000EC89:
  19827     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  19828     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  19829 L_4000EC8E:
  19830     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  19831     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  19832     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  19833     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19834     _flag_k = FK_CMP;
  19835     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  19836 L_4000EC95:
  19837     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  19838     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  19839 L_4000EC99:
  19840     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  19841 L_4000EC9C:
  19842     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  19843 L_4000EC9E:
  19844     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  19845 L_4000ECA1:
  19846     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  19847     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  19848     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  19849     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19850     _flag_k = FK_CMP;
  19851     RECOMP_BACKEDGE();
  19852     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  19853 L_4000ECAD:
  19854     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  19855     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  19856     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  19857     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  19858     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  19859     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  19860     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  19861     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  19862     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  19863     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  19864     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  19865     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  19866     RECOMP_REGS_OUT();
  19867 }
  19868 
  19869 void sub_4000EBAB(void) {
  19870     int _fpu_cmp = 0;
  19871     uint32_t _cf = 0;
  19872     int _df = 1;
  19873     uint32_t _flag_k = FK_NONE;
  19874     uint32_t _flag_a = 0, _flag_b = 0;
  19875     uint32_t _itail_tgt = 0;
  19876     RECOMP_REGS_LOCALS
  19877     RECOMP_ENTER(0x4000EBABu);
  19878 
  19879     goto L_4000EBAB;
  19880 L_4000EB2D:
  19881     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  19882     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  19883     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  19884     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  19885     _cf = 0;
  19886     _flag_k = FK_NARROW(FK_TEST, 24);
  19887     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  19888 L_4000EB3B:
  19889     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  19890     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  19891     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  19892     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  19893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19894     _flag_k = FK_CMP;
  19895     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  19896 L_4000EB48:
  19897     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  19898     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  19899     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  19900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19901     _flag_k = FK_NARROW(FK_CMP, 24);
  19902     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  19903 L_4000EB51:
  19904     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  19905     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  19906     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  19907     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  19908     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  19909     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  19910     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  19911     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  19912 L_4000EB6C:
  19913     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  19914     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  19915     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19916     _flag_k = FK_CMP;
  19917     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  19918 L_4000EB71:
  19919     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  19920     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  19921     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  19922     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  19923     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  19924     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  19925     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19927     _flag_k = FK_CMP;
  19928     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  19929 L_4000EB82:
  19930     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  19931 L_4000EB85:
  19932     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  19933     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  19934     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  19935     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  19936     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  19937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19938     _flag_k = FK_CMP;
  19939     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  19940 L_4000EB93:
  19941     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  19942     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  19943 L_4000EB98:
  19944     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  19945     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  19946     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  19947     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19948     _flag_k = FK_CMP;
  19949     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  19950 L_4000EB9F:
  19951     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  19952     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  19953 L_4000EBA3:
  19954     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  19955 L_4000EBA6:
  19956     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  19957     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  19958 L_4000EBAB:
  19959     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  19960     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  19961     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  19962     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  19963     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  19964     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  19965     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  19966     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  19967     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  19968     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  19969     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  19970     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  19971     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  19972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19973     _flag_k = FK_CMP;
  19974     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  19975 L_4000EBD0:
  19976     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  19977 L_4000EBD3:
  19978     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  19979     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  19980     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  19981     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  19982     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  19983     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19984     _flag_k = FK_CMP;
  19985     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  19986 L_4000EBE1:
  19987     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  19988     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  19989     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  19990 L_4000EBEC:
  19991     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  19992     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  19993     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  19994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  19995     _flag_k = FK_CMP;
  19996     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  19997 L_4000EBF4:
  19998     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  19999     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  20000     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  20001 L_4000EBFF:
  20002     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  20003     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  20004     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  20005 L_4000EC09:
  20006     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  20007     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20009     _flag_k = FK_NARROW(FK_CMP, 24);
  20010     RECOMP_BACKEDGE();
  20011     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  20012 L_4000EC13:
  20013     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  20014     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  20015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20016     _flag_k = FK_CMP;
  20017     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  20018 L_4000EC17:
  20019     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  20020     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  20021     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  20022     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  20023     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  20024     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  20025     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20027     _flag_k = FK_CMP;
  20028     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  20029 L_4000EC28:
  20030     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  20031 L_4000EC2B:
  20032     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  20033     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  20034     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  20035     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  20036     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20037     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20038     _flag_k = FK_CMP;
  20039     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  20040 L_4000EC39:
  20041     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  20042     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  20043 L_4000EC3E:
  20044     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  20045     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  20046     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  20047     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20048     _flag_k = FK_CMP;
  20049     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  20050 L_4000EC46:
  20051     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  20052     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  20053 L_4000EC4B:
  20054     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  20055 L_4000EC4D:
  20056     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  20057     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  20058 L_4000EC53:
  20059     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  20060     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  20061     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  20062     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  20063     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  20064     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  20065     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  20066     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  20067     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  20068     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  20069     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  20070     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  20071     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20072     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20073     _flag_k = FK_CMP;
  20074     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  20075 L_4000EC78:
  20076     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  20077 L_4000EC7B:
  20078     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  20079     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  20080     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  20081     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  20082     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20083     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20084     _flag_k = FK_CMP;
  20085     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  20086 L_4000EC89:
  20087     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  20088     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  20089 L_4000EC8E:
  20090     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  20091     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  20092     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  20093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20094     _flag_k = FK_CMP;
  20095     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  20096 L_4000EC95:
  20097     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  20098     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  20099 L_4000EC99:
  20100     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  20101 L_4000EC9C:
  20102     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  20103 L_4000EC9E:
  20104     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  20105 L_4000ECA1:
  20106     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  20107     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  20108     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  20109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20110     _flag_k = FK_CMP;
  20111     RECOMP_BACKEDGE();
  20112     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  20113 L_4000ECAD:
  20114     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  20115     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  20116     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  20117     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  20118     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  20119     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  20120     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  20121     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  20122     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  20123     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  20124     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  20125     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  20126     RECOMP_REGS_OUT();
  20127 }
  20128 
  20129 void sub_4000EC09(void) {
  20130     int _fpu_cmp = 0;
  20131     uint32_t _cf = 0;
  20132     int _df = 1;
  20133     uint32_t _flag_k = FK_NONE;
  20134     uint32_t _flag_a = 0, _flag_b = 0;
  20135     uint32_t _itail_tgt = 0;
  20136     RECOMP_REGS_LOCALS
  20137     RECOMP_ENTER(0x4000EC09u);
  20138 
  20139     goto L_4000EC09;
  20140 L_4000EB2D:
  20141     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  20142     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  20143     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  20144     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  20145     _cf = 0;
  20146     _flag_k = FK_NARROW(FK_TEST, 24);
  20147     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  20148 L_4000EB3B:
  20149     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  20150     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  20151     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  20152     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  20153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20154     _flag_k = FK_CMP;
  20155     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  20156 L_4000EB48:
  20157     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  20158     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  20159     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20161     _flag_k = FK_NARROW(FK_CMP, 24);
  20162     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  20163 L_4000EB51:
  20164     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  20165     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  20166     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  20167     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  20168     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  20169     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  20170     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  20171     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  20172 L_4000EB6C:
  20173     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  20174     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  20175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20176     _flag_k = FK_CMP;
  20177     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  20178 L_4000EB71:
  20179     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  20180     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  20181     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  20182     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  20183     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  20184     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  20185     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20186     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20187     _flag_k = FK_CMP;
  20188     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  20189 L_4000EB82:
  20190     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  20191 L_4000EB85:
  20192     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  20193     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  20194     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  20195     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  20196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20197     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20198     _flag_k = FK_CMP;
  20199     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  20200 L_4000EB93:
  20201     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  20202     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  20203 L_4000EB98:
  20204     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  20205     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  20206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  20207     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20208     _flag_k = FK_CMP;
  20209     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  20210 L_4000EB9F:
  20211     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  20212     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  20213 L_4000EBA3:
  20214     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  20215 L_4000EBA6:
  20216     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  20217     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  20218 L_4000EBAB:
  20219     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  20220     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  20221     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  20222     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  20223     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  20224     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  20225     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  20226     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  20227     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  20228     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  20229     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  20230     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  20231     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20232     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20233     _flag_k = FK_CMP;
  20234     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  20235 L_4000EBD0:
  20236     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  20237 L_4000EBD3:
  20238     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  20239     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  20240     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  20241     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  20242     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20243     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20244     _flag_k = FK_CMP;
  20245     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  20246 L_4000EBE1:
  20247     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  20248     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  20249     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  20250 L_4000EBEC:
  20251     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  20252     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  20253     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  20254     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20255     _flag_k = FK_CMP;
  20256     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  20257 L_4000EBF4:
  20258     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  20259     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  20260     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  20261 L_4000EBFF:
  20262     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  20263     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  20264     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  20265 L_4000EC09:
  20266     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  20267     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20268     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20269     _flag_k = FK_NARROW(FK_CMP, 24);
  20270     RECOMP_BACKEDGE();
  20271     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  20272 L_4000EC13:
  20273     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  20274     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  20275     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20276     _flag_k = FK_CMP;
  20277     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  20278 L_4000EC17:
  20279     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  20280     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  20281     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  20282     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  20283     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  20284     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  20285     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20286     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20287     _flag_k = FK_CMP;
  20288     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  20289 L_4000EC28:
  20290     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  20291 L_4000EC2B:
  20292     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  20293     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  20294     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  20295     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  20296     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20297     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20298     _flag_k = FK_CMP;
  20299     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  20300 L_4000EC39:
  20301     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  20302     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  20303 L_4000EC3E:
  20304     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  20305     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  20306     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  20307     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20308     _flag_k = FK_CMP;
  20309     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  20310 L_4000EC46:
  20311     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  20312     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  20313 L_4000EC4B:
  20314     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  20315 L_4000EC4D:
  20316     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  20317     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  20318 L_4000EC53:
  20319     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  20320     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  20321     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  20322     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  20323     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  20324     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  20325     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  20326     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  20327     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  20328     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  20329     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  20330     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  20331     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20332     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20333     _flag_k = FK_CMP;
  20334     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  20335 L_4000EC78:
  20336     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  20337 L_4000EC7B:
  20338     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  20339     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  20340     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  20341     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  20342     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20344     _flag_k = FK_CMP;
  20345     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  20346 L_4000EC89:
  20347     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  20348     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  20349 L_4000EC8E:
  20350     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  20351     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  20352     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  20353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20354     _flag_k = FK_CMP;
  20355     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  20356 L_4000EC95:
  20357     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  20358     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  20359 L_4000EC99:
  20360     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  20361 L_4000EC9C:
  20362     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  20363 L_4000EC9E:
  20364     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  20365 L_4000ECA1:
  20366     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  20367     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  20368     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  20369     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20370     _flag_k = FK_CMP;
  20371     RECOMP_BACKEDGE();
  20372     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  20373 L_4000ECAD:
  20374     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  20375     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  20376     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  20377     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  20378     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  20379     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  20380     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  20381     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  20382     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  20383     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  20384     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  20385     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  20386     RECOMP_REGS_OUT();
  20387 }
  20388 
  20389 void sub_4000EC4D(void) {
  20390     int _fpu_cmp = 0;
  20391     uint32_t _cf = 0;
  20392     int _df = 1;
  20393     uint32_t _flag_k = FK_NONE;
  20394     uint32_t _flag_a = 0, _flag_b = 0;
  20395     uint32_t _itail_tgt = 0;
  20396     RECOMP_REGS_LOCALS
  20397     RECOMP_ENTER(0x4000EC4Du);
  20398 
  20399     goto L_4000EC4D;
  20400 L_4000EB2D:
  20401     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  20402     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  20403     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  20404     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  20405     _cf = 0;
  20406     _flag_k = FK_NARROW(FK_TEST, 24);
  20407     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  20408 L_4000EB3B:
  20409     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  20410     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  20411     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  20412     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  20413     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20414     _flag_k = FK_CMP;
  20415     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  20416 L_4000EB48:
  20417     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  20418     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  20419     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20420     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20421     _flag_k = FK_NARROW(FK_CMP, 24);
  20422     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  20423 L_4000EB51:
  20424     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  20425     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  20426     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  20427     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  20428     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  20429     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  20430     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  20431     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  20432 L_4000EB6C:
  20433     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  20434     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  20435     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20436     _flag_k = FK_CMP;
  20437     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  20438 L_4000EB71:
  20439     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  20440     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  20441     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  20442     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  20443     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  20444     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  20445     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20446     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20447     _flag_k = FK_CMP;
  20448     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  20449 L_4000EB82:
  20450     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  20451 L_4000EB85:
  20452     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  20453     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  20454     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  20455     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  20456     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20457     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20458     _flag_k = FK_CMP;
  20459     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  20460 L_4000EB93:
  20461     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  20462     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  20463 L_4000EB98:
  20464     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  20465     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  20466     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  20467     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20468     _flag_k = FK_CMP;
  20469     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  20470 L_4000EB9F:
  20471     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  20472     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  20473 L_4000EBA3:
  20474     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  20475 L_4000EBA6:
  20476     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  20477     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  20478 L_4000EBAB:
  20479     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  20480     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  20481     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  20482     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  20483     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  20484     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  20485     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  20486     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  20487     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  20488     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  20489     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  20490     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  20491     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20493     _flag_k = FK_CMP;
  20494     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  20495 L_4000EBD0:
  20496     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  20497 L_4000EBD3:
  20498     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  20499     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  20500     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  20501     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  20502     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20503     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20504     _flag_k = FK_CMP;
  20505     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  20506 L_4000EBE1:
  20507     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  20508     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  20509     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  20510 L_4000EBEC:
  20511     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  20512     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  20513     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  20514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20515     _flag_k = FK_CMP;
  20516     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  20517 L_4000EBF4:
  20518     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  20519     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  20520     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  20521 L_4000EBFF:
  20522     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  20523     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  20524     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  20525 L_4000EC09:
  20526     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  20527     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20528     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20529     _flag_k = FK_NARROW(FK_CMP, 24);
  20530     RECOMP_BACKEDGE();
  20531     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  20532 L_4000EC13:
  20533     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  20534     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  20535     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20536     _flag_k = FK_CMP;
  20537     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  20538 L_4000EC17:
  20539     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  20540     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  20541     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  20542     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  20543     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  20544     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  20545     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20547     _flag_k = FK_CMP;
  20548     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  20549 L_4000EC28:
  20550     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  20551 L_4000EC2B:
  20552     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  20553     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  20554     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  20555     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  20556     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20558     _flag_k = FK_CMP;
  20559     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  20560 L_4000EC39:
  20561     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  20562     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  20563 L_4000EC3E:
  20564     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  20565     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  20566     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  20567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20568     _flag_k = FK_CMP;
  20569     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  20570 L_4000EC46:
  20571     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  20572     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  20573 L_4000EC4B:
  20574     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  20575 L_4000EC4D:
  20576     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  20577     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  20578 L_4000EC53:
  20579     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  20580     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  20581     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  20582     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  20583     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  20584     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  20585     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  20586     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  20587     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  20588     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  20589     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  20590     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  20591     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20592     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20593     _flag_k = FK_CMP;
  20594     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  20595 L_4000EC78:
  20596     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  20597 L_4000EC7B:
  20598     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  20599     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  20600     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  20601     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  20602     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20603     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20604     _flag_k = FK_CMP;
  20605     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  20606 L_4000EC89:
  20607     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  20608     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  20609 L_4000EC8E:
  20610     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  20611     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  20612     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  20613     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20614     _flag_k = FK_CMP;
  20615     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  20616 L_4000EC95:
  20617     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  20618     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  20619 L_4000EC99:
  20620     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  20621 L_4000EC9C:
  20622     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  20623 L_4000EC9E:
  20624     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  20625 L_4000ECA1:
  20626     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  20627     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  20628     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  20629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20630     _flag_k = FK_CMP;
  20631     RECOMP_BACKEDGE();
  20632     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  20633 L_4000ECAD:
  20634     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  20635     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  20636     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  20637     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  20638     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  20639     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  20640     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  20641     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  20642     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  20643     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  20644     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  20645     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  20646     RECOMP_REGS_OUT();
  20647 }
  20648 
  20649 void sub_4000EC53(void) {
  20650     int _fpu_cmp = 0;
  20651     uint32_t _cf = 0;
  20652     int _df = 1;
  20653     uint32_t _flag_k = FK_NONE;
  20654     uint32_t _flag_a = 0, _flag_b = 0;
  20655     uint32_t _itail_tgt = 0;
  20656     RECOMP_REGS_LOCALS
  20657     RECOMP_ENTER(0x4000EC53u);
  20658 
  20659     goto L_4000EC53;
  20660 L_4000EB2D:
  20661     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  20662     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  20663     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  20664     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  20665     _cf = 0;
  20666     _flag_k = FK_NARROW(FK_TEST, 24);
  20667     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  20668 L_4000EB3B:
  20669     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  20670     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  20671     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  20672     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  20673     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20674     _flag_k = FK_CMP;
  20675     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  20676 L_4000EB48:
  20677     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  20678     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  20679     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20681     _flag_k = FK_NARROW(FK_CMP, 24);
  20682     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  20683 L_4000EB51:
  20684     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  20685     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  20686     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  20687     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  20688     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  20689     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  20690     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  20691     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  20692 L_4000EB6C:
  20693     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  20694     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  20695     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20696     _flag_k = FK_CMP;
  20697     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  20698 L_4000EB71:
  20699     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  20700     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  20701     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  20702     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  20703     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  20704     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  20705     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20706     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20707     _flag_k = FK_CMP;
  20708     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  20709 L_4000EB82:
  20710     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  20711 L_4000EB85:
  20712     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  20713     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  20714     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  20715     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  20716     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20717     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20718     _flag_k = FK_CMP;
  20719     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  20720 L_4000EB93:
  20721     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  20722     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  20723 L_4000EB98:
  20724     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  20725     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  20726     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  20727     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20728     _flag_k = FK_CMP;
  20729     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  20730 L_4000EB9F:
  20731     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  20732     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  20733 L_4000EBA3:
  20734     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  20735 L_4000EBA6:
  20736     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  20737     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  20738 L_4000EBAB:
  20739     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  20740     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  20741     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  20742     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  20743     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  20744     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  20745     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  20746     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  20747     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  20748     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  20749     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  20750     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  20751     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20753     _flag_k = FK_CMP;
  20754     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  20755 L_4000EBD0:
  20756     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  20757 L_4000EBD3:
  20758     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  20759     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  20760     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  20761     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  20762     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20764     _flag_k = FK_CMP;
  20765     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  20766 L_4000EBE1:
  20767     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  20768     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  20769     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  20770 L_4000EBEC:
  20771     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  20772     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  20773     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  20774     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20775     _flag_k = FK_CMP;
  20776     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  20777 L_4000EBF4:
  20778     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  20779     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  20780     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  20781 L_4000EBFF:
  20782     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  20783     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  20784     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  20785 L_4000EC09:
  20786     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  20787     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20789     _flag_k = FK_NARROW(FK_CMP, 24);
  20790     RECOMP_BACKEDGE();
  20791     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  20792 L_4000EC13:
  20793     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  20794     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  20795     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20796     _flag_k = FK_CMP;
  20797     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  20798 L_4000EC17:
  20799     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  20800     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  20801     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  20802     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  20803     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  20804     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  20805     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20806     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20807     _flag_k = FK_CMP;
  20808     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  20809 L_4000EC28:
  20810     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  20811 L_4000EC2B:
  20812     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  20813     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  20814     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  20815     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  20816     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20817     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20818     _flag_k = FK_CMP;
  20819     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  20820 L_4000EC39:
  20821     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  20822     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  20823 L_4000EC3E:
  20824     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  20825     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  20826     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  20827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20828     _flag_k = FK_CMP;
  20829     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  20830 L_4000EC46:
  20831     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  20832     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  20833 L_4000EC4B:
  20834     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  20835 L_4000EC4D:
  20836     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  20837     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  20838 L_4000EC53:
  20839     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  20840     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  20841     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  20842     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  20843     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  20844     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  20845     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  20846     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  20847     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  20848     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  20849     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  20850     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  20851     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20853     _flag_k = FK_CMP;
  20854     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  20855 L_4000EC78:
  20856     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  20857 L_4000EC7B:
  20858     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  20859     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  20860     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  20861     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  20862     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  20863     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20864     _flag_k = FK_CMP;
  20865     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  20866 L_4000EC89:
  20867     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  20868     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  20869 L_4000EC8E:
  20870     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  20871     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  20872     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  20873     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20874     _flag_k = FK_CMP;
  20875     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  20876 L_4000EC95:
  20877     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  20878     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  20879 L_4000EC99:
  20880     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  20881 L_4000EC9C:
  20882     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  20883 L_4000EC9E:
  20884     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  20885 L_4000ECA1:
  20886     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  20887     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  20888     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  20889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20890     _flag_k = FK_CMP;
  20891     RECOMP_BACKEDGE();
  20892     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  20893 L_4000ECAD:
  20894     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  20895     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  20896     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  20897     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  20898     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  20899     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  20900     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  20901     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  20902     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  20903     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  20904     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  20905     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  20906     RECOMP_REGS_OUT();
  20907 }
  20908 
  20909 void sub_4000EC9C(void) {
  20910     int _fpu_cmp = 0;
  20911     uint32_t _cf = 0;
  20912     int _df = 1;
  20913     uint32_t _flag_k = FK_NONE;
  20914     uint32_t _flag_a = 0, _flag_b = 0;
  20915     uint32_t _itail_tgt = 0;
  20916     RECOMP_REGS_LOCALS
  20917     RECOMP_ENTER(0x4000EC9Cu);
  20918 
  20919     goto L_4000EC9C;
  20920 L_4000EB2D:
  20921     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  20922     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  20923     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  20924     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  20925     _cf = 0;
  20926     _flag_k = FK_NARROW(FK_TEST, 24);
  20927     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  20928 L_4000EB3B:
  20929     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  20930     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  20931     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  20932     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  20933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20934     _flag_k = FK_CMP;
  20935     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  20936 L_4000EB48:
  20937     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  20938     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  20939     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  20940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20941     _flag_k = FK_NARROW(FK_CMP, 24);
  20942     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  20943 L_4000EB51:
  20944     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  20945     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  20946     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  20947     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  20948     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  20949     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  20950     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  20951     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  20952 L_4000EB6C:
  20953     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  20954     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  20955     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20956     _flag_k = FK_CMP;
  20957     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  20958 L_4000EB71:
  20959     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  20960     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  20961     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  20962     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  20963     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  20964     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  20965     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  20966     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20967     _flag_k = FK_CMP;
  20968     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  20969 L_4000EB82:
  20970     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  20971 L_4000EB85:
  20972     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  20973     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  20974     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  20975     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  20976     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  20977     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20978     _flag_k = FK_CMP;
  20979     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  20980 L_4000EB93:
  20981     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  20982     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  20983 L_4000EB98:
  20984     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  20985     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  20986     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  20987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  20988     _flag_k = FK_CMP;
  20989     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  20990 L_4000EB9F:
  20991     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  20992     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  20993 L_4000EBA3:
  20994     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  20995 L_4000EBA6:
  20996     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  20997     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  20998 L_4000EBAB:
  20999     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  21000     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  21001     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  21002     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  21003     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  21004     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  21005     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  21006     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  21007     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  21008     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  21009     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  21010     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  21011     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21013     _flag_k = FK_CMP;
  21014     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  21015 L_4000EBD0:
  21016     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  21017 L_4000EBD3:
  21018     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  21019     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  21020     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  21021     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  21022     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  21023     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21024     _flag_k = FK_CMP;
  21025     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  21026 L_4000EBE1:
  21027     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  21028     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  21029     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  21030 L_4000EBEC:
  21031     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  21032     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  21033     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  21034     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21035     _flag_k = FK_CMP;
  21036     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  21037 L_4000EBF4:
  21038     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  21039     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  21040     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  21041 L_4000EBFF:
  21042     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  21043     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  21044     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  21045 L_4000EC09:
  21046     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  21047     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  21048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21049     _flag_k = FK_NARROW(FK_CMP, 24);
  21050     RECOMP_BACKEDGE();
  21051     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  21052 L_4000EC13:
  21053     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  21054     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  21055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21056     _flag_k = FK_CMP;
  21057     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  21058 L_4000EC17:
  21059     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  21060     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  21061     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  21062     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  21063     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  21064     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  21065     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21066     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21067     _flag_k = FK_CMP;
  21068     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  21069 L_4000EC28:
  21070     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  21071 L_4000EC2B:
  21072     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  21073     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  21074     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  21075     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  21076     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  21077     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21078     _flag_k = FK_CMP;
  21079     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  21080 L_4000EC39:
  21081     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  21082     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  21083 L_4000EC3E:
  21084     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  21085     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  21086     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  21087     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21088     _flag_k = FK_CMP;
  21089     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  21090 L_4000EC46:
  21091     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  21092     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  21093 L_4000EC4B:
  21094     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  21095 L_4000EC4D:
  21096     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  21097     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  21098 L_4000EC53:
  21099     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  21100     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  21101     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  21102     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  21103     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  21104     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  21105     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  21106     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  21107     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  21108     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  21109     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  21110     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  21111     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21112     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21113     _flag_k = FK_CMP;
  21114     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  21115 L_4000EC78:
  21116     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  21117 L_4000EC7B:
  21118     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  21119     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  21120     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  21121     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  21122     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  21123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21124     _flag_k = FK_CMP;
  21125     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  21126 L_4000EC89:
  21127     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  21128     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  21129 L_4000EC8E:
  21130     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  21131     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  21132     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  21133     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21134     _flag_k = FK_CMP;
  21135     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  21136 L_4000EC95:
  21137     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  21138     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  21139 L_4000EC99:
  21140     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  21141 L_4000EC9C:
  21142     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  21143 L_4000EC9E:
  21144     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  21145 L_4000ECA1:
  21146     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  21147     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  21148     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  21149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21150     _flag_k = FK_CMP;
  21151     RECOMP_BACKEDGE();
  21152     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  21153 L_4000ECAD:
  21154     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  21155     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  21156     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  21157     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  21158     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  21159     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  21160     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  21161     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  21162     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  21163     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  21164     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  21165     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  21166     RECOMP_REGS_OUT();
  21167 }
  21168 
  21169 void sub_4000EC9E(void) {
  21170     int _fpu_cmp = 0;
  21171     uint32_t _cf = 0;
  21172     int _df = 1;
  21173     uint32_t _flag_k = FK_NONE;
  21174     uint32_t _flag_a = 0, _flag_b = 0;
  21175     uint32_t _itail_tgt = 0;
  21176     RECOMP_REGS_LOCALS
  21177     RECOMP_ENTER(0x4000EC9Eu);
  21178 
  21179     goto L_4000EC9E;
  21180 L_4000EB2D:
  21181     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  21182     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  21183     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  21184     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  21185     _cf = 0;
  21186     _flag_k = FK_NARROW(FK_TEST, 24);
  21187     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  21188 L_4000EB3B:
  21189     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  21190     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  21191     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  21192     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  21193     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21194     _flag_k = FK_CMP;
  21195     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  21196 L_4000EB48:
  21197     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  21198     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  21199     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  21200     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21201     _flag_k = FK_NARROW(FK_CMP, 24);
  21202     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  21203 L_4000EB51:
  21204     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  21205     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  21206     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  21207     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  21208     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  21209     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  21210     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  21211     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  21212 L_4000EB6C:
  21213     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  21214     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  21215     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21216     _flag_k = FK_CMP;
  21217     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  21218 L_4000EB71:
  21219     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  21220     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  21221     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  21222     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  21223     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  21224     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  21225     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21227     _flag_k = FK_CMP;
  21228     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  21229 L_4000EB82:
  21230     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  21231 L_4000EB85:
  21232     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  21233     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  21234     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  21235     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  21236     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  21237     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21238     _flag_k = FK_CMP;
  21239     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  21240 L_4000EB93:
  21241     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  21242     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  21243 L_4000EB98:
  21244     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  21245     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  21246     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  21247     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21248     _flag_k = FK_CMP;
  21249     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  21250 L_4000EB9F:
  21251     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  21252     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  21253 L_4000EBA3:
  21254     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  21255 L_4000EBA6:
  21256     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  21257     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  21258 L_4000EBAB:
  21259     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  21260     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  21261     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  21262     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  21263     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  21264     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  21265     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  21266     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  21267     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  21268     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  21269     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  21270     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  21271     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21273     _flag_k = FK_CMP;
  21274     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  21275 L_4000EBD0:
  21276     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  21277 L_4000EBD3:
  21278     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  21279     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  21280     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  21281     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  21282     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  21283     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21284     _flag_k = FK_CMP;
  21285     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  21286 L_4000EBE1:
  21287     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  21288     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  21289     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  21290 L_4000EBEC:
  21291     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  21292     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  21293     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  21294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21295     _flag_k = FK_CMP;
  21296     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  21297 L_4000EBF4:
  21298     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  21299     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  21300     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  21301 L_4000EBFF:
  21302     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  21303     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  21304     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  21305 L_4000EC09:
  21306     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  21307     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  21308     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21309     _flag_k = FK_NARROW(FK_CMP, 24);
  21310     RECOMP_BACKEDGE();
  21311     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  21312 L_4000EC13:
  21313     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  21314     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  21315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21316     _flag_k = FK_CMP;
  21317     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  21318 L_4000EC17:
  21319     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  21320     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  21321     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  21322     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  21323     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  21324     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  21325     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21326     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21327     _flag_k = FK_CMP;
  21328     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  21329 L_4000EC28:
  21330     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  21331 L_4000EC2B:
  21332     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  21333     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  21334     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  21335     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  21336     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  21337     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21338     _flag_k = FK_CMP;
  21339     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  21340 L_4000EC39:
  21341     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  21342     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  21343 L_4000EC3E:
  21344     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  21345     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  21346     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  21347     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21348     _flag_k = FK_CMP;
  21349     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  21350 L_4000EC46:
  21351     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  21352     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  21353 L_4000EC4B:
  21354     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  21355 L_4000EC4D:
  21356     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  21357     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  21358 L_4000EC53:
  21359     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  21360     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  21361     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  21362     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  21363     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  21364     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  21365     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  21366     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  21367     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  21368     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  21369     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  21370     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  21371     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21373     _flag_k = FK_CMP;
  21374     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  21375 L_4000EC78:
  21376     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  21377 L_4000EC7B:
  21378     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  21379     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  21380     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  21381     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  21382     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  21383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21384     _flag_k = FK_CMP;
  21385     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  21386 L_4000EC89:
  21387     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  21388     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  21389 L_4000EC8E:
  21390     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  21391     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  21392     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  21393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21394     _flag_k = FK_CMP;
  21395     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  21396 L_4000EC95:
  21397     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  21398     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  21399 L_4000EC99:
  21400     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  21401 L_4000EC9C:
  21402     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  21403 L_4000EC9E:
  21404     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  21405 L_4000ECA1:
  21406     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  21407     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  21408     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  21409     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21410     _flag_k = FK_CMP;
  21411     RECOMP_BACKEDGE();
  21412     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  21413 L_4000ECAD:
  21414     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  21415     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  21416     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  21417     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  21418     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  21419     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  21420     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  21421     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  21422     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  21423     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  21424     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  21425     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  21426     RECOMP_REGS_OUT();
  21427 }
  21428 
  21429 void sub_4000ECA1(void) {
  21430     int _fpu_cmp = 0;
  21431     uint32_t _cf = 0;
  21432     int _df = 1;
  21433     uint32_t _flag_k = FK_NONE;
  21434     uint32_t _flag_a = 0, _flag_b = 0;
  21435     uint32_t _itail_tgt = 0;
  21436     RECOMP_REGS_LOCALS
  21437     RECOMP_ENTER(0x4000ECA1u);
  21438 
  21439     goto L_4000ECA1;
  21440 L_4000EB2D:
  21441     ecx = MEM32(eax + 0x4); /* 0x4000EB2D: mov ecx, dword ptr [eax + 4] */
  21442     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EB30: mov dl, byte ptr [ecx + 0x1c] */
  21443     /* test LO8(edx), LO8(edx) */ /* 0x4000EB33: test dl, dl */
  21444     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  21445     _cf = 0;
  21446     _flag_k = FK_NARROW(FK_TEST, 24);
  21447     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ECAD; /* 0x4000EB35: jne 0x4000ecad */
  21448 L_4000EB3B:
  21449     edi = MEM32(ecx + 0x4); /* 0x4000EB3B: mov edi, dword ptr [ecx + 4] */
  21450     edx = MEM32(edi); /* 0x4000EB3E: mov edx, dword ptr [edi] */
  21451     /* cmp ecx, edx */ /* 0x4000EB40: cmp ecx, edx */
  21452     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  21453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21454     _flag_k = FK_CMP;
  21455     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC09; /* 0x4000EB42: jne 0x4000ec09 */
  21456 L_4000EB48:
  21457     edx = MEM32(edi + 0x8); /* 0x4000EB48: mov edx, dword ptr [edi + 8] */
  21458     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EB4B: cmp byte ptr [edx + 0x1c], 0 */
  21459     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  21460     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21461     _flag_k = FK_NARROW(FK_CMP, 24);
  21462     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB6C; /* 0x4000EB4F: jne 0x4000eb6c */
  21463 L_4000EB51:
  21464     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB51: mov byte ptr [ecx + 0x1c], bl */
  21465     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EB54: mov byte ptr [edx + 0x1c], bl */
  21466     ecx = MEM32(eax + 0x4); /* 0x4000EB57: mov ecx, dword ptr [eax + 4] */
  21467     edx = MEM32(ecx + 0x4); /* 0x4000EB5A: mov edx, dword ptr [ecx + 4] */
  21468     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EB5D: mov byte ptr [edx + 0x1c], 0 */
  21469     eax = MEM32(eax + 0x4); /* 0x4000EB61: mov eax, dword ptr [eax + 4] */
  21470     eax = MEM32(eax + 0x4); /* 0x4000EB64: mov eax, dword ptr [eax + 4] */
  21471     goto L_4000ECA1; /* 0x4000EB67: jmp 0x4000eca1 */
  21472 L_4000EB6C:
  21473     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EB6C: cmp eax, dword ptr [ecx + 8] */
  21474     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  21475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21476     _flag_k = FK_CMP;
  21477     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBAB; /* 0x4000EB6F: jne 0x4000ebab */
  21478 L_4000EB71:
  21479     eax = ecx; /* 0x4000EB71: mov eax, ecx */
  21480     ecx = MEM32(eax + 0x8); /* 0x4000EB73: mov ecx, dword ptr [eax + 8] */
  21481     edx = MEM32(ecx); /* 0x4000EB76: mov edx, dword ptr [ecx] */
  21482     MEM32(eax + 0x8) = edx; /* 0x4000EB78: mov dword ptr [eax + 8], edx */
  21483     edx = MEM32(ecx); /* 0x4000EB7B: mov edx, dword ptr [ecx] */
  21484     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EB7D: cmp edx, dword ptr [esi + 8] */
  21485     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21486     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21487     _flag_k = FK_CMP;
  21488     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB85; /* 0x4000EB80: je 0x4000eb85 */
  21489 L_4000EB82:
  21490     MEM32(edx + 0x4) = eax; /* 0x4000EB82: mov dword ptr [edx + 4], eax */
  21491 L_4000EB85:
  21492     edx = MEM32(eax + 0x4); /* 0x4000EB85: mov edx, dword ptr [eax + 4] */
  21493     MEM32(ecx + 0x4) = edx; /* 0x4000EB88: mov dword ptr [ecx + 4], edx */
  21494     edx = MEM32(esi + 0x4); /* 0x4000EB8B: mov edx, dword ptr [esi + 4] */
  21495     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EB8E: cmp eax, dword ptr [edx + 4] */
  21496     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  21497     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21498     _flag_k = FK_CMP;
  21499     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB98; /* 0x4000EB91: jne 0x4000eb98 */
  21500 L_4000EB93:
  21501     MEM32(edx + 0x4) = ecx; /* 0x4000EB93: mov dword ptr [edx + 4], ecx */
  21502     goto L_4000EBA6; /* 0x4000EB96: jmp 0x4000eba6 */
  21503 L_4000EB98:
  21504     edx = MEM32(eax + 0x4); /* 0x4000EB98: mov edx, dword ptr [eax + 4] */
  21505     /* cmp eax, MEM32(edx) */ /* 0x4000EB9B: cmp eax, dword ptr [edx] */
  21506     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  21507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21508     _flag_k = FK_CMP;
  21509     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBA3; /* 0x4000EB9D: jne 0x4000eba3 */
  21510 L_4000EB9F:
  21511     MEM32(edx) = ecx; /* 0x4000EB9F: mov dword ptr [edx], ecx */
  21512     goto L_4000EBA6; /* 0x4000EBA1: jmp 0x4000eba6 */
  21513 L_4000EBA3:
  21514     MEM32(edx + 0x8) = ecx; /* 0x4000EBA3: mov dword ptr [edx + 8], ecx */
  21515 L_4000EBA6:
  21516     MEM32(ecx) = eax; /* 0x4000EBA6: mov dword ptr [ecx], eax */
  21517     MEM32(eax + 0x4) = ecx; /* 0x4000EBA8: mov dword ptr [eax + 4], ecx */
  21518 L_4000EBAB:
  21519     ecx = MEM32(eax + 0x4); /* 0x4000EBAB: mov ecx, dword ptr [eax + 4] */
  21520     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EBAE: mov byte ptr [ecx + 0x1c], bl */
  21521     edx = MEM32(eax + 0x4); /* 0x4000EBB1: mov edx, dword ptr [eax + 4] */
  21522     ecx = MEM32(edx + 0x4); /* 0x4000EBB4: mov ecx, dword ptr [edx + 4] */
  21523     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EBB7: mov byte ptr [ecx + 0x1c], 0 */
  21524     edx = MEM32(eax + 0x4); /* 0x4000EBBB: mov edx, dword ptr [eax + 4] */
  21525     ecx = MEM32(edx + 0x4); /* 0x4000EBBE: mov ecx, dword ptr [edx + 4] */
  21526     edx = MEM32(ecx); /* 0x4000EBC1: mov edx, dword ptr [ecx] */
  21527     edi = MEM32(edx + 0x8); /* 0x4000EBC3: mov edi, dword ptr [edx + 8] */
  21528     MEM32(ecx) = edi; /* 0x4000EBC6: mov dword ptr [ecx], edi */
  21529     edi = MEM32(edx + 0x8); /* 0x4000EBC8: mov edi, dword ptr [edx + 8] */
  21530     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EBCB: cmp edi, dword ptr [esi + 8] */
  21531     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21533     _flag_k = FK_CMP;
  21534     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EBD3; /* 0x4000EBCE: je 0x4000ebd3 */
  21535 L_4000EBD0:
  21536     MEM32(edi + 0x4) = ecx; /* 0x4000EBD0: mov dword ptr [edi + 4], ecx */
  21537 L_4000EBD3:
  21538     edi = MEM32(ecx + 0x4); /* 0x4000EBD3: mov edi, dword ptr [ecx + 4] */
  21539     MEM32(edx + 0x4) = edi; /* 0x4000EBD6: mov dword ptr [edx + 4], edi */
  21540     edi = MEM32(esi + 0x4); /* 0x4000EBD9: mov edi, dword ptr [esi + 4] */
  21541     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EBDC: cmp ecx, dword ptr [edi + 4] */
  21542     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  21543     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21544     _flag_k = FK_CMP;
  21545     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBEC; /* 0x4000EBDF: jne 0x4000ebec */
  21546 L_4000EBE1:
  21547     MEM32(edi + 0x4) = edx; /* 0x4000EBE1: mov dword ptr [edi + 4], edx */
  21548     MEM32(edx + 0x8) = ecx; /* 0x4000EBE4: mov dword ptr [edx + 8], ecx */
  21549     goto L_4000EC9E; /* 0x4000EBE7: jmp 0x4000ec9e */
  21550 L_4000EBEC:
  21551     edi = MEM32(ecx + 0x4); /* 0x4000EBEC: mov edi, dword ptr [ecx + 4] */
  21552     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EBEF: cmp ecx, dword ptr [edi + 8] */
  21553     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  21554     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21555     _flag_k = FK_CMP;
  21556     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EBFF; /* 0x4000EBF2: jne 0x4000ebff */
  21557 L_4000EBF4:
  21558     MEM32(edi + 0x8) = edx; /* 0x4000EBF4: mov dword ptr [edi + 8], edx */
  21559     MEM32(edx + 0x8) = ecx; /* 0x4000EBF7: mov dword ptr [edx + 8], ecx */
  21560     goto L_4000EC9E; /* 0x4000EBFA: jmp 0x4000ec9e */
  21561 L_4000EBFF:
  21562     MEM32(edi) = edx; /* 0x4000EBFF: mov dword ptr [edi], edx */
  21563     MEM32(edx + 0x8) = ecx; /* 0x4000EC01: mov dword ptr [edx + 8], ecx */
  21564     goto L_4000EC9E; /* 0x4000EC04: jmp 0x4000ec9e */
  21565 L_4000EC09:
  21566     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EC09: cmp byte ptr [edx + 0x1c], 0 */
  21567     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  21568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21569     _flag_k = FK_NARROW(FK_CMP, 24);
  21570     RECOMP_BACKEDGE();
  21571     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EB51; /* 0x4000EC0D: je 0x4000eb51 */
  21572 L_4000EC13:
  21573     /* cmp eax, MEM32(ecx) */ /* 0x4000EC13: cmp eax, dword ptr [ecx] */
  21574     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  21575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21576     _flag_k = FK_CMP;
  21577     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC53; /* 0x4000EC15: jne 0x4000ec53 */
  21578 L_4000EC17:
  21579     eax = ecx; /* 0x4000EC17: mov eax, ecx */
  21580     ecx = MEM32(eax); /* 0x4000EC19: mov ecx, dword ptr [eax] */
  21581     edx = MEM32(ecx + 0x8); /* 0x4000EC1B: mov edx, dword ptr [ecx + 8] */
  21582     MEM32(eax) = edx; /* 0x4000EC1E: mov dword ptr [eax], edx */
  21583     edx = MEM32(ecx + 0x8); /* 0x4000EC20: mov edx, dword ptr [ecx + 8] */
  21584     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EC23: cmp edx, dword ptr [esi + 8] */
  21585     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21586     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21587     _flag_k = FK_CMP;
  21588     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC2B; /* 0x4000EC26: je 0x4000ec2b */
  21589 L_4000EC28:
  21590     MEM32(edx + 0x4) = eax; /* 0x4000EC28: mov dword ptr [edx + 4], eax */
  21591 L_4000EC2B:
  21592     edx = MEM32(eax + 0x4); /* 0x4000EC2B: mov edx, dword ptr [eax + 4] */
  21593     MEM32(ecx + 0x4) = edx; /* 0x4000EC2E: mov dword ptr [ecx + 4], edx */
  21594     edx = MEM32(esi + 0x4); /* 0x4000EC31: mov edx, dword ptr [esi + 4] */
  21595     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EC34: cmp eax, dword ptr [edx + 4] */
  21596     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  21597     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21598     _flag_k = FK_CMP;
  21599     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC3E; /* 0x4000EC37: jne 0x4000ec3e */
  21600 L_4000EC39:
  21601     MEM32(edx + 0x4) = ecx; /* 0x4000EC39: mov dword ptr [edx + 4], ecx */
  21602     goto L_4000EC4D; /* 0x4000EC3C: jmp 0x4000ec4d */
  21603 L_4000EC3E:
  21604     edx = MEM32(eax + 0x4); /* 0x4000EC3E: mov edx, dword ptr [eax + 4] */
  21605     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EC41: cmp eax, dword ptr [edx + 8] */
  21606     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  21607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21608     _flag_k = FK_CMP;
  21609     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC4B; /* 0x4000EC44: jne 0x4000ec4b */
  21610 L_4000EC46:
  21611     MEM32(edx + 0x8) = ecx; /* 0x4000EC46: mov dword ptr [edx + 8], ecx */
  21612     goto L_4000EC4D; /* 0x4000EC49: jmp 0x4000ec4d */
  21613 L_4000EC4B:
  21614     MEM32(edx) = ecx; /* 0x4000EC4B: mov dword ptr [edx], ecx */
  21615 L_4000EC4D:
  21616     MEM32(ecx + 0x8) = eax; /* 0x4000EC4D: mov dword ptr [ecx + 8], eax */
  21617     MEM32(eax + 0x4) = ecx; /* 0x4000EC50: mov dword ptr [eax + 4], ecx */
  21618 L_4000EC53:
  21619     ecx = MEM32(eax + 0x4); /* 0x4000EC53: mov ecx, dword ptr [eax + 4] */
  21620     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EC56: mov byte ptr [ecx + 0x1c], bl */
  21621     edx = MEM32(eax + 0x4); /* 0x4000EC59: mov edx, dword ptr [eax + 4] */
  21622     ecx = MEM32(edx + 0x4); /* 0x4000EC5C: mov ecx, dword ptr [edx + 4] */
  21623     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EC5F: mov byte ptr [ecx + 0x1c], 0 */
  21624     edx = MEM32(eax + 0x4); /* 0x4000EC63: mov edx, dword ptr [eax + 4] */
  21625     ecx = MEM32(edx + 0x4); /* 0x4000EC66: mov ecx, dword ptr [edx + 4] */
  21626     edx = MEM32(ecx + 0x8); /* 0x4000EC69: mov edx, dword ptr [ecx + 8] */
  21627     edi = MEM32(edx); /* 0x4000EC6C: mov edi, dword ptr [edx] */
  21628     MEM32(ecx + 0x8) = edi; /* 0x4000EC6E: mov dword ptr [ecx + 8], edi */
  21629     edi = MEM32(edx); /* 0x4000EC71: mov edi, dword ptr [edx] */
  21630     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EC73: cmp edi, dword ptr [esi + 8] */
  21631     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21633     _flag_k = FK_CMP;
  21634     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EC7B; /* 0x4000EC76: je 0x4000ec7b */
  21635 L_4000EC78:
  21636     MEM32(edi + 0x4) = ecx; /* 0x4000EC78: mov dword ptr [edi + 4], ecx */
  21637 L_4000EC7B:
  21638     edi = MEM32(ecx + 0x4); /* 0x4000EC7B: mov edi, dword ptr [ecx + 4] */
  21639     MEM32(edx + 0x4) = edi; /* 0x4000EC7E: mov dword ptr [edx + 4], edi */
  21640     edi = MEM32(esi + 0x4); /* 0x4000EC81: mov edi, dword ptr [esi + 4] */
  21641     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EC84: cmp ecx, dword ptr [edi + 4] */
  21642     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  21643     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21644     _flag_k = FK_CMP;
  21645     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC8E; /* 0x4000EC87: jne 0x4000ec8e */
  21646 L_4000EC89:
  21647     MEM32(edi + 0x4) = edx; /* 0x4000EC89: mov dword ptr [edi + 4], edx */
  21648     goto L_4000EC9C; /* 0x4000EC8C: jmp 0x4000ec9c */
  21649 L_4000EC8E:
  21650     edi = MEM32(ecx + 0x4); /* 0x4000EC8E: mov edi, dword ptr [ecx + 4] */
  21651     /* cmp ecx, MEM32(edi) */ /* 0x4000EC91: cmp ecx, dword ptr [edi] */
  21652     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  21653     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21654     _flag_k = FK_CMP;
  21655     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EC99; /* 0x4000EC93: jne 0x4000ec99 */
  21656 L_4000EC95:
  21657     MEM32(edi) = edx; /* 0x4000EC95: mov dword ptr [edi], edx */
  21658     goto L_4000EC9C; /* 0x4000EC97: jmp 0x4000ec9c */
  21659 L_4000EC99:
  21660     MEM32(edi + 0x8) = edx; /* 0x4000EC99: mov dword ptr [edi + 8], edx */
  21661 L_4000EC9C:
  21662     MEM32(edx) = ecx; /* 0x4000EC9C: mov dword ptr [edx], ecx */
  21663 L_4000EC9E:
  21664     MEM32(ecx + 0x4) = edx; /* 0x4000EC9E: mov dword ptr [ecx + 4], edx */
  21665 L_4000ECA1:
  21666     ecx = MEM32(esi + 0x4); /* 0x4000ECA1: mov ecx, dword ptr [esi + 4] */
  21667     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000ECA4: cmp eax, dword ptr [ecx + 4] */
  21668     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  21669     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21670     _flag_k = FK_CMP;
  21671     RECOMP_BACKEDGE();
  21672     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EB2D; /* 0x4000ECA7: jne 0x4000eb2d */
  21673 L_4000ECAD:
  21674     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  21675     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  21676     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  21677     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  21678     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  21679     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  21680     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  21681     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  21682     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  21683     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  21684     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  21685     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  21686     RECOMP_REGS_OUT();
  21687 }
  21688 
  21689 void sub_4000ECAD(void) {
  21690     int _fpu_cmp = 0;
  21691     uint32_t _cf = 0;
  21692     int _df = 1;
  21693     uint32_t _flag_k = FK_NONE;
  21694     uint32_t _flag_a = 0, _flag_b = 0;
  21695     uint32_t _itail_tgt = 0;
  21696     RECOMP_REGS_LOCALS
  21697     RECOMP_ENTER(0x4000ECADu);
  21698 
  21699 L_4000ECAD:
  21700     edx = MEM32(esi + 0x4); /* 0x4000ECAD: mov edx, dword ptr [esi + 4] */
  21701     eax = MEM32(edx + 0x4); /* 0x4000ECB0: mov eax, dword ptr [edx + 4] */
  21702     ecx = MEM32(ebp + (-0x4)); /* 0x4000ECB3: mov ecx, dword ptr [ebp - 4] */
  21703     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000ECB6: mov byte ptr [eax + 0x1c], bl */
  21704     eax = MEM32(ebp + 0x8); /* 0x4000ECB9: mov eax, dword ptr [ebp + 8] */
  21705     edi = POP32_VAL(esp); /* 0x4000ECBC: pop edi */
  21706     esi = POP32_VAL(esp); /* 0x4000ECBD: pop esi */
  21707     MEM32(eax) = ecx; /* 0x4000ECBE: mov dword ptr [eax], ecx */
  21708     ebx = POP32_VAL(esp); /* 0x4000ECC0: pop ebx */
  21709     esp = ebp; /* 0x4000ECC1: mov esp, ebp */
  21710     ebp = POP32_VAL(esp); /* 0x4000ECC3: pop ebp */
  21711     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000ECC4: ret 0x10 */
  21712     RECOMP_REGS_OUT();
  21713 }
  21714 
  21715 void sub_4000ECD0(void) {
  21716     int _fpu_cmp = 0;
  21717     uint32_t _cf = 0;
  21718     int _df = 1;
  21719     uint32_t _flag_k = FK_NONE;
  21720     uint32_t _flag_a = 0, _flag_b = 0;
  21721     uint32_t _itail_tgt = 0;
  21722     RECOMP_REGS_LOCALS
  21723     RECOMP_ENTER(0x4000ECD0u);
  21724 
  21725 L_4000ECD0:
  21726     PUSH32(esp, ebp); /* 0x4000ECD0: push ebp */
  21727     ebp = esp; /* 0x4000ECD1: mov ebp, esp */
  21728     eax = MEM32(ebp + 0xC); /* 0x4000ECD3: mov eax, dword ptr [ebp + 0xc] */
  21729     /* test eax, eax */ /* 0x4000ECD6: test eax, eax */
  21730     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  21731     _cf = 0;
  21732     _flag_k = FK_TEST;
  21733     if (TEST_Z(_flag_a, _flag_b)) goto L_4000ECF2; /* 0x4000ECD8: jbe 0x4000ecf2 */
  21734 L_4000ECDA:
  21735     edx = MEM32(ebp + 0x10); /* 0x4000ECDA: mov edx, dword ptr [ebp + 0x10] */
  21736     ecx = eax; /* 0x4000ECDD: mov ecx, eax */
  21737     eax = MEM32(ebp + 0x8); /* 0x4000ECDF: mov eax, dword ptr [ebp + 8] */
  21738     PUSH32(esp, esi); /* 0x4000ECE2: push esi */
  21739 L_4000ECE3:
  21740     /* test eax, eax */ /* 0x4000ECE3: test eax, eax */
  21741     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
  21742     _cf = 0;
  21743     _flag_k = FK_TEST;
  21744     if (TEST_Z(_flag_a, _flag_b)) goto L_4000ECEB; /* 0x4000ECE5: je 0x4000eceb */
  21745 L_4000ECE7:
  21746     esi = MEM32(edx); /* 0x4000ECE7: mov esi, dword ptr [edx] */
  21747     MEM32(eax) = esi; /* 0x4000ECE9: mov dword ptr [eax], esi */
  21748 L_4000ECEB:
  21749     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
  21750     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  21751     eax = eax + 4; /* 0x4000ECEB: add eax, 4 */
  21752     _flag_k = FK_ADD;
  21753     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  21754     ecx = ecx - 1; /* 0x4000ECEE: dec ecx */
  21755     _flag_k = FK_DEC;
  21756     RECOMP_BACKEDGE();
  21757     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_4000ECE3; /* 0x4000ECEF: jne 0x4000ece3 */
  21758 L_4000ECF1:
  21759     esi = POP32_VAL(esp); /* 0x4000ECF1: pop esi */
  21760 L_4000ECF2:
  21761     ebp = POP32_VAL(esp); /* 0x4000ECF2: pop ebp */
  21762     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4000ECF3: ret 0xc */
  21763     RECOMP_REGS_OUT();
  21764 }
  21765 
  21766 void sub_4000ED00(void) {
  21767     int _fpu_cmp = 0;
  21768     uint32_t _cf = 0;
  21769     int _df = 1;
  21770     uint32_t _flag_k = FK_NONE;
  21771     uint32_t _flag_a = 0, _flag_b = 0;
  21772     uint32_t _itail_tgt = 0;
  21773     RECOMP_REGS_LOCALS
  21774     RECOMP_ENTER(0x4000ED00u);
  21775 
  21776 L_4000ED00:
  21777     PUSH32(esp, ebp); /* 0x4000ED00: push ebp */
  21778     ebp = esp; /* 0x4000ED01: mov ebp, esp */
  21779     PUSH32(esp, edi); /* 0x4000ED03: push edi */
  21780     edi = MEM32(ebp + 0xC); /* 0x4000ED04: mov edi, dword ptr [ebp + 0xc] */
  21781     /* test edi, edi */ /* 0x4000ED07: test edi, edi */
  21782     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
  21783     _cf = 0;
  21784     _flag_k = FK_TEST;
  21785     if (TEST_Z(_flag_a, _flag_b)) goto L_4000ED25; /* 0x4000ED09: jbe 0x4000ed25 */
  21786 L_4000ED0B:
  21787     PUSH32(esp, ebx); /* 0x4000ED0B: push ebx */
  21788     ebx = MEM32(ebp + 0x10); /* 0x4000ED0C: mov ebx, dword ptr [ebp + 0x10] */
  21789     PUSH32(esp, esi); /* 0x4000ED0F: push esi */
  21790     esi = MEM32(ebp + 0x8); /* 0x4000ED10: mov esi, dword ptr [ebp + 8] */
  21791 L_4000ED13:
  21792     PUSH32(esp, ebx); /* 0x4000ED13: push ebx */
  21793     PUSH32(esp, esi); /* 0x4000ED14: push esi */
  21794     RECOMP_ICALL(0x4000F880u); /* 0x4000ED15: call 0x4000f880 */ /* not lifted */
  21795     RECOMP_FLAGS_IN();
  21796     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
  21797     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  21798     esp = esp + 8; /* 0x4000ED1A: add esp, 8 */
  21799     _flag_k = FK_ADD;
  21800     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
  21801     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  21802     esi = esi + 0x10u; /* 0x4000ED1D: add esi, 0x10 */
  21803     _flag_k = FK_ADD;
  21804     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
  21805     edi = edi - 1; /* 0x4000ED20: dec edi */
  21806     _flag_k = FK_DEC;
  21807     RECOMP_BACKEDGE();
  21808     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_4000ED13; /* 0x4000ED21: jne 0x4000ed13 */
  21809 L_4000ED23:
  21810     esi = POP32_VAL(esp); /* 0x4000ED23: pop esi */
  21811     ebx = POP32_VAL(esp); /* 0x4000ED24: pop ebx */
  21812 L_4000ED25:
  21813     edi = POP32_VAL(esp); /* 0x4000ED25: pop edi */
  21814     ebp = POP32_VAL(esp); /* 0x4000ED26: pop ebp */
  21815     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4000ED27: ret 0xc */
  21816     RECOMP_REGS_OUT();
  21817 }
  21818 
  21819 void sub_4000ED30(void) {
  21820     int _fpu_cmp = 0;
  21821     uint32_t _cf = 0;
  21822     int _df = 1;
  21823     uint32_t _flag_k = FK_NONE;
  21824     uint32_t _flag_a = 0, _flag_b = 0;
  21825     uint32_t _itail_tgt = 0;
  21826     RECOMP_REGS_LOCALS
  21827     RECOMP_ENTER(0x4000ED30u);
  21828 
  21829 L_4000ED30:
  21830     eax = MEM32(ecx); /* 0x4000ED30: mov eax, dword ptr [ecx] */
  21831     SET_LO8(edx, MEM8(eax + 0x14)); /* 0x4000ED32: mov dl, byte ptr [eax + 0x14] */
  21832     /* test LO8(edx), LO8(edx) */ /* 0x4000ED35: test dl, dl */
  21833     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  21834     _cf = 0;
  21835     _flag_k = FK_NARROW(FK_TEST, 24);
  21836     PUSH32(esp, ebx); /* 0x4000ED37: push ebx */
  21837     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ED49; /* 0x4000ED38: jne 0x4000ed49 */
  21838 L_4000ED3A:
  21839     edx = MEM32(eax + 0x4); /* 0x4000ED3A: mov edx, dword ptr [eax + 4] */
  21840     /* cmp MEM32(edx + 0x4), eax */ /* 0x4000ED3D: cmp dword ptr [edx + 4], eax */
  21841     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax);
  21842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21843     _flag_k = FK_CMP;
  21844     if (CMP_NE(_flag_a, _flag_b)) goto L_4000ED49; /* 0x4000ED40: jne 0x4000ed49 */
  21845 L_4000ED42:
  21846     eax = MEM32(eax + 0x8); /* 0x4000ED42: mov eax, dword ptr [eax + 8] */
  21847     MEM32(ecx) = eax; /* 0x4000ED45: mov dword ptr [ecx], eax */
  21848     ebx = POP32_VAL(esp); /* 0x4000ED47: pop ebx */
  21849     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000ED48: ret  */
  21850 L_4000ED49:
  21851     edx = MEM32(eax); /* 0x4000ED49: mov edx, dword ptr [eax] */
  21852     SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x4000ED4B: mov bl, byte ptr [edx + 0x15] */
  21853     /* test LO8(ebx), LO8(ebx) */ /* 0x4000ED4E: test bl, bl */
  21854     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  21855     _cf = 0;
  21856     _flag_k = FK_NARROW(FK_TEST, 24);
  21857     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ED6C; /* 0x4000ED50: jne 0x4000ed6c */
  21858 L_4000ED52:
  21859     eax = MEM32(edx + 0x8); /* 0x4000ED52: mov eax, dword ptr [edx + 8] */
  21860     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x4000ED55: mov bl, byte ptr [eax + 0x15] */
  21861     /* test LO8(ebx), LO8(ebx) */ /* 0x4000ED58: test bl, bl */
  21862     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  21863     _cf = 0;
  21864     _flag_k = FK_NARROW(FK_TEST, 24);
  21865     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000ED68; /* 0x4000ED5A: jne 0x4000ed68 */
  21866 L_4000ED5C:
  21867     edx = eax; /* 0x4000ED5C: mov edx, eax */
  21868     eax = MEM32(edx + 0x8); /* 0x4000ED5E: mov eax, dword ptr [edx + 8] */
  21869     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x4000ED61: mov bl, byte ptr [eax + 0x15] */
  21870     /* test LO8(ebx), LO8(ebx) */ /* 0x4000ED64: test bl, bl */
  21871     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  21872     _cf = 0;
  21873     _flag_k = FK_NARROW(FK_TEST, 24);
  21874     RECOMP_BACKEDGE();
  21875     if (TEST_Z(_flag_a, _flag_b)) goto L_4000ED5C; /* 0x4000ED66: je 0x4000ed5c */
  21876 L_4000ED68:
  21877     MEM32(ecx) = edx; /* 0x4000ED68: mov dword ptr [ecx], edx */
  21878     ebx = POP32_VAL(esp); /* 0x4000ED6A: pop ebx */
  21879     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000ED6B: ret  */
  21880 L_4000ED6C:
  21881     eax = MEM32(eax + 0x4); /* 0x4000ED6C: mov eax, dword ptr [eax + 4] */
  21882     edx = MEM32(ecx); /* 0x4000ED6F: mov edx, dword ptr [ecx] */
  21883     /* cmp edx, MEM32(eax) */ /* 0x4000ED71: cmp edx, dword ptr [eax] */
  21884     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
  21885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21886     _flag_k = FK_CMP;
  21887     if (CMP_NE(_flag_a, _flag_b)) goto L_4000ED80; /* 0x4000ED73: jne 0x4000ed80 */
  21888 L_4000ED75:
  21889     MEM32(ecx) = eax; /* 0x4000ED75: mov dword ptr [ecx], eax */
  21890     eax = MEM32(eax + 0x4); /* 0x4000ED77: mov eax, dword ptr [eax + 4] */
  21891     edx = MEM32(ecx); /* 0x4000ED7A: mov edx, dword ptr [ecx] */
  21892     /* cmp edx, MEM32(eax) */ /* 0x4000ED7C: cmp edx, dword ptr [eax] */
  21893     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
  21894     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21895     _flag_k = FK_CMP;
  21896     RECOMP_BACKEDGE();
  21897     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000ED75; /* 0x4000ED7E: je 0x4000ed75 */
  21898 L_4000ED80:
  21899     MEM32(ecx) = eax; /* 0x4000ED80: mov dword ptr [ecx], eax */
  21900     ebx = POP32_VAL(esp); /* 0x4000ED82: pop ebx */
  21901     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4000ED83: ret  */
  21902     RECOMP_REGS_OUT();
  21903 }
  21904 
  21905 void sub_4000ED90(void) {
  21906     int _fpu_cmp = 0;
  21907     uint32_t _cf = 0;
  21908     int _df = 1;
  21909     uint32_t _flag_k = FK_NONE;
  21910     uint32_t _flag_a = 0, _flag_b = 0;
  21911     uint32_t _itail_tgt = 0;
  21912     RECOMP_REGS_LOCALS
  21913     RECOMP_ENTER(0x4000ED90u);
  21914 
  21915 L_4000ED90:
  21916     PUSH32(esp, ebp); /* 0x4000ED90: push ebp */
  21917     ebp = esp; /* 0x4000ED91: mov ebp, esp */
  21918     PUSH32(esp, ecx); /* 0x4000ED93: push ecx */
  21919     PUSH32(esp, ebx); /* 0x4000ED94: push ebx */
  21920     PUSH32(esp, esi); /* 0x4000ED95: push esi */
  21921     PUSH32(esp, edi); /* 0x4000ED96: push edi */
  21922     PUSH32(esp, 0x20u); /* 0x4000ED97: push 0x20 */
  21923     esi = ecx; /* 0x4000ED99: mov esi, ecx */
  21924     RECOMP_ICALL(0x40014704u); /* 0x4000ED9B: call 0x40014704 */ /* not lifted */
  21925     RECOMP_FLAGS_IN();
  21926     edi = MEM32(ebp + 0x10); /* 0x4000EDA0: mov edi, dword ptr [ebp + 0x10] */
  21927     ebx = MEM32(ebp + 0x14); /* 0x4000EDA3: mov ebx, dword ptr [ebp + 0x14] */
  21928     MEM32(eax + 0x4) = edi; /* 0x4000EDA6: mov dword ptr [eax + 4], edi */
  21929     MEM8(eax + 0x1C) = (uint8_t)(0); /* 0x4000EDA9: mov byte ptr [eax + 0x1c], 0 */
  21930     MEM8(eax + 0x1D) = (uint8_t)(0); /* 0x4000EDAD: mov byte ptr [eax + 0x1d], 0 */
  21931     ecx = MEM32(esi + 0x8); /* 0x4000EDB1: mov ecx, dword ptr [esi + 8] */
  21932     MEM32(eax) = ecx; /* 0x4000EDB4: mov dword ptr [eax], ecx */
  21933     edx = MEM32(esi + 0x8); /* 0x4000EDB6: mov edx, dword ptr [esi + 8] */
  21934     MEM32(ebp + (-0x4)) = eax; /* 0x4000EDB9: mov dword ptr [ebp - 4], eax */
  21935     MEM32(eax + 0x8) = edx; /* 0x4000EDBC: mov dword ptr [eax + 8], edx */
  21936     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
  21937     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  21938     eax = eax + 0xCu; /* 0x4000EDBF: add eax, 0xc */
  21939     _flag_k = FK_ADD;
  21940     PUSH32(esp, ebx); /* 0x4000EDC2: push ebx */
  21941     PUSH32(esp, eax); /* 0x4000EDC3: push eax */
  21942     RECOMP_ICALL(0x4000FDE0u); /* 0x4000EDC4: call 0x4000fde0 */ /* not lifted */
  21943     RECOMP_FLAGS_IN();
  21944     ecx = MEM32(esi + 0x10); /* 0x4000EDC9: mov ecx, dword ptr [esi + 0x10] */
  21945     eax = MEM32(esi + 0x4); /* 0x4000EDCC: mov eax, dword ptr [esi + 4] */
  21946     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  21947     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  21948     esp = esp + 0xCu; /* 0x4000EDCF: add esp, 0xc */
  21949     _flag_k = FK_ADD;
  21950     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
  21951     ecx = ecx + 1; /* 0x4000EDD2: inc ecx */
  21952     _flag_k = FK_INC;
  21953     /* cmp edi, eax */ /* 0x4000EDD3: cmp edi, eax */
  21954     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  21955     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21956     _flag_k = FK_CMP;
  21957     MEM32(esi + 0x10) = ecx; /* 0x4000EDD5: mov dword ptr [esi + 0x10], ecx */
  21958     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EDFC; /* 0x4000EDD8: je 0x4000edfc */
  21959 L_4000EDDA:
  21960     eax = MEM32(ebp + 0xC); /* 0x4000EDDA: mov eax, dword ptr [ebp + 0xc] */
  21961     /* cmp eax, MEM32(esi + 0x8) */ /* 0x4000EDDD: cmp eax, dword ptr [esi + 8] */
  21962     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  21963     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21964     _flag_k = FK_CMP;
  21965     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EDFC; /* 0x4000EDE0: jne 0x4000edfc */
  21966 L_4000EDE2:
  21967     ecx = MEM32(ebx); /* 0x4000EDE2: mov ecx, dword ptr [ebx] */
  21968     /* cmp ecx, MEM32(edi + 0xC) */ /* 0x4000EDE4: cmp ecx, dword ptr [edi + 0xc] */
  21969     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC));
  21970     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21971     _flag_k = FK_CMP;
  21972     if (CMP_B(_flag_a, _flag_b)) goto L_4000EDFC; /* 0x4000EDE7: jb 0x4000edfc */
  21973 L_4000EDE9:
  21974     ecx = MEM32(ebp + (-0x4)); /* 0x4000EDE9: mov ecx, dword ptr [ebp - 4] */
  21975     MEM32(edi + 0x8) = ecx; /* 0x4000EDEC: mov dword ptr [edi + 8], ecx */
  21976     eax = MEM32(esi + 0x4); /* 0x4000EDEF: mov eax, dword ptr [esi + 4] */
  21977     /* cmp edi, MEM32(eax + 0x8) */ /* 0x4000EDF2: cmp edi, dword ptr [eax + 8] */
  21978     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
  21979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21980     _flag_k = FK_CMP;
  21981     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE1C; /* 0x4000EDF5: jne 0x4000ee1c */
  21982 L_4000EDF7:
  21983     MEM32(eax + 0x8) = ecx; /* 0x4000EDF7: mov dword ptr [eax + 8], ecx */
  21984     goto L_4000EE1C; /* 0x4000EDFA: jmp 0x4000ee1c */
  21985 L_4000EDFC:
  21986     ecx = MEM32(ebp + (-0x4)); /* 0x4000EDFC: mov ecx, dword ptr [ebp - 4] */
  21987     MEM32(edi) = ecx; /* 0x4000EDFF: mov dword ptr [edi], ecx */
  21988     eax = MEM32(esi + 0x4); /* 0x4000EE01: mov eax, dword ptr [esi + 4] */
  21989     /* cmp edi, eax */ /* 0x4000EE04: cmp edi, eax */
  21990     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
  21991     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  21992     _flag_k = FK_CMP;
  21993     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE13; /* 0x4000EE06: jne 0x4000ee13 */
  21994 L_4000EE08:
  21995     MEM32(eax + 0x4) = ecx; /* 0x4000EE08: mov dword ptr [eax + 4], ecx */
  21996     edx = MEM32(esi + 0x4); /* 0x4000EE0B: mov edx, dword ptr [esi + 4] */
  21997     MEM32(edx + 0x8) = ecx; /* 0x4000EE0E: mov dword ptr [edx + 8], ecx */
  21998     goto L_4000EE1C; /* 0x4000EE11: jmp 0x4000ee1c */
  21999 L_4000EE13:
  22000     /* cmp edi, MEM32(eax) */ /* 0x4000EE13: cmp edi, dword ptr [eax] */
  22001     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
  22002     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22003     _flag_k = FK_CMP;
  22004     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE1C; /* 0x4000EE15: jne 0x4000ee1c */
  22005 L_4000EE17:
  22006     ecx = MEM32(ebp + (-0x4)); /* 0x4000EE17: mov ecx, dword ptr [ebp - 4] */
  22007     MEM32(eax) = ecx; /* 0x4000EE1A: mov dword ptr [eax], ecx */
  22008 L_4000EE1C:
  22009     edx = MEM32(esi + 0x4); /* 0x4000EE1C: mov edx, dword ptr [esi + 4] */
  22010     eax = MEM32(ebp + (-0x4)); /* 0x4000EE1F: mov eax, dword ptr [ebp - 4] */
  22011     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EE22: cmp eax, dword ptr [edx + 4] */
  22012     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  22013     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22014     _flag_k = FK_CMP;
  22015     SET_LO8(ebx, 1); /* 0x4000EE25: mov bl, 1 */
  22016     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EFAD; /* 0x4000EE27: je 0x4000efad */
  22017 L_4000EE2D:
  22018     ecx = MEM32(eax + 0x4); /* 0x4000EE2D: mov ecx, dword ptr [eax + 4] */
  22019     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EE30: mov dl, byte ptr [ecx + 0x1c] */
  22020     /* test LO8(edx), LO8(edx) */ /* 0x4000EE33: test dl, dl */
  22021     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  22022     _cf = 0;
  22023     _flag_k = FK_NARROW(FK_TEST, 24);
  22024     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EFAD; /* 0x4000EE35: jne 0x4000efad */
  22025 L_4000EE3B:
  22026     edi = MEM32(ecx + 0x4); /* 0x4000EE3B: mov edi, dword ptr [ecx + 4] */
  22027     edx = MEM32(edi); /* 0x4000EE3E: mov edx, dword ptr [edi] */
  22028     /* cmp ecx, edx */ /* 0x4000EE40: cmp ecx, edx */
  22029     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  22030     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22031     _flag_k = FK_CMP;
  22032     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF09; /* 0x4000EE42: jne 0x4000ef09 */
  22033 L_4000EE48:
  22034     edx = MEM32(edi + 0x8); /* 0x4000EE48: mov edx, dword ptr [edi + 8] */
  22035     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EE4B: cmp byte ptr [edx + 0x1c], 0 */
  22036     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  22037     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22038     _flag_k = FK_NARROW(FK_CMP, 24);
  22039     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE6C; /* 0x4000EE4F: jne 0x4000ee6c */
  22040 L_4000EE51:
  22041     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EE51: mov byte ptr [ecx + 0x1c], bl */
  22042     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EE54: mov byte ptr [edx + 0x1c], bl */
  22043     ecx = MEM32(eax + 0x4); /* 0x4000EE57: mov ecx, dword ptr [eax + 4] */
  22044     edx = MEM32(ecx + 0x4); /* 0x4000EE5A: mov edx, dword ptr [ecx + 4] */
  22045     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EE5D: mov byte ptr [edx + 0x1c], 0 */
  22046     eax = MEM32(eax + 0x4); /* 0x4000EE61: mov eax, dword ptr [eax + 4] */
  22047     eax = MEM32(eax + 0x4); /* 0x4000EE64: mov eax, dword ptr [eax + 4] */
  22048     goto L_4000EFA1; /* 0x4000EE67: jmp 0x4000efa1 */
  22049 L_4000EE6C:
  22050     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EE6C: cmp eax, dword ptr [ecx + 8] */
  22051     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  22052     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22053     _flag_k = FK_CMP;
  22054     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEAB; /* 0x4000EE6F: jne 0x4000eeab */
  22055 L_4000EE71:
  22056     eax = ecx; /* 0x4000EE71: mov eax, ecx */
  22057     ecx = MEM32(eax + 0x8); /* 0x4000EE73: mov ecx, dword ptr [eax + 8] */
  22058     edx = MEM32(ecx); /* 0x4000EE76: mov edx, dword ptr [ecx] */
  22059     MEM32(eax + 0x8) = edx; /* 0x4000EE78: mov dword ptr [eax + 8], edx */
  22060     edx = MEM32(ecx); /* 0x4000EE7B: mov edx, dword ptr [ecx] */
  22061     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EE7D: cmp edx, dword ptr [esi + 8] */
  22062     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22063     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22064     _flag_k = FK_CMP;
  22065     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EE85; /* 0x4000EE80: je 0x4000ee85 */
  22066 L_4000EE82:
  22067     MEM32(edx + 0x4) = eax; /* 0x4000EE82: mov dword ptr [edx + 4], eax */
  22068 L_4000EE85:
  22069     edx = MEM32(eax + 0x4); /* 0x4000EE85: mov edx, dword ptr [eax + 4] */
  22070     MEM32(ecx + 0x4) = edx; /* 0x4000EE88: mov dword ptr [ecx + 4], edx */
  22071     edx = MEM32(esi + 0x4); /* 0x4000EE8B: mov edx, dword ptr [esi + 4] */
  22072     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EE8E: cmp eax, dword ptr [edx + 4] */
  22073     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  22074     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22075     _flag_k = FK_CMP;
  22076     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE98; /* 0x4000EE91: jne 0x4000ee98 */
  22077 L_4000EE93:
  22078     MEM32(edx + 0x4) = ecx; /* 0x4000EE93: mov dword ptr [edx + 4], ecx */
  22079     goto L_4000EEA6; /* 0x4000EE96: jmp 0x4000eea6 */
  22080 L_4000EE98:
  22081     edx = MEM32(eax + 0x4); /* 0x4000EE98: mov edx, dword ptr [eax + 4] */
  22082     /* cmp eax, MEM32(edx) */ /* 0x4000EE9B: cmp eax, dword ptr [edx] */
  22083     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  22084     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22085     _flag_k = FK_CMP;
  22086     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEA3; /* 0x4000EE9D: jne 0x4000eea3 */
  22087 L_4000EE9F:
  22088     MEM32(edx) = ecx; /* 0x4000EE9F: mov dword ptr [edx], ecx */
  22089     goto L_4000EEA6; /* 0x4000EEA1: jmp 0x4000eea6 */
  22090 L_4000EEA3:
  22091     MEM32(edx + 0x8) = ecx; /* 0x4000EEA3: mov dword ptr [edx + 8], ecx */
  22092 L_4000EEA6:
  22093     MEM32(ecx) = eax; /* 0x4000EEA6: mov dword ptr [ecx], eax */
  22094     MEM32(eax + 0x4) = ecx; /* 0x4000EEA8: mov dword ptr [eax + 4], ecx */
  22095 L_4000EEAB:
  22096     ecx = MEM32(eax + 0x4); /* 0x4000EEAB: mov ecx, dword ptr [eax + 4] */
  22097     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EEAE: mov byte ptr [ecx + 0x1c], bl */
  22098     edx = MEM32(eax + 0x4); /* 0x4000EEB1: mov edx, dword ptr [eax + 4] */
  22099     ecx = MEM32(edx + 0x4); /* 0x4000EEB4: mov ecx, dword ptr [edx + 4] */
  22100     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EEB7: mov byte ptr [ecx + 0x1c], 0 */
  22101     edx = MEM32(eax + 0x4); /* 0x4000EEBB: mov edx, dword ptr [eax + 4] */
  22102     ecx = MEM32(edx + 0x4); /* 0x4000EEBE: mov ecx, dword ptr [edx + 4] */
  22103     edx = MEM32(ecx); /* 0x4000EEC1: mov edx, dword ptr [ecx] */
  22104     edi = MEM32(edx + 0x8); /* 0x4000EEC3: mov edi, dword ptr [edx + 8] */
  22105     MEM32(ecx) = edi; /* 0x4000EEC6: mov dword ptr [ecx], edi */
  22106     edi = MEM32(edx + 0x8); /* 0x4000EEC8: mov edi, dword ptr [edx + 8] */
  22107     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EECB: cmp edi, dword ptr [esi + 8] */
  22108     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22110     _flag_k = FK_CMP;
  22111     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EED3; /* 0x4000EECE: je 0x4000eed3 */
  22112 L_4000EED0:
  22113     MEM32(edi + 0x4) = ecx; /* 0x4000EED0: mov dword ptr [edi + 4], ecx */
  22114 L_4000EED3:
  22115     edi = MEM32(ecx + 0x4); /* 0x4000EED3: mov edi, dword ptr [ecx + 4] */
  22116     MEM32(edx + 0x4) = edi; /* 0x4000EED6: mov dword ptr [edx + 4], edi */
  22117     edi = MEM32(esi + 0x4); /* 0x4000EED9: mov edi, dword ptr [esi + 4] */
  22118     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EEDC: cmp ecx, dword ptr [edi + 4] */
  22119     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  22120     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22121     _flag_k = FK_CMP;
  22122     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEEC; /* 0x4000EEDF: jne 0x4000eeec */
  22123 L_4000EEE1:
  22124     MEM32(edi + 0x4) = edx; /* 0x4000EEE1: mov dword ptr [edi + 4], edx */
  22125     MEM32(edx + 0x8) = ecx; /* 0x4000EEE4: mov dword ptr [edx + 8], ecx */
  22126     goto L_4000EF9E; /* 0x4000EEE7: jmp 0x4000ef9e */
  22127 L_4000EEEC:
  22128     edi = MEM32(ecx + 0x4); /* 0x4000EEEC: mov edi, dword ptr [ecx + 4] */
  22129     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EEEF: cmp ecx, dword ptr [edi + 8] */
  22130     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  22131     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22132     _flag_k = FK_CMP;
  22133     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEFF; /* 0x4000EEF2: jne 0x4000eeff */
  22134 L_4000EEF4:
  22135     MEM32(edi + 0x8) = edx; /* 0x4000EEF4: mov dword ptr [edi + 8], edx */
  22136     MEM32(edx + 0x8) = ecx; /* 0x4000EEF7: mov dword ptr [edx + 8], ecx */
  22137     goto L_4000EF9E; /* 0x4000EEFA: jmp 0x4000ef9e */
  22138 L_4000EEFF:
  22139     MEM32(edi) = edx; /* 0x4000EEFF: mov dword ptr [edi], edx */
  22140     MEM32(edx + 0x8) = ecx; /* 0x4000EF01: mov dword ptr [edx + 8], ecx */
  22141     goto L_4000EF9E; /* 0x4000EF04: jmp 0x4000ef9e */
  22142 L_4000EF09:
  22143     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EF09: cmp byte ptr [edx + 0x1c], 0 */
  22144     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  22145     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22146     _flag_k = FK_NARROW(FK_CMP, 24);
  22147     RECOMP_BACKEDGE();
  22148     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EE51; /* 0x4000EF0D: je 0x4000ee51 */
  22149 L_4000EF13:
  22150     /* cmp eax, MEM32(ecx) */ /* 0x4000EF13: cmp eax, dword ptr [ecx] */
  22151     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  22152     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22153     _flag_k = FK_CMP;
  22154     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF53; /* 0x4000EF15: jne 0x4000ef53 */
  22155 L_4000EF17:
  22156     eax = ecx; /* 0x4000EF17: mov eax, ecx */
  22157     ecx = MEM32(eax); /* 0x4000EF19: mov ecx, dword ptr [eax] */
  22158     edx = MEM32(ecx + 0x8); /* 0x4000EF1B: mov edx, dword ptr [ecx + 8] */
  22159     MEM32(eax) = edx; /* 0x4000EF1E: mov dword ptr [eax], edx */
  22160     edx = MEM32(ecx + 0x8); /* 0x4000EF20: mov edx, dword ptr [ecx + 8] */
  22161     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EF23: cmp edx, dword ptr [esi + 8] */
  22162     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22163     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22164     _flag_k = FK_CMP;
  22165     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EF2B; /* 0x4000EF26: je 0x4000ef2b */
  22166 L_4000EF28:
  22167     MEM32(edx + 0x4) = eax; /* 0x4000EF28: mov dword ptr [edx + 4], eax */
  22168 L_4000EF2B:
  22169     edx = MEM32(eax + 0x4); /* 0x4000EF2B: mov edx, dword ptr [eax + 4] */
  22170     MEM32(ecx + 0x4) = edx; /* 0x4000EF2E: mov dword ptr [ecx + 4], edx */
  22171     edx = MEM32(esi + 0x4); /* 0x4000EF31: mov edx, dword ptr [esi + 4] */
  22172     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EF34: cmp eax, dword ptr [edx + 4] */
  22173     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  22174     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22175     _flag_k = FK_CMP;
  22176     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF3E; /* 0x4000EF37: jne 0x4000ef3e */
  22177 L_4000EF39:
  22178     MEM32(edx + 0x4) = ecx; /* 0x4000EF39: mov dword ptr [edx + 4], ecx */
  22179     goto L_4000EF4D; /* 0x4000EF3C: jmp 0x4000ef4d */
  22180 L_4000EF3E:
  22181     edx = MEM32(eax + 0x4); /* 0x4000EF3E: mov edx, dword ptr [eax + 4] */
  22182     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EF41: cmp eax, dword ptr [edx + 8] */
  22183     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  22184     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22185     _flag_k = FK_CMP;
  22186     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF4B; /* 0x4000EF44: jne 0x4000ef4b */
  22187 L_4000EF46:
  22188     MEM32(edx + 0x8) = ecx; /* 0x4000EF46: mov dword ptr [edx + 8], ecx */
  22189     goto L_4000EF4D; /* 0x4000EF49: jmp 0x4000ef4d */
  22190 L_4000EF4B:
  22191     MEM32(edx) = ecx; /* 0x4000EF4B: mov dword ptr [edx], ecx */
  22192 L_4000EF4D:
  22193     MEM32(ecx + 0x8) = eax; /* 0x4000EF4D: mov dword ptr [ecx + 8], eax */
  22194     MEM32(eax + 0x4) = ecx; /* 0x4000EF50: mov dword ptr [eax + 4], ecx */
  22195 L_4000EF53:
  22196     ecx = MEM32(eax + 0x4); /* 0x4000EF53: mov ecx, dword ptr [eax + 4] */
  22197     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EF56: mov byte ptr [ecx + 0x1c], bl */
  22198     edx = MEM32(eax + 0x4); /* 0x4000EF59: mov edx, dword ptr [eax + 4] */
  22199     ecx = MEM32(edx + 0x4); /* 0x4000EF5C: mov ecx, dword ptr [edx + 4] */
  22200     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EF5F: mov byte ptr [ecx + 0x1c], 0 */
  22201     edx = MEM32(eax + 0x4); /* 0x4000EF63: mov edx, dword ptr [eax + 4] */
  22202     ecx = MEM32(edx + 0x4); /* 0x4000EF66: mov ecx, dword ptr [edx + 4] */
  22203     edx = MEM32(ecx + 0x8); /* 0x4000EF69: mov edx, dword ptr [ecx + 8] */
  22204     edi = MEM32(edx); /* 0x4000EF6C: mov edi, dword ptr [edx] */
  22205     MEM32(ecx + 0x8) = edi; /* 0x4000EF6E: mov dword ptr [ecx + 8], edi */
  22206     edi = MEM32(edx); /* 0x4000EF71: mov edi, dword ptr [edx] */
  22207     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EF73: cmp edi, dword ptr [esi + 8] */
  22208     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22209     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22210     _flag_k = FK_CMP;
  22211     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EF7B; /* 0x4000EF76: je 0x4000ef7b */
  22212 L_4000EF78:
  22213     MEM32(edi + 0x4) = ecx; /* 0x4000EF78: mov dword ptr [edi + 4], ecx */
  22214 L_4000EF7B:
  22215     edi = MEM32(ecx + 0x4); /* 0x4000EF7B: mov edi, dword ptr [ecx + 4] */
  22216     MEM32(edx + 0x4) = edi; /* 0x4000EF7E: mov dword ptr [edx + 4], edi */
  22217     edi = MEM32(esi + 0x4); /* 0x4000EF81: mov edi, dword ptr [esi + 4] */
  22218     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EF84: cmp ecx, dword ptr [edi + 4] */
  22219     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  22220     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22221     _flag_k = FK_CMP;
  22222     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF8E; /* 0x4000EF87: jne 0x4000ef8e */
  22223 L_4000EF89:
  22224     MEM32(edi + 0x4) = edx; /* 0x4000EF89: mov dword ptr [edi + 4], edx */
  22225     goto L_4000EF9C; /* 0x4000EF8C: jmp 0x4000ef9c */
  22226 L_4000EF8E:
  22227     edi = MEM32(ecx + 0x4); /* 0x4000EF8E: mov edi, dword ptr [ecx + 4] */
  22228     /* cmp ecx, MEM32(edi) */ /* 0x4000EF91: cmp ecx, dword ptr [edi] */
  22229     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  22230     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22231     _flag_k = FK_CMP;
  22232     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF99; /* 0x4000EF93: jne 0x4000ef99 */
  22233 L_4000EF95:
  22234     MEM32(edi) = edx; /* 0x4000EF95: mov dword ptr [edi], edx */
  22235     goto L_4000EF9C; /* 0x4000EF97: jmp 0x4000ef9c */
  22236 L_4000EF99:
  22237     MEM32(edi + 0x8) = edx; /* 0x4000EF99: mov dword ptr [edi + 8], edx */
  22238 L_4000EF9C:
  22239     MEM32(edx) = ecx; /* 0x4000EF9C: mov dword ptr [edx], ecx */
  22240 L_4000EF9E:
  22241     MEM32(ecx + 0x4) = edx; /* 0x4000EF9E: mov dword ptr [ecx + 4], edx */
  22242 L_4000EFA1:
  22243     ecx = MEM32(esi + 0x4); /* 0x4000EFA1: mov ecx, dword ptr [esi + 4] */
  22244     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EFA4: cmp eax, dword ptr [ecx + 4] */
  22245     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  22246     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22247     _flag_k = FK_CMP;
  22248     RECOMP_BACKEDGE();
  22249     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE2D; /* 0x4000EFA7: jne 0x4000ee2d */
  22250 L_4000EFAD:
  22251     edx = MEM32(esi + 0x4); /* 0x4000EFAD: mov edx, dword ptr [esi + 4] */
  22252     eax = MEM32(edx + 0x4); /* 0x4000EFB0: mov eax, dword ptr [edx + 4] */
  22253     ecx = MEM32(ebp + (-0x4)); /* 0x4000EFB3: mov ecx, dword ptr [ebp - 4] */
  22254     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EFB6: mov byte ptr [eax + 0x1c], bl */
  22255     eax = MEM32(ebp + 0x8); /* 0x4000EFB9: mov eax, dword ptr [ebp + 8] */
  22256     edi = POP32_VAL(esp); /* 0x4000EFBC: pop edi */
  22257     esi = POP32_VAL(esp); /* 0x4000EFBD: pop esi */
  22258     MEM32(eax) = ecx; /* 0x4000EFBE: mov dword ptr [eax], ecx */
  22259     ebx = POP32_VAL(esp); /* 0x4000EFC0: pop ebx */
  22260     esp = ebp; /* 0x4000EFC1: mov esp, ebp */
  22261     ebp = POP32_VAL(esp); /* 0x4000EFC3: pop ebp */
  22262     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EFC4: ret 0x10 */
  22263     RECOMP_REGS_OUT();
  22264 }
  22265 
  22266 void sub_4000EE2D(void) {
  22267     int _fpu_cmp = 0;
  22268     uint32_t _cf = 0;
  22269     int _df = 1;
  22270     uint32_t _flag_k = FK_NONE;
  22271     uint32_t _flag_a = 0, _flag_b = 0;
  22272     uint32_t _itail_tgt = 0;
  22273     RECOMP_REGS_LOCALS
  22274     RECOMP_ENTER(0x4000EE2Du);
  22275 
  22276 L_4000EE2D:
  22277     ecx = MEM32(eax + 0x4); /* 0x4000EE2D: mov ecx, dword ptr [eax + 4] */
  22278     SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x4000EE30: mov dl, byte ptr [ecx + 0x1c] */
  22279     /* test LO8(edx), LO8(edx) */ /* 0x4000EE33: test dl, dl */
  22280     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
  22281     _cf = 0;
  22282     _flag_k = FK_NARROW(FK_TEST, 24);
  22283     if (TEST_NZ(_flag_a, _flag_b)) goto L_4000EFAD; /* 0x4000EE35: jne 0x4000efad */
  22284 L_4000EE3B:
  22285     edi = MEM32(ecx + 0x4); /* 0x4000EE3B: mov edi, dword ptr [ecx + 4] */
  22286     edx = MEM32(edi); /* 0x4000EE3E: mov edx, dword ptr [edi] */
  22287     /* cmp ecx, edx */ /* 0x4000EE40: cmp ecx, edx */
  22288     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
  22289     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22290     _flag_k = FK_CMP;
  22291     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF09; /* 0x4000EE42: jne 0x4000ef09 */
  22292 L_4000EE48:
  22293     edx = MEM32(edi + 0x8); /* 0x4000EE48: mov edx, dword ptr [edi + 8] */
  22294     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EE4B: cmp byte ptr [edx + 0x1c], 0 */
  22295     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  22296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22297     _flag_k = FK_NARROW(FK_CMP, 24);
  22298     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE6C; /* 0x4000EE4F: jne 0x4000ee6c */
  22299 L_4000EE51:
  22300     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EE51: mov byte ptr [ecx + 0x1c], bl */
  22301     MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EE54: mov byte ptr [edx + 0x1c], bl */
  22302     ecx = MEM32(eax + 0x4); /* 0x4000EE57: mov ecx, dword ptr [eax + 4] */
  22303     edx = MEM32(ecx + 0x4); /* 0x4000EE5A: mov edx, dword ptr [ecx + 4] */
  22304     MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x4000EE5D: mov byte ptr [edx + 0x1c], 0 */
  22305     eax = MEM32(eax + 0x4); /* 0x4000EE61: mov eax, dword ptr [eax + 4] */
  22306     eax = MEM32(eax + 0x4); /* 0x4000EE64: mov eax, dword ptr [eax + 4] */
  22307     goto L_4000EFA1; /* 0x4000EE67: jmp 0x4000efa1 */
  22308 L_4000EE6C:
  22309     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x4000EE6C: cmp eax, dword ptr [ecx + 8] */
  22310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
  22311     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22312     _flag_k = FK_CMP;
  22313     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEAB; /* 0x4000EE6F: jne 0x4000eeab */
  22314 L_4000EE71:
  22315     eax = ecx; /* 0x4000EE71: mov eax, ecx */
  22316     ecx = MEM32(eax + 0x8); /* 0x4000EE73: mov ecx, dword ptr [eax + 8] */
  22317     edx = MEM32(ecx); /* 0x4000EE76: mov edx, dword ptr [ecx] */
  22318     MEM32(eax + 0x8) = edx; /* 0x4000EE78: mov dword ptr [eax + 8], edx */
  22319     edx = MEM32(ecx); /* 0x4000EE7B: mov edx, dword ptr [ecx] */
  22320     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EE7D: cmp edx, dword ptr [esi + 8] */
  22321     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22322     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22323     _flag_k = FK_CMP;
  22324     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EE85; /* 0x4000EE80: je 0x4000ee85 */
  22325 L_4000EE82:
  22326     MEM32(edx + 0x4) = eax; /* 0x4000EE82: mov dword ptr [edx + 4], eax */
  22327 L_4000EE85:
  22328     edx = MEM32(eax + 0x4); /* 0x4000EE85: mov edx, dword ptr [eax + 4] */
  22329     MEM32(ecx + 0x4) = edx; /* 0x4000EE88: mov dword ptr [ecx + 4], edx */
  22330     edx = MEM32(esi + 0x4); /* 0x4000EE8B: mov edx, dword ptr [esi + 4] */
  22331     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EE8E: cmp eax, dword ptr [edx + 4] */
  22332     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  22333     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22334     _flag_k = FK_CMP;
  22335     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE98; /* 0x4000EE91: jne 0x4000ee98 */
  22336 L_4000EE93:
  22337     MEM32(edx + 0x4) = ecx; /* 0x4000EE93: mov dword ptr [edx + 4], ecx */
  22338     goto L_4000EEA6; /* 0x4000EE96: jmp 0x4000eea6 */
  22339 L_4000EE98:
  22340     edx = MEM32(eax + 0x4); /* 0x4000EE98: mov edx, dword ptr [eax + 4] */
  22341     /* cmp eax, MEM32(edx) */ /* 0x4000EE9B: cmp eax, dword ptr [edx] */
  22342     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
  22343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22344     _flag_k = FK_CMP;
  22345     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEA3; /* 0x4000EE9D: jne 0x4000eea3 */
  22346 L_4000EE9F:
  22347     MEM32(edx) = ecx; /* 0x4000EE9F: mov dword ptr [edx], ecx */
  22348     goto L_4000EEA6; /* 0x4000EEA1: jmp 0x4000eea6 */
  22349 L_4000EEA3:
  22350     MEM32(edx + 0x8) = ecx; /* 0x4000EEA3: mov dword ptr [edx + 8], ecx */
  22351 L_4000EEA6:
  22352     MEM32(ecx) = eax; /* 0x4000EEA6: mov dword ptr [ecx], eax */
  22353     MEM32(eax + 0x4) = ecx; /* 0x4000EEA8: mov dword ptr [eax + 4], ecx */
  22354 L_4000EEAB:
  22355     ecx = MEM32(eax + 0x4); /* 0x4000EEAB: mov ecx, dword ptr [eax + 4] */
  22356     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EEAE: mov byte ptr [ecx + 0x1c], bl */
  22357     edx = MEM32(eax + 0x4); /* 0x4000EEB1: mov edx, dword ptr [eax + 4] */
  22358     ecx = MEM32(edx + 0x4); /* 0x4000EEB4: mov ecx, dword ptr [edx + 4] */
  22359     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EEB7: mov byte ptr [ecx + 0x1c], 0 */
  22360     edx = MEM32(eax + 0x4); /* 0x4000EEBB: mov edx, dword ptr [eax + 4] */
  22361     ecx = MEM32(edx + 0x4); /* 0x4000EEBE: mov ecx, dword ptr [edx + 4] */
  22362     edx = MEM32(ecx); /* 0x4000EEC1: mov edx, dword ptr [ecx] */
  22363     edi = MEM32(edx + 0x8); /* 0x4000EEC3: mov edi, dword ptr [edx + 8] */
  22364     MEM32(ecx) = edi; /* 0x4000EEC6: mov dword ptr [ecx], edi */
  22365     edi = MEM32(edx + 0x8); /* 0x4000EEC8: mov edi, dword ptr [edx + 8] */
  22366     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EECB: cmp edi, dword ptr [esi + 8] */
  22367     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22368     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22369     _flag_k = FK_CMP;
  22370     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EED3; /* 0x4000EECE: je 0x4000eed3 */
  22371 L_4000EED0:
  22372     MEM32(edi + 0x4) = ecx; /* 0x4000EED0: mov dword ptr [edi + 4], ecx */
  22373 L_4000EED3:
  22374     edi = MEM32(ecx + 0x4); /* 0x4000EED3: mov edi, dword ptr [ecx + 4] */
  22375     MEM32(edx + 0x4) = edi; /* 0x4000EED6: mov dword ptr [edx + 4], edi */
  22376     edi = MEM32(esi + 0x4); /* 0x4000EED9: mov edi, dword ptr [esi + 4] */
  22377     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EEDC: cmp ecx, dword ptr [edi + 4] */
  22378     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  22379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22380     _flag_k = FK_CMP;
  22381     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEEC; /* 0x4000EEDF: jne 0x4000eeec */
  22382 L_4000EEE1:
  22383     MEM32(edi + 0x4) = edx; /* 0x4000EEE1: mov dword ptr [edi + 4], edx */
  22384     MEM32(edx + 0x8) = ecx; /* 0x4000EEE4: mov dword ptr [edx + 8], ecx */
  22385     goto L_4000EF9E; /* 0x4000EEE7: jmp 0x4000ef9e */
  22386 L_4000EEEC:
  22387     edi = MEM32(ecx + 0x4); /* 0x4000EEEC: mov edi, dword ptr [ecx + 4] */
  22388     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x4000EEEF: cmp ecx, dword ptr [edi + 8] */
  22389     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
  22390     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22391     _flag_k = FK_CMP;
  22392     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EEFF; /* 0x4000EEF2: jne 0x4000eeff */
  22393 L_4000EEF4:
  22394     MEM32(edi + 0x8) = edx; /* 0x4000EEF4: mov dword ptr [edi + 8], edx */
  22395     MEM32(edx + 0x8) = ecx; /* 0x4000EEF7: mov dword ptr [edx + 8], ecx */
  22396     goto L_4000EF9E; /* 0x4000EEFA: jmp 0x4000ef9e */
  22397 L_4000EEFF:
  22398     MEM32(edi) = edx; /* 0x4000EEFF: mov dword ptr [edi], edx */
  22399     MEM32(edx + 0x8) = ecx; /* 0x4000EF01: mov dword ptr [edx + 8], ecx */
  22400     goto L_4000EF9E; /* 0x4000EF04: jmp 0x4000ef9e */
  22401 L_4000EF09:
  22402     /* cmp MEM8(edx + 0x1C), 0 */ /* 0x4000EF09: cmp byte ptr [edx + 0x1c], 0 */
  22403     _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24;
  22404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22405     _flag_k = FK_NARROW(FK_CMP, 24);
  22406     RECOMP_BACKEDGE();
  22407     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EE51; /* 0x4000EF0D: je 0x4000ee51 */
  22408 L_4000EF13:
  22409     /* cmp eax, MEM32(ecx) */ /* 0x4000EF13: cmp eax, dword ptr [ecx] */
  22410     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
  22411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22412     _flag_k = FK_CMP;
  22413     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF53; /* 0x4000EF15: jne 0x4000ef53 */
  22414 L_4000EF17:
  22415     eax = ecx; /* 0x4000EF17: mov eax, ecx */
  22416     ecx = MEM32(eax); /* 0x4000EF19: mov ecx, dword ptr [eax] */
  22417     edx = MEM32(ecx + 0x8); /* 0x4000EF1B: mov edx, dword ptr [ecx + 8] */
  22418     MEM32(eax) = edx; /* 0x4000EF1E: mov dword ptr [eax], edx */
  22419     edx = MEM32(ecx + 0x8); /* 0x4000EF20: mov edx, dword ptr [ecx + 8] */
  22420     /* cmp edx, MEM32(esi + 0x8) */ /* 0x4000EF23: cmp edx, dword ptr [esi + 8] */
  22421     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22423     _flag_k = FK_CMP;
  22424     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EF2B; /* 0x4000EF26: je 0x4000ef2b */
  22425 L_4000EF28:
  22426     MEM32(edx + 0x4) = eax; /* 0x4000EF28: mov dword ptr [edx + 4], eax */
  22427 L_4000EF2B:
  22428     edx = MEM32(eax + 0x4); /* 0x4000EF2B: mov edx, dword ptr [eax + 4] */
  22429     MEM32(ecx + 0x4) = edx; /* 0x4000EF2E: mov dword ptr [ecx + 4], edx */
  22430     edx = MEM32(esi + 0x4); /* 0x4000EF31: mov edx, dword ptr [esi + 4] */
  22431     /* cmp eax, MEM32(edx + 0x4) */ /* 0x4000EF34: cmp eax, dword ptr [edx + 4] */
  22432     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
  22433     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22434     _flag_k = FK_CMP;
  22435     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF3E; /* 0x4000EF37: jne 0x4000ef3e */
  22436 L_4000EF39:
  22437     MEM32(edx + 0x4) = ecx; /* 0x4000EF39: mov dword ptr [edx + 4], ecx */
  22438     goto L_4000EF4D; /* 0x4000EF3C: jmp 0x4000ef4d */
  22439 L_4000EF3E:
  22440     edx = MEM32(eax + 0x4); /* 0x4000EF3E: mov edx, dword ptr [eax + 4] */
  22441     /* cmp eax, MEM32(edx + 0x8) */ /* 0x4000EF41: cmp eax, dword ptr [edx + 8] */
  22442     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
  22443     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22444     _flag_k = FK_CMP;
  22445     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF4B; /* 0x4000EF44: jne 0x4000ef4b */
  22446 L_4000EF46:
  22447     MEM32(edx + 0x8) = ecx; /* 0x4000EF46: mov dword ptr [edx + 8], ecx */
  22448     goto L_4000EF4D; /* 0x4000EF49: jmp 0x4000ef4d */
  22449 L_4000EF4B:
  22450     MEM32(edx) = ecx; /* 0x4000EF4B: mov dword ptr [edx], ecx */
  22451 L_4000EF4D:
  22452     MEM32(ecx + 0x8) = eax; /* 0x4000EF4D: mov dword ptr [ecx + 8], eax */
  22453     MEM32(eax + 0x4) = ecx; /* 0x4000EF50: mov dword ptr [eax + 4], ecx */
  22454 L_4000EF53:
  22455     ecx = MEM32(eax + 0x4); /* 0x4000EF53: mov ecx, dword ptr [eax + 4] */
  22456     MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EF56: mov byte ptr [ecx + 0x1c], bl */
  22457     edx = MEM32(eax + 0x4); /* 0x4000EF59: mov edx, dword ptr [eax + 4] */
  22458     ecx = MEM32(edx + 0x4); /* 0x4000EF5C: mov ecx, dword ptr [edx + 4] */
  22459     MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x4000EF5F: mov byte ptr [ecx + 0x1c], 0 */
  22460     edx = MEM32(eax + 0x4); /* 0x4000EF63: mov edx, dword ptr [eax + 4] */
  22461     ecx = MEM32(edx + 0x4); /* 0x4000EF66: mov ecx, dword ptr [edx + 4] */
  22462     edx = MEM32(ecx + 0x8); /* 0x4000EF69: mov edx, dword ptr [ecx + 8] */
  22463     edi = MEM32(edx); /* 0x4000EF6C: mov edi, dword ptr [edx] */
  22464     MEM32(ecx + 0x8) = edi; /* 0x4000EF6E: mov dword ptr [ecx + 8], edi */
  22465     edi = MEM32(edx); /* 0x4000EF71: mov edi, dword ptr [edx] */
  22466     /* cmp edi, MEM32(esi + 0x8) */ /* 0x4000EF73: cmp edi, dword ptr [esi + 8] */
  22467     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
  22468     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22469     _flag_k = FK_CMP;
  22470     if (CMP_EQ(_flag_a, _flag_b)) goto L_4000EF7B; /* 0x4000EF76: je 0x4000ef7b */
  22471 L_4000EF78:
  22472     MEM32(edi + 0x4) = ecx; /* 0x4000EF78: mov dword ptr [edi + 4], ecx */
  22473 L_4000EF7B:
  22474     edi = MEM32(ecx + 0x4); /* 0x4000EF7B: mov edi, dword ptr [ecx + 4] */
  22475     MEM32(edx + 0x4) = edi; /* 0x4000EF7E: mov dword ptr [edx + 4], edi */
  22476     edi = MEM32(esi + 0x4); /* 0x4000EF81: mov edi, dword ptr [esi + 4] */
  22477     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x4000EF84: cmp ecx, dword ptr [edi + 4] */
  22478     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
  22479     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22480     _flag_k = FK_CMP;
  22481     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF8E; /* 0x4000EF87: jne 0x4000ef8e */
  22482 L_4000EF89:
  22483     MEM32(edi + 0x4) = edx; /* 0x4000EF89: mov dword ptr [edi + 4], edx */
  22484     goto L_4000EF9C; /* 0x4000EF8C: jmp 0x4000ef9c */
  22485 L_4000EF8E:
  22486     edi = MEM32(ecx + 0x4); /* 0x4000EF8E: mov edi, dword ptr [ecx + 4] */
  22487     /* cmp ecx, MEM32(edi) */ /* 0x4000EF91: cmp ecx, dword ptr [edi] */
  22488     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
  22489     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22490     _flag_k = FK_CMP;
  22491     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EF99; /* 0x4000EF93: jne 0x4000ef99 */
  22492 L_4000EF95:
  22493     MEM32(edi) = edx; /* 0x4000EF95: mov dword ptr [edi], edx */
  22494     goto L_4000EF9C; /* 0x4000EF97: jmp 0x4000ef9c */
  22495 L_4000EF99:
  22496     MEM32(edi + 0x8) = edx; /* 0x4000EF99: mov dword ptr [edi + 8], edx */
  22497 L_4000EF9C:
  22498     MEM32(edx) = ecx; /* 0x4000EF9C: mov dword ptr [edx], ecx */
  22499 L_4000EF9E:
  22500     MEM32(ecx + 0x4) = edx; /* 0x4000EF9E: mov dword ptr [ecx + 4], edx */
  22501 L_4000EFA1:
  22502     ecx = MEM32(esi + 0x4); /* 0x4000EFA1: mov ecx, dword ptr [esi + 4] */
  22503     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x4000EFA4: cmp eax, dword ptr [ecx + 4] */
  22504     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
  22505     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  22506     _flag_k = FK_CMP;
  22507     RECOMP_BACKEDGE();
  22508     if (CMP_NE(_flag_a, _flag_b)) goto L_4000EE2D; /* 0x4000EFA7: jne 0x4000ee2d */
  22509 L_4000EFAD:
  22510     edx = MEM32(esi + 0x4); /* 0x4000EFAD: mov edx, dword ptr [esi + 4] */
  22511     eax = MEM32(edx + 0x4); /* 0x4000EFB0: mov eax, dword ptr [edx + 4] */
  22512     ecx = MEM32(ebp + (-0x4)); /* 0x4000EFB3: mov ecx, dword ptr [ebp - 4] */
  22513     MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x4000EFB6: mov byte ptr [eax + 0x1c], bl */
  22514     eax = MEM32(ebp + 0x8); /* 0x4000EFB9: mov eax, dword ptr [ebp + 8] */
  22515     edi = POP32_VAL(esp); /* 0x4000EFBC: pop edi */
  22516     esi = POP32_VAL(esp); /* 0x4000EFBD: pop esi */
  22517     MEM32(eax) = ecx; /* 0x4000EFBE: mov dword ptr [eax], ecx */
  22518     ebx = POP32_VAL(esp); /* 0x4000EFC0: pop ebx */
  22519     esp = ebp; /* 0x4000EFC1: mov esp, ebp */
  22520     ebp = POP32_VAL(esp); /* 0x4000EFC3: pop ebp */
  22521     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4000EFC4: ret 0x10 */
  22522     RECOMP_REGS_OUT();
  22523 }