aorecomp

Anarchy Online classic in the browser

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


client/game/qqr.dll/lifted-0008.c (135399B)


      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_420173D8(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(0x420173D8u);
     17 
     18     goto L_420173D8;
     19 L_4200A3B0:
     20     PUSH32(esp, ebp); /* 0x4200A3B0: push ebp */
     21     ebp = esp; /* 0x4200A3B1: mov ebp, esp */
     22     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
     23     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     24     esp = esp - 8; /* 0x4200A3B3: sub esp, 8 */
     25     _flag_k = FK_CMP;
     26     PUSH32(esp, ebx); /* 0x4200A3B6: push ebx */
     27     PUSH32(esp, esi); /* 0x4200A3B7: push esi */
     28     esi = ecx; /* 0x4200A3B8: mov esi, ecx */
     29     ecx = MEM32(esi + 0x10); /* 0x4200A3BA: mov ecx, dword ptr [esi + 0x10] */
     30     /* test ecx, ecx */ /* 0x4200A3BD: test ecx, ecx */
     31     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
     32     _cf = 0;
     33     _flag_k = FK_TEST;
     34     PUSH32(esp, edi); /* 0x4200A3BF: push edi */
     35     edi = MEM32(esi + 0x4); /* 0x4200A3C0: mov edi, dword ptr [esi + 4] */
     36     eax = MEM32(edi); /* 0x4200A3C3: mov eax, dword ptr [edi] */
     37     MEM32(ebp + (-0x4)) = eax; /* 0x4200A3C5: mov dword ptr [ebp - 4], eax */
     38     if (TEST_Z(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3C8: je 0x4200a42f */
     39 L_4200A3CA:
     40     ecx = eax; /* 0x4200A3CA: mov ecx, eax */
     41     /* cmp eax, ecx */ /* 0x4200A3CC: cmp eax, ecx */
     42     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
     43     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     44     _flag_k = FK_CMP;
     45     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3CE: jne 0x4200a42f */
     46 L_4200A3D0:
     47     /* cmp edi, edi */ /* 0x4200A3D0: cmp edi, edi */
     48     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
     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_4200A42F; /* 0x4200A3D2: jne 0x4200a42f */
     52 L_4200A3D4:
     53     ebx = MEM32(edi + 0x4); /* 0x4200A3D4: mov ebx, dword ptr [edi + 4] */
     54     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x4200A3D7: cmp ebx, dword ptr [esi + 8] */
     55     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
     56     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     57     _flag_k = FK_CMP;
     58     edi = ebx; /* 0x4200A3DA: mov edi, ebx */
     59     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200A407; /* 0x4200A3DC: je 0x4200a407 */
     60 L_4200A3DE:
     61     eax = MEM32(edi + 0x8); /* 0x4200A3DE: mov eax, dword ptr [edi + 8] */
     62     PUSH32(esp, eax); /* 0x4200A3E1: push eax */
     63     ecx = esi; /* 0x4200A3E2: mov ecx, esi */
     64     RECOMP_ICALL(0x42009E50u); /* 0x4200A3E4: call 0x42009e50 */ /* not lifted */
     65     RECOMP_FLAGS_IN();
     66     edi = MEM32(edi); /* 0x4200A3E9: mov edi, dword ptr [edi] */
     67     PUSH32(esp, 0); /* 0x4200A3EB: push 0 */
     68     ecx = ebx + 0xC; /* 0x4200A3ED: lea ecx, [ebx + 0xc] */
     69     RECOMP_ICALL(0x4200E150u); /* 0x4200A3F0: call 0x4200e150 */ /* not lifted */
     70     RECOMP_FLAGS_IN();
     71     PUSH32(esp, ebx); /* 0x4200A3F5: push ebx */
     72     RECOMP_ICALL(0x42016DD0u); /* 0x4200A3F6: call 0x42016dd0 */ /* not lifted */
     73     RECOMP_FLAGS_IN();
     74     eax = MEM32(esi + 0x8); /* 0x4200A3FB: mov eax, dword ptr [esi + 8] */
     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; /* 0x4200A3FE: add esp, 4 */
     78     _flag_k = FK_ADD;
     79     /* cmp edi, eax */ /* 0x4200A401: cmp edi, eax */
     80     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
     81     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     82     _flag_k = FK_CMP;
     83     ebx = edi; /* 0x4200A403: mov ebx, edi */
     84     RECOMP_BACKEDGE();
     85     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A3DE; /* 0x4200A405: jne 0x4200a3de */
     86 L_4200A407:
     87     ecx = MEM32(esi + 0x4); /* 0x4200A407: mov ecx, dword ptr [esi + 4] */
     88     edx = MEM32(esi + 0x8); /* 0x4200A40A: mov edx, dword ptr [esi + 8] */
     89     MEM32(ecx + 0x4) = edx; /* 0x4200A40D: mov dword ptr [ecx + 4], edx */
     90     eax = MEM32(esi + 0x4); /* 0x4200A410: mov eax, dword ptr [esi + 4] */
     91     MEM32(esi + 0x10) = 0; /* 0x4200A413: mov dword ptr [esi + 0x10], 0 */
     92     MEM32(eax) = eax; /* 0x4200A41A: mov dword ptr [eax], eax */
     93     eax = MEM32(esi + 0x4); /* 0x4200A41C: mov eax, dword ptr [esi + 4] */
     94     MEM32(eax + 0x8) = eax; /* 0x4200A41F: mov dword ptr [eax + 8], eax */
     95     eax = ebp + (-0x8); /* 0x4200A422: lea eax, [ebp - 8] */
     96     PUSH32(esp, eax); /* 0x4200A425: push eax */
     97     ecx = esi; /* 0x4200A426: mov ecx, esi */
     98     RECOMP_ICALL(0x4200CD70u); /* 0x4200A428: call 0x4200cd70 */ /* not lifted */
     99     RECOMP_FLAGS_IN();
    100     goto L_4200A450; /* 0x4200A42D: jmp 0x4200a450 */
    101 L_4200A42F:
    102     /* cmp eax, edi */ /* 0x4200A42F: cmp eax, edi */
    103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    105     _flag_k = FK_CMP;
    106     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200A450; /* 0x4200A431: je 0x4200a450 */
    107 L_4200A433:
    108     ecx = ebp + (-0x4); /* 0x4200A433: lea ecx, [ebp - 4] */
    109     ebx = eax; /* 0x4200A436: mov ebx, eax */
    110     RECOMP_ICALL(0x42009EE0u); /* 0x4200A438: call 0x42009ee0 */ /* not lifted */
    111     RECOMP_FLAGS_IN();
    112     PUSH32(esp, ebx); /* 0x4200A43D: push ebx */
    113     ecx = ebp + (-0x8); /* 0x4200A43E: lea ecx, [ebp - 8] */
    114     PUSH32(esp, ecx); /* 0x4200A441: push ecx */
    115     ecx = esi; /* 0x4200A442: mov ecx, esi */
    116     RECOMP_ICALL(0x420099F0u); /* 0x4200A444: call 0x420099f0 */ /* not lifted */
    117     RECOMP_FLAGS_IN();
    118     eax = MEM32(ebp + (-0x4)); /* 0x4200A449: mov eax, dword ptr [ebp - 4] */
    119     /* cmp eax, edi */ /* 0x4200A44C: cmp eax, edi */
    120     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    121     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    122     _flag_k = FK_CMP;
    123     RECOMP_BACKEDGE();
    124     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A433; /* 0x4200A44E: jne 0x4200a433 */
    125 L_4200A450:
    126     edx = MEM32(esi + 0x4); /* 0x4200A450: mov edx, dword ptr [esi + 4] */
    127     PUSH32(esp, edx); /* 0x4200A453: push edx */
    128     RECOMP_ICALL(0x42016DD0u); /* 0x4200A454: call 0x42016dd0 */ /* not lifted */
    129     RECOMP_FLAGS_IN();
    130     eax = MEM32(esi + 0x8); /* 0x4200A459: mov eax, dword ptr [esi + 8] */
    131     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    132     edi = 0; /* 0x4200A45C: xor edi, edi */
    133     _cf = 0;
    134     _flag_k = FK_TEST;
    135     PUSH32(esp, eax); /* 0x4200A45E: push eax */
    136     MEM32(esi + 0x4) = edi; /* 0x4200A45F: mov dword ptr [esi + 4], edi */
    137     MEM32(esi + 0x10) = edi; /* 0x4200A462: mov dword ptr [esi + 0x10], edi */
    138     RECOMP_ICALL(0x42016DD0u); /* 0x4200A465: call 0x42016dd0 */ /* not lifted */
    139     RECOMP_FLAGS_IN();
    140     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    141     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    142     esp = esp + 8; /* 0x4200A46A: add esp, 8 */
    143     _flag_k = FK_ADD;
    144     MEM32(esi + 0x8) = edi; /* 0x4200A46D: mov dword ptr [esi + 8], edi */
    145     edi = POP32_VAL(esp); /* 0x4200A470: pop edi */
    146     esi = POP32_VAL(esp); /* 0x4200A471: pop esi */
    147     ebx = POP32_VAL(esp); /* 0x4200A472: pop ebx */
    148     esp = ebp; /* 0x4200A473: mov esp, ebp */
    149     ebp = POP32_VAL(esp); /* 0x4200A475: pop ebp */
    150     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A476: ret  */
    151 L_420173D8:
    152     ecx = MEM32(ebp + (-0x10)); /* 0x420173D8: mov ecx, dword ptr [ebp - 0x10] */
    153     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x28u);
    154     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    155     ecx = ecx + 0x28u; /* 0x420173DB: add ecx, 0x28 */
    156     _flag_k = FK_ADD;
    157     RECOMP_BACKEDGE();
    158     goto L_4200A3B0; /* 0x420173DE: jmp 0x4200a3b0 */
    159     { RECOMP_REGS_OUT(); return; } /* end of function */
    160     RECOMP_REGS_OUT();
    161 }
    162 
    163 void sub_420173E3(void) {
    164     int _fpu_cmp = 0;
    165     uint32_t _cf = 0;
    166     int _df = 1;
    167     uint32_t _flag_k = FK_NONE;
    168     uint32_t _flag_a = 0, _flag_b = 0;
    169     uint32_t _itail_tgt = 0;
    170     RECOMP_REGS_LOCALS
    171     RECOMP_ENTER(0x420173E3u);
    172 
    173     goto L_420173E3;
    174 L_420037E0:
    175     PUSH32(esp, ebx); /* 0x420037E0: push ebx */
    176     PUSH32(esp, esi); /* 0x420037E1: push esi */
    177     PUSH32(esp, edi); /* 0x420037E2: push edi */
    178     edi = ecx; /* 0x420037E3: mov edi, ecx */
    179     ebx = MEM32(edi + 0x4); /* 0x420037E5: mov ebx, dword ptr [edi + 4] */
    180     esi = MEM32(ebx); /* 0x420037E8: mov esi, dword ptr [ebx] */
    181     /* cmp esi, ebx */ /* 0x420037EA: cmp esi, ebx */
    182     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    183     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    184     _flag_k = FK_CMP;
    185     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003815; /* 0x420037EC: je 0x42003815 */
    186 L_420037EE:
    187     eax = esi; /* 0x420037EE: mov eax, esi */
    188     ecx = MEM32(eax + 0x4); /* 0x420037F0: mov ecx, dword ptr [eax + 4] */
    189     edx = MEM32(eax); /* 0x420037F3: mov edx, dword ptr [eax] */
    190     esi = MEM32(esi); /* 0x420037F5: mov esi, dword ptr [esi] */
    191     MEM32(ecx) = edx; /* 0x420037F7: mov dword ptr [ecx], edx */
    192     ecx = MEM32(eax); /* 0x420037F9: mov ecx, dword ptr [eax] */
    193     edx = MEM32(eax + 0x4); /* 0x420037FB: mov edx, dword ptr [eax + 4] */
    194     PUSH32(esp, eax); /* 0x420037FE: push eax */
    195     MEM32(ecx + 0x4) = edx; /* 0x420037FF: mov dword ptr [ecx + 4], edx */
    196     RECOMP_ICALL(0x42016DD0u); /* 0x42003802: call 0x42016dd0 */ /* not lifted */
    197     RECOMP_FLAGS_IN();
    198     ecx = MEM32(edi + 0x8); /* 0x42003807: mov ecx, dword ptr [edi + 8] */
    199     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    200     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    201     esp = esp + 4; /* 0x4200380A: add esp, 4 */
    202     _flag_k = FK_ADD;
    203     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    204     ecx = ecx - 1; /* 0x4200380D: dec ecx */
    205     _flag_k = FK_DEC;
    206     /* cmp esi, ebx */ /* 0x4200380E: cmp esi, ebx */
    207     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    208     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    209     _flag_k = FK_CMP;
    210     MEM32(edi + 0x8) = ecx; /* 0x42003810: mov dword ptr [edi + 8], ecx */
    211     RECOMP_BACKEDGE();
    212     if (CMP_NE(_flag_a, _flag_b)) goto L_420037EE; /* 0x42003813: jne 0x420037ee */
    213 L_42003815:
    214     eax = MEM32(edi + 0x4); /* 0x42003815: mov eax, dword ptr [edi + 4] */
    215     PUSH32(esp, eax); /* 0x42003818: push eax */
    216     RECOMP_ICALL(0x42016DD0u); /* 0x42003819: call 0x42016dd0 */ /* not lifted */
    217     RECOMP_FLAGS_IN();
    218     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    219     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    220     esp = esp + 4; /* 0x4200381E: add esp, 4 */
    221     _flag_k = FK_ADD;
    222     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    223     eax = 0; /* 0x42003821: xor eax, eax */
    224     _cf = 0;
    225     _flag_k = FK_TEST;
    226     MEM32(edi + 0x4) = eax; /* 0x42003823: mov dword ptr [edi + 4], eax */
    227     MEM32(edi + 0x8) = eax; /* 0x42003826: mov dword ptr [edi + 8], eax */
    228     edi = POP32_VAL(esp); /* 0x42003829: pop edi */
    229     esi = POP32_VAL(esp); /* 0x4200382A: pop esi */
    230     ebx = POP32_VAL(esp); /* 0x4200382B: pop ebx */
    231     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200382C: ret  */
    232 L_420173E3:
    233     ecx = MEM32(ebp + 0x14); /* 0x420173E3: mov ecx, dword ptr [ebp + 0x14] */
    234     RECOMP_BACKEDGE();
    235     goto L_420037E0; /* 0x420173E6: jmp 0x420037e0 */
    236     { RECOMP_REGS_OUT(); return; } /* end of function */
    237     RECOMP_REGS_OUT();
    238 }
    239 
    240 void sub_420173EB(void) {
    241     int _fpu_cmp = 0;
    242     uint32_t _cf = 0;
    243     int _df = 1;
    244     uint32_t _flag_k = FK_NONE;
    245     uint32_t _flag_a = 0, _flag_b = 0;
    246     uint32_t _itail_tgt = 0;
    247     RECOMP_REGS_LOCALS
    248     RECOMP_ENTER(0x420173EBu);
    249 
    250     goto L_420173EB;
    251 L_420037E0:
    252     PUSH32(esp, ebx); /* 0x420037E0: push ebx */
    253     PUSH32(esp, esi); /* 0x420037E1: push esi */
    254     PUSH32(esp, edi); /* 0x420037E2: push edi */
    255     edi = ecx; /* 0x420037E3: mov edi, ecx */
    256     ebx = MEM32(edi + 0x4); /* 0x420037E5: mov ebx, dword ptr [edi + 4] */
    257     esi = MEM32(ebx); /* 0x420037E8: mov esi, dword ptr [ebx] */
    258     /* cmp esi, ebx */ /* 0x420037EA: cmp esi, ebx */
    259     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    260     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    261     _flag_k = FK_CMP;
    262     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003815; /* 0x420037EC: je 0x42003815 */
    263 L_420037EE:
    264     eax = esi; /* 0x420037EE: mov eax, esi */
    265     ecx = MEM32(eax + 0x4); /* 0x420037F0: mov ecx, dword ptr [eax + 4] */
    266     edx = MEM32(eax); /* 0x420037F3: mov edx, dword ptr [eax] */
    267     esi = MEM32(esi); /* 0x420037F5: mov esi, dword ptr [esi] */
    268     MEM32(ecx) = edx; /* 0x420037F7: mov dword ptr [ecx], edx */
    269     ecx = MEM32(eax); /* 0x420037F9: mov ecx, dword ptr [eax] */
    270     edx = MEM32(eax + 0x4); /* 0x420037FB: mov edx, dword ptr [eax + 4] */
    271     PUSH32(esp, eax); /* 0x420037FE: push eax */
    272     MEM32(ecx + 0x4) = edx; /* 0x420037FF: mov dword ptr [ecx + 4], edx */
    273     RECOMP_ICALL(0x42016DD0u); /* 0x42003802: call 0x42016dd0 */ /* not lifted */
    274     RECOMP_FLAGS_IN();
    275     ecx = MEM32(edi + 0x8); /* 0x42003807: mov ecx, dword ptr [edi + 8] */
    276     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    277     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    278     esp = esp + 4; /* 0x4200380A: add esp, 4 */
    279     _flag_k = FK_ADD;
    280     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    281     ecx = ecx - 1; /* 0x4200380D: dec ecx */
    282     _flag_k = FK_DEC;
    283     /* cmp esi, ebx */ /* 0x4200380E: cmp esi, ebx */
    284     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    285     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    286     _flag_k = FK_CMP;
    287     MEM32(edi + 0x8) = ecx; /* 0x42003810: mov dword ptr [edi + 8], ecx */
    288     RECOMP_BACKEDGE();
    289     if (CMP_NE(_flag_a, _flag_b)) goto L_420037EE; /* 0x42003813: jne 0x420037ee */
    290 L_42003815:
    291     eax = MEM32(edi + 0x4); /* 0x42003815: mov eax, dword ptr [edi + 4] */
    292     PUSH32(esp, eax); /* 0x42003818: push eax */
    293     RECOMP_ICALL(0x42016DD0u); /* 0x42003819: call 0x42016dd0 */ /* not lifted */
    294     RECOMP_FLAGS_IN();
    295     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    296     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    297     esp = esp + 4; /* 0x4200381E: add esp, 4 */
    298     _flag_k = FK_ADD;
    299     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    300     eax = 0; /* 0x42003821: xor eax, eax */
    301     _cf = 0;
    302     _flag_k = FK_TEST;
    303     MEM32(edi + 0x4) = eax; /* 0x42003823: mov dword ptr [edi + 4], eax */
    304     MEM32(edi + 0x8) = eax; /* 0x42003826: mov dword ptr [edi + 8], eax */
    305     edi = POP32_VAL(esp); /* 0x42003829: pop edi */
    306     esi = POP32_VAL(esp); /* 0x4200382A: pop esi */
    307     ebx = POP32_VAL(esp); /* 0x4200382B: pop ebx */
    308     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200382C: ret  */
    309 L_420173EB:
    310     ecx = MEM32(ebp + (-0x10)); /* 0x420173EB: mov ecx, dword ptr [ebp - 0x10] */
    311     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u);
    312     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    313     ecx = ecx + 0x44u; /* 0x420173EE: add ecx, 0x44 */
    314     _flag_k = FK_ADD;
    315     RECOMP_BACKEDGE();
    316     goto L_420037E0; /* 0x420173F1: jmp 0x420037e0 */
    317     { RECOMP_REGS_OUT(); return; } /* end of function */
    318     RECOMP_REGS_OUT();
    319 }
    320 
    321 void sub_420173F6(void) {
    322     int _fpu_cmp = 0;
    323     uint32_t _cf = 0;
    324     int _df = 1;
    325     uint32_t _flag_k = FK_NONE;
    326     uint32_t _flag_a = 0, _flag_b = 0;
    327     uint32_t _itail_tgt = 0;
    328     RECOMP_REGS_LOCALS
    329     RECOMP_ENTER(0x420173F6u);
    330 
    331     goto L_420173F6;
    332 L_42016F30:
    333     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
    334 L_420173F6:
    335     eax = 0x420196D0u; /* 0x420173F6: mov eax, 0x420196d0 */
    336 L_420173FB:
    337     RECOMP_BACKEDGE();
    338     goto L_42016F30; /* 0x420173FB: jmp 0x42016f30 */
    339     { RECOMP_REGS_OUT(); return; } /* end of function */
    340   _ljump:
    341     switch (_itail_tgt) {
    342       case 0x42016F30u: goto L_42016F30;
    343       case 0x420173F6u: goto L_420173F6;
    344       case 0x420173FBu: goto L_420173FB;
    345       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    346     }
    347     RECOMP_REGS_OUT();
    348 }
    349 
    350 void sub_42017400(void) {
    351     int _fpu_cmp = 0;
    352     uint32_t _cf = 0;
    353     int _df = 1;
    354     uint32_t _flag_k = FK_NONE;
    355     uint32_t _flag_a = 0, _flag_b = 0;
    356     uint32_t _itail_tgt = 0;
    357     RECOMP_REGS_LOCALS
    358     RECOMP_ENTER(0x42017400u);
    359 
    360     goto L_42017400;
    361 L_42003DA0:
    362     PUSH32(esp, ebp); /* 0x42003DA0: push ebp */
    363     ebp = esp; /* 0x42003DA1: mov ebp, esp */
    364     PUSH32(esp, 0xFFFFFFFFu); /* 0x42003DA3: push -1 */
    365     PUSH32(esp, 0x420171E8u); /* 0x42003DA5: push 0x420171e8 */
    366     eax = MEM32(FS_BASE + (0)); /* 0x42003DAA: mov eax, dword ptr fs:[0] */
    367     PUSH32(esp, eax); /* 0x42003DB0: push eax */
    368     MEM32(FS_BASE + (0)) = esp; /* 0x42003DB1: mov dword ptr fs:[0], esp */
    369     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    371     esp = esp - 8; /* 0x42003DB8: sub esp, 8 */
    372     _flag_k = FK_CMP;
    373     PUSH32(esp, ebx); /* 0x42003DBB: push ebx */
    374     PUSH32(esp, esi); /* 0x42003DBC: push esi */
    375     PUSH32(esp, edi); /* 0x42003DBD: push edi */
    376     MEM32(ebp + (-0x10)) = ecx; /* 0x42003DBE: mov dword ptr [ebp - 0x10], ecx */
    377     MEM32(ecx) = 0x420182ECu; /* 0x42003DC1: mov dword ptr [ecx], 0x420182ec */
    378     MEM32(ecx + 0x4) = 0x420182E4u; /* 0x42003DC7: mov dword ptr [ecx + 4], 0x420182e4 */
    379     ebx = MEM32(ecx + 0x10); /* 0x42003DCE: mov ebx, dword ptr [ecx + 0x10] */
    380     esi = MEM32(ebx); /* 0x42003DD1: mov esi, dword ptr [ebx] */
    381     /* cmp esi, ebx */ /* 0x42003DD3: cmp esi, ebx */
    382     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    384     _flag_k = FK_CMP;
    385     edi = ecx + 0xC; /* 0x42003DD5: lea edi, [ecx + 0xc] */
    386     MEM32(ebp + (-0x4)) = 0; /* 0x42003DD8: mov dword ptr [ebp - 4], 0 */
    387     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003DF5; /* 0x42003DDF: je 0x42003df5 */
    388 L_42003DE1:
    389     eax = esi; /* 0x42003DE1: mov eax, esi */
    390     esi = MEM32(esi); /* 0x42003DE3: mov esi, dword ptr [esi] */
    391     PUSH32(esp, eax); /* 0x42003DE5: push eax */
    392     eax = ebp + (-0x14); /* 0x42003DE6: lea eax, [ebp - 0x14] */
    393     PUSH32(esp, eax); /* 0x42003DE9: push eax */
    394     ecx = edi; /* 0x42003DEA: mov ecx, edi */
    395     RECOMP_ICALL(0x42005C70u); /* 0x42003DEC: call 0x42005c70 */ /* not lifted */
    396     RECOMP_FLAGS_IN();
    397     /* cmp esi, ebx */ /* 0x42003DF1: cmp esi, ebx */
    398     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    399     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    400     _flag_k = FK_CMP;
    401     RECOMP_BACKEDGE();
    402     if (CMP_NE(_flag_a, _flag_b)) goto L_42003DE1; /* 0x42003DF3: jne 0x42003de1 */
    403 L_42003DF5:
    404     ecx = MEM32(edi + 0x4); /* 0x42003DF5: mov ecx, dword ptr [edi + 4] */
    405     PUSH32(esp, ecx); /* 0x42003DF8: push ecx */
    406     RECOMP_ICALL(0x42016DD0u); /* 0x42003DF9: call 0x42016dd0 */ /* not lifted */
    407     RECOMP_FLAGS_IN();
    408     edx = MEM32(ebp + (-0x10)); /* 0x42003DFE: mov edx, dword ptr [ebp - 0x10] */
    409     ecx = MEM32(ebp + (-0xC)); /* 0x42003E01: mov ecx, dword ptr [ebp - 0xc] */
    410     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    412     esp = esp + 4; /* 0x42003E04: add esp, 4 */
    413     _flag_k = FK_ADD;
    414     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    415     eax = 0; /* 0x42003E07: xor eax, eax */
    416     _cf = 0;
    417     _flag_k = FK_TEST;
    418     MEM32(edi + 0x4) = eax; /* 0x42003E09: mov dword ptr [edi + 4], eax */
    419     MEM32(edi + 0x8) = eax; /* 0x42003E0C: mov dword ptr [edi + 8], eax */
    420     edi = POP32_VAL(esp); /* 0x42003E0F: pop edi */
    421     esi = POP32_VAL(esp); /* 0x42003E10: pop esi */
    422     MEM32(edx) = 0x4201822Cu; /* 0x42003E11: mov dword ptr [edx], 0x4201822c */
    423     ebx = POP32_VAL(esp); /* 0x42003E17: pop ebx */
    424     MEM32(FS_BASE + (0)) = ecx; /* 0x42003E18: mov dword ptr fs:[0], ecx */
    425     esp = ebp; /* 0x42003E1F: mov esp, ebp */
    426     ebp = POP32_VAL(esp); /* 0x42003E21: pop ebp */
    427     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42003E22: ret  */
    428 L_42017400:
    429     ecx = MEM32(ebp + (-0x14)); /* 0x42017400: mov ecx, dword ptr [ebp - 0x14] */
    430     RECOMP_BACKEDGE();
    431     goto L_42003DA0; /* 0x42017403: jmp 0x42003da0 */
    432     { RECOMP_REGS_OUT(); return; } /* end of function */
    433     RECOMP_REGS_OUT();
    434 }
    435 
    436 void sub_42017408(void) {
    437     int _fpu_cmp = 0;
    438     uint32_t _cf = 0;
    439     int _df = 1;
    440     uint32_t _flag_k = FK_NONE;
    441     uint32_t _flag_a = 0, _flag_b = 0;
    442     uint32_t _itail_tgt = 0;
    443     RECOMP_REGS_LOCALS
    444     RECOMP_ENTER(0x42017408u);
    445 
    446     goto L_42017408;
    447 L_4200A3B0:
    448     PUSH32(esp, ebp); /* 0x4200A3B0: push ebp */
    449     ebp = esp; /* 0x4200A3B1: mov ebp, esp */
    450     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    451     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    452     esp = esp - 8; /* 0x4200A3B3: sub esp, 8 */
    453     _flag_k = FK_CMP;
    454     PUSH32(esp, ebx); /* 0x4200A3B6: push ebx */
    455     PUSH32(esp, esi); /* 0x4200A3B7: push esi */
    456     esi = ecx; /* 0x4200A3B8: mov esi, ecx */
    457     ecx = MEM32(esi + 0x10); /* 0x4200A3BA: mov ecx, dword ptr [esi + 0x10] */
    458     /* test ecx, ecx */ /* 0x4200A3BD: test ecx, ecx */
    459     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    460     _cf = 0;
    461     _flag_k = FK_TEST;
    462     PUSH32(esp, edi); /* 0x4200A3BF: push edi */
    463     edi = MEM32(esi + 0x4); /* 0x4200A3C0: mov edi, dword ptr [esi + 4] */
    464     eax = MEM32(edi); /* 0x4200A3C3: mov eax, dword ptr [edi] */
    465     MEM32(ebp + (-0x4)) = eax; /* 0x4200A3C5: mov dword ptr [ebp - 4], eax */
    466     if (TEST_Z(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3C8: je 0x4200a42f */
    467 L_4200A3CA:
    468     ecx = eax; /* 0x4200A3CA: mov ecx, eax */
    469     /* cmp eax, ecx */ /* 0x4200A3CC: cmp eax, ecx */
    470     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    471     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    472     _flag_k = FK_CMP;
    473     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3CE: jne 0x4200a42f */
    474 L_4200A3D0:
    475     /* cmp edi, edi */ /* 0x4200A3D0: cmp edi, edi */
    476     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    478     _flag_k = FK_CMP;
    479     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3D2: jne 0x4200a42f */
    480 L_4200A3D4:
    481     ebx = MEM32(edi + 0x4); /* 0x4200A3D4: mov ebx, dword ptr [edi + 4] */
    482     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x4200A3D7: cmp ebx, dword ptr [esi + 8] */
    483     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
    484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    485     _flag_k = FK_CMP;
    486     edi = ebx; /* 0x4200A3DA: mov edi, ebx */
    487     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200A407; /* 0x4200A3DC: je 0x4200a407 */
    488 L_4200A3DE:
    489     eax = MEM32(edi + 0x8); /* 0x4200A3DE: mov eax, dword ptr [edi + 8] */
    490     PUSH32(esp, eax); /* 0x4200A3E1: push eax */
    491     ecx = esi; /* 0x4200A3E2: mov ecx, esi */
    492     RECOMP_ICALL(0x42009E50u); /* 0x4200A3E4: call 0x42009e50 */ /* not lifted */
    493     RECOMP_FLAGS_IN();
    494     edi = MEM32(edi); /* 0x4200A3E9: mov edi, dword ptr [edi] */
    495     PUSH32(esp, 0); /* 0x4200A3EB: push 0 */
    496     ecx = ebx + 0xC; /* 0x4200A3ED: lea ecx, [ebx + 0xc] */
    497     RECOMP_ICALL(0x4200E150u); /* 0x4200A3F0: call 0x4200e150 */ /* not lifted */
    498     RECOMP_FLAGS_IN();
    499     PUSH32(esp, ebx); /* 0x4200A3F5: push ebx */
    500     RECOMP_ICALL(0x42016DD0u); /* 0x4200A3F6: call 0x42016dd0 */ /* not lifted */
    501     RECOMP_FLAGS_IN();
    502     eax = MEM32(esi + 0x8); /* 0x4200A3FB: mov eax, dword ptr [esi + 8] */
    503     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    504     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    505     esp = esp + 4; /* 0x4200A3FE: add esp, 4 */
    506     _flag_k = FK_ADD;
    507     /* cmp edi, eax */ /* 0x4200A401: cmp edi, eax */
    508     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    509     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    510     _flag_k = FK_CMP;
    511     ebx = edi; /* 0x4200A403: mov ebx, edi */
    512     RECOMP_BACKEDGE();
    513     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A3DE; /* 0x4200A405: jne 0x4200a3de */
    514 L_4200A407:
    515     ecx = MEM32(esi + 0x4); /* 0x4200A407: mov ecx, dword ptr [esi + 4] */
    516     edx = MEM32(esi + 0x8); /* 0x4200A40A: mov edx, dword ptr [esi + 8] */
    517     MEM32(ecx + 0x4) = edx; /* 0x4200A40D: mov dword ptr [ecx + 4], edx */
    518     eax = MEM32(esi + 0x4); /* 0x4200A410: mov eax, dword ptr [esi + 4] */
    519     MEM32(esi + 0x10) = 0; /* 0x4200A413: mov dword ptr [esi + 0x10], 0 */
    520     MEM32(eax) = eax; /* 0x4200A41A: mov dword ptr [eax], eax */
    521     eax = MEM32(esi + 0x4); /* 0x4200A41C: mov eax, dword ptr [esi + 4] */
    522     MEM32(eax + 0x8) = eax; /* 0x4200A41F: mov dword ptr [eax + 8], eax */
    523     eax = ebp + (-0x8); /* 0x4200A422: lea eax, [ebp - 8] */
    524     PUSH32(esp, eax); /* 0x4200A425: push eax */
    525     ecx = esi; /* 0x4200A426: mov ecx, esi */
    526     RECOMP_ICALL(0x4200CD70u); /* 0x4200A428: call 0x4200cd70 */ /* not lifted */
    527     RECOMP_FLAGS_IN();
    528     goto L_4200A450; /* 0x4200A42D: jmp 0x4200a450 */
    529 L_4200A42F:
    530     /* cmp eax, edi */ /* 0x4200A42F: cmp eax, edi */
    531     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    533     _flag_k = FK_CMP;
    534     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200A450; /* 0x4200A431: je 0x4200a450 */
    535 L_4200A433:
    536     ecx = ebp + (-0x4); /* 0x4200A433: lea ecx, [ebp - 4] */
    537     ebx = eax; /* 0x4200A436: mov ebx, eax */
    538     RECOMP_ICALL(0x42009EE0u); /* 0x4200A438: call 0x42009ee0 */ /* not lifted */
    539     RECOMP_FLAGS_IN();
    540     PUSH32(esp, ebx); /* 0x4200A43D: push ebx */
    541     ecx = ebp + (-0x8); /* 0x4200A43E: lea ecx, [ebp - 8] */
    542     PUSH32(esp, ecx); /* 0x4200A441: push ecx */
    543     ecx = esi; /* 0x4200A442: mov ecx, esi */
    544     RECOMP_ICALL(0x420099F0u); /* 0x4200A444: call 0x420099f0 */ /* not lifted */
    545     RECOMP_FLAGS_IN();
    546     eax = MEM32(ebp + (-0x4)); /* 0x4200A449: mov eax, dword ptr [ebp - 4] */
    547     /* cmp eax, edi */ /* 0x4200A44C: cmp eax, edi */
    548     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    550     _flag_k = FK_CMP;
    551     RECOMP_BACKEDGE();
    552     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A433; /* 0x4200A44E: jne 0x4200a433 */
    553 L_4200A450:
    554     edx = MEM32(esi + 0x4); /* 0x4200A450: mov edx, dword ptr [esi + 4] */
    555     PUSH32(esp, edx); /* 0x4200A453: push edx */
    556     RECOMP_ICALL(0x42016DD0u); /* 0x4200A454: call 0x42016dd0 */ /* not lifted */
    557     RECOMP_FLAGS_IN();
    558     eax = MEM32(esi + 0x8); /* 0x4200A459: mov eax, dword ptr [esi + 8] */
    559     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    560     edi = 0; /* 0x4200A45C: xor edi, edi */
    561     _cf = 0;
    562     _flag_k = FK_TEST;
    563     PUSH32(esp, eax); /* 0x4200A45E: push eax */
    564     MEM32(esi + 0x4) = edi; /* 0x4200A45F: mov dword ptr [esi + 4], edi */
    565     MEM32(esi + 0x10) = edi; /* 0x4200A462: mov dword ptr [esi + 0x10], edi */
    566     RECOMP_ICALL(0x42016DD0u); /* 0x4200A465: call 0x42016dd0 */ /* not lifted */
    567     RECOMP_FLAGS_IN();
    568     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    569     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    570     esp = esp + 8; /* 0x4200A46A: add esp, 8 */
    571     _flag_k = FK_ADD;
    572     MEM32(esi + 0x8) = edi; /* 0x4200A46D: mov dword ptr [esi + 8], edi */
    573     edi = POP32_VAL(esp); /* 0x4200A470: pop edi */
    574     esi = POP32_VAL(esp); /* 0x4200A471: pop esi */
    575     ebx = POP32_VAL(esp); /* 0x4200A472: pop ebx */
    576     esp = ebp; /* 0x4200A473: mov esp, ebp */
    577     ebp = POP32_VAL(esp); /* 0x4200A475: pop ebp */
    578     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A476: ret  */
    579 L_42017408:
    580     ecx = MEM32(ebp + (-0x14)); /* 0x42017408: mov ecx, dword ptr [ebp - 0x14] */
    581     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x28u);
    582     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    583     ecx = ecx + 0x28u; /* 0x4201740B: add ecx, 0x28 */
    584     _flag_k = FK_ADD;
    585     RECOMP_BACKEDGE();
    586     goto L_4200A3B0; /* 0x4201740E: jmp 0x4200a3b0 */
    587     { RECOMP_REGS_OUT(); return; } /* end of function */
    588     RECOMP_REGS_OUT();
    589 }
    590 
    591 void sub_42017413(void) {
    592     int _fpu_cmp = 0;
    593     uint32_t _cf = 0;
    594     int _df = 1;
    595     uint32_t _flag_k = FK_NONE;
    596     uint32_t _flag_a = 0, _flag_b = 0;
    597     uint32_t _itail_tgt = 0;
    598     RECOMP_REGS_LOCALS
    599     RECOMP_ENTER(0x42017413u);
    600 
    601     goto L_42017413;
    602 L_420037E0:
    603     PUSH32(esp, ebx); /* 0x420037E0: push ebx */
    604     PUSH32(esp, esi); /* 0x420037E1: push esi */
    605     PUSH32(esp, edi); /* 0x420037E2: push edi */
    606     edi = ecx; /* 0x420037E3: mov edi, ecx */
    607     ebx = MEM32(edi + 0x4); /* 0x420037E5: mov ebx, dword ptr [edi + 4] */
    608     esi = MEM32(ebx); /* 0x420037E8: mov esi, dword ptr [ebx] */
    609     /* cmp esi, ebx */ /* 0x420037EA: cmp esi, ebx */
    610     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    611     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    612     _flag_k = FK_CMP;
    613     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003815; /* 0x420037EC: je 0x42003815 */
    614 L_420037EE:
    615     eax = esi; /* 0x420037EE: mov eax, esi */
    616     ecx = MEM32(eax + 0x4); /* 0x420037F0: mov ecx, dword ptr [eax + 4] */
    617     edx = MEM32(eax); /* 0x420037F3: mov edx, dword ptr [eax] */
    618     esi = MEM32(esi); /* 0x420037F5: mov esi, dword ptr [esi] */
    619     MEM32(ecx) = edx; /* 0x420037F7: mov dword ptr [ecx], edx */
    620     ecx = MEM32(eax); /* 0x420037F9: mov ecx, dword ptr [eax] */
    621     edx = MEM32(eax + 0x4); /* 0x420037FB: mov edx, dword ptr [eax + 4] */
    622     PUSH32(esp, eax); /* 0x420037FE: push eax */
    623     MEM32(ecx + 0x4) = edx; /* 0x420037FF: mov dword ptr [ecx + 4], edx */
    624     RECOMP_ICALL(0x42016DD0u); /* 0x42003802: call 0x42016dd0 */ /* not lifted */
    625     RECOMP_FLAGS_IN();
    626     ecx = MEM32(edi + 0x8); /* 0x42003807: mov ecx, dword ptr [edi + 8] */
    627     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    628     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    629     esp = esp + 4; /* 0x4200380A: add esp, 4 */
    630     _flag_k = FK_ADD;
    631     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    632     ecx = ecx - 1; /* 0x4200380D: dec ecx */
    633     _flag_k = FK_DEC;
    634     /* cmp esi, ebx */ /* 0x4200380E: cmp esi, ebx */
    635     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    636     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    637     _flag_k = FK_CMP;
    638     MEM32(edi + 0x8) = ecx; /* 0x42003810: mov dword ptr [edi + 8], ecx */
    639     RECOMP_BACKEDGE();
    640     if (CMP_NE(_flag_a, _flag_b)) goto L_420037EE; /* 0x42003813: jne 0x420037ee */
    641 L_42003815:
    642     eax = MEM32(edi + 0x4); /* 0x42003815: mov eax, dword ptr [edi + 4] */
    643     PUSH32(esp, eax); /* 0x42003818: push eax */
    644     RECOMP_ICALL(0x42016DD0u); /* 0x42003819: call 0x42016dd0 */ /* not lifted */
    645     RECOMP_FLAGS_IN();
    646     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    647     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    648     esp = esp + 4; /* 0x4200381E: add esp, 4 */
    649     _flag_k = FK_ADD;
    650     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    651     eax = 0; /* 0x42003821: xor eax, eax */
    652     _cf = 0;
    653     _flag_k = FK_TEST;
    654     MEM32(edi + 0x4) = eax; /* 0x42003823: mov dword ptr [edi + 4], eax */
    655     MEM32(edi + 0x8) = eax; /* 0x42003826: mov dword ptr [edi + 8], eax */
    656     edi = POP32_VAL(esp); /* 0x42003829: pop edi */
    657     esi = POP32_VAL(esp); /* 0x4200382A: pop esi */
    658     ebx = POP32_VAL(esp); /* 0x4200382B: pop ebx */
    659     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200382C: ret  */
    660 L_42017413:
    661     ecx = MEM32(ebp + 0x8); /* 0x42017413: mov ecx, dword ptr [ebp + 8] */
    662     RECOMP_BACKEDGE();
    663     goto L_420037E0; /* 0x42017416: jmp 0x420037e0 */
    664     { RECOMP_REGS_OUT(); return; } /* end of function */
    665     RECOMP_REGS_OUT();
    666 }
    667 
    668 void sub_4201741B(void) {
    669     int _fpu_cmp = 0;
    670     uint32_t _cf = 0;
    671     int _df = 1;
    672     uint32_t _flag_k = FK_NONE;
    673     uint32_t _flag_a = 0, _flag_b = 0;
    674     uint32_t _itail_tgt = 0;
    675     RECOMP_REGS_LOCALS
    676     RECOMP_ENTER(0x4201741Bu);
    677 
    678     goto L_4201741B;
    679 L_420037E0:
    680     PUSH32(esp, ebx); /* 0x420037E0: push ebx */
    681     PUSH32(esp, esi); /* 0x420037E1: push esi */
    682     PUSH32(esp, edi); /* 0x420037E2: push edi */
    683     edi = ecx; /* 0x420037E3: mov edi, ecx */
    684     ebx = MEM32(edi + 0x4); /* 0x420037E5: mov ebx, dword ptr [edi + 4] */
    685     esi = MEM32(ebx); /* 0x420037E8: mov esi, dword ptr [ebx] */
    686     /* cmp esi, ebx */ /* 0x420037EA: cmp esi, ebx */
    687     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    688     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    689     _flag_k = FK_CMP;
    690     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003815; /* 0x420037EC: je 0x42003815 */
    691 L_420037EE:
    692     eax = esi; /* 0x420037EE: mov eax, esi */
    693     ecx = MEM32(eax + 0x4); /* 0x420037F0: mov ecx, dword ptr [eax + 4] */
    694     edx = MEM32(eax); /* 0x420037F3: mov edx, dword ptr [eax] */
    695     esi = MEM32(esi); /* 0x420037F5: mov esi, dword ptr [esi] */
    696     MEM32(ecx) = edx; /* 0x420037F7: mov dword ptr [ecx], edx */
    697     ecx = MEM32(eax); /* 0x420037F9: mov ecx, dword ptr [eax] */
    698     edx = MEM32(eax + 0x4); /* 0x420037FB: mov edx, dword ptr [eax + 4] */
    699     PUSH32(esp, eax); /* 0x420037FE: push eax */
    700     MEM32(ecx + 0x4) = edx; /* 0x420037FF: mov dword ptr [ecx + 4], edx */
    701     RECOMP_ICALL(0x42016DD0u); /* 0x42003802: call 0x42016dd0 */ /* not lifted */
    702     RECOMP_FLAGS_IN();
    703     ecx = MEM32(edi + 0x8); /* 0x42003807: mov ecx, dword ptr [edi + 8] */
    704     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    705     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    706     esp = esp + 4; /* 0x4200380A: add esp, 4 */
    707     _flag_k = FK_ADD;
    708     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    709     ecx = ecx - 1; /* 0x4200380D: dec ecx */
    710     _flag_k = FK_DEC;
    711     /* cmp esi, ebx */ /* 0x4200380E: cmp esi, ebx */
    712     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    714     _flag_k = FK_CMP;
    715     MEM32(edi + 0x8) = ecx; /* 0x42003810: mov dword ptr [edi + 8], ecx */
    716     RECOMP_BACKEDGE();
    717     if (CMP_NE(_flag_a, _flag_b)) goto L_420037EE; /* 0x42003813: jne 0x420037ee */
    718 L_42003815:
    719     eax = MEM32(edi + 0x4); /* 0x42003815: mov eax, dword ptr [edi + 4] */
    720     PUSH32(esp, eax); /* 0x42003818: push eax */
    721     RECOMP_ICALL(0x42016DD0u); /* 0x42003819: call 0x42016dd0 */ /* not lifted */
    722     RECOMP_FLAGS_IN();
    723     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    724     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    725     esp = esp + 4; /* 0x4200381E: add esp, 4 */
    726     _flag_k = FK_ADD;
    727     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    728     eax = 0; /* 0x42003821: xor eax, eax */
    729     _cf = 0;
    730     _flag_k = FK_TEST;
    731     MEM32(edi + 0x4) = eax; /* 0x42003823: mov dword ptr [edi + 4], eax */
    732     MEM32(edi + 0x8) = eax; /* 0x42003826: mov dword ptr [edi + 8], eax */
    733     edi = POP32_VAL(esp); /* 0x42003829: pop edi */
    734     esi = POP32_VAL(esp); /* 0x4200382A: pop esi */
    735     ebx = POP32_VAL(esp); /* 0x4200382B: pop ebx */
    736     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200382C: ret  */
    737 L_4201741B:
    738     ecx = MEM32(ebp + (-0x14)); /* 0x4201741B: mov ecx, dword ptr [ebp - 0x14] */
    739     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u);
    740     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    741     ecx = ecx + 0x44u; /* 0x4201741E: add ecx, 0x44 */
    742     _flag_k = FK_ADD;
    743     RECOMP_BACKEDGE();
    744     goto L_420037E0; /* 0x42017421: jmp 0x420037e0 */
    745     { RECOMP_REGS_OUT(); return; } /* end of function */
    746     RECOMP_REGS_OUT();
    747 }
    748 
    749 void sub_42017426(void) {
    750     int _fpu_cmp = 0;
    751     uint32_t _cf = 0;
    752     int _df = 1;
    753     uint32_t _flag_k = FK_NONE;
    754     uint32_t _flag_a = 0, _flag_b = 0;
    755     uint32_t _itail_tgt = 0;
    756     RECOMP_REGS_LOCALS
    757     RECOMP_ENTER(0x42017426u);
    758 
    759     goto L_42017426;
    760 L_42016F30:
    761     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
    762 L_42017426:
    763     eax = 0x42019710u; /* 0x42017426: mov eax, 0x42019710 */
    764 L_4201742B:
    765     RECOMP_BACKEDGE();
    766     goto L_42016F30; /* 0x4201742B: jmp 0x42016f30 */
    767     { RECOMP_REGS_OUT(); return; } /* end of function */
    768   _ljump:
    769     switch (_itail_tgt) {
    770       case 0x42016F30u: goto L_42016F30;
    771       case 0x42017426u: goto L_42017426;
    772       case 0x4201742Bu: goto L_4201742B;
    773       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    774     }
    775     RECOMP_REGS_OUT();
    776 }
    777 
    778 void sub_42017430(void) {
    779     int _fpu_cmp = 0;
    780     uint32_t _cf = 0;
    781     int _df = 1;
    782     uint32_t _flag_k = FK_NONE;
    783     uint32_t _flag_a = 0, _flag_b = 0;
    784     uint32_t _itail_tgt = 0;
    785     RECOMP_REGS_LOCALS
    786     RECOMP_ENTER(0x42017430u);
    787 
    788     goto L_42017430;
    789 L_42003DA0:
    790     PUSH32(esp, ebp); /* 0x42003DA0: push ebp */
    791     ebp = esp; /* 0x42003DA1: mov ebp, esp */
    792     PUSH32(esp, 0xFFFFFFFFu); /* 0x42003DA3: push -1 */
    793     PUSH32(esp, 0x420171E8u); /* 0x42003DA5: push 0x420171e8 */
    794     eax = MEM32(FS_BASE + (0)); /* 0x42003DAA: mov eax, dword ptr fs:[0] */
    795     PUSH32(esp, eax); /* 0x42003DB0: push eax */
    796     MEM32(FS_BASE + (0)) = esp; /* 0x42003DB1: mov dword ptr fs:[0], esp */
    797     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    799     esp = esp - 8; /* 0x42003DB8: sub esp, 8 */
    800     _flag_k = FK_CMP;
    801     PUSH32(esp, ebx); /* 0x42003DBB: push ebx */
    802     PUSH32(esp, esi); /* 0x42003DBC: push esi */
    803     PUSH32(esp, edi); /* 0x42003DBD: push edi */
    804     MEM32(ebp + (-0x10)) = ecx; /* 0x42003DBE: mov dword ptr [ebp - 0x10], ecx */
    805     MEM32(ecx) = 0x420182ECu; /* 0x42003DC1: mov dword ptr [ecx], 0x420182ec */
    806     MEM32(ecx + 0x4) = 0x420182E4u; /* 0x42003DC7: mov dword ptr [ecx + 4], 0x420182e4 */
    807     ebx = MEM32(ecx + 0x10); /* 0x42003DCE: mov ebx, dword ptr [ecx + 0x10] */
    808     esi = MEM32(ebx); /* 0x42003DD1: mov esi, dword ptr [ebx] */
    809     /* cmp esi, ebx */ /* 0x42003DD3: cmp esi, ebx */
    810     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    811     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    812     _flag_k = FK_CMP;
    813     edi = ecx + 0xC; /* 0x42003DD5: lea edi, [ecx + 0xc] */
    814     MEM32(ebp + (-0x4)) = 0; /* 0x42003DD8: mov dword ptr [ebp - 4], 0 */
    815     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003DF5; /* 0x42003DDF: je 0x42003df5 */
    816 L_42003DE1:
    817     eax = esi; /* 0x42003DE1: mov eax, esi */
    818     esi = MEM32(esi); /* 0x42003DE3: mov esi, dword ptr [esi] */
    819     PUSH32(esp, eax); /* 0x42003DE5: push eax */
    820     eax = ebp + (-0x14); /* 0x42003DE6: lea eax, [ebp - 0x14] */
    821     PUSH32(esp, eax); /* 0x42003DE9: push eax */
    822     ecx = edi; /* 0x42003DEA: mov ecx, edi */
    823     RECOMP_ICALL(0x42005C70u); /* 0x42003DEC: call 0x42005c70 */ /* not lifted */
    824     RECOMP_FLAGS_IN();
    825     /* cmp esi, ebx */ /* 0x42003DF1: cmp esi, ebx */
    826     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    828     _flag_k = FK_CMP;
    829     RECOMP_BACKEDGE();
    830     if (CMP_NE(_flag_a, _flag_b)) goto L_42003DE1; /* 0x42003DF3: jne 0x42003de1 */
    831 L_42003DF5:
    832     ecx = MEM32(edi + 0x4); /* 0x42003DF5: mov ecx, dword ptr [edi + 4] */
    833     PUSH32(esp, ecx); /* 0x42003DF8: push ecx */
    834     RECOMP_ICALL(0x42016DD0u); /* 0x42003DF9: call 0x42016dd0 */ /* not lifted */
    835     RECOMP_FLAGS_IN();
    836     edx = MEM32(ebp + (-0x10)); /* 0x42003DFE: mov edx, dword ptr [ebp - 0x10] */
    837     ecx = MEM32(ebp + (-0xC)); /* 0x42003E01: mov ecx, dword ptr [ebp - 0xc] */
    838     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    839     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    840     esp = esp + 4; /* 0x42003E04: add esp, 4 */
    841     _flag_k = FK_ADD;
    842     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    843     eax = 0; /* 0x42003E07: xor eax, eax */
    844     _cf = 0;
    845     _flag_k = FK_TEST;
    846     MEM32(edi + 0x4) = eax; /* 0x42003E09: mov dword ptr [edi + 4], eax */
    847     MEM32(edi + 0x8) = eax; /* 0x42003E0C: mov dword ptr [edi + 8], eax */
    848     edi = POP32_VAL(esp); /* 0x42003E0F: pop edi */
    849     esi = POP32_VAL(esp); /* 0x42003E10: pop esi */
    850     MEM32(edx) = 0x4201822Cu; /* 0x42003E11: mov dword ptr [edx], 0x4201822c */
    851     ebx = POP32_VAL(esp); /* 0x42003E17: pop ebx */
    852     MEM32(FS_BASE + (0)) = ecx; /* 0x42003E18: mov dword ptr fs:[0], ecx */
    853     esp = ebp; /* 0x42003E1F: mov esp, ebp */
    854     ebp = POP32_VAL(esp); /* 0x42003E21: pop ebp */
    855     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42003E22: ret  */
    856 L_42017430:
    857     ecx = MEM32(ebp + (-0x14)); /* 0x42017430: mov ecx, dword ptr [ebp - 0x14] */
    858     RECOMP_BACKEDGE();
    859     goto L_42003DA0; /* 0x42017433: jmp 0x42003da0 */
    860     { RECOMP_REGS_OUT(); return; } /* end of function */
    861     RECOMP_REGS_OUT();
    862 }
    863 
    864 void sub_42017438(void) {
    865     int _fpu_cmp = 0;
    866     uint32_t _cf = 0;
    867     int _df = 1;
    868     uint32_t _flag_k = FK_NONE;
    869     uint32_t _flag_a = 0, _flag_b = 0;
    870     uint32_t _itail_tgt = 0;
    871     RECOMP_REGS_LOCALS
    872     RECOMP_ENTER(0x42017438u);
    873 
    874     goto L_42017438;
    875 L_4200A3B0:
    876     PUSH32(esp, ebp); /* 0x4200A3B0: push ebp */
    877     ebp = esp; /* 0x4200A3B1: mov ebp, esp */
    878     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    880     esp = esp - 8; /* 0x4200A3B3: sub esp, 8 */
    881     _flag_k = FK_CMP;
    882     PUSH32(esp, ebx); /* 0x4200A3B6: push ebx */
    883     PUSH32(esp, esi); /* 0x4200A3B7: push esi */
    884     esi = ecx; /* 0x4200A3B8: mov esi, ecx */
    885     ecx = MEM32(esi + 0x10); /* 0x4200A3BA: mov ecx, dword ptr [esi + 0x10] */
    886     /* test ecx, ecx */ /* 0x4200A3BD: test ecx, ecx */
    887     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    888     _cf = 0;
    889     _flag_k = FK_TEST;
    890     PUSH32(esp, edi); /* 0x4200A3BF: push edi */
    891     edi = MEM32(esi + 0x4); /* 0x4200A3C0: mov edi, dword ptr [esi + 4] */
    892     eax = MEM32(edi); /* 0x4200A3C3: mov eax, dword ptr [edi] */
    893     MEM32(ebp + (-0x4)) = eax; /* 0x4200A3C5: mov dword ptr [ebp - 4], eax */
    894     if (TEST_Z(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3C8: je 0x4200a42f */
    895 L_4200A3CA:
    896     ecx = eax; /* 0x4200A3CA: mov ecx, eax */
    897     /* cmp eax, ecx */ /* 0x4200A3CC: cmp eax, ecx */
    898     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    900     _flag_k = FK_CMP;
    901     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3CE: jne 0x4200a42f */
    902 L_4200A3D0:
    903     /* cmp edi, edi */ /* 0x4200A3D0: cmp edi, edi */
    904     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    905     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    906     _flag_k = FK_CMP;
    907     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A42F; /* 0x4200A3D2: jne 0x4200a42f */
    908 L_4200A3D4:
    909     ebx = MEM32(edi + 0x4); /* 0x4200A3D4: mov ebx, dword ptr [edi + 4] */
    910     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x4200A3D7: cmp ebx, dword ptr [esi + 8] */
    911     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
    912     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    913     _flag_k = FK_CMP;
    914     edi = ebx; /* 0x4200A3DA: mov edi, ebx */
    915     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200A407; /* 0x4200A3DC: je 0x4200a407 */
    916 L_4200A3DE:
    917     eax = MEM32(edi + 0x8); /* 0x4200A3DE: mov eax, dword ptr [edi + 8] */
    918     PUSH32(esp, eax); /* 0x4200A3E1: push eax */
    919     ecx = esi; /* 0x4200A3E2: mov ecx, esi */
    920     RECOMP_ICALL(0x42009E50u); /* 0x4200A3E4: call 0x42009e50 */ /* not lifted */
    921     RECOMP_FLAGS_IN();
    922     edi = MEM32(edi); /* 0x4200A3E9: mov edi, dword ptr [edi] */
    923     PUSH32(esp, 0); /* 0x4200A3EB: push 0 */
    924     ecx = ebx + 0xC; /* 0x4200A3ED: lea ecx, [ebx + 0xc] */
    925     RECOMP_ICALL(0x4200E150u); /* 0x4200A3F0: call 0x4200e150 */ /* not lifted */
    926     RECOMP_FLAGS_IN();
    927     PUSH32(esp, ebx); /* 0x4200A3F5: push ebx */
    928     RECOMP_ICALL(0x42016DD0u); /* 0x4200A3F6: call 0x42016dd0 */ /* not lifted */
    929     RECOMP_FLAGS_IN();
    930     eax = MEM32(esi + 0x8); /* 0x4200A3FB: mov eax, dword ptr [esi + 8] */
    931     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    932     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    933     esp = esp + 4; /* 0x4200A3FE: add esp, 4 */
    934     _flag_k = FK_ADD;
    935     /* cmp edi, eax */ /* 0x4200A401: cmp edi, eax */
    936     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    938     _flag_k = FK_CMP;
    939     ebx = edi; /* 0x4200A403: mov ebx, edi */
    940     RECOMP_BACKEDGE();
    941     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A3DE; /* 0x4200A405: jne 0x4200a3de */
    942 L_4200A407:
    943     ecx = MEM32(esi + 0x4); /* 0x4200A407: mov ecx, dword ptr [esi + 4] */
    944     edx = MEM32(esi + 0x8); /* 0x4200A40A: mov edx, dword ptr [esi + 8] */
    945     MEM32(ecx + 0x4) = edx; /* 0x4200A40D: mov dword ptr [ecx + 4], edx */
    946     eax = MEM32(esi + 0x4); /* 0x4200A410: mov eax, dword ptr [esi + 4] */
    947     MEM32(esi + 0x10) = 0; /* 0x4200A413: mov dword ptr [esi + 0x10], 0 */
    948     MEM32(eax) = eax; /* 0x4200A41A: mov dword ptr [eax], eax */
    949     eax = MEM32(esi + 0x4); /* 0x4200A41C: mov eax, dword ptr [esi + 4] */
    950     MEM32(eax + 0x8) = eax; /* 0x4200A41F: mov dword ptr [eax + 8], eax */
    951     eax = ebp + (-0x8); /* 0x4200A422: lea eax, [ebp - 8] */
    952     PUSH32(esp, eax); /* 0x4200A425: push eax */
    953     ecx = esi; /* 0x4200A426: mov ecx, esi */
    954     RECOMP_ICALL(0x4200CD70u); /* 0x4200A428: call 0x4200cd70 */ /* not lifted */
    955     RECOMP_FLAGS_IN();
    956     goto L_4200A450; /* 0x4200A42D: jmp 0x4200a450 */
    957 L_4200A42F:
    958     /* cmp eax, edi */ /* 0x4200A42F: cmp eax, edi */
    959     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    960     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    961     _flag_k = FK_CMP;
    962     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200A450; /* 0x4200A431: je 0x4200a450 */
    963 L_4200A433:
    964     ecx = ebp + (-0x4); /* 0x4200A433: lea ecx, [ebp - 4] */
    965     ebx = eax; /* 0x4200A436: mov ebx, eax */
    966     RECOMP_ICALL(0x42009EE0u); /* 0x4200A438: call 0x42009ee0 */ /* not lifted */
    967     RECOMP_FLAGS_IN();
    968     PUSH32(esp, ebx); /* 0x4200A43D: push ebx */
    969     ecx = ebp + (-0x8); /* 0x4200A43E: lea ecx, [ebp - 8] */
    970     PUSH32(esp, ecx); /* 0x4200A441: push ecx */
    971     ecx = esi; /* 0x4200A442: mov ecx, esi */
    972     RECOMP_ICALL(0x420099F0u); /* 0x4200A444: call 0x420099f0 */ /* not lifted */
    973     RECOMP_FLAGS_IN();
    974     eax = MEM32(ebp + (-0x4)); /* 0x4200A449: mov eax, dword ptr [ebp - 4] */
    975     /* cmp eax, edi */ /* 0x4200A44C: cmp eax, edi */
    976     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    977     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    978     _flag_k = FK_CMP;
    979     RECOMP_BACKEDGE();
    980     if (CMP_NE(_flag_a, _flag_b)) goto L_4200A433; /* 0x4200A44E: jne 0x4200a433 */
    981 L_4200A450:
    982     edx = MEM32(esi + 0x4); /* 0x4200A450: mov edx, dword ptr [esi + 4] */
    983     PUSH32(esp, edx); /* 0x4200A453: push edx */
    984     RECOMP_ICALL(0x42016DD0u); /* 0x4200A454: call 0x42016dd0 */ /* not lifted */
    985     RECOMP_FLAGS_IN();
    986     eax = MEM32(esi + 0x8); /* 0x4200A459: mov eax, dword ptr [esi + 8] */
    987     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    988     edi = 0; /* 0x4200A45C: xor edi, edi */
    989     _cf = 0;
    990     _flag_k = FK_TEST;
    991     PUSH32(esp, eax); /* 0x4200A45E: push eax */
    992     MEM32(esi + 0x4) = edi; /* 0x4200A45F: mov dword ptr [esi + 4], edi */
    993     MEM32(esi + 0x10) = edi; /* 0x4200A462: mov dword ptr [esi + 0x10], edi */
    994     RECOMP_ICALL(0x42016DD0u); /* 0x4200A465: call 0x42016dd0 */ /* not lifted */
    995     RECOMP_FLAGS_IN();
    996     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    997     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    998     esp = esp + 8; /* 0x4200A46A: add esp, 8 */
    999     _flag_k = FK_ADD;
   1000     MEM32(esi + 0x8) = edi; /* 0x4200A46D: mov dword ptr [esi + 8], edi */
   1001     edi = POP32_VAL(esp); /* 0x4200A470: pop edi */
   1002     esi = POP32_VAL(esp); /* 0x4200A471: pop esi */
   1003     ebx = POP32_VAL(esp); /* 0x4200A472: pop ebx */
   1004     esp = ebp; /* 0x4200A473: mov esp, ebp */
   1005     ebp = POP32_VAL(esp); /* 0x4200A475: pop ebp */
   1006     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A476: ret  */
   1007 L_42017438:
   1008     ecx = MEM32(ebp + (-0x14)); /* 0x42017438: mov ecx, dword ptr [ebp - 0x14] */
   1009     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x28u);
   1010     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1011     ecx = ecx + 0x28u; /* 0x4201743B: add ecx, 0x28 */
   1012     _flag_k = FK_ADD;
   1013     RECOMP_BACKEDGE();
   1014     goto L_4200A3B0; /* 0x4201743E: jmp 0x4200a3b0 */
   1015     { RECOMP_REGS_OUT(); return; } /* end of function */
   1016     RECOMP_REGS_OUT();
   1017 }
   1018 
   1019 void sub_42017443(void) {
   1020     int _fpu_cmp = 0;
   1021     uint32_t _cf = 0;
   1022     int _df = 1;
   1023     uint32_t _flag_k = FK_NONE;
   1024     uint32_t _flag_a = 0, _flag_b = 0;
   1025     uint32_t _itail_tgt = 0;
   1026     RECOMP_REGS_LOCALS
   1027     RECOMP_ENTER(0x42017443u);
   1028 
   1029     goto L_42017443;
   1030 L_420037E0:
   1031     PUSH32(esp, ebx); /* 0x420037E0: push ebx */
   1032     PUSH32(esp, esi); /* 0x420037E1: push esi */
   1033     PUSH32(esp, edi); /* 0x420037E2: push edi */
   1034     edi = ecx; /* 0x420037E3: mov edi, ecx */
   1035     ebx = MEM32(edi + 0x4); /* 0x420037E5: mov ebx, dword ptr [edi + 4] */
   1036     esi = MEM32(ebx); /* 0x420037E8: mov esi, dword ptr [ebx] */
   1037     /* cmp esi, ebx */ /* 0x420037EA: cmp esi, ebx */
   1038     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1039     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1040     _flag_k = FK_CMP;
   1041     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003815; /* 0x420037EC: je 0x42003815 */
   1042 L_420037EE:
   1043     eax = esi; /* 0x420037EE: mov eax, esi */
   1044     ecx = MEM32(eax + 0x4); /* 0x420037F0: mov ecx, dword ptr [eax + 4] */
   1045     edx = MEM32(eax); /* 0x420037F3: mov edx, dword ptr [eax] */
   1046     esi = MEM32(esi); /* 0x420037F5: mov esi, dword ptr [esi] */
   1047     MEM32(ecx) = edx; /* 0x420037F7: mov dword ptr [ecx], edx */
   1048     ecx = MEM32(eax); /* 0x420037F9: mov ecx, dword ptr [eax] */
   1049     edx = MEM32(eax + 0x4); /* 0x420037FB: mov edx, dword ptr [eax + 4] */
   1050     PUSH32(esp, eax); /* 0x420037FE: push eax */
   1051     MEM32(ecx + 0x4) = edx; /* 0x420037FF: mov dword ptr [ecx + 4], edx */
   1052     RECOMP_ICALL(0x42016DD0u); /* 0x42003802: call 0x42016dd0 */ /* not lifted */
   1053     RECOMP_FLAGS_IN();
   1054     ecx = MEM32(edi + 0x8); /* 0x42003807: mov ecx, dword ptr [edi + 8] */
   1055     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1056     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1057     esp = esp + 4; /* 0x4200380A: add esp, 4 */
   1058     _flag_k = FK_ADD;
   1059     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1060     ecx = ecx - 1; /* 0x4200380D: dec ecx */
   1061     _flag_k = FK_DEC;
   1062     /* cmp esi, ebx */ /* 0x4200380E: cmp esi, ebx */
   1063     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1064     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1065     _flag_k = FK_CMP;
   1066     MEM32(edi + 0x8) = ecx; /* 0x42003810: mov dword ptr [edi + 8], ecx */
   1067     RECOMP_BACKEDGE();
   1068     if (CMP_NE(_flag_a, _flag_b)) goto L_420037EE; /* 0x42003813: jne 0x420037ee */
   1069 L_42003815:
   1070     eax = MEM32(edi + 0x4); /* 0x42003815: mov eax, dword ptr [edi + 4] */
   1071     PUSH32(esp, eax); /* 0x42003818: push eax */
   1072     RECOMP_ICALL(0x42016DD0u); /* 0x42003819: call 0x42016dd0 */ /* not lifted */
   1073     RECOMP_FLAGS_IN();
   1074     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1075     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1076     esp = esp + 4; /* 0x4200381E: add esp, 4 */
   1077     _flag_k = FK_ADD;
   1078     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1079     eax = 0; /* 0x42003821: xor eax, eax */
   1080     _cf = 0;
   1081     _flag_k = FK_TEST;
   1082     MEM32(edi + 0x4) = eax; /* 0x42003823: mov dword ptr [edi + 4], eax */
   1083     MEM32(edi + 0x8) = eax; /* 0x42003826: mov dword ptr [edi + 8], eax */
   1084     edi = POP32_VAL(esp); /* 0x42003829: pop edi */
   1085     esi = POP32_VAL(esp); /* 0x4200382A: pop esi */
   1086     ebx = POP32_VAL(esp); /* 0x4200382B: pop ebx */
   1087     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200382C: ret  */
   1088 L_42017443:
   1089     ecx = MEM32(ebp + (-0x14)); /* 0x42017443: mov ecx, dword ptr [ebp - 0x14] */
   1090     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u);
   1091     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1092     ecx = ecx + 0x44u; /* 0x42017446: add ecx, 0x44 */
   1093     _flag_k = FK_ADD;
   1094     RECOMP_BACKEDGE();
   1095     goto L_420037E0; /* 0x42017449: jmp 0x420037e0 */
   1096     { RECOMP_REGS_OUT(); return; } /* end of function */
   1097     RECOMP_REGS_OUT();
   1098 }
   1099 
   1100 void sub_4201744E(void) {
   1101     int _fpu_cmp = 0;
   1102     uint32_t _cf = 0;
   1103     int _df = 1;
   1104     uint32_t _flag_k = FK_NONE;
   1105     uint32_t _flag_a = 0, _flag_b = 0;
   1106     uint32_t _itail_tgt = 0;
   1107     RECOMP_REGS_LOCALS
   1108     RECOMP_ENTER(0x4201744Eu);
   1109 
   1110     goto L_4201744E;
   1111 L_42016F30:
   1112     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1113 L_4201744E:
   1114     eax = 0x42019750u; /* 0x4201744E: mov eax, 0x42019750 */
   1115 L_42017453:
   1116     RECOMP_BACKEDGE();
   1117     goto L_42016F30; /* 0x42017453: jmp 0x42016f30 */
   1118     { RECOMP_REGS_OUT(); return; } /* end of function */
   1119   _ljump:
   1120     switch (_itail_tgt) {
   1121       case 0x42016F30u: goto L_42016F30;
   1122       case 0x4201744Eu: goto L_4201744E;
   1123       case 0x42017453u: goto L_42017453;
   1124       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1125     }
   1126     RECOMP_REGS_OUT();
   1127 }
   1128 
   1129 void sub_42017460(void) {
   1130     int _fpu_cmp = 0;
   1131     uint32_t _cf = 0;
   1132     int _df = 1;
   1133     uint32_t _flag_k = FK_NONE;
   1134     uint32_t _flag_a = 0, _flag_b = 0;
   1135     uint32_t _itail_tgt = 0;
   1136     RECOMP_REGS_LOCALS
   1137     RECOMP_ENTER(0x42017460u);
   1138 
   1139     goto L_42017460;
   1140 L_4200A0C0:
   1141     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   1142     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   1143     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   1144     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   1145     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   1146     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   1147     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   1148     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   1149     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   1150     RECOMP_FLAGS_IN();
   1151     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1152     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1153     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   1154     _flag_k = FK_ADD;
   1155     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1156     eax = 0; /* 0x4200A0D6: xor eax, eax */
   1157     _cf = 0;
   1158     _flag_k = FK_TEST;
   1159     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   1160     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   1161     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   1162     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   1163     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   1164     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   1165     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   1166 L_42017460:
   1167     ecx = ebp + 0x10; /* 0x42017460: lea ecx, [ebp + 0x10] */
   1168     RECOMP_BACKEDGE();
   1169     goto L_4200A0C0; /* 0x42017463: jmp 0x4200a0c0 */
   1170     { RECOMP_REGS_OUT(); return; } /* end of function */
   1171     RECOMP_REGS_OUT();
   1172 }
   1173 
   1174 void sub_42017468(void) {
   1175     int _fpu_cmp = 0;
   1176     uint32_t _cf = 0;
   1177     int _df = 1;
   1178     uint32_t _flag_k = FK_NONE;
   1179     uint32_t _flag_a = 0, _flag_b = 0;
   1180     uint32_t _itail_tgt = 0;
   1181     RECOMP_REGS_LOCALS
   1182     RECOMP_ENTER(0x42017468u);
   1183 
   1184     goto L_42017468;
   1185 L_4200A0C0:
   1186     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   1187     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   1188     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   1189     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   1190     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   1191     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   1192     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   1193     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   1194     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   1195     RECOMP_FLAGS_IN();
   1196     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1197     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1198     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   1199     _flag_k = FK_ADD;
   1200     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1201     eax = 0; /* 0x4200A0D6: xor eax, eax */
   1202     _cf = 0;
   1203     _flag_k = FK_TEST;
   1204     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   1205     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   1206     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   1207     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   1208     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   1209     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   1210     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   1211 L_42017468:
   1212     ecx = ebp + (-0x58); /* 0x42017468: lea ecx, [ebp - 0x58] */
   1213     RECOMP_BACKEDGE();
   1214     goto L_4200A0C0; /* 0x4201746B: jmp 0x4200a0c0 */
   1215     { RECOMP_REGS_OUT(); return; } /* end of function */
   1216     RECOMP_REGS_OUT();
   1217 }
   1218 
   1219 void sub_42017470(void) {
   1220     int _fpu_cmp = 0;
   1221     uint32_t _cf = 0;
   1222     int _df = 1;
   1223     uint32_t _flag_k = FK_NONE;
   1224     uint32_t _flag_a = 0, _flag_b = 0;
   1225     uint32_t _itail_tgt = 0;
   1226     RECOMP_REGS_LOCALS
   1227     RECOMP_ENTER(0x42017470u);
   1228 
   1229     goto L_42017470;
   1230 L_4200A0C0:
   1231     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   1232     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   1233     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   1234     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   1235     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   1236     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   1237     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   1238     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   1239     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   1240     RECOMP_FLAGS_IN();
   1241     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1242     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1243     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   1244     _flag_k = FK_ADD;
   1245     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1246     eax = 0; /* 0x4200A0D6: xor eax, eax */
   1247     _cf = 0;
   1248     _flag_k = FK_TEST;
   1249     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   1250     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   1251     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   1252     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   1253     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   1254     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   1255     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   1256 L_42017470:
   1257     ecx = ebp + (-0x48); /* 0x42017470: lea ecx, [ebp - 0x48] */
   1258     RECOMP_BACKEDGE();
   1259     goto L_4200A0C0; /* 0x42017473: jmp 0x4200a0c0 */
   1260     { RECOMP_REGS_OUT(); return; } /* end of function */
   1261     RECOMP_REGS_OUT();
   1262 }
   1263 
   1264 void sub_42017478(void) {
   1265     int _fpu_cmp = 0;
   1266     uint32_t _cf = 0;
   1267     int _df = 1;
   1268     uint32_t _flag_k = FK_NONE;
   1269     uint32_t _flag_a = 0, _flag_b = 0;
   1270     uint32_t _itail_tgt = 0;
   1271     RECOMP_REGS_LOCALS
   1272     RECOMP_ENTER(0x42017478u);
   1273 
   1274     goto L_42017478;
   1275 L_4200AB30:
   1276     PUSH32(esp, ebp); /* 0x4200AB30: push ebp */
   1277     ebp = esp; /* 0x4200AB31: mov ebp, esp */
   1278     PUSH32(esp, ecx); /* 0x4200AB33: push ecx */
   1279     PUSH32(esp, esi); /* 0x4200AB34: push esi */
   1280     esi = ecx; /* 0x4200AB35: mov esi, ecx */
   1281     eax = MEM32(esi + 0x38); /* 0x4200AB37: mov eax, dword ptr [esi + 0x38] */
   1282     PUSH32(esp, edi); /* 0x4200AB3A: push edi */
   1283     PUSH32(esp, eax); /* 0x4200AB3B: push eax */
   1284     MEM32(ebp + (-0x4)) = eax; /* 0x4200AB3C: mov dword ptr [ebp - 4], eax */
   1285     RECOMP_ICALL(0x42016DD0u); /* 0x4200AB3F: call 0x42016dd0 */ /* not lifted */
   1286     RECOMP_FLAGS_IN();
   1287     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1288     edi = 0; /* 0x4200AB44: xor edi, edi */
   1289     _cf = 0;
   1290     _flag_k = FK_TEST;
   1291     MEM32(esi + 0x38) = edi; /* 0x4200AB46: mov dword ptr [esi + 0x38], edi */
   1292     MEM32(esi + 0x3C) = edi; /* 0x4200AB49: mov dword ptr [esi + 0x3c], edi */
   1293     MEM32(esi + 0x40) = edi; /* 0x4200AB4C: mov dword ptr [esi + 0x40], edi */
   1294     eax = MEM32(esi + 0x28); /* 0x4200AB4F: mov eax, dword ptr [esi + 0x28] */
   1295     PUSH32(esp, eax); /* 0x4200AB52: push eax */
   1296     MEM32(ebp + (-0x4)) = eax; /* 0x4200AB53: mov dword ptr [ebp - 4], eax */
   1297     RECOMP_ICALL(0x42016DD0u); /* 0x4200AB56: call 0x42016dd0 */ /* not lifted */
   1298     RECOMP_FLAGS_IN();
   1299     MEM32(esi + 0x28) = edi; /* 0x4200AB5B: mov dword ptr [esi + 0x28], edi */
   1300     MEM32(esi + 0x2C) = edi; /* 0x4200AB5E: mov dword ptr [esi + 0x2c], edi */
   1301     MEM32(esi + 0x30) = edi; /* 0x4200AB61: mov dword ptr [esi + 0x30], edi */
   1302     eax = MEM32(esi + 0x18); /* 0x4200AB64: mov eax, dword ptr [esi + 0x18] */
   1303     PUSH32(esp, eax); /* 0x4200AB67: push eax */
   1304     MEM32(ebp + (-0x4)) = eax; /* 0x4200AB68: mov dword ptr [ebp - 4], eax */
   1305     RECOMP_ICALL(0x42016DD0u); /* 0x4200AB6B: call 0x42016dd0 */ /* not lifted */
   1306     RECOMP_FLAGS_IN();
   1307     MEM32(esi + 0x18) = edi; /* 0x4200AB70: mov dword ptr [esi + 0x18], edi */
   1308     MEM32(esi + 0x1C) = edi; /* 0x4200AB73: mov dword ptr [esi + 0x1c], edi */
   1309     MEM32(esi + 0x20) = edi; /* 0x4200AB76: mov dword ptr [esi + 0x20], edi */
   1310     eax = MEM32(esi + 0x8); /* 0x4200AB79: mov eax, dword ptr [esi + 8] */
   1311     PUSH32(esp, eax); /* 0x4200AB7C: push eax */
   1312     MEM32(ebp + (-0x4)) = eax; /* 0x4200AB7D: mov dword ptr [ebp - 4], eax */
   1313     RECOMP_ICALL(0x42016DD0u); /* 0x4200AB80: call 0x42016dd0 */ /* not lifted */
   1314     RECOMP_FLAGS_IN();
   1315     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1316     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1317     esp = esp + 0x10u; /* 0x4200AB85: add esp, 0x10 */
   1318     _flag_k = FK_ADD;
   1319     MEM32(esi + 0x8) = edi; /* 0x4200AB88: mov dword ptr [esi + 8], edi */
   1320     MEM32(esi + 0xC) = edi; /* 0x4200AB8B: mov dword ptr [esi + 0xc], edi */
   1321     MEM32(esi + 0x10) = edi; /* 0x4200AB8E: mov dword ptr [esi + 0x10], edi */
   1322     edi = POP32_VAL(esp); /* 0x4200AB91: pop edi */
   1323     esi = POP32_VAL(esp); /* 0x4200AB92: pop esi */
   1324     esp = ebp; /* 0x4200AB93: mov esp, ebp */
   1325     ebp = POP32_VAL(esp); /* 0x4200AB95: pop ebp */
   1326     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200AB96: ret  */
   1327 L_42017478:
   1328     ecx = ebp + (-0x5C); /* 0x42017478: lea ecx, [ebp - 0x5c] */
   1329     RECOMP_BACKEDGE();
   1330     goto L_4200AB30; /* 0x4201747B: jmp 0x4200ab30 */
   1331     { RECOMP_REGS_OUT(); return; } /* end of function */
   1332     RECOMP_REGS_OUT();
   1333 }
   1334 
   1335 void sub_42017480(void) {
   1336     int _fpu_cmp = 0;
   1337     uint32_t _cf = 0;
   1338     int _df = 1;
   1339     uint32_t _flag_k = FK_NONE;
   1340     uint32_t _flag_a = 0, _flag_b = 0;
   1341     uint32_t _itail_tgt = 0;
   1342     RECOMP_REGS_LOCALS
   1343     RECOMP_ENTER(0x42017480u);
   1344 
   1345     goto L_42017480;
   1346 L_4200A0F0:
   1347     PUSH32(esp, ebp); /* 0x4200A0F0: push ebp */
   1348     ebp = esp; /* 0x4200A0F1: mov ebp, esp */
   1349     PUSH32(esp, ecx); /* 0x4200A0F3: push ecx */
   1350     PUSH32(esp, esi); /* 0x4200A0F4: push esi */
   1351     esi = ecx; /* 0x4200A0F5: mov esi, ecx */
   1352     eax = MEM32(esi + 0x3C); /* 0x4200A0F7: mov eax, dword ptr [esi + 0x3c] */
   1353     PUSH32(esp, edi); /* 0x4200A0FA: push edi */
   1354     PUSH32(esp, eax); /* 0x4200A0FB: push eax */
   1355     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0FC: mov dword ptr [ebp - 4], eax */
   1356     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0FF: call 0x42016dd0 */ /* not lifted */
   1357     RECOMP_FLAGS_IN();
   1358     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1359     edi = 0; /* 0x4200A104: xor edi, edi */
   1360     _cf = 0;
   1361     _flag_k = FK_TEST;
   1362     MEM32(esi + 0x3C) = edi; /* 0x4200A106: mov dword ptr [esi + 0x3c], edi */
   1363     MEM32(esi + 0x40) = edi; /* 0x4200A109: mov dword ptr [esi + 0x40], edi */
   1364     MEM32(esi + 0x44) = edi; /* 0x4200A10C: mov dword ptr [esi + 0x44], edi */
   1365     eax = MEM32(esi + 0x2C); /* 0x4200A10F: mov eax, dword ptr [esi + 0x2c] */
   1366     PUSH32(esp, eax); /* 0x4200A112: push eax */
   1367     MEM32(ebp + (-0x4)) = eax; /* 0x4200A113: mov dword ptr [ebp - 4], eax */
   1368     RECOMP_ICALL(0x42016DD0u); /* 0x4200A116: call 0x42016dd0 */ /* not lifted */
   1369     RECOMP_FLAGS_IN();
   1370     MEM32(esi + 0x2C) = edi; /* 0x4200A11B: mov dword ptr [esi + 0x2c], edi */
   1371     MEM32(esi + 0x30) = edi; /* 0x4200A11E: mov dword ptr [esi + 0x30], edi */
   1372     MEM32(esi + 0x34) = edi; /* 0x4200A121: mov dword ptr [esi + 0x34], edi */
   1373     eax = MEM32(esi + 0x1C); /* 0x4200A124: mov eax, dword ptr [esi + 0x1c] */
   1374     PUSH32(esp, eax); /* 0x4200A127: push eax */
   1375     MEM32(ebp + (-0x4)) = eax; /* 0x4200A128: mov dword ptr [ebp - 4], eax */
   1376     RECOMP_ICALL(0x42016DD0u); /* 0x4200A12B: call 0x42016dd0 */ /* not lifted */
   1377     RECOMP_FLAGS_IN();
   1378     MEM32(esi + 0x1C) = edi; /* 0x4200A130: mov dword ptr [esi + 0x1c], edi */
   1379     MEM32(esi + 0x20) = edi; /* 0x4200A133: mov dword ptr [esi + 0x20], edi */
   1380     MEM32(esi + 0x24) = edi; /* 0x4200A136: mov dword ptr [esi + 0x24], edi */
   1381     eax = MEM32(esi + 0xC); /* 0x4200A139: mov eax, dword ptr [esi + 0xc] */
   1382     PUSH32(esp, eax); /* 0x4200A13C: push eax */
   1383     MEM32(ebp + (-0x4)) = eax; /* 0x4200A13D: mov dword ptr [ebp - 4], eax */
   1384     RECOMP_ICALL(0x42016DD0u); /* 0x4200A140: call 0x42016dd0 */ /* not lifted */
   1385     RECOMP_FLAGS_IN();
   1386     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1387     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1388     esp = esp + 0x10u; /* 0x4200A145: add esp, 0x10 */
   1389     _flag_k = FK_ADD;
   1390     MEM32(esi + 0xC) = edi; /* 0x4200A148: mov dword ptr [esi + 0xc], edi */
   1391     MEM32(esi + 0x10) = edi; /* 0x4200A14B: mov dword ptr [esi + 0x10], edi */
   1392     MEM32(esi + 0x14) = edi; /* 0x4200A14E: mov dword ptr [esi + 0x14], edi */
   1393     edi = POP32_VAL(esp); /* 0x4200A151: pop edi */
   1394     esi = POP32_VAL(esp); /* 0x4200A152: pop esi */
   1395     esp = ebp; /* 0x4200A153: mov esp, ebp */
   1396     ebp = POP32_VAL(esp); /* 0x4200A155: pop ebp */
   1397     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A156: ret  */
   1398 L_42017480:
   1399     ecx = ebp + (-0xB4); /* 0x42017480: lea ecx, [ebp - 0xb4] */
   1400     RECOMP_BACKEDGE();
   1401     goto L_4200A0F0; /* 0x42017486: jmp 0x4200a0f0 */
   1402     { RECOMP_REGS_OUT(); return; } /* end of function */
   1403     RECOMP_REGS_OUT();
   1404 }
   1405 
   1406 void sub_4201748B(void) {
   1407     int _fpu_cmp = 0;
   1408     uint32_t _cf = 0;
   1409     int _df = 1;
   1410     uint32_t _flag_k = FK_NONE;
   1411     uint32_t _flag_a = 0, _flag_b = 0;
   1412     uint32_t _itail_tgt = 0;
   1413     RECOMP_REGS_LOCALS
   1414     RECOMP_ENTER(0x4201748Bu);
   1415 
   1416     goto L_4201748B;
   1417 L_42016F30:
   1418     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1419 L_4201748B:
   1420     eax = 0x42019788u; /* 0x4201748B: mov eax, 0x42019788 */
   1421 L_42017490:
   1422     RECOMP_BACKEDGE();
   1423     goto L_42016F30; /* 0x42017490: jmp 0x42016f30 */
   1424     { RECOMP_REGS_OUT(); return; } /* end of function */
   1425   _ljump:
   1426     switch (_itail_tgt) {
   1427       case 0x42016F30u: goto L_42016F30;
   1428       case 0x4201748Bu: goto L_4201748B;
   1429       case 0x42017490u: goto L_42017490;
   1430       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1431     }
   1432     RECOMP_REGS_OUT();
   1433 }
   1434 
   1435 void sub_420174A0(void) {
   1436     int _fpu_cmp = 0;
   1437     uint32_t _cf = 0;
   1438     int _df = 1;
   1439     uint32_t _flag_k = FK_NONE;
   1440     uint32_t _flag_a = 0, _flag_b = 0;
   1441     uint32_t _itail_tgt = 0;
   1442     RECOMP_REGS_LOCALS
   1443     RECOMP_ENTER(0x420174A0u);
   1444 
   1445 L_420174A0:
   1446     eax = MEM32(ebp + (-0x68)); /* 0x420174A0: mov eax, dword ptr [ebp - 0x68] */
   1447     PUSH32(esp, eax); /* 0x420174A3: push eax */
   1448     RECOMP_ICALL(0x42016DD0u); /* 0x420174A4: call 0x42016dd0 */ /* not lifted */
   1449     RECOMP_FLAGS_IN();
   1450     ecx = POP32_VAL(esp); /* 0x420174A9: pop ecx */
   1451     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420174AA: ret  */
   1452     RECOMP_REGS_OUT();
   1453 }
   1454 
   1455 void sub_420174AB(void) {
   1456     int _fpu_cmp = 0;
   1457     uint32_t _cf = 0;
   1458     int _df = 1;
   1459     uint32_t _flag_k = FK_NONE;
   1460     uint32_t _flag_a = 0, _flag_b = 0;
   1461     uint32_t _itail_tgt = 0;
   1462     RECOMP_REGS_LOCALS
   1463     RECOMP_ENTER(0x420174ABu);
   1464 
   1465 L_420174AB:
   1466     eax = MEM32(ebp + (-0x94)); /* 0x420174AB: mov eax, dword ptr [ebp - 0x94] */
   1467     PUSH32(esp, eax); /* 0x420174B1: push eax */
   1468     RECOMP_ICALL(0x42016DD0u); /* 0x420174B2: call 0x42016dd0 */ /* not lifted */
   1469     RECOMP_FLAGS_IN();
   1470     ecx = POP32_VAL(esp); /* 0x420174B7: pop ecx */
   1471     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420174B8: ret  */
   1472     RECOMP_REGS_OUT();
   1473 }
   1474 
   1475 void sub_420174B9(void) {
   1476     int _fpu_cmp = 0;
   1477     uint32_t _cf = 0;
   1478     int _df = 1;
   1479     uint32_t _flag_k = FK_NONE;
   1480     uint32_t _flag_a = 0, _flag_b = 0;
   1481     uint32_t _itail_tgt = 0;
   1482     RECOMP_REGS_LOCALS
   1483     RECOMP_ENTER(0x420174B9u);
   1484 
   1485     goto L_420174B9;
   1486 L_42016F30:
   1487     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1488 L_420174B9:
   1489     eax = 0x420197D0u; /* 0x420174B9: mov eax, 0x420197d0 */
   1490 L_420174BE:
   1491     RECOMP_BACKEDGE();
   1492     goto L_42016F30; /* 0x420174BE: jmp 0x42016f30 */
   1493     { RECOMP_REGS_OUT(); return; } /* end of function */
   1494   _ljump:
   1495     switch (_itail_tgt) {
   1496       case 0x42016F30u: goto L_42016F30;
   1497       case 0x420174B9u: goto L_420174B9;
   1498       case 0x420174BEu: goto L_420174BE;
   1499       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1500     }
   1501     RECOMP_REGS_OUT();
   1502 }
   1503 
   1504 void sub_420174D0(void) {
   1505     int _fpu_cmp = 0;
   1506     uint32_t _cf = 0;
   1507     int _df = 1;
   1508     uint32_t _flag_k = FK_NONE;
   1509     uint32_t _flag_a = 0, _flag_b = 0;
   1510     uint32_t _itail_tgt = 0;
   1511     RECOMP_REGS_LOCALS
   1512     RECOMP_ENTER(0x420174D0u);
   1513 
   1514     goto L_420174D0;
   1515 L_42004390:
   1516     PUSH32(esp, esi); /* 0x42004390: push esi */
   1517     esi = ecx; /* 0x42004391: mov esi, ecx */
   1518     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   1519     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   1520     RECOMP_FLAGS_IN();
   1521     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   1522     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   1523     RECOMP_FLAGS_IN();
   1524     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   1525     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   1526 L_420174D0:
   1527     ecx = ebp + (-0x24); /* 0x420174D0: lea ecx, [ebp - 0x24] */
   1528     RECOMP_BACKEDGE();
   1529     goto L_42004390; /* 0x420174D3: jmp 0x42004390 */
   1530     { RECOMP_REGS_OUT(); return; } /* end of function */
   1531     RECOMP_REGS_OUT();
   1532 }
   1533 
   1534 void sub_420174D8(void) {
   1535     int _fpu_cmp = 0;
   1536     uint32_t _cf = 0;
   1537     int _df = 1;
   1538     uint32_t _flag_k = FK_NONE;
   1539     uint32_t _flag_a = 0, _flag_b = 0;
   1540     uint32_t _itail_tgt = 0;
   1541     RECOMP_REGS_LOCALS
   1542     RECOMP_ENTER(0x420174D8u);
   1543 
   1544     goto L_420174D8;
   1545 L_42016F30:
   1546     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1547 L_420174D8:
   1548     eax = 0x42019800u; /* 0x420174D8: mov eax, 0x42019800 */
   1549 L_420174DD:
   1550     RECOMP_BACKEDGE();
   1551     goto L_42016F30; /* 0x420174DD: jmp 0x42016f30 */
   1552     { RECOMP_REGS_OUT(); return; } /* end of function */
   1553   _ljump:
   1554     switch (_itail_tgt) {
   1555       case 0x42016F30u: goto L_42016F30;
   1556       case 0x420174D8u: goto L_420174D8;
   1557       case 0x420174DDu: goto L_420174DD;
   1558       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1559     }
   1560     RECOMP_REGS_OUT();
   1561 }
   1562 
   1563 void sub_420174F0(void) {
   1564     int _fpu_cmp = 0;
   1565     uint32_t _cf = 0;
   1566     int _df = 1;
   1567     uint32_t _flag_k = FK_NONE;
   1568     uint32_t _flag_a = 0, _flag_b = 0;
   1569     uint32_t _itail_tgt = 0;
   1570     RECOMP_REGS_LOCALS
   1571     RECOMP_ENTER(0x420174F0u);
   1572 
   1573     goto L_420174F0;
   1574 L_42004390:
   1575     PUSH32(esp, esi); /* 0x42004390: push esi */
   1576     esi = ecx; /* 0x42004391: mov esi, ecx */
   1577     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   1578     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   1579     RECOMP_FLAGS_IN();
   1580     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   1581     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   1582     RECOMP_FLAGS_IN();
   1583     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   1584     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   1585 L_420174F0:
   1586     ecx = ebp + (-0x10); /* 0x420174F0: lea ecx, [ebp - 0x10] */
   1587     RECOMP_BACKEDGE();
   1588     goto L_42004390; /* 0x420174F3: jmp 0x42004390 */
   1589     { RECOMP_REGS_OUT(); return; } /* end of function */
   1590     RECOMP_REGS_OUT();
   1591 }
   1592 
   1593 void sub_420174F8(void) {
   1594     int _fpu_cmp = 0;
   1595     uint32_t _cf = 0;
   1596     int _df = 1;
   1597     uint32_t _flag_k = FK_NONE;
   1598     uint32_t _flag_a = 0, _flag_b = 0;
   1599     uint32_t _itail_tgt = 0;
   1600     RECOMP_REGS_LOCALS
   1601     RECOMP_ENTER(0x420174F8u);
   1602 
   1603     goto L_420174F8;
   1604 L_42016F30:
   1605     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1606 L_420174F8:
   1607     eax = 0x42019828u; /* 0x420174F8: mov eax, 0x42019828 */
   1608 L_420174FD:
   1609     RECOMP_BACKEDGE();
   1610     goto L_42016F30; /* 0x420174FD: jmp 0x42016f30 */
   1611     { RECOMP_REGS_OUT(); return; } /* end of function */
   1612   _ljump:
   1613     switch (_itail_tgt) {
   1614       case 0x42016F30u: goto L_42016F30;
   1615       case 0x420174F8u: goto L_420174F8;
   1616       case 0x420174FDu: goto L_420174FD;
   1617       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1618     }
   1619     RECOMP_REGS_OUT();
   1620 }
   1621 
   1622 void sub_42017510(void) {
   1623     int _fpu_cmp = 0;
   1624     uint32_t _cf = 0;
   1625     int _df = 1;
   1626     uint32_t _flag_k = FK_NONE;
   1627     uint32_t _flag_a = 0, _flag_b = 0;
   1628     uint32_t _itail_tgt = 0;
   1629     RECOMP_REGS_LOCALS
   1630     RECOMP_ENTER(0x42017510u);
   1631 
   1632     goto L_42017510;
   1633 L_42004390:
   1634     PUSH32(esp, esi); /* 0x42004390: push esi */
   1635     esi = ecx; /* 0x42004391: mov esi, ecx */
   1636     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   1637     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   1638     RECOMP_FLAGS_IN();
   1639     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   1640     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   1641     RECOMP_FLAGS_IN();
   1642     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   1643     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   1644 L_42017510:
   1645     ecx = ebp + (-0x10); /* 0x42017510: lea ecx, [ebp - 0x10] */
   1646     RECOMP_BACKEDGE();
   1647     goto L_42004390; /* 0x42017513: jmp 0x42004390 */
   1648     { RECOMP_REGS_OUT(); return; } /* end of function */
   1649     RECOMP_REGS_OUT();
   1650 }
   1651 
   1652 void sub_42017518(void) {
   1653     int _fpu_cmp = 0;
   1654     uint32_t _cf = 0;
   1655     int _df = 1;
   1656     uint32_t _flag_k = FK_NONE;
   1657     uint32_t _flag_a = 0, _flag_b = 0;
   1658     uint32_t _itail_tgt = 0;
   1659     RECOMP_REGS_LOCALS
   1660     RECOMP_ENTER(0x42017518u);
   1661 
   1662     goto L_42017518;
   1663 L_42016F30:
   1664     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1665 L_42017518:
   1666     eax = 0x42019850u; /* 0x42017518: mov eax, 0x42019850 */
   1667 L_4201751D:
   1668     RECOMP_BACKEDGE();
   1669     goto L_42016F30; /* 0x4201751D: jmp 0x42016f30 */
   1670     { RECOMP_REGS_OUT(); return; } /* end of function */
   1671   _ljump:
   1672     switch (_itail_tgt) {
   1673       case 0x42016F30u: goto L_42016F30;
   1674       case 0x42017518u: goto L_42017518;
   1675       case 0x4201751Du: goto L_4201751D;
   1676       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1677     }
   1678     RECOMP_REGS_OUT();
   1679 }
   1680 
   1681 void sub_42017530(void) {
   1682     int _fpu_cmp = 0;
   1683     uint32_t _cf = 0;
   1684     int _df = 1;
   1685     uint32_t _flag_k = FK_NONE;
   1686     uint32_t _flag_a = 0, _flag_b = 0;
   1687     uint32_t _itail_tgt = 0;
   1688     RECOMP_REGS_LOCALS
   1689     RECOMP_ENTER(0x42017530u);
   1690 
   1691     goto L_42017530;
   1692 L_4200A0F0:
   1693     PUSH32(esp, ebp); /* 0x4200A0F0: push ebp */
   1694     ebp = esp; /* 0x4200A0F1: mov ebp, esp */
   1695     PUSH32(esp, ecx); /* 0x4200A0F3: push ecx */
   1696     PUSH32(esp, esi); /* 0x4200A0F4: push esi */
   1697     esi = ecx; /* 0x4200A0F5: mov esi, ecx */
   1698     eax = MEM32(esi + 0x3C); /* 0x4200A0F7: mov eax, dword ptr [esi + 0x3c] */
   1699     PUSH32(esp, edi); /* 0x4200A0FA: push edi */
   1700     PUSH32(esp, eax); /* 0x4200A0FB: push eax */
   1701     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0FC: mov dword ptr [ebp - 4], eax */
   1702     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0FF: call 0x42016dd0 */ /* not lifted */
   1703     RECOMP_FLAGS_IN();
   1704     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1705     edi = 0; /* 0x4200A104: xor edi, edi */
   1706     _cf = 0;
   1707     _flag_k = FK_TEST;
   1708     MEM32(esi + 0x3C) = edi; /* 0x4200A106: mov dword ptr [esi + 0x3c], edi */
   1709     MEM32(esi + 0x40) = edi; /* 0x4200A109: mov dword ptr [esi + 0x40], edi */
   1710     MEM32(esi + 0x44) = edi; /* 0x4200A10C: mov dword ptr [esi + 0x44], edi */
   1711     eax = MEM32(esi + 0x2C); /* 0x4200A10F: mov eax, dword ptr [esi + 0x2c] */
   1712     PUSH32(esp, eax); /* 0x4200A112: push eax */
   1713     MEM32(ebp + (-0x4)) = eax; /* 0x4200A113: mov dword ptr [ebp - 4], eax */
   1714     RECOMP_ICALL(0x42016DD0u); /* 0x4200A116: call 0x42016dd0 */ /* not lifted */
   1715     RECOMP_FLAGS_IN();
   1716     MEM32(esi + 0x2C) = edi; /* 0x4200A11B: mov dword ptr [esi + 0x2c], edi */
   1717     MEM32(esi + 0x30) = edi; /* 0x4200A11E: mov dword ptr [esi + 0x30], edi */
   1718     MEM32(esi + 0x34) = edi; /* 0x4200A121: mov dword ptr [esi + 0x34], edi */
   1719     eax = MEM32(esi + 0x1C); /* 0x4200A124: mov eax, dword ptr [esi + 0x1c] */
   1720     PUSH32(esp, eax); /* 0x4200A127: push eax */
   1721     MEM32(ebp + (-0x4)) = eax; /* 0x4200A128: mov dword ptr [ebp - 4], eax */
   1722     RECOMP_ICALL(0x42016DD0u); /* 0x4200A12B: call 0x42016dd0 */ /* not lifted */
   1723     RECOMP_FLAGS_IN();
   1724     MEM32(esi + 0x1C) = edi; /* 0x4200A130: mov dword ptr [esi + 0x1c], edi */
   1725     MEM32(esi + 0x20) = edi; /* 0x4200A133: mov dword ptr [esi + 0x20], edi */
   1726     MEM32(esi + 0x24) = edi; /* 0x4200A136: mov dword ptr [esi + 0x24], edi */
   1727     eax = MEM32(esi + 0xC); /* 0x4200A139: mov eax, dword ptr [esi + 0xc] */
   1728     PUSH32(esp, eax); /* 0x4200A13C: push eax */
   1729     MEM32(ebp + (-0x4)) = eax; /* 0x4200A13D: mov dword ptr [ebp - 4], eax */
   1730     RECOMP_ICALL(0x42016DD0u); /* 0x4200A140: call 0x42016dd0 */ /* not lifted */
   1731     RECOMP_FLAGS_IN();
   1732     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1733     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1734     esp = esp + 0x10u; /* 0x4200A145: add esp, 0x10 */
   1735     _flag_k = FK_ADD;
   1736     MEM32(esi + 0xC) = edi; /* 0x4200A148: mov dword ptr [esi + 0xc], edi */
   1737     MEM32(esi + 0x10) = edi; /* 0x4200A14B: mov dword ptr [esi + 0x10], edi */
   1738     MEM32(esi + 0x14) = edi; /* 0x4200A14E: mov dword ptr [esi + 0x14], edi */
   1739     edi = POP32_VAL(esp); /* 0x4200A151: pop edi */
   1740     esi = POP32_VAL(esp); /* 0x4200A152: pop esi */
   1741     esp = ebp; /* 0x4200A153: mov esp, ebp */
   1742     ebp = POP32_VAL(esp); /* 0x4200A155: pop ebp */
   1743     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A156: ret  */
   1744 L_42017530:
   1745     ecx = ebp + (-0x7C); /* 0x42017530: lea ecx, [ebp - 0x7c] */
   1746     RECOMP_BACKEDGE();
   1747     goto L_4200A0F0; /* 0x42017533: jmp 0x4200a0f0 */
   1748     { RECOMP_REGS_OUT(); return; } /* end of function */
   1749     RECOMP_REGS_OUT();
   1750 }
   1751 
   1752 void sub_42017538(void) {
   1753     int _fpu_cmp = 0;
   1754     uint32_t _cf = 0;
   1755     int _df = 1;
   1756     uint32_t _flag_k = FK_NONE;
   1757     uint32_t _flag_a = 0, _flag_b = 0;
   1758     uint32_t _itail_tgt = 0;
   1759     RECOMP_REGS_LOCALS
   1760     RECOMP_ENTER(0x42017538u);
   1761 
   1762     goto L_42017538;
   1763 L_42016F30:
   1764     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1765 L_42017538:
   1766     eax = 0x42019878u; /* 0x42017538: mov eax, 0x42019878 */
   1767 L_4201753D:
   1768     RECOMP_BACKEDGE();
   1769     goto L_42016F30; /* 0x4201753D: jmp 0x42016f30 */
   1770     { RECOMP_REGS_OUT(); return; } /* end of function */
   1771   _ljump:
   1772     switch (_itail_tgt) {
   1773       case 0x42016F30u: goto L_42016F30;
   1774       case 0x42017538u: goto L_42017538;
   1775       case 0x4201753Du: goto L_4201753D;
   1776       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1777     }
   1778     RECOMP_REGS_OUT();
   1779 }
   1780 
   1781 void sub_42017550(void) {
   1782     int _fpu_cmp = 0;
   1783     uint32_t _cf = 0;
   1784     int _df = 1;
   1785     uint32_t _flag_k = FK_NONE;
   1786     uint32_t _flag_a = 0, _flag_b = 0;
   1787     uint32_t _itail_tgt = 0;
   1788     RECOMP_REGS_LOCALS
   1789     RECOMP_ENTER(0x42017550u);
   1790 
   1791 L_42017550:
   1792     eax = MEM32(ebp + (-0x20)); /* 0x42017550: mov eax, dword ptr [ebp - 0x20] */
   1793     PUSH32(esp, eax); /* 0x42017553: push eax */
   1794     RECOMP_ICALL(0x42016DD0u); /* 0x42017554: call 0x42016dd0 */ /* not lifted */
   1795     RECOMP_FLAGS_IN();
   1796     ecx = POP32_VAL(esp); /* 0x42017559: pop ecx */
   1797     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4201755A: ret  */
   1798     RECOMP_REGS_OUT();
   1799 }
   1800 
   1801 void sub_4201755B(void) {
   1802     int _fpu_cmp = 0;
   1803     uint32_t _cf = 0;
   1804     int _df = 1;
   1805     uint32_t _flag_k = FK_NONE;
   1806     uint32_t _flag_a = 0, _flag_b = 0;
   1807     uint32_t _itail_tgt = 0;
   1808     RECOMP_REGS_LOCALS
   1809     RECOMP_ENTER(0x4201755Bu);
   1810 
   1811     goto L_4201755B;
   1812 L_4200C8C0:
   1813     PUSH32(esp, ebp); /* 0x4200C8C0: push ebp */
   1814     ebp = esp; /* 0x4200C8C1: mov ebp, esp */
   1815     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1817     esp = esp - 8; /* 0x4200C8C3: sub esp, 8 */
   1818     _flag_k = FK_CMP;
   1819     PUSH32(esp, ebx); /* 0x4200C8C6: push ebx */
   1820     PUSH32(esp, esi); /* 0x4200C8C7: push esi */
   1821     esi = MEM32(ecx + 0x4); /* 0x4200C8C8: mov esi, dword ptr [ecx + 4] */
   1822     PUSH32(esp, edi); /* 0x4200C8CB: push edi */
   1823     edi = MEM32(ecx + 0x8); /* 0x4200C8CC: mov edi, dword ptr [ecx + 8] */
   1824     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1825     ebx = 0; /* 0x4200C8CF: xor ebx, ebx */
   1826     _cf = 0;
   1827     _flag_k = FK_TEST;
   1828     /* cmp esi, edi */ /* 0x4200C8D1: cmp esi, edi */
   1829     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
   1830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1831     _flag_k = FK_CMP;
   1832     MEM32(ebp + (-0x4)) = ecx; /* 0x4200C8D3: mov dword ptr [ebp - 4], ecx */
   1833     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200C8FA; /* 0x4200C8D6: je 0x4200c8fa */
   1834 L_4200C8D8:
   1835     eax = MEM32(esi + 0x4); /* 0x4200C8D8: mov eax, dword ptr [esi + 4] */
   1836     PUSH32(esp, eax); /* 0x4200C8DB: push eax */
   1837     MEM32(ebp + (-0x8)) = eax; /* 0x4200C8DC: mov dword ptr [ebp - 8], eax */
   1838     RECOMP_ICALL(0x42016DD0u); /* 0x4200C8DF: call 0x42016dd0 */ /* not lifted */
   1839     RECOMP_FLAGS_IN();
   1840     MEM32(esi + 0x4) = ebx; /* 0x4200C8E4: mov dword ptr [esi + 4], ebx */
   1841     MEM32(esi + 0x8) = ebx; /* 0x4200C8E7: mov dword ptr [esi + 8], ebx */
   1842     MEM32(esi + 0xC) = ebx; /* 0x4200C8EA: mov dword ptr [esi + 0xc], ebx */
   1843     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
   1844     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1845     esi = esi + 0x10u; /* 0x4200C8ED: add esi, 0x10 */
   1846     _flag_k = FK_ADD;
   1847     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1848     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1849     esp = esp + 4; /* 0x4200C8F0: add esp, 4 */
   1850     _flag_k = FK_ADD;
   1851     /* cmp esi, edi */ /* 0x4200C8F3: cmp esi, edi */
   1852     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
   1853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1854     _flag_k = FK_CMP;
   1855     RECOMP_BACKEDGE();
   1856     if (CMP_NE(_flag_a, _flag_b)) goto L_4200C8D8; /* 0x4200C8F5: jne 0x4200c8d8 */
   1857 L_4200C8F7:
   1858     ecx = MEM32(ebp + (-0x4)); /* 0x4200C8F7: mov ecx, dword ptr [ebp - 4] */
   1859 L_4200C8FA:
   1860     eax = MEM32(ecx + 0x4); /* 0x4200C8FA: mov eax, dword ptr [ecx + 4] */
   1861     PUSH32(esp, eax); /* 0x4200C8FD: push eax */
   1862     RECOMP_ICALL(0x42016DD0u); /* 0x4200C8FE: call 0x42016dd0 */ /* not lifted */
   1863     RECOMP_FLAGS_IN();
   1864     eax = MEM32(ebp + (-0x4)); /* 0x4200C903: mov eax, dword ptr [ebp - 4] */
   1865     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1866     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1867     esp = esp + 4; /* 0x4200C906: add esp, 4 */
   1868     _flag_k = FK_ADD;
   1869     edi = POP32_VAL(esp); /* 0x4200C909: pop edi */
   1870     esi = POP32_VAL(esp); /* 0x4200C90A: pop esi */
   1871     MEM32(eax + 0x4) = ebx; /* 0x4200C90B: mov dword ptr [eax + 4], ebx */
   1872     MEM32(eax + 0x8) = ebx; /* 0x4200C90E: mov dword ptr [eax + 8], ebx */
   1873     MEM32(eax + 0xC) = ebx; /* 0x4200C911: mov dword ptr [eax + 0xc], ebx */
   1874     ebx = POP32_VAL(esp); /* 0x4200C914: pop ebx */
   1875     esp = ebp; /* 0x4200C915: mov esp, ebp */
   1876     ebp = POP32_VAL(esp); /* 0x4200C917: pop ebp */
   1877     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200C918: ret  */
   1878 L_4201755B:
   1879     ecx = ebp + (-0x40); /* 0x4201755B: lea ecx, [ebp - 0x40] */
   1880     RECOMP_BACKEDGE();
   1881     goto L_4200C8C0; /* 0x4201755E: jmp 0x4200c8c0 */
   1882     { RECOMP_REGS_OUT(); return; } /* end of function */
   1883     RECOMP_REGS_OUT();
   1884 }
   1885 
   1886 void sub_42017563(void) {
   1887     int _fpu_cmp = 0;
   1888     uint32_t _cf = 0;
   1889     int _df = 1;
   1890     uint32_t _flag_k = FK_NONE;
   1891     uint32_t _flag_a = 0, _flag_b = 0;
   1892     uint32_t _itail_tgt = 0;
   1893     RECOMP_REGS_LOCALS
   1894     RECOMP_ENTER(0x42017563u);
   1895 
   1896     goto L_42017563;
   1897 L_4200A0C0:
   1898     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   1899     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   1900     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   1901     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   1902     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   1903     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   1904     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   1905     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   1906     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   1907     RECOMP_FLAGS_IN();
   1908     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1909     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1910     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   1911     _flag_k = FK_ADD;
   1912     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1913     eax = 0; /* 0x4200A0D6: xor eax, eax */
   1914     _cf = 0;
   1915     _flag_k = FK_TEST;
   1916     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   1917     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   1918     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   1919     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   1920     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   1921     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   1922     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   1923 L_42017563:
   1924     ecx = ebp + (-0x30); /* 0x42017563: lea ecx, [ebp - 0x30] */
   1925     RECOMP_BACKEDGE();
   1926     goto L_4200A0C0; /* 0x42017566: jmp 0x4200a0c0 */
   1927     { RECOMP_REGS_OUT(); return; } /* end of function */
   1928     RECOMP_REGS_OUT();
   1929 }
   1930 
   1931 void sub_4201756B(void) {
   1932     int _fpu_cmp = 0;
   1933     uint32_t _cf = 0;
   1934     int _df = 1;
   1935     uint32_t _flag_k = FK_NONE;
   1936     uint32_t _flag_a = 0, _flag_b = 0;
   1937     uint32_t _itail_tgt = 0;
   1938     RECOMP_REGS_LOCALS
   1939     RECOMP_ENTER(0x4201756Bu);
   1940 
   1941     goto L_4201756B;
   1942 L_4200A0C0:
   1943     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   1944     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   1945     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   1946     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   1947     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   1948     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   1949     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   1950     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   1951     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   1952     RECOMP_FLAGS_IN();
   1953     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1954     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1955     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   1956     _flag_k = FK_ADD;
   1957     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1958     eax = 0; /* 0x4200A0D6: xor eax, eax */
   1959     _cf = 0;
   1960     _flag_k = FK_TEST;
   1961     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   1962     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   1963     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   1964     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   1965     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   1966     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   1967     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   1968 L_4201756B:
   1969     ecx = ebp + (-0x30); /* 0x4201756B: lea ecx, [ebp - 0x30] */
   1970     RECOMP_BACKEDGE();
   1971     goto L_4200A0C0; /* 0x4201756E: jmp 0x4200a0c0 */
   1972     { RECOMP_REGS_OUT(); return; } /* end of function */
   1973     RECOMP_REGS_OUT();
   1974 }
   1975 
   1976 void sub_42017573(void) {
   1977     int _fpu_cmp = 0;
   1978     uint32_t _cf = 0;
   1979     int _df = 1;
   1980     uint32_t _flag_k = FK_NONE;
   1981     uint32_t _flag_a = 0, _flag_b = 0;
   1982     uint32_t _itail_tgt = 0;
   1983     RECOMP_REGS_LOCALS
   1984     RECOMP_ENTER(0x42017573u);
   1985 
   1986     goto L_42017573;
   1987 L_42016F30:
   1988     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   1989 L_42017573:
   1990     eax = 0x420198A0u; /* 0x42017573: mov eax, 0x420198a0 */
   1991 L_42017578:
   1992     RECOMP_BACKEDGE();
   1993     goto L_42016F30; /* 0x42017578: jmp 0x42016f30 */
   1994     { RECOMP_REGS_OUT(); return; } /* end of function */
   1995   _ljump:
   1996     switch (_itail_tgt) {
   1997       case 0x42016F30u: goto L_42016F30;
   1998       case 0x42017573u: goto L_42017573;
   1999       case 0x42017578u: goto L_42017578;
   2000       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2001     }
   2002     RECOMP_REGS_OUT();
   2003 }
   2004 
   2005 void sub_42017580(void) {
   2006     int _fpu_cmp = 0;
   2007     uint32_t _cf = 0;
   2008     int _df = 1;
   2009     uint32_t _flag_k = FK_NONE;
   2010     uint32_t _flag_a = 0, _flag_b = 0;
   2011     uint32_t _itail_tgt = 0;
   2012     RECOMP_REGS_LOCALS
   2013     RECOMP_ENTER(0x42017580u);
   2014 
   2015 L_42017580:
   2016     eax = MEM32(ebp + (-0x10)); /* 0x42017580: mov eax, dword ptr [ebp - 0x10] */
   2017     PUSH32(esp, eax); /* 0x42017583: push eax */
   2018     RECOMP_ICALL(0x42016DD0u); /* 0x42017584: call 0x42016dd0 */ /* not lifted */
   2019     RECOMP_FLAGS_IN();
   2020     ecx = POP32_VAL(esp); /* 0x42017589: pop ecx */
   2021     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4201758A: ret  */
   2022     RECOMP_REGS_OUT();
   2023 }
   2024 
   2025 void sub_4201758B(void) {
   2026     int _fpu_cmp = 0;
   2027     uint32_t _cf = 0;
   2028     int _df = 1;
   2029     uint32_t _flag_k = FK_NONE;
   2030     uint32_t _flag_a = 0, _flag_b = 0;
   2031     uint32_t _itail_tgt = 0;
   2032     RECOMP_REGS_LOCALS
   2033     RECOMP_ENTER(0x4201758Bu);
   2034 
   2035     goto L_4201758B;
   2036 L_4200A0C0:
   2037     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   2038     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   2039     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   2040     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   2041     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   2042     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   2043     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   2044     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   2045     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   2046     RECOMP_FLAGS_IN();
   2047     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2048     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2049     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   2050     _flag_k = FK_ADD;
   2051     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2052     eax = 0; /* 0x4200A0D6: xor eax, eax */
   2053     _cf = 0;
   2054     _flag_k = FK_TEST;
   2055     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   2056     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   2057     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   2058     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   2059     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   2060     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   2061     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   2062 L_4201758B:
   2063     ecx = ebp + (-0x20); /* 0x4201758B: lea ecx, [ebp - 0x20] */
   2064     RECOMP_BACKEDGE();
   2065     goto L_4200A0C0; /* 0x4201758E: jmp 0x4200a0c0 */
   2066     { RECOMP_REGS_OUT(); return; } /* end of function */
   2067     RECOMP_REGS_OUT();
   2068 }
   2069 
   2070 void sub_42017593(void) {
   2071     int _fpu_cmp = 0;
   2072     uint32_t _cf = 0;
   2073     int _df = 1;
   2074     uint32_t _flag_k = FK_NONE;
   2075     uint32_t _flag_a = 0, _flag_b = 0;
   2076     uint32_t _itail_tgt = 0;
   2077     RECOMP_REGS_LOCALS
   2078     RECOMP_ENTER(0x42017593u);
   2079 
   2080     goto L_42017593;
   2081 L_42016F30:
   2082     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2083 L_42017593:
   2084     eax = 0x420198E0u; /* 0x42017593: mov eax, 0x420198e0 */
   2085 L_42017598:
   2086     RECOMP_BACKEDGE();
   2087     goto L_42016F30; /* 0x42017598: jmp 0x42016f30 */
   2088     { RECOMP_REGS_OUT(); return; } /* end of function */
   2089   _ljump:
   2090     switch (_itail_tgt) {
   2091       case 0x42016F30u: goto L_42016F30;
   2092       case 0x42017593u: goto L_42017593;
   2093       case 0x42017598u: goto L_42017598;
   2094       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2095     }
   2096     RECOMP_REGS_OUT();
   2097 }
   2098 
   2099 void sub_420175A0(void) {
   2100     int _fpu_cmp = 0;
   2101     uint32_t _cf = 0;
   2102     int _df = 1;
   2103     uint32_t _flag_k = FK_NONE;
   2104     uint32_t _flag_a = 0, _flag_b = 0;
   2105     uint32_t _itail_tgt = 0;
   2106     RECOMP_REGS_LOCALS
   2107     RECOMP_ENTER(0x420175A0u);
   2108 
   2109     goto L_420175A0;
   2110 L_4200A0C0:
   2111     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   2112     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   2113     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   2114     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   2115     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   2116     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   2117     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   2118     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   2119     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   2120     RECOMP_FLAGS_IN();
   2121     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2122     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2123     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   2124     _flag_k = FK_ADD;
   2125     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2126     eax = 0; /* 0x4200A0D6: xor eax, eax */
   2127     _cf = 0;
   2128     _flag_k = FK_TEST;
   2129     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   2130     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   2131     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   2132     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   2133     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   2134     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   2135     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   2136 L_420175A0:
   2137     ecx = MEM32(ebp + (-0x10)); /* 0x420175A0: mov ecx, dword ptr [ebp - 0x10] */
   2138     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   2139     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2140     ecx = ecx + 4; /* 0x420175A3: add ecx, 4 */
   2141     _flag_k = FK_ADD;
   2142     RECOMP_BACKEDGE();
   2143     goto L_4200A0C0; /* 0x420175A6: jmp 0x4200a0c0 */
   2144     { RECOMP_REGS_OUT(); return; } /* end of function */
   2145     RECOMP_REGS_OUT();
   2146 }
   2147 
   2148 void sub_420175AB(void) {
   2149     int _fpu_cmp = 0;
   2150     uint32_t _cf = 0;
   2151     int _df = 1;
   2152     uint32_t _flag_k = FK_NONE;
   2153     uint32_t _flag_a = 0, _flag_b = 0;
   2154     uint32_t _itail_tgt = 0;
   2155     RECOMP_REGS_LOCALS
   2156     RECOMP_ENTER(0x420175ABu);
   2157 
   2158     goto L_420175AB;
   2159 L_4200A0C0:
   2160     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   2161     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   2162     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   2163     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   2164     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   2165     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   2166     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   2167     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   2168     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   2169     RECOMP_FLAGS_IN();
   2170     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2171     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2172     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   2173     _flag_k = FK_ADD;
   2174     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2175     eax = 0; /* 0x4200A0D6: xor eax, eax */
   2176     _cf = 0;
   2177     _flag_k = FK_TEST;
   2178     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   2179     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   2180     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   2181     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   2182     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   2183     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   2184     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   2185 L_420175AB:
   2186     ecx = MEM32(ebp + (-0x10)); /* 0x420175AB: mov ecx, dword ptr [ebp - 0x10] */
   2187     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
   2188     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2189     ecx = ecx + 0x14u; /* 0x420175AE: add ecx, 0x14 */
   2190     _flag_k = FK_ADD;
   2191     RECOMP_BACKEDGE();
   2192     goto L_4200A0C0; /* 0x420175B1: jmp 0x4200a0c0 */
   2193     { RECOMP_REGS_OUT(); return; } /* end of function */
   2194     RECOMP_REGS_OUT();
   2195 }
   2196 
   2197 void sub_420175B6(void) {
   2198     int _fpu_cmp = 0;
   2199     uint32_t _cf = 0;
   2200     int _df = 1;
   2201     uint32_t _flag_k = FK_NONE;
   2202     uint32_t _flag_a = 0, _flag_b = 0;
   2203     uint32_t _itail_tgt = 0;
   2204     RECOMP_REGS_LOCALS
   2205     RECOMP_ENTER(0x420175B6u);
   2206 
   2207     goto L_420175B6;
   2208 L_4200A0C0:
   2209     PUSH32(esp, ebp); /* 0x4200A0C0: push ebp */
   2210     ebp = esp; /* 0x4200A0C1: mov ebp, esp */
   2211     PUSH32(esp, ecx); /* 0x4200A0C3: push ecx */
   2212     PUSH32(esp, esi); /* 0x4200A0C4: push esi */
   2213     esi = ecx; /* 0x4200A0C5: mov esi, ecx */
   2214     eax = MEM32(esi + 0x4); /* 0x4200A0C7: mov eax, dword ptr [esi + 4] */
   2215     PUSH32(esp, eax); /* 0x4200A0CA: push eax */
   2216     MEM32(ebp + (-0x4)) = eax; /* 0x4200A0CB: mov dword ptr [ebp - 4], eax */
   2217     RECOMP_ICALL(0x42016DD0u); /* 0x4200A0CE: call 0x42016dd0 */ /* not lifted */
   2218     RECOMP_FLAGS_IN();
   2219     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2220     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2221     esp = esp + 4; /* 0x4200A0D3: add esp, 4 */
   2222     _flag_k = FK_ADD;
   2223     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2224     eax = 0; /* 0x4200A0D6: xor eax, eax */
   2225     _cf = 0;
   2226     _flag_k = FK_TEST;
   2227     MEM32(esi + 0x4) = eax; /* 0x4200A0D8: mov dword ptr [esi + 4], eax */
   2228     MEM32(esi + 0x8) = eax; /* 0x4200A0DB: mov dword ptr [esi + 8], eax */
   2229     MEM32(esi + 0xC) = eax; /* 0x4200A0DE: mov dword ptr [esi + 0xc], eax */
   2230     esi = POP32_VAL(esp); /* 0x4200A0E1: pop esi */
   2231     esp = ebp; /* 0x4200A0E2: mov esp, ebp */
   2232     ebp = POP32_VAL(esp); /* 0x4200A0E4: pop ebp */
   2233     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200A0E5: ret  */
   2234 L_420175B6:
   2235     ecx = MEM32(ebp + (-0x18)); /* 0x420175B6: mov ecx, dword ptr [ebp - 0x18] */
   2236     RECOMP_BACKEDGE();
   2237     goto L_4200A0C0; /* 0x420175B9: jmp 0x4200a0c0 */
   2238     { RECOMP_REGS_OUT(); return; } /* end of function */
   2239     RECOMP_REGS_OUT();
   2240 }
   2241 
   2242 void sub_420175BE(void) {
   2243     int _fpu_cmp = 0;
   2244     uint32_t _cf = 0;
   2245     int _df = 1;
   2246     uint32_t _flag_k = FK_NONE;
   2247     uint32_t _flag_a = 0, _flag_b = 0;
   2248     uint32_t _itail_tgt = 0;
   2249     RECOMP_REGS_LOCALS
   2250     RECOMP_ENTER(0x420175BEu);
   2251 
   2252     goto L_420175BE;
   2253 L_42016F30:
   2254     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2255 L_420175BE:
   2256     eax = 0x42019910u; /* 0x420175BE: mov eax, 0x42019910 */
   2257 L_420175C3:
   2258     RECOMP_BACKEDGE();
   2259     goto L_42016F30; /* 0x420175C3: jmp 0x42016f30 */
   2260     { RECOMP_REGS_OUT(); return; } /* end of function */
   2261   _ljump:
   2262     switch (_itail_tgt) {
   2263       case 0x42016F30u: goto L_42016F30;
   2264       case 0x420175BEu: goto L_420175BE;
   2265       case 0x420175C3u: goto L_420175C3;
   2266       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2267     }
   2268     RECOMP_REGS_OUT();
   2269 }
   2270 
   2271 void sub_420175D0(void) {
   2272     int _fpu_cmp = 0;
   2273     uint32_t _cf = 0;
   2274     int _df = 1;
   2275     uint32_t _flag_k = FK_NONE;
   2276     uint32_t _flag_a = 0, _flag_b = 0;
   2277     uint32_t _itail_tgt = 0;
   2278     RECOMP_REGS_LOCALS
   2279     RECOMP_ENTER(0x420175D0u);
   2280 
   2281 L_420175D0:
   2282     eax = MEM32(ebp + 0x8); /* 0x420175D0: mov eax, dword ptr [ebp + 8] */
   2283     PUSH32(esp, eax); /* 0x420175D3: push eax */
   2284     ecx = MEM32(ebp + (-0x10)); /* 0x420175D4: mov ecx, dword ptr [ebp - 0x10] */
   2285     PUSH32(esp, ecx); /* 0x420175D7: push ecx */
   2286     RECOMP_ICALL(0x42002DA0u); /* 0x420175D8: call 0x42002da0 */ /* not lifted */
   2287     RECOMP_FLAGS_IN();
   2288     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2289     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2290     esp = esp + 8; /* 0x420175DD: add esp, 8 */
   2291     _flag_k = FK_ADD;
   2292     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420175E0: ret  */
   2293     RECOMP_REGS_OUT();
   2294 }
   2295 
   2296 void sub_420175E1(void) {
   2297     int _fpu_cmp = 0;
   2298     uint32_t _cf = 0;
   2299     int _df = 1;
   2300     uint32_t _flag_k = FK_NONE;
   2301     uint32_t _flag_a = 0, _flag_b = 0;
   2302     uint32_t _itail_tgt = 0;
   2303     RECOMP_REGS_LOCALS
   2304     RECOMP_ENTER(0x420175E1u);
   2305 
   2306     goto L_420175E1;
   2307 L_42016F30:
   2308     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2309 L_420175E1:
   2310     eax = 0x42019948u; /* 0x420175E1: mov eax, 0x42019948 */
   2311 L_420175E6:
   2312     RECOMP_BACKEDGE();
   2313     goto L_42016F30; /* 0x420175E6: jmp 0x42016f30 */
   2314     { RECOMP_REGS_OUT(); return; } /* end of function */
   2315   _ljump:
   2316     switch (_itail_tgt) {
   2317       case 0x42016F30u: goto L_42016F30;
   2318       case 0x420175E1u: goto L_420175E1;
   2319       case 0x420175E6u: goto L_420175E6;
   2320       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2321     }
   2322     RECOMP_REGS_OUT();
   2323 }
   2324 
   2325 void sub_420175F0(void) {
   2326     int _fpu_cmp = 0;
   2327     uint32_t _cf = 0;
   2328     int _df = 1;
   2329     uint32_t _flag_k = FK_NONE;
   2330     uint32_t _flag_a = 0, _flag_b = 0;
   2331     uint32_t _itail_tgt = 0;
   2332     RECOMP_REGS_LOCALS
   2333     RECOMP_ENTER(0x420175F0u);
   2334 
   2335     goto L_420175F0;
   2336 L_42003DA0:
   2337     PUSH32(esp, ebp); /* 0x42003DA0: push ebp */
   2338     ebp = esp; /* 0x42003DA1: mov ebp, esp */
   2339     PUSH32(esp, 0xFFFFFFFFu); /* 0x42003DA3: push -1 */
   2340     PUSH32(esp, 0x420171E8u); /* 0x42003DA5: push 0x420171e8 */
   2341     eax = MEM32(FS_BASE + (0)); /* 0x42003DAA: mov eax, dword ptr fs:[0] */
   2342     PUSH32(esp, eax); /* 0x42003DB0: push eax */
   2343     MEM32(FS_BASE + (0)) = esp; /* 0x42003DB1: mov dword ptr fs:[0], esp */
   2344     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2345     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2346     esp = esp - 8; /* 0x42003DB8: sub esp, 8 */
   2347     _flag_k = FK_CMP;
   2348     PUSH32(esp, ebx); /* 0x42003DBB: push ebx */
   2349     PUSH32(esp, esi); /* 0x42003DBC: push esi */
   2350     PUSH32(esp, edi); /* 0x42003DBD: push edi */
   2351     MEM32(ebp + (-0x10)) = ecx; /* 0x42003DBE: mov dword ptr [ebp - 0x10], ecx */
   2352     MEM32(ecx) = 0x420182ECu; /* 0x42003DC1: mov dword ptr [ecx], 0x420182ec */
   2353     MEM32(ecx + 0x4) = 0x420182E4u; /* 0x42003DC7: mov dword ptr [ecx + 4], 0x420182e4 */
   2354     ebx = MEM32(ecx + 0x10); /* 0x42003DCE: mov ebx, dword ptr [ecx + 0x10] */
   2355     esi = MEM32(ebx); /* 0x42003DD1: mov esi, dword ptr [ebx] */
   2356     /* cmp esi, ebx */ /* 0x42003DD3: cmp esi, ebx */
   2357     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2358     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2359     _flag_k = FK_CMP;
   2360     edi = ecx + 0xC; /* 0x42003DD5: lea edi, [ecx + 0xc] */
   2361     MEM32(ebp + (-0x4)) = 0; /* 0x42003DD8: mov dword ptr [ebp - 4], 0 */
   2362     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003DF5; /* 0x42003DDF: je 0x42003df5 */
   2363 L_42003DE1:
   2364     eax = esi; /* 0x42003DE1: mov eax, esi */
   2365     esi = MEM32(esi); /* 0x42003DE3: mov esi, dword ptr [esi] */
   2366     PUSH32(esp, eax); /* 0x42003DE5: push eax */
   2367     eax = ebp + (-0x14); /* 0x42003DE6: lea eax, [ebp - 0x14] */
   2368     PUSH32(esp, eax); /* 0x42003DE9: push eax */
   2369     ecx = edi; /* 0x42003DEA: mov ecx, edi */
   2370     RECOMP_ICALL(0x42005C70u); /* 0x42003DEC: call 0x42005c70 */ /* not lifted */
   2371     RECOMP_FLAGS_IN();
   2372     /* cmp esi, ebx */ /* 0x42003DF1: cmp esi, ebx */
   2373     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2375     _flag_k = FK_CMP;
   2376     RECOMP_BACKEDGE();
   2377     if (CMP_NE(_flag_a, _flag_b)) goto L_42003DE1; /* 0x42003DF3: jne 0x42003de1 */
   2378 L_42003DF5:
   2379     ecx = MEM32(edi + 0x4); /* 0x42003DF5: mov ecx, dword ptr [edi + 4] */
   2380     PUSH32(esp, ecx); /* 0x42003DF8: push ecx */
   2381     RECOMP_ICALL(0x42016DD0u); /* 0x42003DF9: call 0x42016dd0 */ /* not lifted */
   2382     RECOMP_FLAGS_IN();
   2383     edx = MEM32(ebp + (-0x10)); /* 0x42003DFE: mov edx, dword ptr [ebp - 0x10] */
   2384     ecx = MEM32(ebp + (-0xC)); /* 0x42003E01: mov ecx, dword ptr [ebp - 0xc] */
   2385     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2386     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2387     esp = esp + 4; /* 0x42003E04: add esp, 4 */
   2388     _flag_k = FK_ADD;
   2389     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2390     eax = 0; /* 0x42003E07: xor eax, eax */
   2391     _cf = 0;
   2392     _flag_k = FK_TEST;
   2393     MEM32(edi + 0x4) = eax; /* 0x42003E09: mov dword ptr [edi + 4], eax */
   2394     MEM32(edi + 0x8) = eax; /* 0x42003E0C: mov dword ptr [edi + 8], eax */
   2395     edi = POP32_VAL(esp); /* 0x42003E0F: pop edi */
   2396     esi = POP32_VAL(esp); /* 0x42003E10: pop esi */
   2397     MEM32(edx) = 0x4201822Cu; /* 0x42003E11: mov dword ptr [edx], 0x4201822c */
   2398     ebx = POP32_VAL(esp); /* 0x42003E17: pop ebx */
   2399     MEM32(FS_BASE + (0)) = ecx; /* 0x42003E18: mov dword ptr fs:[0], ecx */
   2400     esp = ebp; /* 0x42003E1F: mov esp, ebp */
   2401     ebp = POP32_VAL(esp); /* 0x42003E21: pop ebp */
   2402     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42003E22: ret  */
   2403 L_420175F0:
   2404     ecx = MEM32(ebp + (-0x10)); /* 0x420175F0: mov ecx, dword ptr [ebp - 0x10] */
   2405     RECOMP_BACKEDGE();
   2406     goto L_42003DA0; /* 0x420175F3: jmp 0x42003da0 */
   2407     { RECOMP_REGS_OUT(); return; } /* end of function */
   2408     RECOMP_REGS_OUT();
   2409 }
   2410 
   2411 void sub_420175F8(void) {
   2412     int _fpu_cmp = 0;
   2413     uint32_t _cf = 0;
   2414     int _df = 1;
   2415     uint32_t _flag_k = FK_NONE;
   2416     uint32_t _flag_a = 0, _flag_b = 0;
   2417     uint32_t _itail_tgt = 0;
   2418     RECOMP_REGS_LOCALS
   2419     RECOMP_ENTER(0x420175F8u);
   2420 
   2421     goto L_420175F8;
   2422 L_42016F30:
   2423     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2424 L_420175F8:
   2425     eax = 0x42019970u; /* 0x420175F8: mov eax, 0x42019970 */
   2426 L_420175FD:
   2427     RECOMP_BACKEDGE();
   2428     goto L_42016F30; /* 0x420175FD: jmp 0x42016f30 */
   2429     { RECOMP_REGS_OUT(); return; } /* end of function */
   2430   _ljump:
   2431     switch (_itail_tgt) {
   2432       case 0x42016F30u: goto L_42016F30;
   2433       case 0x420175F8u: goto L_420175F8;
   2434       case 0x420175FDu: goto L_420175FD;
   2435       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2436     }
   2437     RECOMP_REGS_OUT();
   2438 }
   2439 
   2440 void sub_42017610(void) {
   2441     int _fpu_cmp = 0;
   2442     uint32_t _cf = 0;
   2443     int _df = 1;
   2444     uint32_t _flag_k = FK_NONE;
   2445     uint32_t _flag_a = 0, _flag_b = 0;
   2446     uint32_t _itail_tgt = 0;
   2447     RECOMP_REGS_LOCALS
   2448     RECOMP_ENTER(0x42017610u);
   2449 
   2450 L_42017610:
   2451     eax = MEM32(ebp + (-0x14)); /* 0x42017610: mov eax, dword ptr [ebp - 0x14] */
   2452     PUSH32(esp, eax); /* 0x42017613: push eax */
   2453     RECOMP_ICALL(0x42016DD0u); /* 0x42017614: call 0x42016dd0 */ /* not lifted */
   2454     RECOMP_FLAGS_IN();
   2455     ecx = POP32_VAL(esp); /* 0x42017619: pop ecx */
   2456     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4201761A: ret  */
   2457     RECOMP_REGS_OUT();
   2458 }
   2459 
   2460 void sub_4201761B(void) {
   2461     int _fpu_cmp = 0;
   2462     uint32_t _cf = 0;
   2463     int _df = 1;
   2464     uint32_t _flag_k = FK_NONE;
   2465     uint32_t _flag_a = 0, _flag_b = 0;
   2466     uint32_t _itail_tgt = 0;
   2467     RECOMP_REGS_LOCALS
   2468     RECOMP_ENTER(0x4201761Bu);
   2469 
   2470 L_4201761B:
   2471     eax = MEM32(ebp + (-0x18)); /* 0x4201761B: mov eax, dword ptr [ebp - 0x18] */
   2472     PUSH32(esp, eax); /* 0x4201761E: push eax */
   2473     RECOMP_ICALL(0x42016DD0u); /* 0x4201761F: call 0x42016dd0 */ /* not lifted */
   2474     RECOMP_FLAGS_IN();
   2475     ecx = POP32_VAL(esp); /* 0x42017624: pop ecx */
   2476     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42017625: ret  */
   2477     RECOMP_REGS_OUT();
   2478 }
   2479 
   2480 void sub_42017626(void) {
   2481     int _fpu_cmp = 0;
   2482     uint32_t _cf = 0;
   2483     int _df = 1;
   2484     uint32_t _flag_k = FK_NONE;
   2485     uint32_t _flag_a = 0, _flag_b = 0;
   2486     uint32_t _itail_tgt = 0;
   2487     RECOMP_REGS_LOCALS
   2488     RECOMP_ENTER(0x42017626u);
   2489 
   2490     goto L_42017626;
   2491 L_420037E0:
   2492     PUSH32(esp, ebx); /* 0x420037E0: push ebx */
   2493     PUSH32(esp, esi); /* 0x420037E1: push esi */
   2494     PUSH32(esp, edi); /* 0x420037E2: push edi */
   2495     edi = ecx; /* 0x420037E3: mov edi, ecx */
   2496     ebx = MEM32(edi + 0x4); /* 0x420037E5: mov ebx, dword ptr [edi + 4] */
   2497     esi = MEM32(ebx); /* 0x420037E8: mov esi, dword ptr [ebx] */
   2498     /* cmp esi, ebx */ /* 0x420037EA: cmp esi, ebx */
   2499     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2500     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2501     _flag_k = FK_CMP;
   2502     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003815; /* 0x420037EC: je 0x42003815 */
   2503 L_420037EE:
   2504     eax = esi; /* 0x420037EE: mov eax, esi */
   2505     ecx = MEM32(eax + 0x4); /* 0x420037F0: mov ecx, dword ptr [eax + 4] */
   2506     edx = MEM32(eax); /* 0x420037F3: mov edx, dword ptr [eax] */
   2507     esi = MEM32(esi); /* 0x420037F5: mov esi, dword ptr [esi] */
   2508     MEM32(ecx) = edx; /* 0x420037F7: mov dword ptr [ecx], edx */
   2509     ecx = MEM32(eax); /* 0x420037F9: mov ecx, dword ptr [eax] */
   2510     edx = MEM32(eax + 0x4); /* 0x420037FB: mov edx, dword ptr [eax + 4] */
   2511     PUSH32(esp, eax); /* 0x420037FE: push eax */
   2512     MEM32(ecx + 0x4) = edx; /* 0x420037FF: mov dword ptr [ecx + 4], edx */
   2513     RECOMP_ICALL(0x42016DD0u); /* 0x42003802: call 0x42016dd0 */ /* not lifted */
   2514     RECOMP_FLAGS_IN();
   2515     ecx = MEM32(edi + 0x8); /* 0x42003807: mov ecx, dword ptr [edi + 8] */
   2516     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2517     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2518     esp = esp + 4; /* 0x4200380A: add esp, 4 */
   2519     _flag_k = FK_ADD;
   2520     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2521     ecx = ecx - 1; /* 0x4200380D: dec ecx */
   2522     _flag_k = FK_DEC;
   2523     /* cmp esi, ebx */ /* 0x4200380E: cmp esi, ebx */
   2524     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2525     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2526     _flag_k = FK_CMP;
   2527     MEM32(edi + 0x8) = ecx; /* 0x42003810: mov dword ptr [edi + 8], ecx */
   2528     RECOMP_BACKEDGE();
   2529     if (CMP_NE(_flag_a, _flag_b)) goto L_420037EE; /* 0x42003813: jne 0x420037ee */
   2530 L_42003815:
   2531     eax = MEM32(edi + 0x4); /* 0x42003815: mov eax, dword ptr [edi + 4] */
   2532     PUSH32(esp, eax); /* 0x42003818: push eax */
   2533     RECOMP_ICALL(0x42016DD0u); /* 0x42003819: call 0x42016dd0 */ /* not lifted */
   2534     RECOMP_FLAGS_IN();
   2535     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2536     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2537     esp = esp + 4; /* 0x4200381E: add esp, 4 */
   2538     _flag_k = FK_ADD;
   2539     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2540     eax = 0; /* 0x42003821: xor eax, eax */
   2541     _cf = 0;
   2542     _flag_k = FK_TEST;
   2543     MEM32(edi + 0x4) = eax; /* 0x42003823: mov dword ptr [edi + 4], eax */
   2544     MEM32(edi + 0x8) = eax; /* 0x42003826: mov dword ptr [edi + 8], eax */
   2545     edi = POP32_VAL(esp); /* 0x42003829: pop edi */
   2546     esi = POP32_VAL(esp); /* 0x4200382A: pop esi */
   2547     ebx = POP32_VAL(esp); /* 0x4200382B: pop ebx */
   2548     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200382C: ret  */
   2549 L_42017626:
   2550     ecx = MEM32(ebp + (-0x18)); /* 0x42017626: mov ecx, dword ptr [ebp - 0x18] */
   2551     RECOMP_BACKEDGE();
   2552     goto L_420037E0; /* 0x42017629: jmp 0x420037e0 */
   2553     { RECOMP_REGS_OUT(); return; } /* end of function */
   2554     RECOMP_REGS_OUT();
   2555 }
   2556 
   2557 void sub_4201762E(void) {
   2558     int _fpu_cmp = 0;
   2559     uint32_t _cf = 0;
   2560     int _df = 1;
   2561     uint32_t _flag_k = FK_NONE;
   2562     uint32_t _flag_a = 0, _flag_b = 0;
   2563     uint32_t _itail_tgt = 0;
   2564     RECOMP_REGS_LOCALS
   2565     RECOMP_ENTER(0x4201762Eu);
   2566 
   2567     goto L_4201762E;
   2568 L_42016F30:
   2569     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2570 L_4201762E:
   2571     eax = 0x42019998u; /* 0x4201762E: mov eax, 0x42019998 */
   2572 L_42017633:
   2573     RECOMP_BACKEDGE();
   2574     goto L_42016F30; /* 0x42017633: jmp 0x42016f30 */
   2575     { RECOMP_REGS_OUT(); return; } /* end of function */
   2576   _ljump:
   2577     switch (_itail_tgt) {
   2578       case 0x42016F30u: goto L_42016F30;
   2579       case 0x4201762Eu: goto L_4201762E;
   2580       case 0x42017633u: goto L_42017633;
   2581       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2582     }
   2583     RECOMP_REGS_OUT();
   2584 }
   2585 
   2586 void sub_42017640(void) {
   2587     int _fpu_cmp = 0;
   2588     uint32_t _cf = 0;
   2589     int _df = 1;
   2590     uint32_t _flag_k = FK_NONE;
   2591     uint32_t _flag_a = 0, _flag_b = 0;
   2592     uint32_t _itail_tgt = 0;
   2593     RECOMP_REGS_LOCALS
   2594     RECOMP_ENTER(0x42017640u);
   2595 
   2596     goto L_42017640;
   2597 L_42003DA0:
   2598     PUSH32(esp, ebp); /* 0x42003DA0: push ebp */
   2599     ebp = esp; /* 0x42003DA1: mov ebp, esp */
   2600     PUSH32(esp, 0xFFFFFFFFu); /* 0x42003DA3: push -1 */
   2601     PUSH32(esp, 0x420171E8u); /* 0x42003DA5: push 0x420171e8 */
   2602     eax = MEM32(FS_BASE + (0)); /* 0x42003DAA: mov eax, dword ptr fs:[0] */
   2603     PUSH32(esp, eax); /* 0x42003DB0: push eax */
   2604     MEM32(FS_BASE + (0)) = esp; /* 0x42003DB1: mov dword ptr fs:[0], esp */
   2605     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2607     esp = esp - 8; /* 0x42003DB8: sub esp, 8 */
   2608     _flag_k = FK_CMP;
   2609     PUSH32(esp, ebx); /* 0x42003DBB: push ebx */
   2610     PUSH32(esp, esi); /* 0x42003DBC: push esi */
   2611     PUSH32(esp, edi); /* 0x42003DBD: push edi */
   2612     MEM32(ebp + (-0x10)) = ecx; /* 0x42003DBE: mov dword ptr [ebp - 0x10], ecx */
   2613     MEM32(ecx) = 0x420182ECu; /* 0x42003DC1: mov dword ptr [ecx], 0x420182ec */
   2614     MEM32(ecx + 0x4) = 0x420182E4u; /* 0x42003DC7: mov dword ptr [ecx + 4], 0x420182e4 */
   2615     ebx = MEM32(ecx + 0x10); /* 0x42003DCE: mov ebx, dword ptr [ecx + 0x10] */
   2616     esi = MEM32(ebx); /* 0x42003DD1: mov esi, dword ptr [ebx] */
   2617     /* cmp esi, ebx */ /* 0x42003DD3: cmp esi, ebx */
   2618     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2620     _flag_k = FK_CMP;
   2621     edi = ecx + 0xC; /* 0x42003DD5: lea edi, [ecx + 0xc] */
   2622     MEM32(ebp + (-0x4)) = 0; /* 0x42003DD8: mov dword ptr [ebp - 4], 0 */
   2623     if (CMP_EQ(_flag_a, _flag_b)) goto L_42003DF5; /* 0x42003DDF: je 0x42003df5 */
   2624 L_42003DE1:
   2625     eax = esi; /* 0x42003DE1: mov eax, esi */
   2626     esi = MEM32(esi); /* 0x42003DE3: mov esi, dword ptr [esi] */
   2627     PUSH32(esp, eax); /* 0x42003DE5: push eax */
   2628     eax = ebp + (-0x14); /* 0x42003DE6: lea eax, [ebp - 0x14] */
   2629     PUSH32(esp, eax); /* 0x42003DE9: push eax */
   2630     ecx = edi; /* 0x42003DEA: mov ecx, edi */
   2631     RECOMP_ICALL(0x42005C70u); /* 0x42003DEC: call 0x42005c70 */ /* not lifted */
   2632     RECOMP_FLAGS_IN();
   2633     /* cmp esi, ebx */ /* 0x42003DF1: cmp esi, ebx */
   2634     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2635     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2636     _flag_k = FK_CMP;
   2637     RECOMP_BACKEDGE();
   2638     if (CMP_NE(_flag_a, _flag_b)) goto L_42003DE1; /* 0x42003DF3: jne 0x42003de1 */
   2639 L_42003DF5:
   2640     ecx = MEM32(edi + 0x4); /* 0x42003DF5: mov ecx, dword ptr [edi + 4] */
   2641     PUSH32(esp, ecx); /* 0x42003DF8: push ecx */
   2642     RECOMP_ICALL(0x42016DD0u); /* 0x42003DF9: call 0x42016dd0 */ /* not lifted */
   2643     RECOMP_FLAGS_IN();
   2644     edx = MEM32(ebp + (-0x10)); /* 0x42003DFE: mov edx, dword ptr [ebp - 0x10] */
   2645     ecx = MEM32(ebp + (-0xC)); /* 0x42003E01: mov ecx, dword ptr [ebp - 0xc] */
   2646     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2647     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2648     esp = esp + 4; /* 0x42003E04: add esp, 4 */
   2649     _flag_k = FK_ADD;
   2650     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2651     eax = 0; /* 0x42003E07: xor eax, eax */
   2652     _cf = 0;
   2653     _flag_k = FK_TEST;
   2654     MEM32(edi + 0x4) = eax; /* 0x42003E09: mov dword ptr [edi + 4], eax */
   2655     MEM32(edi + 0x8) = eax; /* 0x42003E0C: mov dword ptr [edi + 8], eax */
   2656     edi = POP32_VAL(esp); /* 0x42003E0F: pop edi */
   2657     esi = POP32_VAL(esp); /* 0x42003E10: pop esi */
   2658     MEM32(edx) = 0x4201822Cu; /* 0x42003E11: mov dword ptr [edx], 0x4201822c */
   2659     ebx = POP32_VAL(esp); /* 0x42003E17: pop ebx */
   2660     MEM32(FS_BASE + (0)) = ecx; /* 0x42003E18: mov dword ptr fs:[0], ecx */
   2661     esp = ebp; /* 0x42003E1F: mov esp, ebp */
   2662     ebp = POP32_VAL(esp); /* 0x42003E21: pop ebp */
   2663     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42003E22: ret  */
   2664 L_42017640:
   2665     ecx = MEM32(ebp + (-0x1C)); /* 0x42017640: mov ecx, dword ptr [ebp - 0x1c] */
   2666     RECOMP_BACKEDGE();
   2667     goto L_42003DA0; /* 0x42017643: jmp 0x42003da0 */
   2668     { RECOMP_REGS_OUT(); return; } /* end of function */
   2669     RECOMP_REGS_OUT();
   2670 }
   2671 
   2672 void sub_42017648(void) {
   2673     int _fpu_cmp = 0;
   2674     uint32_t _cf = 0;
   2675     int _df = 1;
   2676     uint32_t _flag_k = FK_NONE;
   2677     uint32_t _flag_a = 0, _flag_b = 0;
   2678     uint32_t _itail_tgt = 0;
   2679     RECOMP_REGS_LOCALS
   2680     RECOMP_ENTER(0x42017648u);
   2681 
   2682     goto L_42017648;
   2683 L_42016F30:
   2684     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2685 L_42017648:
   2686     eax = 0x420199D0u; /* 0x42017648: mov eax, 0x420199d0 */
   2687 L_4201764D:
   2688     RECOMP_BACKEDGE();
   2689     goto L_42016F30; /* 0x4201764D: jmp 0x42016f30 */
   2690     { RECOMP_REGS_OUT(); return; } /* end of function */
   2691   _ljump:
   2692     switch (_itail_tgt) {
   2693       case 0x42016F30u: goto L_42016F30;
   2694       case 0x42017648u: goto L_42017648;
   2695       case 0x4201764Du: goto L_4201764D;
   2696       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2697     }
   2698     RECOMP_REGS_OUT();
   2699 }
   2700 
   2701 void sub_42017660(void) {
   2702     int _fpu_cmp = 0;
   2703     uint32_t _cf = 0;
   2704     int _df = 1;
   2705     uint32_t _flag_k = FK_NONE;
   2706     uint32_t _flag_a = 0, _flag_b = 0;
   2707     uint32_t _itail_tgt = 0;
   2708     RECOMP_REGS_LOCALS
   2709     RECOMP_ENTER(0x42017660u);
   2710 
   2711     goto L_42017660;
   2712 L_42004390:
   2713     PUSH32(esp, esi); /* 0x42004390: push esi */
   2714     esi = ecx; /* 0x42004391: mov esi, ecx */
   2715     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   2716     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   2717     RECOMP_FLAGS_IN();
   2718     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   2719     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   2720     RECOMP_FLAGS_IN();
   2721     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   2722     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   2723 L_42017660:
   2724     ecx = ebp + (-0x34); /* 0x42017660: lea ecx, [ebp - 0x34] */
   2725     RECOMP_BACKEDGE();
   2726     goto L_42004390; /* 0x42017663: jmp 0x42004390 */
   2727     { RECOMP_REGS_OUT(); return; } /* end of function */
   2728     RECOMP_REGS_OUT();
   2729 }
   2730 
   2731 void sub_42017668(void) {
   2732     int _fpu_cmp = 0;
   2733     uint32_t _cf = 0;
   2734     int _df = 1;
   2735     uint32_t _flag_k = FK_NONE;
   2736     uint32_t _flag_a = 0, _flag_b = 0;
   2737     uint32_t _itail_tgt = 0;
   2738     RECOMP_REGS_LOCALS
   2739     RECOMP_ENTER(0x42017668u);
   2740 
   2741     goto L_42017668;
   2742 L_42016F30:
   2743     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2744 L_42017668:
   2745     eax = 0x420199F8u; /* 0x42017668: mov eax, 0x420199f8 */
   2746 L_4201766D:
   2747     RECOMP_BACKEDGE();
   2748     goto L_42016F30; /* 0x4201766D: jmp 0x42016f30 */
   2749     { RECOMP_REGS_OUT(); return; } /* end of function */
   2750   _ljump:
   2751     switch (_itail_tgt) {
   2752       case 0x42016F30u: goto L_42016F30;
   2753       case 0x42017668u: goto L_42017668;
   2754       case 0x4201766Du: goto L_4201766D;
   2755       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2756     }
   2757     RECOMP_REGS_OUT();
   2758 }
   2759 
   2760 void sub_42017680(void) {
   2761     int _fpu_cmp = 0;
   2762     uint32_t _cf = 0;
   2763     int _df = 1;
   2764     uint32_t _flag_k = FK_NONE;
   2765     uint32_t _flag_a = 0, _flag_b = 0;
   2766     uint32_t _itail_tgt = 0;
   2767     RECOMP_REGS_LOCALS
   2768     RECOMP_ENTER(0x42017680u);
   2769 
   2770     goto L_42017680;
   2771 L_42004390:
   2772     PUSH32(esp, esi); /* 0x42004390: push esi */
   2773     esi = ecx; /* 0x42004391: mov esi, ecx */
   2774     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   2775     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   2776     RECOMP_FLAGS_IN();
   2777     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   2778     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   2779     RECOMP_FLAGS_IN();
   2780     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   2781     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   2782 L_42017680:
   2783     ecx = ebp + (-0x18); /* 0x42017680: lea ecx, [ebp - 0x18] */
   2784     RECOMP_BACKEDGE();
   2785     goto L_42004390; /* 0x42017683: jmp 0x42004390 */
   2786     { RECOMP_REGS_OUT(); return; } /* end of function */
   2787     RECOMP_REGS_OUT();
   2788 }
   2789 
   2790 void sub_42017688(void) {
   2791     int _fpu_cmp = 0;
   2792     uint32_t _cf = 0;
   2793     int _df = 1;
   2794     uint32_t _flag_k = FK_NONE;
   2795     uint32_t _flag_a = 0, _flag_b = 0;
   2796     uint32_t _itail_tgt = 0;
   2797     RECOMP_REGS_LOCALS
   2798     RECOMP_ENTER(0x42017688u);
   2799 
   2800     goto L_42017688;
   2801 L_42016F30:
   2802     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2803 L_42017688:
   2804     eax = 0x42019A20u; /* 0x42017688: mov eax, 0x42019a20 */
   2805 L_4201768D:
   2806     RECOMP_BACKEDGE();
   2807     goto L_42016F30; /* 0x4201768D: jmp 0x42016f30 */
   2808     { RECOMP_REGS_OUT(); return; } /* end of function */
   2809   _ljump:
   2810     switch (_itail_tgt) {
   2811       case 0x42016F30u: goto L_42016F30;
   2812       case 0x42017688u: goto L_42017688;
   2813       case 0x4201768Du: goto L_4201768D;
   2814       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2815     }
   2816     RECOMP_REGS_OUT();
   2817 }
   2818 
   2819 void sub_420176A0(void) {
   2820     int _fpu_cmp = 0;
   2821     uint32_t _cf = 0;
   2822     int _df = 1;
   2823     uint32_t _flag_k = FK_NONE;
   2824     uint32_t _flag_a = 0, _flag_b = 0;
   2825     uint32_t _itail_tgt = 0;
   2826     RECOMP_REGS_LOCALS
   2827     RECOMP_ENTER(0x420176A0u);
   2828 
   2829     goto L_420176A0;
   2830 L_42004390:
   2831     PUSH32(esp, esi); /* 0x42004390: push esi */
   2832     esi = ecx; /* 0x42004391: mov esi, ecx */
   2833     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   2834     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   2835     RECOMP_FLAGS_IN();
   2836     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   2837     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   2838     RECOMP_FLAGS_IN();
   2839     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   2840     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   2841 L_420176A0:
   2842     ecx = ebp + (-0x10); /* 0x420176A0: lea ecx, [ebp - 0x10] */
   2843     RECOMP_BACKEDGE();
   2844     goto L_42004390; /* 0x420176A3: jmp 0x42004390 */
   2845     { RECOMP_REGS_OUT(); return; } /* end of function */
   2846     RECOMP_REGS_OUT();
   2847 }
   2848 
   2849 void sub_420176A8(void) {
   2850     int _fpu_cmp = 0;
   2851     uint32_t _cf = 0;
   2852     int _df = 1;
   2853     uint32_t _flag_k = FK_NONE;
   2854     uint32_t _flag_a = 0, _flag_b = 0;
   2855     uint32_t _itail_tgt = 0;
   2856     RECOMP_REGS_LOCALS
   2857     RECOMP_ENTER(0x420176A8u);
   2858 
   2859     goto L_420176A8;
   2860 L_42016F30:
   2861     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2862 L_420176A8:
   2863     eax = 0x42019A48u; /* 0x420176A8: mov eax, 0x42019a48 */
   2864 L_420176AD:
   2865     RECOMP_BACKEDGE();
   2866     goto L_42016F30; /* 0x420176AD: jmp 0x42016f30 */
   2867     { RECOMP_REGS_OUT(); return; } /* end of function */
   2868   _ljump:
   2869     switch (_itail_tgt) {
   2870       case 0x42016F30u: goto L_42016F30;
   2871       case 0x420176A8u: goto L_420176A8;
   2872       case 0x420176ADu: goto L_420176AD;
   2873       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2874     }
   2875     RECOMP_REGS_OUT();
   2876 }
   2877 
   2878 void sub_420176C0(void) {
   2879     int _fpu_cmp = 0;
   2880     uint32_t _cf = 0;
   2881     int _df = 1;
   2882     uint32_t _flag_k = FK_NONE;
   2883     uint32_t _flag_a = 0, _flag_b = 0;
   2884     uint32_t _itail_tgt = 0;
   2885     RECOMP_REGS_LOCALS
   2886     RECOMP_ENTER(0x420176C0u);
   2887 
   2888     goto L_420176C0;
   2889 L_42004390:
   2890     PUSH32(esp, esi); /* 0x42004390: push esi */
   2891     esi = ecx; /* 0x42004391: mov esi, ecx */
   2892     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   2893     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   2894     RECOMP_FLAGS_IN();
   2895     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   2896     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   2897     RECOMP_FLAGS_IN();
   2898     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   2899     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   2900 L_420176C0:
   2901     ecx = ebp + (-0x20); /* 0x420176C0: lea ecx, [ebp - 0x20] */
   2902     RECOMP_BACKEDGE();
   2903     goto L_42004390; /* 0x420176C3: jmp 0x42004390 */
   2904     { RECOMP_REGS_OUT(); return; } /* end of function */
   2905     RECOMP_REGS_OUT();
   2906 }
   2907 
   2908 void sub_420176C8(void) {
   2909     int _fpu_cmp = 0;
   2910     uint32_t _cf = 0;
   2911     int _df = 1;
   2912     uint32_t _flag_k = FK_NONE;
   2913     uint32_t _flag_a = 0, _flag_b = 0;
   2914     uint32_t _itail_tgt = 0;
   2915     RECOMP_REGS_LOCALS
   2916     RECOMP_ENTER(0x420176C8u);
   2917 
   2918     goto L_420176C8;
   2919 L_42016F30:
   2920     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2921 L_420176C8:
   2922     eax = 0x42019A70u; /* 0x420176C8: mov eax, 0x42019a70 */
   2923 L_420176CD:
   2924     RECOMP_BACKEDGE();
   2925     goto L_42016F30; /* 0x420176CD: jmp 0x42016f30 */
   2926     { RECOMP_REGS_OUT(); return; } /* end of function */
   2927   _ljump:
   2928     switch (_itail_tgt) {
   2929       case 0x42016F30u: goto L_42016F30;
   2930       case 0x420176C8u: goto L_420176C8;
   2931       case 0x420176CDu: goto L_420176CD;
   2932       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2933     }
   2934     RECOMP_REGS_OUT();
   2935 }
   2936 
   2937 void sub_420176E0(void) {
   2938     int _fpu_cmp = 0;
   2939     uint32_t _cf = 0;
   2940     int _df = 1;
   2941     uint32_t _flag_k = FK_NONE;
   2942     uint32_t _flag_a = 0, _flag_b = 0;
   2943     uint32_t _itail_tgt = 0;
   2944     RECOMP_REGS_LOCALS
   2945     RECOMP_ENTER(0x420176E0u);
   2946 
   2947     goto L_420176E0;
   2948 L_42004390:
   2949     PUSH32(esp, esi); /* 0x42004390: push esi */
   2950     esi = ecx; /* 0x42004391: mov esi, ecx */
   2951     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   2952     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   2953     RECOMP_FLAGS_IN();
   2954     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   2955     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   2956     RECOMP_FLAGS_IN();
   2957     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   2958     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   2959 L_420176E0:
   2960     ecx = ebp + (-0x18); /* 0x420176E0: lea ecx, [ebp - 0x18] */
   2961     RECOMP_BACKEDGE();
   2962     goto L_42004390; /* 0x420176E3: jmp 0x42004390 */
   2963     { RECOMP_REGS_OUT(); return; } /* end of function */
   2964     RECOMP_REGS_OUT();
   2965 }
   2966 
   2967 void sub_420176E8(void) {
   2968     int _fpu_cmp = 0;
   2969     uint32_t _cf = 0;
   2970     int _df = 1;
   2971     uint32_t _flag_k = FK_NONE;
   2972     uint32_t _flag_a = 0, _flag_b = 0;
   2973     uint32_t _itail_tgt = 0;
   2974     RECOMP_REGS_LOCALS
   2975     RECOMP_ENTER(0x420176E8u);
   2976 
   2977     goto L_420176E8;
   2978 L_42016F30:
   2979     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   2980 L_420176E8:
   2981     eax = 0x42019A98u; /* 0x420176E8: mov eax, 0x42019a98 */
   2982 L_420176ED:
   2983     RECOMP_BACKEDGE();
   2984     goto L_42016F30; /* 0x420176ED: jmp 0x42016f30 */
   2985     { RECOMP_REGS_OUT(); return; } /* end of function */
   2986   _ljump:
   2987     switch (_itail_tgt) {
   2988       case 0x42016F30u: goto L_42016F30;
   2989       case 0x420176E8u: goto L_420176E8;
   2990       case 0x420176EDu: goto L_420176ED;
   2991       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2992     }
   2993     RECOMP_REGS_OUT();
   2994 }
   2995 
   2996 void sub_42017700(void) {
   2997     int _fpu_cmp = 0;
   2998     uint32_t _cf = 0;
   2999     int _df = 1;
   3000     uint32_t _flag_k = FK_NONE;
   3001     uint32_t _flag_a = 0, _flag_b = 0;
   3002     uint32_t _itail_tgt = 0;
   3003     RECOMP_REGS_LOCALS
   3004     RECOMP_ENTER(0x42017700u);
   3005 
   3006     goto L_42017700;
   3007 L_42004390:
   3008     PUSH32(esp, esi); /* 0x42004390: push esi */
   3009     esi = ecx; /* 0x42004391: mov esi, ecx */
   3010     ecx = MEM32(esi); /* 0x42004393: mov ecx, dword ptr [esi] */
   3011     RECOMP_ICALL(0x42004870u); /* 0x42004395: call 0x42004870 */ /* not lifted */
   3012     RECOMP_FLAGS_IN();
   3013     ecx = MEM32(esi); /* 0x4200439A: mov ecx, dword ptr [esi] */
   3014     RECOMP_ICALL(0x420048E0u); /* 0x4200439C: call 0x420048e0 */ /* not lifted */
   3015     RECOMP_FLAGS_IN();
   3016     esi = POP32_VAL(esp); /* 0x420043A1: pop esi */
   3017     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420043A2: ret  */
   3018 L_42017700:
   3019     ecx = ebp + (-0x34); /* 0x42017700: lea ecx, [ebp - 0x34] */
   3020     RECOMP_BACKEDGE();
   3021     goto L_42004390; /* 0x42017703: jmp 0x42004390 */
   3022     { RECOMP_REGS_OUT(); return; } /* end of function */
   3023     RECOMP_REGS_OUT();
   3024 }
   3025 
   3026 void sub_42017708(void) {
   3027     int _fpu_cmp = 0;
   3028     uint32_t _cf = 0;
   3029     int _df = 1;
   3030     uint32_t _flag_k = FK_NONE;
   3031     uint32_t _flag_a = 0, _flag_b = 0;
   3032     uint32_t _itail_tgt = 0;
   3033     RECOMP_REGS_LOCALS
   3034     RECOMP_ENTER(0x42017708u);
   3035 
   3036     goto L_42017708;
   3037 L_42016F30:
   3038     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   3039 L_42017708:
   3040     eax = 0x42019AC0u; /* 0x42017708: mov eax, 0x42019ac0 */
   3041 L_4201770D:
   3042     RECOMP_BACKEDGE();
   3043     goto L_42016F30; /* 0x4201770D: jmp 0x42016f30 */
   3044     { RECOMP_REGS_OUT(); return; } /* end of function */
   3045   _ljump:
   3046     switch (_itail_tgt) {
   3047       case 0x42016F30u: goto L_42016F30;
   3048       case 0x42017708u: goto L_42017708;
   3049       case 0x4201770Du: goto L_4201770D;
   3050       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3051     }
   3052     RECOMP_REGS_OUT();
   3053 }
   3054 
   3055 void sub_42017720(void) {
   3056     int _fpu_cmp = 0;
   3057     uint32_t _cf = 0;
   3058     int _df = 1;
   3059     uint32_t _flag_k = FK_NONE;
   3060     uint32_t _flag_a = 0, _flag_b = 0;
   3061     uint32_t _itail_tgt = 0;
   3062     RECOMP_REGS_LOCALS
   3063     RECOMP_ENTER(0x42017720u);
   3064 
   3065 L_42017720:
   3066     ecx = ebp + (-0x5C); /* 0x42017720: lea ecx, [ebp - 0x5c] */
   3067 L_42017723:
   3068     { _itail_tgt = (uint32_t)(MEM32(0x4201807C)); goto _ljump; }
   3069     { RECOMP_REGS_OUT(); return; } /* end of function */
   3070   _ljump:
   3071     switch (_itail_tgt) {
   3072       case 0x42017720u: goto L_42017720;
   3073       case 0x42017723u: goto L_42017723;
   3074       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3075     }
   3076     RECOMP_REGS_OUT();
   3077 }
   3078 
   3079 void sub_42017729(void) {
   3080     int _fpu_cmp = 0;
   3081     uint32_t _cf = 0;
   3082     int _df = 1;
   3083     uint32_t _flag_k = FK_NONE;
   3084     uint32_t _flag_a = 0, _flag_b = 0;
   3085     uint32_t _itail_tgt = 0;
   3086     RECOMP_REGS_LOCALS
   3087     RECOMP_ENTER(0x42017729u);
   3088 
   3089     goto L_42017729;
   3090 L_42016F30:
   3091     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   3092 L_42017729:
   3093     eax = 0x42019AE8u; /* 0x42017729: mov eax, 0x42019ae8 */
   3094 L_4201772E:
   3095     RECOMP_BACKEDGE();
   3096     goto L_42016F30; /* 0x4201772E: jmp 0x42016f30 */
   3097     { RECOMP_REGS_OUT(); return; } /* end of function */
   3098   _ljump:
   3099     switch (_itail_tgt) {
   3100       case 0x42016F30u: goto L_42016F30;
   3101       case 0x42017729u: goto L_42017729;
   3102       case 0x4201772Eu: goto L_4201772E;
   3103       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3104     }
   3105     RECOMP_REGS_OUT();
   3106 }
   3107 
   3108 void sub_42017740(void) {
   3109     int _fpu_cmp = 0;
   3110     uint32_t _cf = 0;
   3111     int _df = 1;
   3112     uint32_t _flag_k = FK_NONE;
   3113     uint32_t _flag_a = 0, _flag_b = 0;
   3114     uint32_t _itail_tgt = 0;
   3115     RECOMP_REGS_LOCALS
   3116     RECOMP_ENTER(0x42017740u);
   3117 
   3118     goto L_42017740;
   3119 L_42006780:
   3120     PUSH32(esp, esi); /* 0x42006780: push esi */
   3121     esi = ecx; /* 0x42006781: mov esi, ecx */
   3122     ecx = MEM32(esi + 0x4); /* 0x42006783: mov ecx, dword ptr [esi + 4] */
   3123     /* test ecx, ecx */ /* 0x42006786: test ecx, ecx */
   3124     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3125     _cf = 0;
   3126     _flag_k = FK_TEST;
   3127     MEM32(esi) = 0x4201844Cu; /* 0x42006788: mov dword ptr [esi], 0x4201844c */
   3128     if (TEST_Z(_flag_a, _flag_b)) goto L_42006796; /* 0x4200678E: je 0x42006796 */
   3129 L_42006790:
   3130     eax = MEM32(ecx); /* 0x42006790: mov eax, dword ptr [ecx] */
   3131     PUSH32(esp, 1); /* 0x42006792: push 1 */
   3132     RECOMP_ICALL(MEM32(eax)); /* 0x42006794: call dword ptr [eax] */
   3133     RECOMP_FLAGS_IN();
   3134 L_42006796:
   3135     ecx = MEM32(esi + 0x8); /* 0x42006796: mov ecx, dword ptr [esi + 8] */
   3136     /* test ecx, ecx */ /* 0x42006799: test ecx, ecx */
   3137     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3138     _cf = 0;
   3139     _flag_k = FK_TEST;
   3140     MEM32(esi + 0x4) = 0; /* 0x4200679B: mov dword ptr [esi + 4], 0 */
   3141     if (TEST_Z(_flag_a, _flag_b)) goto L_420067AA; /* 0x420067A2: je 0x420067aa */
   3142 L_420067A4:
   3143     edx = MEM32(ecx); /* 0x420067A4: mov edx, dword ptr [ecx] */
   3144     PUSH32(esp, 1); /* 0x420067A6: push 1 */
   3145     RECOMP_ICALL(MEM32(edx)); /* 0x420067A8: call dword ptr [edx] */
   3146     RECOMP_FLAGS_IN();
   3147 L_420067AA:
   3148     MEM32(esi + 0x8) = 0; /* 0x420067AA: mov dword ptr [esi + 8], 0 */
   3149     esi = POP32_VAL(esp); /* 0x420067B1: pop esi */
   3150     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420067B2: ret  */
   3151 L_42017740:
   3152     ecx = MEM32(ebp + (-0x10)); /* 0x42017740: mov ecx, dword ptr [ebp - 0x10] */
   3153     RECOMP_BACKEDGE();
   3154     goto L_42006780; /* 0x42017743: jmp 0x42006780 */
   3155     { RECOMP_REGS_OUT(); return; } /* end of function */
   3156     RECOMP_REGS_OUT();
   3157 }
   3158 
   3159 void sub_42017748(void) {
   3160     int _fpu_cmp = 0;
   3161     uint32_t _cf = 0;
   3162     int _df = 1;
   3163     uint32_t _flag_k = FK_NONE;
   3164     uint32_t _flag_a = 0, _flag_b = 0;
   3165     uint32_t _itail_tgt = 0;
   3166     RECOMP_REGS_LOCALS
   3167     RECOMP_ENTER(0x42017748u);
   3168 
   3169     goto L_42017748;
   3170 L_420063C0:
   3171     MEM32(ecx) = 0x42018128u; /* 0x420063C0: mov dword ptr [ecx], 0x42018128 */
   3172     goto L_42007080; /* 0x420063C6: jmp 0x42007080 */
   3173 L_42007080:
   3174     MEM32(ecx) = 0x42018120u; /* 0x42007080: mov dword ptr [ecx], 0x42018120 */
   3175     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42007086: ret  */
   3176 L_42017748:
   3177     ecx = MEM32(ebp + (-0x10)); /* 0x42017748: mov ecx, dword ptr [ebp - 0x10] */
   3178     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10Cu);
   3179     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3180     ecx = ecx + 0x10Cu; /* 0x4201774B: add ecx, 0x10c */
   3181     _flag_k = FK_ADD;
   3182     RECOMP_BACKEDGE();
   3183     goto L_420063C0; /* 0x42017751: jmp 0x420063c0 */
   3184     { RECOMP_REGS_OUT(); return; } /* end of function */
   3185     RECOMP_REGS_OUT();
   3186 }
   3187 
   3188 void sub_42017756(void) {
   3189     int _fpu_cmp = 0;
   3190     uint32_t _cf = 0;
   3191     int _df = 1;
   3192     uint32_t _flag_k = FK_NONE;
   3193     uint32_t _flag_a = 0, _flag_b = 0;
   3194     uint32_t _itail_tgt = 0;
   3195     RECOMP_REGS_LOCALS
   3196     RECOMP_ENTER(0x42017756u);
   3197 
   3198     goto L_42017756;
   3199 L_42016F30:
   3200     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   3201 L_42017756:
   3202     eax = 0x42019B10u; /* 0x42017756: mov eax, 0x42019b10 */
   3203 L_4201775B:
   3204     RECOMP_BACKEDGE();
   3205     goto L_42016F30; /* 0x4201775B: jmp 0x42016f30 */
   3206     { RECOMP_REGS_OUT(); return; } /* end of function */
   3207   _ljump:
   3208     switch (_itail_tgt) {
   3209       case 0x42016F30u: goto L_42016F30;
   3210       case 0x42017756u: goto L_42017756;
   3211       case 0x4201775Bu: goto L_4201775B;
   3212       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3213     }
   3214     RECOMP_REGS_OUT();
   3215 }
   3216 
   3217 void sub_42017760(void) {
   3218     int _fpu_cmp = 0;
   3219     uint32_t _cf = 0;
   3220     int _df = 1;
   3221     uint32_t _flag_k = FK_NONE;
   3222     uint32_t _flag_a = 0, _flag_b = 0;
   3223     uint32_t _itail_tgt = 0;
   3224     RECOMP_REGS_LOCALS
   3225     RECOMP_ENTER(0x42017760u);
   3226 
   3227     goto L_42017760;
   3228 L_42006780:
   3229     PUSH32(esp, esi); /* 0x42006780: push esi */
   3230     esi = ecx; /* 0x42006781: mov esi, ecx */
   3231     ecx = MEM32(esi + 0x4); /* 0x42006783: mov ecx, dword ptr [esi + 4] */
   3232     /* test ecx, ecx */ /* 0x42006786: test ecx, ecx */
   3233     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3234     _cf = 0;
   3235     _flag_k = FK_TEST;
   3236     MEM32(esi) = 0x4201844Cu; /* 0x42006788: mov dword ptr [esi], 0x4201844c */
   3237     if (TEST_Z(_flag_a, _flag_b)) goto L_42006796; /* 0x4200678E: je 0x42006796 */
   3238 L_42006790:
   3239     eax = MEM32(ecx); /* 0x42006790: mov eax, dword ptr [ecx] */
   3240     PUSH32(esp, 1); /* 0x42006792: push 1 */
   3241     RECOMP_ICALL(MEM32(eax)); /* 0x42006794: call dword ptr [eax] */
   3242     RECOMP_FLAGS_IN();
   3243 L_42006796:
   3244     ecx = MEM32(esi + 0x8); /* 0x42006796: mov ecx, dword ptr [esi + 8] */
   3245     /* test ecx, ecx */ /* 0x42006799: test ecx, ecx */
   3246     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3247     _cf = 0;
   3248     _flag_k = FK_TEST;
   3249     MEM32(esi + 0x4) = 0; /* 0x4200679B: mov dword ptr [esi + 4], 0 */
   3250     if (TEST_Z(_flag_a, _flag_b)) goto L_420067AA; /* 0x420067A2: je 0x420067aa */
   3251 L_420067A4:
   3252     edx = MEM32(ecx); /* 0x420067A4: mov edx, dword ptr [ecx] */
   3253     PUSH32(esp, 1); /* 0x420067A6: push 1 */
   3254     RECOMP_ICALL(MEM32(edx)); /* 0x420067A8: call dword ptr [edx] */
   3255     RECOMP_FLAGS_IN();
   3256 L_420067AA:
   3257     MEM32(esi + 0x8) = 0; /* 0x420067AA: mov dword ptr [esi + 8], 0 */
   3258     esi = POP32_VAL(esp); /* 0x420067B1: pop esi */
   3259     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420067B2: ret  */
   3260 L_42017760:
   3261     ecx = MEM32(ebp + (-0x10)); /* 0x42017760: mov ecx, dword ptr [ebp - 0x10] */
   3262     RECOMP_BACKEDGE();
   3263     goto L_42006780; /* 0x42017763: jmp 0x42006780 */
   3264     { RECOMP_REGS_OUT(); return; } /* end of function */
   3265     RECOMP_REGS_OUT();
   3266 }
   3267 
   3268 void sub_42017768(void) {
   3269     int _fpu_cmp = 0;
   3270     uint32_t _cf = 0;
   3271     int _df = 1;
   3272     uint32_t _flag_k = FK_NONE;
   3273     uint32_t _flag_a = 0, _flag_b = 0;
   3274     uint32_t _itail_tgt = 0;
   3275     RECOMP_REGS_LOCALS
   3276     RECOMP_ENTER(0x42017768u);
   3277 
   3278     goto L_42017768;
   3279 L_420063C0:
   3280     MEM32(ecx) = 0x42018128u; /* 0x420063C0: mov dword ptr [ecx], 0x42018128 */
   3281     goto L_42007080; /* 0x420063C6: jmp 0x42007080 */
   3282 L_42007080:
   3283     MEM32(ecx) = 0x42018120u; /* 0x42007080: mov dword ptr [ecx], 0x42018120 */
   3284     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42007086: ret  */
   3285 L_42017768:
   3286     ecx = MEM32(ebp + (-0x10)); /* 0x42017768: mov ecx, dword ptr [ebp - 0x10] */
   3287     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10Cu);
   3288     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3289     ecx = ecx + 0x10Cu; /* 0x4201776B: add ecx, 0x10c */
   3290     _flag_k = FK_ADD;
   3291     RECOMP_BACKEDGE();
   3292     goto L_420063C0; /* 0x42017771: jmp 0x420063c0 */
   3293     { RECOMP_REGS_OUT(); return; } /* end of function */
   3294     RECOMP_REGS_OUT();
   3295 }
   3296 
   3297 void sub_42017776(void) {
   3298     int _fpu_cmp = 0;
   3299     uint32_t _cf = 0;
   3300     int _df = 1;
   3301     uint32_t _flag_k = FK_NONE;
   3302     uint32_t _flag_a = 0, _flag_b = 0;
   3303     uint32_t _itail_tgt = 0;
   3304     RECOMP_REGS_LOCALS
   3305     RECOMP_ENTER(0x42017776u);
   3306 
   3307     goto L_42017776;
   3308 L_42016F30:
   3309     { _itail_tgt = (uint32_t)(MEM32(0x42018048)); goto _ljump; }
   3310 L_42017776:
   3311     eax = 0x42019B40u; /* 0x42017776: mov eax, 0x42019b40 */
   3312 L_4201777B:
   3313     RECOMP_BACKEDGE();
   3314     goto L_42016F30; /* 0x4201777B: jmp 0x42016f30 */
   3315     { RECOMP_REGS_OUT(); return; } /* end of function */
   3316   _ljump:
   3317     switch (_itail_tgt) {
   3318       case 0x42016F30u: goto L_42016F30;
   3319       case 0x42017776u: goto L_42017776;
   3320       case 0x4201777Bu: goto L_4201777B;
   3321       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3322     }
   3323     RECOMP_REGS_OUT();
   3324 }