aorecomp

Anarchy Online classic in the browser

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


client/game/qqr.dll/lifted-0000.c (262729B)


      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_42001000(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(0x42001000u);
     17 
     18 L_42001000:
     19     RECOMP_ICALL(0x42001010u); /* 0x42001000: call 0x42001010 */ /* not lifted */
     20     RECOMP_FLAGS_IN();
     21     goto L_42001020; /* 0x42001005: jmp 0x42001020 */
     22 L_42001020:
     23     PUSH32(esp, 0x42001030u); /* 0x42001020: push 0x42001030 */
     24     RECOMP_ICALL(0x42016E07u); /* 0x42001025: call 0x42016e07 */ /* not lifted */
     25     RECOMP_FLAGS_IN();
     26     ecx = POP32_VAL(esp); /* 0x4200102A: pop ecx */
     27     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200102B: ret  */
     28     RECOMP_REGS_OUT();
     29 }
     30 
     31 void sub_42001010(void) {
     32     int _fpu_cmp = 0;
     33     uint32_t _cf = 0;
     34     int _df = 1;
     35     uint32_t _flag_k = FK_NONE;
     36     uint32_t _flag_a = 0, _flag_b = 0;
     37     uint32_t _itail_tgt = 0;
     38     RECOMP_REGS_LOCALS
     39     RECOMP_ENTER(0x42001010u);
     40 
     41 L_42001010:
     42     ecx = 0x42022421u; /* 0x42001010: mov ecx, 0x42022421 */
     43 L_42001015:
     44     { _itail_tgt = (uint32_t)(MEM32(0x42018014)); goto _ljump; }
     45     { RECOMP_REGS_OUT(); return; } /* end of function */
     46   _ljump:
     47     switch (_itail_tgt) {
     48       case 0x42001010u: goto L_42001010;
     49       case 0x42001015u: goto L_42001015;
     50       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     51     }
     52     RECOMP_REGS_OUT();
     53 }
     54 
     55 void sub_42001020(void) {
     56     int _fpu_cmp = 0;
     57     uint32_t _cf = 0;
     58     int _df = 1;
     59     uint32_t _flag_k = FK_NONE;
     60     uint32_t _flag_a = 0, _flag_b = 0;
     61     uint32_t _itail_tgt = 0;
     62     RECOMP_REGS_LOCALS
     63     RECOMP_ENTER(0x42001020u);
     64 
     65 L_42001020:
     66     PUSH32(esp, 0x42001030u); /* 0x42001020: push 0x42001030 */
     67     RECOMP_ICALL(0x42016E07u); /* 0x42001025: call 0x42016e07 */ /* not lifted */
     68     RECOMP_FLAGS_IN();
     69     ecx = POP32_VAL(esp); /* 0x4200102A: pop ecx */
     70     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200102B: ret  */
     71     RECOMP_REGS_OUT();
     72 }
     73 
     74 void sub_42001030(void) {
     75     int _fpu_cmp = 0;
     76     uint32_t _cf = 0;
     77     int _df = 1;
     78     uint32_t _flag_k = FK_NONE;
     79     uint32_t _flag_a = 0, _flag_b = 0;
     80     uint32_t _itail_tgt = 0;
     81     RECOMP_REGS_LOCALS
     82     RECOMP_ENTER(0x42001030u);
     83 
     84 L_42001030:
     85     ecx = 0x42022421u; /* 0x42001030: mov ecx, 0x42022421 */
     86 L_42001035:
     87     { _itail_tgt = (uint32_t)(MEM32(0x42018010)); goto _ljump; }
     88     { RECOMP_REGS_OUT(); return; } /* end of function */
     89   _ljump:
     90     switch (_itail_tgt) {
     91       case 0x42001030u: goto L_42001030;
     92       case 0x42001035u: goto L_42001035;
     93       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     94     }
     95     RECOMP_REGS_OUT();
     96 }
     97 
     98 void sub_42001040(void) {
     99     int _fpu_cmp = 0;
    100     uint32_t _cf = 0;
    101     int _df = 1;
    102     uint32_t _flag_k = FK_NONE;
    103     uint32_t _flag_a = 0, _flag_b = 0;
    104     uint32_t _itail_tgt = 0;
    105     RECOMP_REGS_LOCALS
    106     RECOMP_ENTER(0x42001040u);
    107 
    108 L_42001040:
    109     RECOMP_ICALL(0x42001050u); /* 0x42001040: call 0x42001050 */ /* not lifted */
    110     RECOMP_FLAGS_IN();
    111     goto L_42001060; /* 0x42001045: jmp 0x42001060 */
    112 L_42001060:
    113     PUSH32(esp, 0x42001070u); /* 0x42001060: push 0x42001070 */
    114     RECOMP_ICALL(0x42016E07u); /* 0x42001065: call 0x42016e07 */ /* not lifted */
    115     RECOMP_FLAGS_IN();
    116     ecx = POP32_VAL(esp); /* 0x4200106A: pop ecx */
    117     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200106B: ret  */
    118     RECOMP_REGS_OUT();
    119 }
    120 
    121 void sub_42001050(void) {
    122     int _fpu_cmp = 0;
    123     uint32_t _cf = 0;
    124     int _df = 1;
    125     uint32_t _flag_k = FK_NONE;
    126     uint32_t _flag_a = 0, _flag_b = 0;
    127     uint32_t _itail_tgt = 0;
    128     RECOMP_REGS_LOCALS
    129     RECOMP_ENTER(0x42001050u);
    130 
    131 L_42001050:
    132     ecx = 0x42022420u; /* 0x42001050: mov ecx, 0x42022420 */
    133 L_42001055:
    134     { _itail_tgt = (uint32_t)(MEM32(0x42018008)); goto _ljump; }
    135     { RECOMP_REGS_OUT(); return; } /* end of function */
    136   _ljump:
    137     switch (_itail_tgt) {
    138       case 0x42001050u: goto L_42001050;
    139       case 0x42001055u: goto L_42001055;
    140       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    141     }
    142     RECOMP_REGS_OUT();
    143 }
    144 
    145 void sub_42001060(void) {
    146     int _fpu_cmp = 0;
    147     uint32_t _cf = 0;
    148     int _df = 1;
    149     uint32_t _flag_k = FK_NONE;
    150     uint32_t _flag_a = 0, _flag_b = 0;
    151     uint32_t _itail_tgt = 0;
    152     RECOMP_REGS_LOCALS
    153     RECOMP_ENTER(0x42001060u);
    154 
    155 L_42001060:
    156     PUSH32(esp, 0x42001070u); /* 0x42001060: push 0x42001070 */
    157     RECOMP_ICALL(0x42016E07u); /* 0x42001065: call 0x42016e07 */ /* not lifted */
    158     RECOMP_FLAGS_IN();
    159     ecx = POP32_VAL(esp); /* 0x4200106A: pop ecx */
    160     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200106B: ret  */
    161     RECOMP_REGS_OUT();
    162 }
    163 
    164 void sub_42001070(void) {
    165     int _fpu_cmp = 0;
    166     uint32_t _cf = 0;
    167     int _df = 1;
    168     uint32_t _flag_k = FK_NONE;
    169     uint32_t _flag_a = 0, _flag_b = 0;
    170     uint32_t _itail_tgt = 0;
    171     RECOMP_REGS_LOCALS
    172     RECOMP_ENTER(0x42001070u);
    173 
    174 L_42001070:
    175     ecx = 0x42022420u; /* 0x42001070: mov ecx, 0x42022420 */
    176 L_42001075:
    177     { _itail_tgt = (uint32_t)(MEM32(0x4201800C)); goto _ljump; }
    178     { RECOMP_REGS_OUT(); return; } /* end of function */
    179   _ljump:
    180     switch (_itail_tgt) {
    181       case 0x42001070u: goto L_42001070;
    182       case 0x42001075u: goto L_42001075;
    183       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    184     }
    185     RECOMP_REGS_OUT();
    186 }
    187 
    188 void sub_42001080(void) {
    189     int _fpu_cmp = 0;
    190     uint32_t _cf = 0;
    191     int _df = 1;
    192     uint32_t _flag_k = FK_NONE;
    193     uint32_t _flag_a = 0, _flag_b = 0;
    194     uint32_t _itail_tgt = 0;
    195     RECOMP_REGS_LOCALS
    196     RECOMP_ENTER(0x42001080u);
    197 
    198 L_42001080:
    199     eax = ecx; /* 0x42001080: mov eax, ecx */
    200     MEM32(eax) = 0x420180BCu; /* 0x42001082: mov dword ptr [eax], 0x420180bc */
    201     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001088: ret  */
    202     RECOMP_REGS_OUT();
    203 }
    204 
    205 void sub_42001090(void) {
    206     int _fpu_cmp = 0;
    207     uint32_t _cf = 0;
    208     int _df = 1;
    209     uint32_t _flag_k = FK_NONE;
    210     uint32_t _flag_a = 0, _flag_b = 0;
    211     uint32_t _itail_tgt = 0;
    212     RECOMP_REGS_LOCALS
    213     RECOMP_ENTER(0x42001090u);
    214 
    215 L_42001090:
    216     eax = ecx; /* 0x42001090: mov eax, ecx */
    217     MEM32(eax) = 0x420180BCu; /* 0x42001092: mov dword ptr [eax], 0x420180bc */
    218     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42001098: ret 4 */
    219     RECOMP_REGS_OUT();
    220 }
    221 
    222 void sub_420010A0(void) {
    223     int _fpu_cmp = 0;
    224     uint32_t _cf = 0;
    225     int _df = 1;
    226     uint32_t _flag_k = FK_NONE;
    227     uint32_t _flag_a = 0, _flag_b = 0;
    228     uint32_t _itail_tgt = 0;
    229     RECOMP_REGS_LOCALS
    230     RECOMP_ENTER(0x420010A0u);
    231 
    232 L_420010A0:
    233     eax = ecx; /* 0x420010A0: mov eax, ecx */
    234     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420010A2: ret 4 */
    235     RECOMP_REGS_OUT();
    236 }
    237 
    238 void sub_420010B0(void) {
    239     int _fpu_cmp = 0;
    240     uint32_t _cf = 0;
    241     int _df = 1;
    242     uint32_t _flag_k = FK_NONE;
    243     uint32_t _flag_a = 0, _flag_b = 0;
    244     uint32_t _itail_tgt = 0;
    245     RECOMP_REGS_LOCALS
    246     RECOMP_ENTER(0x420010B0u);
    247 
    248 L_420010B0:
    249     PUSH32(esp, ebp); /* 0x420010B0: push ebp */
    250     ebp = esp; /* 0x420010B1: mov ebp, esp */
    251     PUSH32(esp, ebx); /* 0x420010B3: push ebx */
    252     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x420010B4: mov bl, byte ptr [ebp + 8] */
    253     /* test LO8(ebx), 2 */ /* 0x420010B7: test bl, 2 */
    254     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
    255     _cf = 0;
    256     _flag_k = FK_NARROW(FK_TEST, 24);
    257     PUSH32(esp, esi); /* 0x420010BA: push esi */
    258     esi = ecx; /* 0x420010BB: mov esi, ecx */
    259     if (TEST_Z(_flag_a, _flag_b)) goto L_420010EB; /* 0x420010BD: je 0x420010eb */
    260 L_420010BF:
    261     eax = MEM32(esi + (-0x4)); /* 0x420010BF: mov eax, dword ptr [esi - 4] */
    262     PUSH32(esp, edi); /* 0x420010C2: push edi */
    263     PUSH32(esp, 0x42001190u); /* 0x420010C3: push 0x42001190 */
    264     edi = esi + (-0x4); /* 0x420010C8: lea edi, [esi - 4] */
    265     PUSH32(esp, eax); /* 0x420010CB: push eax */
    266     PUSH32(esp, 4); /* 0x420010CC: push 4 */
    267     PUSH32(esp, esi); /* 0x420010CE: push esi */
    268     RECOMP_ICALL(0x42016E3Cu); /* 0x420010CF: call 0x42016e3c */ /* not lifted */
    269     RECOMP_FLAGS_IN();
    270     /* test LO8(ebx), 1 */ /* 0x420010D4: test bl, 1 */
    271     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    272     _cf = 0;
    273     _flag_k = FK_NARROW(FK_TEST, 24);
    274     if (TEST_Z(_flag_a, _flag_b)) goto L_420010E2; /* 0x420010D7: je 0x420010e2 */
    275 L_420010D9:
    276     PUSH32(esp, edi); /* 0x420010D9: push edi */
    277     RECOMP_ICALL(0x42016DD0u); /* 0x420010DA: call 0x42016dd0 */ /* not lifted */
    278     RECOMP_FLAGS_IN();
    279     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    280     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    281     esp = esp + 4; /* 0x420010DF: add esp, 4 */
    282     _flag_k = FK_ADD;
    283 L_420010E2:
    284     eax = edi; /* 0x420010E2: mov eax, edi */
    285     edi = POP32_VAL(esp); /* 0x420010E4: pop edi */
    286     esi = POP32_VAL(esp); /* 0x420010E5: pop esi */
    287     ebx = POP32_VAL(esp); /* 0x420010E6: pop ebx */
    288     ebp = POP32_VAL(esp); /* 0x420010E7: pop ebp */
    289     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420010E8: ret 4 */
    290 L_420010EB:
    291     /* test LO8(ebx), 1 */ /* 0x420010EB: test bl, 1 */
    292     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    293     _cf = 0;
    294     _flag_k = FK_NARROW(FK_TEST, 24);
    295     MEM32(esi) = 0x420180BCu; /* 0x420010EE: mov dword ptr [esi], 0x420180bc */
    296     if (TEST_Z(_flag_a, _flag_b)) goto L_420010FF; /* 0x420010F4: je 0x420010ff */
    297 L_420010F6:
    298     PUSH32(esp, esi); /* 0x420010F6: push esi */
    299     RECOMP_ICALL(0x42016DD0u); /* 0x420010F7: call 0x42016dd0 */ /* not lifted */
    300     RECOMP_FLAGS_IN();
    301     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    302     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    303     esp = esp + 4; /* 0x420010FC: add esp, 4 */
    304     _flag_k = FK_ADD;
    305 L_420010FF:
    306     eax = esi; /* 0x420010FF: mov eax, esi */
    307     esi = POP32_VAL(esp); /* 0x42001101: pop esi */
    308     ebx = POP32_VAL(esp); /* 0x42001102: pop ebx */
    309     ebp = POP32_VAL(esp); /* 0x42001103: pop ebp */
    310     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42001104: ret 4 */
    311     RECOMP_REGS_OUT();
    312 }
    313 
    314 void sub_42001110(void) {
    315     int _fpu_cmp = 0;
    316     uint32_t _cf = 0;
    317     int _df = 1;
    318     uint32_t _flag_k = FK_NONE;
    319     uint32_t _flag_a = 0, _flag_b = 0;
    320     uint32_t _itail_tgt = 0;
    321     RECOMP_REGS_LOCALS
    322     RECOMP_ENTER(0x42001110u);
    323 
    324 L_42001110:
    325     PUSH32(esp, ebp); /* 0x42001110: push ebp */
    326     ebp = esp; /* 0x42001111: mov ebp, esp */
    327     PUSH32(esp, esi); /* 0x42001113: push esi */
    328     eax = ecx; /* 0x42001114: mov eax, ecx */
    329     ecx = MEM32(ebp + 0x8); /* 0x42001116: mov ecx, dword ptr [ebp + 8] */
    330     MEM32(eax) = 0x420180BCu; /* 0x42001119: mov dword ptr [eax], 0x420180bc */
    331     PUSH32(esp, edi); /* 0x4200111F: push edi */
    332     edx = ecx + 0x4; /* 0x42001120: lea edx, [ecx + 4] */
    333     edi = MEM32(edx); /* 0x42001123: mov edi, dword ptr [edx] */
    334     esi = eax + 0x4; /* 0x42001125: lea esi, [eax + 4] */
    335     MEM32(esi) = edi; /* 0x42001128: mov dword ptr [esi], edi */
    336     edi = MEM32(edx + 0x4); /* 0x4200112A: mov edi, dword ptr [edx + 4] */
    337     MEM32(esi + 0x4) = edi; /* 0x4200112D: mov dword ptr [esi + 4], edi */
    338     edx = MEM32(edx + 0x8); /* 0x42001130: mov edx, dword ptr [edx + 8] */
    339     MEM32(esi + 0x8) = edx; /* 0x42001133: mov dword ptr [esi + 8], edx */
    340     edx = ecx + 0x10; /* 0x42001136: lea edx, [ecx + 0x10] */
    341     edi = MEM32(edx); /* 0x42001139: mov edi, dword ptr [edx] */
    342     esi = eax + 0x10; /* 0x4200113B: lea esi, [eax + 0x10] */
    343     MEM32(esi) = edi; /* 0x4200113E: mov dword ptr [esi], edi */
    344     edi = MEM32(edx + 0x4); /* 0x42001140: mov edi, dword ptr [edx + 4] */
    345     MEM32(esi + 0x4) = edi; /* 0x42001143: mov dword ptr [esi + 4], edi */
    346     edx = MEM32(edx + 0x8); /* 0x42001146: mov edx, dword ptr [edx + 8] */
    347     MEM32(esi + 0x8) = edx; /* 0x42001149: mov dword ptr [esi + 8], edx */
    348     edx = MEM32(ecx + 0x1C); /* 0x4200114C: mov edx, dword ptr [ecx + 0x1c] */
    349     MEM32(eax + 0x1C) = edx; /* 0x4200114F: mov dword ptr [eax + 0x1c], edx */
    350     edx = ecx + 0x20; /* 0x42001152: lea edx, [ecx + 0x20] */
    351     edi = MEM32(edx); /* 0x42001155: mov edi, dword ptr [edx] */
    352     esi = eax + 0x20; /* 0x42001157: lea esi, [eax + 0x20] */
    353     MEM32(esi) = edi; /* 0x4200115A: mov dword ptr [esi], edi */
    354     edi = MEM32(edx + 0x4); /* 0x4200115C: mov edi, dword ptr [edx + 4] */
    355     MEM32(esi + 0x4) = edi; /* 0x4200115F: mov dword ptr [esi + 4], edi */
    356     edx = MEM32(edx + 0x8); /* 0x42001162: mov edx, dword ptr [edx + 8] */
    357     MEM32(esi + 0x8) = edx; /* 0x42001165: mov dword ptr [esi + 8], edx */
    358     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2Cu);
    359     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    360     ecx = ecx + 0x2Cu; /* 0x42001168: add ecx, 0x2c */
    361     _flag_k = FK_ADD;
    362     esi = MEM32(ecx); /* 0x4200116B: mov esi, dword ptr [ecx] */
    363     edx = eax + 0x2C; /* 0x4200116D: lea edx, [eax + 0x2c] */
    364     MEM32(edx) = esi; /* 0x42001170: mov dword ptr [edx], esi */
    365     esi = MEM32(ecx + 0x4); /* 0x42001172: mov esi, dword ptr [ecx + 4] */
    366     MEM32(edx + 0x4) = esi; /* 0x42001175: mov dword ptr [edx + 4], esi */
    367     ecx = MEM32(ecx + 0x8); /* 0x42001178: mov ecx, dword ptr [ecx + 8] */
    368     edi = POP32_VAL(esp); /* 0x4200117B: pop edi */
    369     MEM32(edx + 0x8) = ecx; /* 0x4200117C: mov dword ptr [edx + 8], ecx */
    370     MEM32(eax) = 0x420180C8u; /* 0x4200117F: mov dword ptr [eax], 0x420180c8 */
    371     esi = POP32_VAL(esp); /* 0x42001185: pop esi */
    372     ebp = POP32_VAL(esp); /* 0x42001186: pop ebp */
    373     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42001187: ret 4 */
    374     RECOMP_REGS_OUT();
    375 }
    376 
    377 void sub_42001190(void) {
    378     int _fpu_cmp = 0;
    379     uint32_t _cf = 0;
    380     int _df = 1;
    381     uint32_t _flag_k = FK_NONE;
    382     uint32_t _flag_a = 0, _flag_b = 0;
    383     uint32_t _itail_tgt = 0;
    384     RECOMP_REGS_LOCALS
    385     RECOMP_ENTER(0x42001190u);
    386 
    387 L_42001190:
    388     MEM32(ecx) = 0x420180BCu; /* 0x42001190: mov dword ptr [ecx], 0x420180bc */
    389     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001196: ret  */
    390     RECOMP_REGS_OUT();
    391 }
    392 
    393 void sub_420011A0(void) {
    394     int _fpu_cmp = 0;
    395     uint32_t _cf = 0;
    396     int _df = 1;
    397     uint32_t _flag_k = FK_NONE;
    398     uint32_t _flag_a = 0, _flag_b = 0;
    399     uint32_t _itail_tgt = 0;
    400     RECOMP_REGS_LOCALS
    401     RECOMP_ENTER(0x420011A0u);
    402 
    403 L_420011A0:
    404     PUSH32(esp, ebp); /* 0x420011A0: push ebp */
    405     ebp = esp; /* 0x420011A1: mov ebp, esp */
    406     PUSH32(esp, ebx); /* 0x420011A3: push ebx */
    407     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x420011A4: mov bl, byte ptr [ebp + 8] */
    408     /* test LO8(ebx), 2 */ /* 0x420011A7: test bl, 2 */
    409     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
    410     _cf = 0;
    411     _flag_k = FK_NARROW(FK_TEST, 24);
    412     PUSH32(esp, esi); /* 0x420011AA: push esi */
    413     esi = ecx; /* 0x420011AB: mov esi, ecx */
    414     if (TEST_Z(_flag_a, _flag_b)) goto L_420011DB; /* 0x420011AD: je 0x420011db */
    415 L_420011AF:
    416     eax = MEM32(esi + (-0x4)); /* 0x420011AF: mov eax, dword ptr [esi - 4] */
    417     PUSH32(esp, edi); /* 0x420011B2: push edi */
    418     PUSH32(esp, 0x42001190u); /* 0x420011B3: push 0x42001190 */
    419     edi = esi + (-0x4); /* 0x420011B8: lea edi, [esi - 4] */
    420     PUSH32(esp, eax); /* 0x420011BB: push eax */
    421     PUSH32(esp, 0x38u); /* 0x420011BC: push 0x38 */
    422     PUSH32(esp, esi); /* 0x420011BE: push esi */
    423     RECOMP_ICALL(0x42016E3Cu); /* 0x420011BF: call 0x42016e3c */ /* not lifted */
    424     RECOMP_FLAGS_IN();
    425     /* test LO8(ebx), 1 */ /* 0x420011C4: test bl, 1 */
    426     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    427     _cf = 0;
    428     _flag_k = FK_NARROW(FK_TEST, 24);
    429     if (TEST_Z(_flag_a, _flag_b)) goto L_420011D2; /* 0x420011C7: je 0x420011d2 */
    430 L_420011C9:
    431     PUSH32(esp, edi); /* 0x420011C9: push edi */
    432     RECOMP_ICALL(0x42016DD0u); /* 0x420011CA: call 0x42016dd0 */ /* not lifted */
    433     RECOMP_FLAGS_IN();
    434     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    435     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    436     esp = esp + 4; /* 0x420011CF: add esp, 4 */
    437     _flag_k = FK_ADD;
    438 L_420011D2:
    439     eax = edi; /* 0x420011D2: mov eax, edi */
    440     edi = POP32_VAL(esp); /* 0x420011D4: pop edi */
    441     esi = POP32_VAL(esp); /* 0x420011D5: pop esi */
    442     ebx = POP32_VAL(esp); /* 0x420011D6: pop ebx */
    443     ebp = POP32_VAL(esp); /* 0x420011D7: pop ebp */
    444     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420011D8: ret 4 */
    445 L_420011DB:
    446     ecx = esi; /* 0x420011DB: mov ecx, esi */
    447     RECOMP_ICALL(0x42001190u); /* 0x420011DD: call 0x42001190 */ /* not lifted */
    448     RECOMP_FLAGS_IN();
    449     /* test LO8(ebx), 1 */ /* 0x420011E2: test bl, 1 */
    450     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
    451     _cf = 0;
    452     _flag_k = FK_NARROW(FK_TEST, 24);
    453     if (TEST_Z(_flag_a, _flag_b)) goto L_420011F0; /* 0x420011E5: je 0x420011f0 */
    454 L_420011E7:
    455     PUSH32(esp, esi); /* 0x420011E7: push esi */
    456     RECOMP_ICALL(0x42016DD0u); /* 0x420011E8: call 0x42016dd0 */ /* not lifted */
    457     RECOMP_FLAGS_IN();
    458     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    459     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    460     esp = esp + 4; /* 0x420011ED: add esp, 4 */
    461     _flag_k = FK_ADD;
    462 L_420011F0:
    463     eax = esi; /* 0x420011F0: mov eax, esi */
    464     esi = POP32_VAL(esp); /* 0x420011F2: pop esi */
    465     ebx = POP32_VAL(esp); /* 0x420011F3: pop ebx */
    466     ebp = POP32_VAL(esp); /* 0x420011F4: pop ebp */
    467     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420011F5: ret 4 */
    468     RECOMP_REGS_OUT();
    469 }
    470 
    471 void sub_42001200(void) {
    472     int _fpu_cmp = 0;
    473     uint32_t _cf = 0;
    474     int _df = 1;
    475     uint32_t _flag_k = FK_NONE;
    476     uint32_t _flag_a = 0, _flag_b = 0;
    477     uint32_t _itail_tgt = 0;
    478     RECOMP_REGS_LOCALS
    479     RECOMP_ENTER(0x42001200u);
    480 
    481 L_42001200:
    482     PUSH32(esp, ebp); /* 0x42001200: push ebp */
    483     ebp = esp; /* 0x42001201: mov ebp, esp */
    484     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u);
    485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    486     esp = esp - 0x24u; /* 0x42001203: sub esp, 0x24 */
    487     _flag_k = FK_CMP;
    488     edx = MEM32(ebp + 0x8); /* 0x42001206: mov edx, dword ptr [ebp + 8] */
    489     fp_push(*(float*)&MEM32(ebp + 0x10)); /* 0x42001209: fld dword ptr [ebp + 0x10] */
    490     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x4200120C: fmul dword ptr [0x420180d0] */
    491     eax = ecx; /* 0x42001212: mov eax, ecx */
    492     MEM32(eax) = 0x420180BCu; /* 0x42001214: mov dword ptr [eax], 0x420180bc */
    493     PUSH32(esp, ebx); /* 0x4200121A: push ebx */
    494     PUSH32(esp, esi); /* 0x4200121B: push esi */
    495     PUSH32(esp, edi); /* 0x4200121C: push edi */
    496     edi = MEM32(edx); /* 0x4200121D: mov edi, dword ptr [edx] */
    497     ecx = eax + 0x4; /* 0x4200121F: lea ecx, [eax + 4] */
    498     esi = ecx; /* 0x42001222: mov esi, ecx */
    499     MEM32(esi) = edi; /* 0x42001224: mov dword ptr [esi], edi */
    500     edi = MEM32(edx + 0x4); /* 0x42001226: mov edi, dword ptr [edx + 4] */
    501     MEM32(esi + 0x4) = edi; /* 0x42001229: mov dword ptr [esi + 4], edi */
    502     edx = MEM32(edx + 0x8); /* 0x4200122C: mov edx, dword ptr [edx + 8] */
    503     MEM32(esi + 0x8) = edx; /* 0x4200122F: mov dword ptr [esi + 8], edx */
    504     esi = MEM32(ebp + 0xC); /* 0x42001232: mov esi, dword ptr [ebp + 0xc] */
    505     ebx = MEM32(esi); /* 0x42001235: mov ebx, dword ptr [esi] */
    506     edx = eax + 0x10; /* 0x42001237: lea edx, [eax + 0x10] */
    507     edi = edx; /* 0x4200123A: mov edi, edx */
    508     MEM32(edi) = ebx; /* 0x4200123C: mov dword ptr [edi], ebx */
    509     ebx = MEM32(esi + 0x4); /* 0x4200123E: mov ebx, dword ptr [esi + 4] */
    510     MEM32(edi + 0x4) = ebx; /* 0x42001241: mov dword ptr [edi + 4], ebx */
    511     esi = MEM32(esi + 0x8); /* 0x42001244: mov esi, dword ptr [esi + 8] */
    512     MEM32(edi + 0x8) = esi; /* 0x42001247: mov dword ptr [edi + 8], esi */
    513     esi = MEM32(ebp + 0x10); /* 0x4200124A: mov esi, dword ptr [ebp + 0x10] */
    514     edi = MEM32(ebp + 0x14); /* 0x4200124D: mov edi, dword ptr [ebp + 0x14] */
    515     MEM32(eax + 0x1C) = esi; /* 0x42001250: mov dword ptr [eax + 0x1c], esi */
    516     ebx = MEM32(edi); /* 0x42001253: mov ebx, dword ptr [edi] */
    517     esi = eax + 0x20; /* 0x42001255: lea esi, [eax + 0x20] */
    518     MEM32(esi) = ebx; /* 0x42001258: mov dword ptr [esi], ebx */
    519     ebx = MEM32(edi + 0x4); /* 0x4200125A: mov ebx, dword ptr [edi + 4] */
    520     MEM32(esi + 0x4) = ebx; /* 0x4200125D: mov dword ptr [esi + 4], ebx */
    521     edi = MEM32(edi + 0x8); /* 0x42001260: mov edi, dword ptr [edi + 8] */
    522     MEM32(esi + 0x8) = edi; /* 0x42001263: mov dword ptr [esi + 8], edi */
    523     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    524     esi = 0; /* 0x42001266: xor esi, esi */
    525     _cf = 0;
    526     _flag_k = FK_TEST;
    527     MEM32(eax + 0x2C) = esi; /* 0x42001268: mov dword ptr [eax + 0x2c], esi */
    528     MEM32(eax + 0x30) = esi; /* 0x4200126B: mov dword ptr [eax + 0x30], esi */
    529     MEM32(eax + 0x34) = esi; /* 0x4200126E: mov dword ptr [eax + 0x34], esi */
    530     esi = MEM32(eax + 0x20); /* 0x42001271: mov esi, dword ptr [eax + 0x20] */
    531     MEM32(ebp + (-0x24)) = esi; /* 0x42001274: mov dword ptr [ebp - 0x24], esi */
    532     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x42001277: fld dword ptr [ebp - 0x24] */
    533     esi = MEM32(eax + 0x24); /* 0x4200127A: mov esi, dword ptr [eax + 0x24] */
    534     _st[0] *= _st[1]; /* 0x4200127D: fmul st(1) */
    535     MEM32(ebp + (-0x20)) = esi; /* 0x4200127F: mov dword ptr [ebp - 0x20], esi */
    536     esi = MEM32(eax + 0x28); /* 0x42001282: mov esi, dword ptr [eax + 0x28] */
    537     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x42001285: fstp dword ptr [ebp - 0x24] */
    538     MEM32(ebp + (-0x1C)) = esi; /* 0x42001288: mov dword ptr [ebp - 0x1c], esi */
    539     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x4200128B: fld dword ptr [ebp - 0x20] */
    540     esi = MEM32(edx); /* 0x4200128E: mov esi, dword ptr [edx] */
    541     _st[0] *= _st[1]; /* 0x42001290: fmul st(1) */
    542     MEM32(ebp + (-0xC)) = esi; /* 0x42001292: mov dword ptr [ebp - 0xc], esi */
    543     esi = MEM32(edx + 0x4); /* 0x42001295: mov esi, dword ptr [edx + 4] */
    544     edx = MEM32(edx + 0x8); /* 0x42001298: mov edx, dword ptr [edx + 8] */
    545     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x4200129B: fstp dword ptr [ebp - 0x20] */
    546     MEM32(eax) = 0x420180C8u; /* 0x4200129E: mov dword ptr [eax], 0x420180c8 */
    547     MEM32(ebp + (-0x8)) = esi; /* 0x420012A4: mov dword ptr [ebp - 8], esi */
    548     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x420012A7: fmul dword ptr [ebp - 0x1c] */
    549     MEM32(ebp + (-0x4)) = edx; /* 0x420012AA: mov dword ptr [ebp - 4], edx */
    550     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x420012AD: fld dword ptr [ebp - 0xc] */
    551     _st[0] -= (double)*(float*)ADDR(ecx); /* 0x420012B0: fsub dword ptr [ecx] */
    552     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x420012B2: fstp dword ptr [ebp - 0xc] */
    553     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x420012B5: fld dword ptr [ebp - 8] */
    554     _st[0] -= (double)*(float*)ADDR(ecx + 0x4); /* 0x420012B8: fsub dword ptr [ecx + 4] */
    555     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x420012BB: fstp dword ptr [ebp - 8] */
    556     edx = MEM32(ebp + (-0x8)); /* 0x420012BE: mov edx, dword ptr [ebp - 8] */
    557     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x420012C1: fld dword ptr [ebp - 4] */
    558     MEM32(ebp + (-0x14)) = edx; /* 0x420012C4: mov dword ptr [ebp - 0x14], edx */
    559     _st[0] -= (double)*(float*)ADDR(ecx + 0x8); /* 0x420012C7: fsub dword ptr [ecx + 8] */
    560     ecx = MEM32(ebp + (-0xC)); /* 0x420012CA: mov ecx, dword ptr [ebp - 0xc] */
    561     MEM32(ebp + (-0x18)) = ecx; /* 0x420012CD: mov dword ptr [ebp - 0x18], ecx */
    562     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x420012D0: fstp dword ptr [ebp - 4] */
    563     ecx = MEM32(ebp + (-0x4)); /* 0x420012D3: mov ecx, dword ptr [ebp - 4] */
    564     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x420012D6: fld dword ptr [ebp - 0xc] */
    565     MEM32(ebp + (-0x10)) = ecx; /* 0x420012D9: mov dword ptr [ebp - 0x10], ecx */
    566     _st[0] /= (double)*(float*)ADDR(ebp + 0x10); /* 0x420012DC: fdiv dword ptr [ebp + 0x10] */
    567     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x420012DF: fstp dword ptr [ebp - 0x18] */
    568     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x420012E2: fld dword ptr [ebp - 0x14] */
    569     _st[0] /= (double)*(float*)ADDR(ebp + 0x10); /* 0x420012E5: fdiv dword ptr [ebp + 0x10] */
    570     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x420012E8: fstp dword ptr [ebp - 0x14] */
    571     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x420012EB: fld dword ptr [ebp - 0x10] */
    572     edx = MEM32(ebp + (-0x18)); /* 0x420012EE: mov edx, dword ptr [ebp - 0x18] */
    573     _st[0] /= (double)*(float*)ADDR(ebp + 0x10); /* 0x420012F1: fdiv dword ptr [ebp + 0x10] */
    574     ecx = MEM32(ebp + (-0x14)); /* 0x420012F4: mov ecx, dword ptr [ebp - 0x14] */
    575     MEM32(ebp + (-0xC)) = edx; /* 0x420012F7: mov dword ptr [ebp - 0xc], edx */
    576     MEM32(ebp + (-0x8)) = ecx; /* 0x420012FA: mov dword ptr [ebp - 8], ecx */
    577     edi = POP32_VAL(esp); /* 0x420012FD: pop edi */
    578     esi = POP32_VAL(esp); /* 0x420012FE: pop esi */
    579     ebx = POP32_VAL(esp); /* 0x420012FF: pop ebx */
    580     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x42001300: fstp dword ptr [ebp - 0x10] */
    581     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x42001303: fld dword ptr [ebp - 0x18] */
    582     _st[0] -= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x42001306: fsub dword ptr [ebp - 0x24] */
    583     edx = MEM32(ebp + (-0x10)); /* 0x42001309: mov edx, dword ptr [ebp - 0x10] */
    584     MEM32(ebp + (-0x4)) = edx; /* 0x4200130C: mov dword ptr [ebp - 4], edx */
    585     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x4200130F: fstp dword ptr [ebp - 0xc] */
    586     ecx = MEM32(ebp + (-0xC)); /* 0x42001312: mov ecx, dword ptr [ebp - 0xc] */
    587     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x42001315: fld dword ptr [ebp - 8] */
    588     MEM32(eax + 0x2C) = ecx; /* 0x42001318: mov dword ptr [eax + 0x2c], ecx */
    589     _st[0] -= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x4200131B: fsub dword ptr [ebp - 0x20] */
    590     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x4200131E: fstp dword ptr [ebp - 8] */
    591     edx = MEM32(ebp + (-0x8)); /* 0x42001321: mov edx, dword ptr [ebp - 8] */
    592     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x42001324: fld dword ptr [ebp - 4] */
    593     MEM32(eax + 0x30) = edx; /* 0x42001327: mov dword ptr [eax + 0x30], edx */
    594     _st[0] -= _st[1]; /* 0x4200132A: fsub st(1) */
    595     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x4200132C: fstp dword ptr [ebp - 4] */
    596     ecx = MEM32(ebp + (-0x4)); /* 0x4200132F: mov ecx, dword ptr [ebp - 4] */
    597     MEM32(eax + 0x34) = ecx; /* 0x42001332: mov dword ptr [eax + 0x34], ecx */
    598     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x42001335: fstp st(0) */
    599     esp = ebp; /* 0x42001337: mov esp, ebp */
    600     ebp = POP32_VAL(esp); /* 0x42001339: pop ebp */
    601     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4200133A: ret 0x10 */
    602     RECOMP_REGS_OUT();
    603 }
    604 
    605 void sub_42001340(void) {
    606     int _fpu_cmp = 0;
    607     uint32_t _cf = 0;
    608     int _df = 1;
    609     uint32_t _flag_k = FK_NONE;
    610     uint32_t _flag_a = 0, _flag_b = 0;
    611     uint32_t _itail_tgt = 0;
    612     RECOMP_REGS_LOCALS
    613     RECOMP_ENTER(0x42001340u);
    614 
    615 L_42001340:
    616     PUSH32(esp, ebp); /* 0x42001340: push ebp */
    617     ebp = esp; /* 0x42001341: mov ebp, esp */
    618     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u);
    619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    620     esp = esp - 0x24u; /* 0x42001343: sub esp, 0x24 */
    621     _flag_k = FK_CMP;
    622     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x42001346: fld dword ptr [ebp + 8] */
    623     SET_LO8(edx, 1); /* 0x42001349: mov dl, 1 */
    624     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ecx + 0x1C)); /* 0x4200134B: fcomp dword ptr [ecx + 0x1c] */
    625     fp_pop();
    626     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x4200134E: fnstsw ax */
    627     /* test HI8(eax), 0x41u */ /* 0x42001350: test ah, 0x41 */
    628     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
    629     _cf = 0;
    630     _flag_k = FK_NARROW(FK_TEST, 24);
    631     if (TEST_NZ(_flag_a, _flag_b)) goto L_4200135D; /* 0x42001353: jne 0x4200135d */
    632 L_42001355:
    633     eax = MEM32(ecx + 0x1C); /* 0x42001355: mov eax, dword ptr [ecx + 0x1c] */
    634     MEM32(ebp + 0x8) = eax; /* 0x42001358: mov dword ptr [ebp + 8], eax */
    635     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
    636     SET_LO8(edx, 0); /* 0x4200135B: xor dl, dl */
    637     _cf = 0;
    638     _flag_k = FK_NARROW(FK_TEST, 24);
    639 L_4200135D:
    640     eax = ecx + 0x20; /* 0x4200135D: lea eax, [ecx + 0x20] */
    641     PUSH32(esp, esi); /* 0x42001360: push esi */
    642     esi = MEM32(eax); /* 0x42001361: mov esi, dword ptr [eax] */
    643     MEM32(ebp + (-0xC)) = esi; /* 0x42001363: mov dword ptr [ebp - 0xc], esi */
    644     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x42001366: fld dword ptr [ebp - 0xc] */
    645     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x42001369: fmul dword ptr [0x420180d0] */
    646     esi = MEM32(eax + 0x4); /* 0x4200136F: mov esi, dword ptr [eax + 4] */
    647     eax = MEM32(eax + 0x8); /* 0x42001372: mov eax, dword ptr [eax + 8] */
    648     MEM32(ebp + (-0x4)) = eax; /* 0x42001375: mov dword ptr [ebp - 4], eax */
    649     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x42001378: fstp dword ptr [ebp - 0xc] */
    650     eax = MEM32(ebp + (-0xC)); /* 0x4200137B: mov eax, dword ptr [ebp - 0xc] */
    651     MEM32(ebp + (-0x8)) = esi; /* 0x4200137E: mov dword ptr [ebp - 8], esi */
    652     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x42001381: fld dword ptr [ebp - 8] */
    653     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x42001384: fmul dword ptr [0x420180d0] */
    654     MEM32(ebp + (-0x24)) = eax; /* 0x4200138A: mov dword ptr [ebp - 0x24], eax */
    655     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x4200138D: fstp dword ptr [ebp - 8] */
    656     eax = MEM32(ebp + (-0x8)); /* 0x42001390: mov eax, dword ptr [ebp - 8] */
    657     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x42001393: fld dword ptr [ebp - 4] */
    658     MEM32(ebp + (-0x20)) = eax; /* 0x42001396: mov dword ptr [ebp - 0x20], eax */
    659     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x42001399: fmul dword ptr [0x420180d0] */
    660     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x4200139F: fstp dword ptr [ebp - 4] */
    661     eax = MEM32(ebp + (-0x4)); /* 0x420013A2: mov eax, dword ptr [ebp - 4] */
    662     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x420013A5: fld dword ptr [ebp + 8] */
    663     MEM32(ebp + (-0x1C)) = eax; /* 0x420013A8: mov dword ptr [ebp - 0x1c], eax */
    664     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x420013AB: fmul dword ptr [ebp + 8] */
    665     eax = ecx + 0x2C; /* 0x420013AE: lea eax, [ecx + 0x2c] */
    666     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x420013B1: fld dword ptr [ebp - 0xc] */
    667     esi = MEM32(eax); /* 0x420013B4: mov esi, dword ptr [eax] */
    668     MEM32(ebp + (-0x18)) = esi; /* 0x420013B6: mov dword ptr [ebp - 0x18], esi */
    669     _st[0] *= _st[1]; /* 0x420013B9: fmul st(1) */
    670     esi = MEM32(eax + 0x4); /* 0x420013BB: mov esi, dword ptr [eax + 4] */
    671     eax = MEM32(eax + 0x8); /* 0x420013BE: mov eax, dword ptr [eax + 8] */
    672     MEM32(ebp + (-0x14)) = esi; /* 0x420013C1: mov dword ptr [ebp - 0x14], esi */
    673     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x24)) = _v; } /* 0x420013C4: fstp dword ptr [ebp - 0x24] */
    674     MEM32(ebp + (-0x10)) = eax; /* 0x420013C7: mov dword ptr [ebp - 0x10], eax */
    675     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x420013CA: fld dword ptr [ebp - 0x20] */
    676     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
    677     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    678     ecx = ecx + 4; /* 0x420013CD: add ecx, 4 */
    679     _flag_k = FK_ADD;
    680     _st[0] *= _st[1]; /* 0x420013D0: fmul st(1) */
    681     eax = MEM32(ecx); /* 0x420013D2: mov eax, dword ptr [ecx] */
    682     MEM32(ebp + (-0xC)) = eax; /* 0x420013D4: mov dword ptr [ebp - 0xc], eax */
    683     eax = MEM32(ecx + 0x4); /* 0x420013D7: mov eax, dword ptr [ecx + 4] */
    684     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x20)) = _v; } /* 0x420013DA: fstp dword ptr [ebp - 0x20] */
    685     ecx = MEM32(ecx + 0x8); /* 0x420013DD: mov ecx, dword ptr [ecx + 8] */
    686     MEM32(ebp + (-0x8)) = eax; /* 0x420013E0: mov dword ptr [ebp - 8], eax */
    687     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x420013E3: fmul dword ptr [ebp - 0x1c] */
    688     MEM32(ebp + (-0x4)) = ecx; /* 0x420013E6: mov dword ptr [ebp - 4], ecx */
    689     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x420013E9: fld dword ptr [ebp - 0x18] */
    690     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x420013EC: fmul dword ptr [ebp + 8] */
    691     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x420013EF: fld dword ptr [ebp - 0x14] */
    692     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x420013F2: fmul dword ptr [ebp + 8] */
    693     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x420013F5: fstp dword ptr [ebp - 0x14] */
    694     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x420013F8: fld dword ptr [ebp - 0x10] */
    695     _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x420013FB: fmul dword ptr [ebp + 8] */
    696     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x420013FE: fstp dword ptr [ebp - 0x10] */
    697     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x42001401: fld dword ptr [ebp - 0xc] */
    698     _st[0] += _st[1]; /* 0x42001404: fadd st(1) */
    699     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x42001406: fstp dword ptr [ebp - 0xc] */
    700     eax = MEM32(ebp + (-0xC)); /* 0x42001409: mov eax, dword ptr [ebp - 0xc] */
    701     MEM32(ebp + (-0x18)) = eax; /* 0x4200140C: mov dword ptr [ebp - 0x18], eax */
    702     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x4200140F: fstp st(0) */
    703     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x42001411: fld dword ptr [ebp - 8] */
    704     _st[0] += (double)*(float*)ADDR(ebp + (-0x14)); /* 0x42001414: fadd dword ptr [ebp - 0x14] */
    705     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x42001417: fstp dword ptr [ebp - 8] */
    706     ecx = MEM32(ebp + (-0x8)); /* 0x4200141A: mov ecx, dword ptr [ebp - 8] */
    707     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x4200141D: fld dword ptr [ebp - 4] */
    708     MEM32(ebp + (-0x14)) = ecx; /* 0x42001420: mov dword ptr [ebp - 0x14], ecx */
    709     _st[0] += (double)*(float*)ADDR(ebp + (-0x10)); /* 0x42001423: fadd dword ptr [ebp - 0x10] */
    710     ecx = MEM32(ebp + 0xC); /* 0x42001426: mov ecx, dword ptr [ebp + 0xc] */
    711     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x42001429: fstp dword ptr [ebp - 4] */
    712     eax = MEM32(ebp + (-0x4)); /* 0x4200142C: mov eax, dword ptr [ebp - 4] */
    713     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x4200142F: fld dword ptr [ebp - 0xc] */
    714     MEM32(ebp + (-0x10)) = eax; /* 0x42001432: mov dword ptr [ebp - 0x10], eax */
    715     _st[0] += (double)*(float*)ADDR(ebp + (-0x24)); /* 0x42001435: fadd dword ptr [ebp - 0x24] */
    716     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x42001438: fstp dword ptr [ebp - 0x18] */
    717     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x4200143B: fld dword ptr [ebp - 0x14] */
    718     _st[0] += (double)*(float*)ADDR(ebp + (-0x20)); /* 0x4200143E: fadd dword ptr [ebp - 0x20] */
    719     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x42001441: fstp dword ptr [ebp - 0x14] */
    720     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x42001444: fld dword ptr [ebp - 0x10] */
    721     _st[0] += _st[1]; /* 0x42001447: fadd st(1) */
    722     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x42001449: fstp dword ptr [ebp - 0x10] */
    723     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x4200144C: fstp st(0) */
    724     eax = MEM32(ebp + (-0x18)); /* 0x4200144E: mov eax, dword ptr [ebp - 0x18] */
    725     MEM32(ecx) = eax; /* 0x42001451: mov dword ptr [ecx], eax */
    726     eax = MEM32(ebp + (-0x14)); /* 0x42001453: mov eax, dword ptr [ebp - 0x14] */
    727     MEM32(ecx + 0x4) = eax; /* 0x42001456: mov dword ptr [ecx + 4], eax */
    728     eax = MEM32(ebp + (-0x10)); /* 0x42001459: mov eax, dword ptr [ebp - 0x10] */
    729     MEM32(ecx + 0x8) = eax; /* 0x4200145C: mov dword ptr [ecx + 8], eax */
    730     SET_LO8(eax, LO8(edx)); /* 0x4200145F: mov al, dl */
    731     esi = POP32_VAL(esp); /* 0x42001461: pop esi */
    732     esp = ebp; /* 0x42001462: mov esp, ebp */
    733     ebp = POP32_VAL(esp); /* 0x42001464: pop ebp */
    734     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42001465: ret 8 */
    735     RECOMP_REGS_OUT();
    736 }
    737 
    738 void sub_42001470(void) {
    739     int _fpu_cmp = 0;
    740     uint32_t _cf = 0;
    741     int _df = 1;
    742     uint32_t _flag_k = FK_NONE;
    743     uint32_t _flag_a = 0, _flag_b = 0;
    744     uint32_t _itail_tgt = 0;
    745     RECOMP_REGS_LOCALS
    746     RECOMP_ENTER(0x42001470u);
    747 
    748 L_42001470:
    749     RECOMP_ICALL(0x42001480u); /* 0x42001470: call 0x42001480 */ /* not lifted */
    750     RECOMP_FLAGS_IN();
    751     goto L_42001490; /* 0x42001475: jmp 0x42001490 */
    752 L_42001490:
    753     PUSH32(esp, 0x420014A0u); /* 0x42001490: push 0x420014a0 */
    754     RECOMP_ICALL(0x42016E07u); /* 0x42001495: call 0x42016e07 */ /* not lifted */
    755     RECOMP_FLAGS_IN();
    756     ecx = POP32_VAL(esp); /* 0x4200149A: pop ecx */
    757     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200149B: ret  */
    758     RECOMP_REGS_OUT();
    759 }
    760 
    761 void sub_42001480(void) {
    762     int _fpu_cmp = 0;
    763     uint32_t _cf = 0;
    764     int _df = 1;
    765     uint32_t _flag_k = FK_NONE;
    766     uint32_t _flag_a = 0, _flag_b = 0;
    767     uint32_t _itail_tgt = 0;
    768     RECOMP_REGS_LOCALS
    769     RECOMP_ENTER(0x42001480u);
    770 
    771 L_42001480:
    772     ecx = 0x4202242Au; /* 0x42001480: mov ecx, 0x4202242a */
    773 L_42001485:
    774     { _itail_tgt = (uint32_t)(MEM32(0x42018014)); goto _ljump; }
    775     { RECOMP_REGS_OUT(); return; } /* end of function */
    776   _ljump:
    777     switch (_itail_tgt) {
    778       case 0x42001480u: goto L_42001480;
    779       case 0x42001485u: goto L_42001485;
    780       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    781     }
    782     RECOMP_REGS_OUT();
    783 }
    784 
    785 void sub_42001490(void) {
    786     int _fpu_cmp = 0;
    787     uint32_t _cf = 0;
    788     int _df = 1;
    789     uint32_t _flag_k = FK_NONE;
    790     uint32_t _flag_a = 0, _flag_b = 0;
    791     uint32_t _itail_tgt = 0;
    792     RECOMP_REGS_LOCALS
    793     RECOMP_ENTER(0x42001490u);
    794 
    795 L_42001490:
    796     PUSH32(esp, 0x420014A0u); /* 0x42001490: push 0x420014a0 */
    797     RECOMP_ICALL(0x42016E07u); /* 0x42001495: call 0x42016e07 */ /* not lifted */
    798     RECOMP_FLAGS_IN();
    799     ecx = POP32_VAL(esp); /* 0x4200149A: pop ecx */
    800     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200149B: ret  */
    801     RECOMP_REGS_OUT();
    802 }
    803 
    804 void sub_420014A0(void) {
    805     int _fpu_cmp = 0;
    806     uint32_t _cf = 0;
    807     int _df = 1;
    808     uint32_t _flag_k = FK_NONE;
    809     uint32_t _flag_a = 0, _flag_b = 0;
    810     uint32_t _itail_tgt = 0;
    811     RECOMP_REGS_LOCALS
    812     RECOMP_ENTER(0x420014A0u);
    813 
    814 L_420014A0:
    815     ecx = 0x4202242Au; /* 0x420014A0: mov ecx, 0x4202242a */
    816 L_420014A5:
    817     { _itail_tgt = (uint32_t)(MEM32(0x42018010)); goto _ljump; }
    818     { RECOMP_REGS_OUT(); return; } /* end of function */
    819   _ljump:
    820     switch (_itail_tgt) {
    821       case 0x420014A0u: goto L_420014A0;
    822       case 0x420014A5u: goto L_420014A5;
    823       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    824     }
    825     RECOMP_REGS_OUT();
    826 }
    827 
    828 void sub_420014B0(void) {
    829     int _fpu_cmp = 0;
    830     uint32_t _cf = 0;
    831     int _df = 1;
    832     uint32_t _flag_k = FK_NONE;
    833     uint32_t _flag_a = 0, _flag_b = 0;
    834     uint32_t _itail_tgt = 0;
    835     RECOMP_REGS_LOCALS
    836     RECOMP_ENTER(0x420014B0u);
    837 
    838 L_420014B0:
    839     RECOMP_ICALL(0x420014C0u); /* 0x420014B0: call 0x420014c0 */ /* not lifted */
    840     RECOMP_FLAGS_IN();
    841     goto L_420014D0; /* 0x420014B5: jmp 0x420014d0 */
    842 L_420014D0:
    843     PUSH32(esp, 0x420014E0u); /* 0x420014D0: push 0x420014e0 */
    844     RECOMP_ICALL(0x42016E07u); /* 0x420014D5: call 0x42016e07 */ /* not lifted */
    845     RECOMP_FLAGS_IN();
    846     ecx = POP32_VAL(esp); /* 0x420014DA: pop ecx */
    847     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420014DB: ret  */
    848     RECOMP_REGS_OUT();
    849 }
    850 
    851 void sub_420014C0(void) {
    852     int _fpu_cmp = 0;
    853     uint32_t _cf = 0;
    854     int _df = 1;
    855     uint32_t _flag_k = FK_NONE;
    856     uint32_t _flag_a = 0, _flag_b = 0;
    857     uint32_t _itail_tgt = 0;
    858     RECOMP_REGS_LOCALS
    859     RECOMP_ENTER(0x420014C0u);
    860 
    861 L_420014C0:
    862     ecx = 0x42022429u; /* 0x420014C0: mov ecx, 0x42022429 */
    863 L_420014C5:
    864     { _itail_tgt = (uint32_t)(MEM32(0x42018008)); goto _ljump; }
    865     { RECOMP_REGS_OUT(); return; } /* end of function */
    866   _ljump:
    867     switch (_itail_tgt) {
    868       case 0x420014C0u: goto L_420014C0;
    869       case 0x420014C5u: goto L_420014C5;
    870       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    871     }
    872     RECOMP_REGS_OUT();
    873 }
    874 
    875 void sub_420014D0(void) {
    876     int _fpu_cmp = 0;
    877     uint32_t _cf = 0;
    878     int _df = 1;
    879     uint32_t _flag_k = FK_NONE;
    880     uint32_t _flag_a = 0, _flag_b = 0;
    881     uint32_t _itail_tgt = 0;
    882     RECOMP_REGS_LOCALS
    883     RECOMP_ENTER(0x420014D0u);
    884 
    885 L_420014D0:
    886     PUSH32(esp, 0x420014E0u); /* 0x420014D0: push 0x420014e0 */
    887     RECOMP_ICALL(0x42016E07u); /* 0x420014D5: call 0x42016e07 */ /* not lifted */
    888     RECOMP_FLAGS_IN();
    889     ecx = POP32_VAL(esp); /* 0x420014DA: pop ecx */
    890     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420014DB: ret  */
    891     RECOMP_REGS_OUT();
    892 }
    893 
    894 void sub_420014E0(void) {
    895     int _fpu_cmp = 0;
    896     uint32_t _cf = 0;
    897     int _df = 1;
    898     uint32_t _flag_k = FK_NONE;
    899     uint32_t _flag_a = 0, _flag_b = 0;
    900     uint32_t _itail_tgt = 0;
    901     RECOMP_REGS_LOCALS
    902     RECOMP_ENTER(0x420014E0u);
    903 
    904 L_420014E0:
    905     ecx = 0x42022429u; /* 0x420014E0: mov ecx, 0x42022429 */
    906 L_420014E5:
    907     { _itail_tgt = (uint32_t)(MEM32(0x4201800C)); goto _ljump; }
    908     { RECOMP_REGS_OUT(); return; } /* end of function */
    909   _ljump:
    910     switch (_itail_tgt) {
    911       case 0x420014E0u: goto L_420014E0;
    912       case 0x420014E5u: goto L_420014E5;
    913       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    914     }
    915     RECOMP_REGS_OUT();
    916 }
    917 
    918 void sub_420014F0(void) {
    919     int _fpu_cmp = 0;
    920     uint32_t _cf = 0;
    921     int _df = 1;
    922     uint32_t _flag_k = FK_NONE;
    923     uint32_t _flag_a = 0, _flag_b = 0;
    924     uint32_t _itail_tgt = 0;
    925     RECOMP_REGS_LOCALS
    926     RECOMP_ENTER(0x420014F0u);
    927 
    928 L_420014F0:
    929     eax = ecx; /* 0x420014F0: mov eax, ecx */
    930     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    931     ecx = 0; /* 0x420014F2: xor ecx, ecx */
    932     _cf = 0;
    933     _flag_k = FK_TEST;
    934     MEM32(eax) = ecx; /* 0x420014F4: mov dword ptr [eax], ecx */
    935     MEM32(eax + 0x4) = ecx; /* 0x420014F6: mov dword ptr [eax + 4], ecx */
    936     MEM32(eax + 0x8) = ecx; /* 0x420014F9: mov dword ptr [eax + 8], ecx */
    937     MEM32(eax + 0xC) = ecx; /* 0x420014FC: mov dword ptr [eax + 0xc], ecx */
    938     MEM32(eax + 0x10) = ecx; /* 0x420014FF: mov dword ptr [eax + 0x10], ecx */
    939     MEM32(eax + 0x14) = ecx; /* 0x42001502: mov dword ptr [eax + 0x14], ecx */
    940     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001505: ret  */
    941     RECOMP_REGS_OUT();
    942 }
    943 
    944 void sub_42001510(void) {
    945     int _fpu_cmp = 0;
    946     uint32_t _cf = 0;
    947     int _df = 1;
    948     uint32_t _flag_k = FK_NONE;
    949     uint32_t _flag_a = 0, _flag_b = 0;
    950     uint32_t _itail_tgt = 0;
    951     RECOMP_REGS_LOCALS
    952     RECOMP_ENTER(0x42001510u);
    953 
    954 L_42001510:
    955     PUSH32(esp, ebp); /* 0x42001510: push ebp */
    956     ebp = esp; /* 0x42001511: mov ebp, esp */
    957     eax = ecx; /* 0x42001513: mov eax, ecx */
    958     ecx = MEM32(ebp + 0x8); /* 0x42001515: mov ecx, dword ptr [ebp + 8] */
    959     PUSH32(esp, esi); /* 0x42001518: push esi */
    960     esi = MEM32(ecx); /* 0x42001519: mov esi, dword ptr [ecx] */
    961     edx = eax; /* 0x4200151B: mov edx, eax */
    962     MEM32(edx) = esi; /* 0x4200151D: mov dword ptr [edx], esi */
    963     esi = MEM32(ecx + 0x4); /* 0x4200151F: mov esi, dword ptr [ecx + 4] */
    964     MEM32(edx + 0x4) = esi; /* 0x42001522: mov dword ptr [edx + 4], esi */
    965     ecx = MEM32(ecx + 0x8); /* 0x42001525: mov ecx, dword ptr [ecx + 8] */
    966     MEM32(edx + 0x8) = ecx; /* 0x42001528: mov dword ptr [edx + 8], ecx */
    967     ecx = MEM32(ebp + 0xC); /* 0x4200152B: mov ecx, dword ptr [ebp + 0xc] */
    968     esi = MEM32(ecx); /* 0x4200152E: mov esi, dword ptr [ecx] */
    969     edx = eax + 0xC; /* 0x42001530: lea edx, [eax + 0xc] */
    970     MEM32(edx) = esi; /* 0x42001533: mov dword ptr [edx], esi */
    971     esi = MEM32(ecx + 0x4); /* 0x42001535: mov esi, dword ptr [ecx + 4] */
    972     MEM32(edx + 0x4) = esi; /* 0x42001538: mov dword ptr [edx + 4], esi */
    973     ecx = MEM32(ecx + 0x8); /* 0x4200153B: mov ecx, dword ptr [ecx + 8] */
    974     MEM32(edx + 0x8) = ecx; /* 0x4200153E: mov dword ptr [edx + 8], ecx */
    975     esi = POP32_VAL(esp); /* 0x42001541: pop esi */
    976     ebp = POP32_VAL(esp); /* 0x42001542: pop ebp */
    977     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42001543: ret 8 */
    978     RECOMP_REGS_OUT();
    979 }
    980 
    981 void sub_42001550(void) {
    982     int _fpu_cmp = 0;
    983     uint32_t _cf = 0;
    984     int _df = 1;
    985     uint32_t _flag_k = FK_NONE;
    986     uint32_t _flag_a = 0, _flag_b = 0;
    987     uint32_t _itail_tgt = 0;
    988     RECOMP_REGS_LOCALS
    989     RECOMP_ENTER(0x42001550u);
    990 
    991 L_42001550:
    992     eax = ecx; /* 0x42001550: mov eax, ecx */
    993     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001552: ret  */
    994     RECOMP_REGS_OUT();
    995 }
    996 
    997 void sub_42001560(void) {
    998     int _fpu_cmp = 0;
    999     uint32_t _cf = 0;
   1000     int _df = 1;
   1001     uint32_t _flag_k = FK_NONE;
   1002     uint32_t _flag_a = 0, _flag_b = 0;
   1003     uint32_t _itail_tgt = 0;
   1004     RECOMP_REGS_LOCALS
   1005     RECOMP_ENTER(0x42001560u);
   1006 
   1007 L_42001560:
   1008     eax = ecx + 0xC; /* 0x42001560: lea eax, [ecx + 0xc] */
   1009     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001563: ret  */
   1010     RECOMP_REGS_OUT();
   1011 }
   1012 
   1013 void sub_42001570(void) {
   1014     int _fpu_cmp = 0;
   1015     uint32_t _cf = 0;
   1016     int _df = 1;
   1017     uint32_t _flag_k = FK_NONE;
   1018     uint32_t _flag_a = 0, _flag_b = 0;
   1019     uint32_t _itail_tgt = 0;
   1020     RECOMP_REGS_LOCALS
   1021     RECOMP_ENTER(0x42001570u);
   1022 
   1023 L_42001570:
   1024     PUSH32(esp, ebp); /* 0x42001570: push ebp */
   1025     ebp = esp; /* 0x42001571: mov ebp, esp */
   1026     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   1027     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1028     esp = esp - 0x18u; /* 0x42001573: sub esp, 0x18 */
   1029     _flag_k = FK_CMP;
   1030     eax = ecx; /* 0x42001576: mov eax, ecx */
   1031     edx = MEM32(eax); /* 0x42001578: mov edx, dword ptr [eax] */
   1032     MEM32(ebp + (-0xC)) = edx; /* 0x4200157A: mov dword ptr [ebp - 0xc], edx */
   1033     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x4200157D: fld dword ptr [ebp - 0xc] */
   1034     _st[0] += (double)*(float*)ADDR(ecx + 0xC); /* 0x42001580: fadd dword ptr [ecx + 0xc] */
   1035     edx = MEM32(eax + 0x4); /* 0x42001583: mov edx, dword ptr [eax + 4] */
   1036     eax = MEM32(eax + 0x8); /* 0x42001586: mov eax, dword ptr [eax + 8] */
   1037     MEM32(ebp + (-0x8)) = edx; /* 0x42001589: mov dword ptr [ebp - 8], edx */
   1038     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x4200158C: fstp dword ptr [ebp - 0xc] */
   1039     MEM32(ebp + (-0x4)) = eax; /* 0x4200158F: mov dword ptr [ebp - 4], eax */
   1040     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x42001592: fld dword ptr [ebp - 8] */
   1041     _st[0] += (double)*(float*)ADDR(ecx + 0x10); /* 0x42001595: fadd dword ptr [ecx + 0x10] */
   1042     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x42001598: fstp dword ptr [ebp - 8] */
   1043     edx = MEM32(ebp + (-0x8)); /* 0x4200159B: mov edx, dword ptr [ebp - 8] */
   1044     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x4200159E: fld dword ptr [ebp - 4] */
   1045     MEM32(ebp + (-0x14)) = edx; /* 0x420015A1: mov dword ptr [ebp - 0x14], edx */
   1046     _st[0] += (double)*(float*)ADDR(ecx + 0x14); /* 0x420015A4: fadd dword ptr [ecx + 0x14] */
   1047     ecx = MEM32(ebp + (-0xC)); /* 0x420015A7: mov ecx, dword ptr [ebp - 0xc] */
   1048     MEM32(ebp + (-0x18)) = ecx; /* 0x420015AA: mov dword ptr [ebp - 0x18], ecx */
   1049     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x420015AD: fstp dword ptr [ebp - 4] */
   1050     eax = MEM32(ebp + (-0x4)); /* 0x420015B0: mov eax, dword ptr [ebp - 4] */
   1051     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x420015B3: fld dword ptr [ebp - 0xc] */
   1052     MEM32(ebp + (-0x10)) = eax; /* 0x420015B6: mov dword ptr [ebp - 0x10], eax */
   1053     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x420015B9: fmul dword ptr [0x420180d0] */
   1054     eax = MEM32(ebp + 0x8); /* 0x420015BF: mov eax, dword ptr [ebp + 8] */
   1055     ecx = eax; /* 0x420015C2: mov ecx, eax */
   1056     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x420015C4: fstp dword ptr [ebp - 0x18] */
   1057     edx = MEM32(ebp + (-0x18)); /* 0x420015C7: mov edx, dword ptr [ebp - 0x18] */
   1058     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x420015CA: fld dword ptr [ebp - 0x14] */
   1059     MEM32(ecx) = edx; /* 0x420015CD: mov dword ptr [ecx], edx */
   1060     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x420015CF: fmul dword ptr [0x420180d0] */
   1061     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x420015D5: fstp dword ptr [ebp - 0x14] */
   1062     edx = MEM32(ebp + (-0x14)); /* 0x420015D8: mov edx, dword ptr [ebp - 0x14] */
   1063     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x420015DB: fld dword ptr [ebp - 0x10] */
   1064     MEM32(ecx + 0x4) = edx; /* 0x420015DE: mov dword ptr [ecx + 4], edx */
   1065     _st[0] *= (double)*(float*)ADDR(0x420180D0); /* 0x420015E1: fmul dword ptr [0x420180d0] */
   1066     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x420015E7: fstp dword ptr [ebp - 0x10] */
   1067     edx = MEM32(ebp + (-0x10)); /* 0x420015EA: mov edx, dword ptr [ebp - 0x10] */
   1068     MEM32(ecx + 0x8) = edx; /* 0x420015ED: mov dword ptr [ecx + 8], edx */
   1069     esp = ebp; /* 0x420015F0: mov esp, ebp */
   1070     ebp = POP32_VAL(esp); /* 0x420015F2: pop ebp */
   1071     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420015F3: ret 4 */
   1072     RECOMP_REGS_OUT();
   1073 }
   1074 
   1075 void sub_42001600(void) {
   1076     int _fpu_cmp = 0;
   1077     uint32_t _cf = 0;
   1078     int _df = 1;
   1079     uint32_t _flag_k = FK_NONE;
   1080     uint32_t _flag_a = 0, _flag_b = 0;
   1081     uint32_t _itail_tgt = 0;
   1082     RECOMP_REGS_LOCALS
   1083     RECOMP_ENTER(0x42001600u);
   1084 
   1085 L_42001600:
   1086     fp_push(*(float*)&MEM32(ecx)); /* 0x42001600: fld dword ptr [ecx] */
   1087     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001602: ret  */
   1088     RECOMP_REGS_OUT();
   1089 }
   1090 
   1091 void sub_42001610(void) {
   1092     int _fpu_cmp = 0;
   1093     uint32_t _cf = 0;
   1094     int _df = 1;
   1095     uint32_t _flag_k = FK_NONE;
   1096     uint32_t _flag_a = 0, _flag_b = 0;
   1097     uint32_t _itail_tgt = 0;
   1098     RECOMP_REGS_LOCALS
   1099     RECOMP_ENTER(0x42001610u);
   1100 
   1101 L_42001610:
   1102     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x42001610: fld dword ptr [ecx + 4] */
   1103     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001613: ret  */
   1104     RECOMP_REGS_OUT();
   1105 }
   1106 
   1107 void sub_42001620(void) {
   1108     int _fpu_cmp = 0;
   1109     uint32_t _cf = 0;
   1110     int _df = 1;
   1111     uint32_t _flag_k = FK_NONE;
   1112     uint32_t _flag_a = 0, _flag_b = 0;
   1113     uint32_t _itail_tgt = 0;
   1114     RECOMP_REGS_LOCALS
   1115     RECOMP_ENTER(0x42001620u);
   1116 
   1117 L_42001620:
   1118     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x42001620: fld dword ptr [ecx + 8] */
   1119     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001623: ret  */
   1120     RECOMP_REGS_OUT();
   1121 }
   1122 
   1123 void sub_42001630(void) {
   1124     int _fpu_cmp = 0;
   1125     uint32_t _cf = 0;
   1126     int _df = 1;
   1127     uint32_t _flag_k = FK_NONE;
   1128     uint32_t _flag_a = 0, _flag_b = 0;
   1129     uint32_t _itail_tgt = 0;
   1130     RECOMP_REGS_LOCALS
   1131     RECOMP_ENTER(0x42001630u);
   1132 
   1133 L_42001630:
   1134     fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x42001630: fld dword ptr [ecx + 0xc] */
   1135     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001633: ret  */
   1136     RECOMP_REGS_OUT();
   1137 }
   1138 
   1139 void sub_42001640(void) {
   1140     int _fpu_cmp = 0;
   1141     uint32_t _cf = 0;
   1142     int _df = 1;
   1143     uint32_t _flag_k = FK_NONE;
   1144     uint32_t _flag_a = 0, _flag_b = 0;
   1145     uint32_t _itail_tgt = 0;
   1146     RECOMP_REGS_LOCALS
   1147     RECOMP_ENTER(0x42001640u);
   1148 
   1149 L_42001640:
   1150     fp_push(*(float*)&MEM32(ecx + 0x10)); /* 0x42001640: fld dword ptr [ecx + 0x10] */
   1151     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001643: ret  */
   1152     RECOMP_REGS_OUT();
   1153 }
   1154 
   1155 void sub_42001650(void) {
   1156     int _fpu_cmp = 0;
   1157     uint32_t _cf = 0;
   1158     int _df = 1;
   1159     uint32_t _flag_k = FK_NONE;
   1160     uint32_t _flag_a = 0, _flag_b = 0;
   1161     uint32_t _itail_tgt = 0;
   1162     RECOMP_REGS_LOCALS
   1163     RECOMP_ENTER(0x42001650u);
   1164 
   1165 L_42001650:
   1166     fp_push(*(float*)&MEM32(ecx + 0x14)); /* 0x42001650: fld dword ptr [ecx + 0x14] */
   1167     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001653: ret  */
   1168     RECOMP_REGS_OUT();
   1169 }
   1170 
   1171 void sub_42001660(void) {
   1172     int _fpu_cmp = 0;
   1173     uint32_t _cf = 0;
   1174     int _df = 1;
   1175     uint32_t _flag_k = FK_NONE;
   1176     uint32_t _flag_a = 0, _flag_b = 0;
   1177     uint32_t _itail_tgt = 0;
   1178     RECOMP_REGS_LOCALS
   1179     RECOMP_ENTER(0x42001660u);
   1180 
   1181 L_42001660:
   1182     PUSH32(esp, ebp); /* 0x42001660: push ebp */
   1183     ebp = esp; /* 0x42001661: mov ebp, esp */
   1184     eax = MEM32(ebp + 0x8); /* 0x42001663: mov eax, dword ptr [ebp + 8] */
   1185     MEM32(ecx) = eax; /* 0x42001666: mov dword ptr [ecx], eax */
   1186     ebp = POP32_VAL(esp); /* 0x42001668: pop ebp */
   1187     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42001669: ret 4 */
   1188     RECOMP_REGS_OUT();
   1189 }
   1190 
   1191 void sub_42001670(void) {
   1192     int _fpu_cmp = 0;
   1193     uint32_t _cf = 0;
   1194     int _df = 1;
   1195     uint32_t _flag_k = FK_NONE;
   1196     uint32_t _flag_a = 0, _flag_b = 0;
   1197     uint32_t _itail_tgt = 0;
   1198     RECOMP_REGS_LOCALS
   1199     RECOMP_ENTER(0x42001670u);
   1200 
   1201 L_42001670:
   1202     PUSH32(esp, ebp); /* 0x42001670: push ebp */
   1203     ebp = esp; /* 0x42001671: mov ebp, esp */
   1204     eax = MEM32(ebp + 0x8); /* 0x42001673: mov eax, dword ptr [ebp + 8] */
   1205     MEM32(ecx + 0x4) = eax; /* 0x42001676: mov dword ptr [ecx + 4], eax */
   1206     ebp = POP32_VAL(esp); /* 0x42001679: pop ebp */
   1207     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4200167A: ret 4 */
   1208     RECOMP_REGS_OUT();
   1209 }
   1210 
   1211 void sub_42001680(void) {
   1212     int _fpu_cmp = 0;
   1213     uint32_t _cf = 0;
   1214     int _df = 1;
   1215     uint32_t _flag_k = FK_NONE;
   1216     uint32_t _flag_a = 0, _flag_b = 0;
   1217     uint32_t _itail_tgt = 0;
   1218     RECOMP_REGS_LOCALS
   1219     RECOMP_ENTER(0x42001680u);
   1220 
   1221 L_42001680:
   1222     PUSH32(esp, ebp); /* 0x42001680: push ebp */
   1223     ebp = esp; /* 0x42001681: mov ebp, esp */
   1224     eax = MEM32(ebp + 0x8); /* 0x42001683: mov eax, dword ptr [ebp + 8] */
   1225     MEM32(ecx + 0x8) = eax; /* 0x42001686: mov dword ptr [ecx + 8], eax */
   1226     ebp = POP32_VAL(esp); /* 0x42001689: pop ebp */
   1227     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4200168A: ret 4 */
   1228     RECOMP_REGS_OUT();
   1229 }
   1230 
   1231 void sub_42001690(void) {
   1232     int _fpu_cmp = 0;
   1233     uint32_t _cf = 0;
   1234     int _df = 1;
   1235     uint32_t _flag_k = FK_NONE;
   1236     uint32_t _flag_a = 0, _flag_b = 0;
   1237     uint32_t _itail_tgt = 0;
   1238     RECOMP_REGS_LOCALS
   1239     RECOMP_ENTER(0x42001690u);
   1240 
   1241 L_42001690:
   1242     PUSH32(esp, ebp); /* 0x42001690: push ebp */
   1243     ebp = esp; /* 0x42001691: mov ebp, esp */
   1244     eax = MEM32(ebp + 0x8); /* 0x42001693: mov eax, dword ptr [ebp + 8] */
   1245     MEM32(ecx + 0xC) = eax; /* 0x42001696: mov dword ptr [ecx + 0xc], eax */
   1246     ebp = POP32_VAL(esp); /* 0x42001699: pop ebp */
   1247     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4200169A: ret 4 */
   1248     RECOMP_REGS_OUT();
   1249 }
   1250 
   1251 void sub_420016A0(void) {
   1252     int _fpu_cmp = 0;
   1253     uint32_t _cf = 0;
   1254     int _df = 1;
   1255     uint32_t _flag_k = FK_NONE;
   1256     uint32_t _flag_a = 0, _flag_b = 0;
   1257     uint32_t _itail_tgt = 0;
   1258     RECOMP_REGS_LOCALS
   1259     RECOMP_ENTER(0x420016A0u);
   1260 
   1261 L_420016A0:
   1262     PUSH32(esp, ebp); /* 0x420016A0: push ebp */
   1263     ebp = esp; /* 0x420016A1: mov ebp, esp */
   1264     eax = MEM32(ebp + 0x8); /* 0x420016A3: mov eax, dword ptr [ebp + 8] */
   1265     MEM32(ecx + 0x10) = eax; /* 0x420016A6: mov dword ptr [ecx + 0x10], eax */
   1266     ebp = POP32_VAL(esp); /* 0x420016A9: pop ebp */
   1267     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420016AA: ret 4 */
   1268     RECOMP_REGS_OUT();
   1269 }
   1270 
   1271 void sub_420016B0(void) {
   1272     int _fpu_cmp = 0;
   1273     uint32_t _cf = 0;
   1274     int _df = 1;
   1275     uint32_t _flag_k = FK_NONE;
   1276     uint32_t _flag_a = 0, _flag_b = 0;
   1277     uint32_t _itail_tgt = 0;
   1278     RECOMP_REGS_LOCALS
   1279     RECOMP_ENTER(0x420016B0u);
   1280 
   1281 L_420016B0:
   1282     PUSH32(esp, ebp); /* 0x420016B0: push ebp */
   1283     ebp = esp; /* 0x420016B1: mov ebp, esp */
   1284     eax = MEM32(ebp + 0x8); /* 0x420016B3: mov eax, dword ptr [ebp + 8] */
   1285     MEM32(ecx + 0x14) = eax; /* 0x420016B6: mov dword ptr [ecx + 0x14], eax */
   1286     ebp = POP32_VAL(esp); /* 0x420016B9: pop ebp */
   1287     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420016BA: ret 4 */
   1288     RECOMP_REGS_OUT();
   1289 }
   1290 
   1291 void sub_420016C0(void) {
   1292     int _fpu_cmp = 0;
   1293     uint32_t _cf = 0;
   1294     int _df = 1;
   1295     uint32_t _flag_k = FK_NONE;
   1296     uint32_t _flag_a = 0, _flag_b = 0;
   1297     uint32_t _itail_tgt = 0;
   1298     RECOMP_REGS_LOCALS
   1299     RECOMP_ENTER(0x420016C0u);
   1300 
   1301 L_420016C0:
   1302     PUSH32(esp, ebp); /* 0x420016C0: push ebp */
   1303     ebp = esp; /* 0x420016C1: mov ebp, esp */
   1304     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1306     esp = esp - 0xCu; /* 0x420016C3: sub esp, 0xc */
   1307     _flag_k = FK_CMP;
   1308     eax = MEM32(ebp + 0xC); /* 0x420016C6: mov eax, dword ptr [ebp + 0xc] */
   1309     /* test LO8(eax), 0xFu */ /* 0x420016C9: test al, 0xf */
   1310     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFu) << 24;
   1311     _cf = 0;
   1312     _flag_k = FK_NARROW(FK_TEST, 24);
   1313     if (TEST_Z(_flag_a, _flag_b)) goto L_420016D2; /* 0x420016CB: je 0x420016d2 */
   1314 L_420016CD:
   1315     fp_push(*(float*)&MEM32(ecx + 0x14)); /* 0x420016CD: fld dword ptr [ecx + 0x14] */
   1316     goto L_420016D5; /* 0x420016D0: jmp 0x420016d5 */
   1317 L_420016D2:
   1318     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x420016D2: fld dword ptr [ecx + 8] */
   1319 L_420016D5:
   1320     /* test LO8(eax), 0xF0u */ /* 0x420016D5: test al, 0xf0 */
   1321     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xF0u) << 24;
   1322     _cf = 0;
   1323     _flag_k = FK_NARROW(FK_TEST, 24);
   1324     if (TEST_Z(_flag_a, _flag_b)) goto L_420016DE; /* 0x420016D7: je 0x420016de */
   1325 L_420016D9:
   1326     fp_push(*(float*)&MEM32(ecx + 0x10)); /* 0x420016D9: fld dword ptr [ecx + 0x10] */
   1327     goto L_420016E1; /* 0x420016DC: jmp 0x420016e1 */
   1328 L_420016DE:
   1329     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x420016DE: fld dword ptr [ecx + 4] */
   1330 L_420016E1:
   1331     /* test HI8(eax), 0xFu */ /* 0x420016E1: test ah, 0xf */
   1332     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0xFu) << 24;
   1333     _cf = 0;
   1334     _flag_k = FK_NARROW(FK_TEST, 24);
   1335     if (TEST_Z(_flag_a, _flag_b)) goto L_420016EB; /* 0x420016E4: je 0x420016eb */
   1336 L_420016E6:
   1337     fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x420016E6: fld dword ptr [ecx + 0xc] */
   1338     goto L_420016ED; /* 0x420016E9: jmp 0x420016ed */
   1339 L_420016EB:
   1340     fp_push(*(float*)&MEM32(ecx)); /* 0x420016EB: fld dword ptr [ecx] */
   1341 L_420016ED:
   1342     eax = MEM32(ebp + 0x8); /* 0x420016ED: mov eax, dword ptr [ebp + 8] */
   1343     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x420016F0: fstp dword ptr [ebp - 0xc] */
   1344     edx = MEM32(ebp + (-0xC)); /* 0x420016F3: mov edx, dword ptr [ebp - 0xc] */
   1345     ecx = eax; /* 0x420016F6: mov ecx, eax */
   1346     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x420016F8: fstp dword ptr [ebp - 8] */
   1347     MEM32(ecx) = edx; /* 0x420016FB: mov dword ptr [ecx], edx */
   1348     edx = MEM32(ebp + (-0x8)); /* 0x420016FD: mov edx, dword ptr [ebp - 8] */
   1349     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x42001700: fstp dword ptr [ebp - 4] */
   1350     MEM32(ecx + 0x4) = edx; /* 0x42001703: mov dword ptr [ecx + 4], edx */
   1351     edx = MEM32(ebp + (-0x4)); /* 0x42001706: mov edx, dword ptr [ebp - 4] */
   1352     MEM32(ecx + 0x8) = edx; /* 0x42001709: mov dword ptr [ecx + 8], edx */
   1353     esp = ebp; /* 0x4200170C: mov esp, ebp */
   1354     ebp = POP32_VAL(esp); /* 0x4200170E: pop ebp */
   1355     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4200170F: ret 8 */
   1356     RECOMP_REGS_OUT();
   1357 }
   1358 
   1359 void sub_42001720(void) {
   1360     int _fpu_cmp = 0;
   1361     uint32_t _cf = 0;
   1362     int _df = 1;
   1363     uint32_t _flag_k = FK_NONE;
   1364     uint32_t _flag_a = 0, _flag_b = 0;
   1365     uint32_t _itail_tgt = 0;
   1366     RECOMP_REGS_LOCALS
   1367     RECOMP_ENTER(0x42001720u);
   1368 
   1369 L_42001720:
   1370     PUSH32(esp, ebp); /* 0x42001720: push ebp */
   1371     ebp = esp; /* 0x42001721: mov ebp, esp */
   1372     fp_push(*(float*)&MEM32(ecx)); /* 0x42001723: fld dword ptr [ecx] */
   1373     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x42001725: fcomp dword ptr [ebp + 8] */
   1374     fp_pop();
   1375     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001728: fnstsw ax */
   1376     /* test HI8(eax), 0x41u */ /* 0x4200172A: test ah, 0x41 */
   1377     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1378     _cf = 0;
   1379     _flag_k = FK_NARROW(FK_TEST, 24);
   1380     if (TEST_Z(_flag_a, _flag_b)) goto L_4200175F; /* 0x4200172D: je 0x4200175f */
   1381 L_4200172F:
   1382     fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x4200172F: fld dword ptr [ecx + 0xc] */
   1383     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x42001732: fcomp dword ptr [ebp + 8] */
   1384     fp_pop();
   1385     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001735: fnstsw ax */
   1386     /* test HI8(eax), 0x41u */ /* 0x42001737: test ah, 0x41 */
   1387     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1388     _cf = 0;
   1389     _flag_k = FK_NARROW(FK_TEST, 24);
   1390     if (TEST_NZ(_flag_a, _flag_b)) goto L_4200175F; /* 0x4200173A: jne 0x4200175f */
   1391 L_4200173C:
   1392     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x4200173C: fld dword ptr [ecx + 4] */
   1393     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x4200173F: fcomp dword ptr [ebp + 0xc] */
   1394     fp_pop();
   1395     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001742: fnstsw ax */
   1396     /* test HI8(eax), 0x41u */ /* 0x42001744: test ah, 0x41 */
   1397     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1398     _cf = 0;
   1399     _flag_k = FK_NARROW(FK_TEST, 24);
   1400     if (TEST_Z(_flag_a, _flag_b)) goto L_4200175F; /* 0x42001747: je 0x4200175f */
   1401 L_42001749:
   1402     fp_push(*(float*)&MEM32(ecx + 0x10)); /* 0x42001749: fld dword ptr [ecx + 0x10] */
   1403     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x4200174C: fcomp dword ptr [ebp + 0xc] */
   1404     fp_pop();
   1405     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x4200174F: fnstsw ax */
   1406     /* test HI8(eax), 0x41u */ /* 0x42001751: test ah, 0x41 */
   1407     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1408     _cf = 0;
   1409     _flag_k = FK_NARROW(FK_TEST, 24);
   1410     if (TEST_NZ(_flag_a, _flag_b)) goto L_4200175F; /* 0x42001754: jne 0x4200175f */
   1411 L_42001756:
   1412     eax = 1; /* 0x42001756: mov eax, 1 */
   1413     ebp = POP32_VAL(esp); /* 0x4200175B: pop ebp */
   1414     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4200175C: ret 8 */
   1415 L_4200175F:
   1416     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1417     eax = 0; /* 0x4200175F: xor eax, eax */
   1418     _cf = 0;
   1419     _flag_k = FK_TEST;
   1420     ebp = POP32_VAL(esp); /* 0x42001761: pop ebp */
   1421     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42001762: ret 8 */
   1422     RECOMP_REGS_OUT();
   1423 }
   1424 
   1425 void sub_42001770(void) {
   1426     int _fpu_cmp = 0;
   1427     uint32_t _cf = 0;
   1428     int _df = 1;
   1429     uint32_t _flag_k = FK_NONE;
   1430     uint32_t _flag_a = 0, _flag_b = 0;
   1431     uint32_t _itail_tgt = 0;
   1432     RECOMP_REGS_LOCALS
   1433     RECOMP_ENTER(0x42001770u);
   1434 
   1435 L_42001770:
   1436     PUSH32(esp, ebp); /* 0x42001770: push ebp */
   1437     ebp = esp; /* 0x42001771: mov ebp, esp */
   1438     fp_push(*(float*)&MEM32(ecx)); /* 0x42001773: fld dword ptr [ecx] */
   1439     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x42001775: fcomp dword ptr [ebp + 8] */
   1440     fp_pop();
   1441     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001778: fnstsw ax */
   1442     /* test HI8(eax), 0x41u */ /* 0x4200177A: test ah, 0x41 */
   1443     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1444     _cf = 0;
   1445     _flag_k = FK_NARROW(FK_TEST, 24);
   1446     if (TEST_Z(_flag_a, _flag_b)) goto L_420017C9; /* 0x4200177D: je 0x420017c9 */
   1447 L_4200177F:
   1448     fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x4200177F: fld dword ptr [ecx + 0xc] */
   1449     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x8)); /* 0x42001782: fcomp dword ptr [ebp + 8] */
   1450     fp_pop();
   1451     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001785: fnstsw ax */
   1452     /* test HI8(eax), 0x41u */ /* 0x42001787: test ah, 0x41 */
   1453     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1454     _cf = 0;
   1455     _flag_k = FK_NARROW(FK_TEST, 24);
   1456     if (TEST_NZ(_flag_a, _flag_b)) goto L_420017C9; /* 0x4200178A: jne 0x420017c9 */
   1457 L_4200178C:
   1458     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x4200178C: fld dword ptr [ecx + 4] */
   1459     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x4200178F: fcomp dword ptr [ebp + 0xc] */
   1460     fp_pop();
   1461     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001792: fnstsw ax */
   1462     /* test HI8(eax), 0x41u */ /* 0x42001794: test ah, 0x41 */
   1463     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1464     _cf = 0;
   1465     _flag_k = FK_NARROW(FK_TEST, 24);
   1466     if (TEST_Z(_flag_a, _flag_b)) goto L_420017C9; /* 0x42001797: je 0x420017c9 */
   1467 L_42001799:
   1468     fp_push(*(float*)&MEM32(ecx + 0x10)); /* 0x42001799: fld dword ptr [ecx + 0x10] */
   1469     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0xC)); /* 0x4200179C: fcomp dword ptr [ebp + 0xc] */
   1470     fp_pop();
   1471     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x4200179F: fnstsw ax */
   1472     /* test HI8(eax), 0x41u */ /* 0x420017A1: test ah, 0x41 */
   1473     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1474     _cf = 0;
   1475     _flag_k = FK_NARROW(FK_TEST, 24);
   1476     if (TEST_NZ(_flag_a, _flag_b)) goto L_420017C9; /* 0x420017A4: jne 0x420017c9 */
   1477 L_420017A6:
   1478     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x420017A6: fld dword ptr [ecx + 8] */
   1479     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x10)); /* 0x420017A9: fcomp dword ptr [ebp + 0x10] */
   1480     fp_pop();
   1481     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x420017AC: fnstsw ax */
   1482     /* test HI8(eax), 0x41u */ /* 0x420017AE: test ah, 0x41 */
   1483     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1484     _cf = 0;
   1485     _flag_k = FK_NARROW(FK_TEST, 24);
   1486     if (TEST_Z(_flag_a, _flag_b)) goto L_420017C9; /* 0x420017B1: je 0x420017c9 */
   1487 L_420017B3:
   1488     fp_push(*(float*)&MEM32(ecx + 0x14)); /* 0x420017B3: fld dword ptr [ecx + 0x14] */
   1489     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x10)); /* 0x420017B6: fcomp dword ptr [ebp + 0x10] */
   1490     fp_pop();
   1491     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x420017B9: fnstsw ax */
   1492     /* test HI8(eax), 0x41u */ /* 0x420017BB: test ah, 0x41 */
   1493     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1494     _cf = 0;
   1495     _flag_k = FK_NARROW(FK_TEST, 24);
   1496     if (TEST_NZ(_flag_a, _flag_b)) goto L_420017C9; /* 0x420017BE: jne 0x420017c9 */
   1497 L_420017C0:
   1498     eax = 1; /* 0x420017C0: mov eax, 1 */
   1499     ebp = POP32_VAL(esp); /* 0x420017C5: pop ebp */
   1500     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x420017C6: ret 0xc */
   1501 L_420017C9:
   1502     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1503     eax = 0; /* 0x420017C9: xor eax, eax */
   1504     _cf = 0;
   1505     _flag_k = FK_TEST;
   1506     ebp = POP32_VAL(esp); /* 0x420017CB: pop ebp */
   1507     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x420017CC: ret 0xc */
   1508     RECOMP_REGS_OUT();
   1509 }
   1510 
   1511 void sub_420017D0(void) {
   1512     int _fpu_cmp = 0;
   1513     uint32_t _cf = 0;
   1514     int _df = 1;
   1515     uint32_t _flag_k = FK_NONE;
   1516     uint32_t _flag_a = 0, _flag_b = 0;
   1517     uint32_t _itail_tgt = 0;
   1518     RECOMP_REGS_LOCALS
   1519     RECOMP_ENTER(0x420017D0u);
   1520 
   1521 L_420017D0:
   1522     PUSH32(esp, ebp); /* 0x420017D0: push ebp */
   1523     ebp = esp; /* 0x420017D1: mov ebp, esp */
   1524     fp_push(*(float*)&MEM32(ecx)); /* 0x420017D3: fld dword ptr [ecx] */
   1525     edx = MEM32(ebp + 0x8); /* 0x420017D5: mov edx, dword ptr [ebp + 8] */
   1526     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx)); /* 0x420017D8: fcomp dword ptr [edx] */
   1527     fp_pop();
   1528     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x420017DA: fnstsw ax */
   1529     /* test HI8(eax), 0x41u */ /* 0x420017DC: test ah, 0x41 */
   1530     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1531     _cf = 0;
   1532     _flag_k = FK_NARROW(FK_TEST, 24);
   1533     if (TEST_Z(_flag_a, _flag_b)) goto L_4200182A; /* 0x420017DF: je 0x4200182a */
   1534 L_420017E1:
   1535     fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x420017E1: fld dword ptr [ecx + 0xc] */
   1536     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx)); /* 0x420017E4: fcomp dword ptr [edx] */
   1537     fp_pop();
   1538     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x420017E6: fnstsw ax */
   1539     /* test HI8(eax), 0x41u */ /* 0x420017E8: test ah, 0x41 */
   1540     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1541     _cf = 0;
   1542     _flag_k = FK_NARROW(FK_TEST, 24);
   1543     if (TEST_NZ(_flag_a, _flag_b)) goto L_4200182A; /* 0x420017EB: jne 0x4200182a */
   1544 L_420017ED:
   1545     fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x420017ED: fld dword ptr [ecx + 4] */
   1546     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0x4)); /* 0x420017F0: fcomp dword ptr [edx + 4] */
   1547     fp_pop();
   1548     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x420017F3: fnstsw ax */
   1549     /* test HI8(eax), 0x41u */ /* 0x420017F5: test ah, 0x41 */
   1550     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1551     _cf = 0;
   1552     _flag_k = FK_NARROW(FK_TEST, 24);
   1553     if (TEST_Z(_flag_a, _flag_b)) goto L_4200182A; /* 0x420017F8: je 0x4200182a */
   1554 L_420017FA:
   1555     fp_push(*(float*)&MEM32(ecx + 0x10)); /* 0x420017FA: fld dword ptr [ecx + 0x10] */
   1556     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0x4)); /* 0x420017FD: fcomp dword ptr [edx + 4] */
   1557     fp_pop();
   1558     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001800: fnstsw ax */
   1559     /* test HI8(eax), 0x41u */ /* 0x42001802: test ah, 0x41 */
   1560     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1561     _cf = 0;
   1562     _flag_k = FK_NARROW(FK_TEST, 24);
   1563     if (TEST_NZ(_flag_a, _flag_b)) goto L_4200182A; /* 0x42001805: jne 0x4200182a */
   1564 L_42001807:
   1565     fp_push(*(float*)&MEM32(ecx + 0x8)); /* 0x42001807: fld dword ptr [ecx + 8] */
   1566     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0x8)); /* 0x4200180A: fcomp dword ptr [edx + 8] */
   1567     fp_pop();
   1568     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x4200180D: fnstsw ax */
   1569     /* test HI8(eax), 0x41u */ /* 0x4200180F: test ah, 0x41 */
   1570     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1571     _cf = 0;
   1572     _flag_k = FK_NARROW(FK_TEST, 24);
   1573     if (TEST_Z(_flag_a, _flag_b)) goto L_4200182A; /* 0x42001812: je 0x4200182a */
   1574 L_42001814:
   1575     fp_push(*(float*)&MEM32(ecx + 0x14)); /* 0x42001814: fld dword ptr [ecx + 0x14] */
   1576     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(edx + 0x8)); /* 0x42001817: fcomp dword ptr [edx + 8] */
   1577     fp_pop();
   1578     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x4200181A: fnstsw ax */
   1579     /* test HI8(eax), 0x41u */ /* 0x4200181C: test ah, 0x41 */
   1580     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1581     _cf = 0;
   1582     _flag_k = FK_NARROW(FK_TEST, 24);
   1583     if (TEST_NZ(_flag_a, _flag_b)) goto L_4200182A; /* 0x4200181F: jne 0x4200182a */
   1584 L_42001821:
   1585     eax = 1; /* 0x42001821: mov eax, 1 */
   1586     ebp = POP32_VAL(esp); /* 0x42001826: pop ebp */
   1587     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42001827: ret 4 */
   1588 L_4200182A:
   1589     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1590     eax = 0; /* 0x4200182A: xor eax, eax */
   1591     _cf = 0;
   1592     _flag_k = FK_TEST;
   1593     ebp = POP32_VAL(esp); /* 0x4200182C: pop ebp */
   1594     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4200182D: ret 4 */
   1595     RECOMP_REGS_OUT();
   1596 }
   1597 
   1598 void sub_42001830(void) {
   1599     int _fpu_cmp = 0;
   1600     uint32_t _cf = 0;
   1601     int _df = 1;
   1602     uint32_t _flag_k = FK_NONE;
   1603     uint32_t _flag_a = 0, _flag_b = 0;
   1604     uint32_t _itail_tgt = 0;
   1605     RECOMP_REGS_LOCALS
   1606     RECOMP_ENTER(0x42001830u);
   1607 
   1608 L_42001830:
   1609     PUSH32(esp, ebp); /* 0x42001830: push ebp */
   1610     ebp = esp; /* 0x42001831: mov ebp, esp */
   1611     eax = MEM32(ebp + 0x8); /* 0x42001833: mov eax, dword ptr [ebp + 8] */
   1612     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xF00u);
   1613     eax = eax & 0xF00u; /* 0x42001836: and eax, 0xf00 */
   1614     _cf = 0;
   1615     _flag_k = FK_TEST;
   1616     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1617     _cf = (eax) != 0;
   1618     eax = (uint32_t)(-(int32_t)eax); /* 0x4200183B: neg eax */
   1619     _flag_k = FK_CMP;
   1620     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4200183D: sbb eax, eax */
   1621       eax = _sc ? 0xFFFFFFFFu : 0;
   1622       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1623       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1624     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1625     _cf = (eax) != 0;
   1626     eax = (uint32_t)(-(int32_t)eax); /* 0x4200183F: neg eax */
   1627     _flag_k = FK_CMP;
   1628     ebp = POP32_VAL(esp); /* 0x42001841: pop ebp */
   1629     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001842: ret  */
   1630     RECOMP_REGS_OUT();
   1631 }
   1632 
   1633 void sub_42001850(void) {
   1634     int _fpu_cmp = 0;
   1635     uint32_t _cf = 0;
   1636     int _df = 1;
   1637     uint32_t _flag_k = FK_NONE;
   1638     uint32_t _flag_a = 0, _flag_b = 0;
   1639     uint32_t _itail_tgt = 0;
   1640     RECOMP_REGS_LOCALS
   1641     RECOMP_ENTER(0x42001850u);
   1642 
   1643 L_42001850:
   1644     PUSH32(esp, ebp); /* 0x42001850: push ebp */
   1645     ebp = esp; /* 0x42001851: mov ebp, esp */
   1646     eax = MEM32(ebp + 0x8); /* 0x42001853: mov eax, dword ptr [ebp + 8] */
   1647     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xF0u) << 24;
   1648     SET_LO8(eax, LO8(eax) & 0xF0u); /* 0x42001856: and al, 0xf0 */
   1649     _cf = 0;
   1650     _flag_k = FK_NARROW(FK_TEST, 24);
   1651     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1652     _cf = (LO8(eax)) != 0;
   1653     SET_LO8(eax, (uint32_t)(-(int32_t)LO8(eax))); /* 0x42001858: neg al */
   1654     _flag_k = FK_NARROW(FK_CMP, 24);
   1655     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4200185A: sbb eax, eax */
   1656       eax = _sc ? 0xFFFFFFFFu : 0;
   1657       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1658       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1659     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1660     _cf = (eax) != 0;
   1661     eax = (uint32_t)(-(int32_t)eax); /* 0x4200185C: neg eax */
   1662     _flag_k = FK_CMP;
   1663     ebp = POP32_VAL(esp); /* 0x4200185E: pop ebp */
   1664     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200185F: ret  */
   1665     RECOMP_REGS_OUT();
   1666 }
   1667 
   1668 void sub_42001860(void) {
   1669     int _fpu_cmp = 0;
   1670     uint32_t _cf = 0;
   1671     int _df = 1;
   1672     uint32_t _flag_k = FK_NONE;
   1673     uint32_t _flag_a = 0, _flag_b = 0;
   1674     uint32_t _itail_tgt = 0;
   1675     RECOMP_REGS_LOCALS
   1676     RECOMP_ENTER(0x42001860u);
   1677 
   1678 L_42001860:
   1679     PUSH32(esp, ebp); /* 0x42001860: push ebp */
   1680     ebp = esp; /* 0x42001861: mov ebp, esp */
   1681     eax = MEM32(ebp + 0x8); /* 0x42001863: mov eax, dword ptr [ebp + 8] */
   1682     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFu) << 24;
   1683     SET_LO8(eax, LO8(eax) & 0xFu); /* 0x42001866: and al, 0xf */
   1684     _cf = 0;
   1685     _flag_k = FK_NARROW(FK_TEST, 24);
   1686     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1687     _cf = (LO8(eax)) != 0;
   1688     SET_LO8(eax, (uint32_t)(-(int32_t)LO8(eax))); /* 0x42001868: neg al */
   1689     _flag_k = FK_NARROW(FK_CMP, 24);
   1690     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4200186A: sbb eax, eax */
   1691       eax = _sc ? 0xFFFFFFFFu : 0;
   1692       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1693       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1694     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1695     _cf = (eax) != 0;
   1696     eax = (uint32_t)(-(int32_t)eax); /* 0x4200186C: neg eax */
   1697     _flag_k = FK_CMP;
   1698     ebp = POP32_VAL(esp); /* 0x4200186E: pop ebp */
   1699     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200186F: ret  */
   1700     RECOMP_REGS_OUT();
   1701 }
   1702 
   1703 void sub_42001870(void) {
   1704     int _fpu_cmp = 0;
   1705     uint32_t _cf = 0;
   1706     int _df = 1;
   1707     uint32_t _flag_k = FK_NONE;
   1708     uint32_t _flag_a = 0, _flag_b = 0;
   1709     uint32_t _itail_tgt = 0;
   1710     RECOMP_REGS_LOCALS
   1711     RECOMP_ENTER(0x42001870u);
   1712 
   1713 L_42001870:
   1714     PUSH32(esp, ebp); /* 0x42001870: push ebp */
   1715     ebp = esp; /* 0x42001871: mov ebp, esp */
   1716     PUSH32(esp, esi); /* 0x42001873: push esi */
   1717     esi = MEM32(ebp + 0x8); /* 0x42001874: mov esi, dword ptr [ebp + 8] */
   1718     PUSH32(esp, edi); /* 0x42001877: push edi */
   1719     eax = ecx; /* 0x42001878: mov eax, ecx */
   1720     ecx = 6; /* 0x4200187A: mov ecx, 6 */
   1721     edi = eax; /* 0x4200187F: mov edi, eax */
   1722     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x42001881: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   1723     edi = POP32_VAL(esp); /* 0x42001883: pop edi */
   1724     esi = POP32_VAL(esp); /* 0x42001884: pop esi */
   1725     ebp = POP32_VAL(esp); /* 0x42001885: pop ebp */
   1726     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42001886: ret 4 */
   1727     RECOMP_REGS_OUT();
   1728 }
   1729 
   1730 void sub_42001890(void) {
   1731     int _fpu_cmp = 0;
   1732     uint32_t _cf = 0;
   1733     int _df = 1;
   1734     uint32_t _flag_k = FK_NONE;
   1735     uint32_t _flag_a = 0, _flag_b = 0;
   1736     uint32_t _itail_tgt = 0;
   1737     RECOMP_REGS_LOCALS
   1738     RECOMP_ENTER(0x42001890u);
   1739 
   1740 L_42001890:
   1741     PUSH32(esp, ebp); /* 0x42001890: push ebp */
   1742     ebp = esp; /* 0x42001891: mov ebp, esp */
   1743     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x6Cu);
   1744     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1745     esp = esp - 0x6Cu; /* 0x42001893: sub esp, 0x6c */
   1746     _flag_k = FK_CMP;
   1747     PUSH32(esp, ebx); /* 0x42001896: push ebx */
   1748     ebx = MEM32(ebp + 0x14); /* 0x42001897: mov ebx, dword ptr [ebp + 0x14] */
   1749     PUSH32(esp, esi); /* 0x4200189A: push esi */
   1750     PUSH32(esp, edi); /* 0x4200189B: push edi */
   1751     edi = MEM32(ebp + 0x10); /* 0x4200189C: mov edi, dword ptr [ebp + 0x10] */
   1752     eax = edi; /* 0x4200189F: mov eax, edi */
   1753     ecx = MEM32(eax); /* 0x420018A1: mov ecx, dword ptr [eax] */
   1754     edx = MEM32(eax + 0x4); /* 0x420018A3: mov edx, dword ptr [eax + 4] */
   1755     eax = MEM32(eax + 0x8); /* 0x420018A6: mov eax, dword ptr [eax + 8] */
   1756     MEM32(ebp + (-0x3C)) = ecx; /* 0x420018A9: mov dword ptr [ebp - 0x3c], ecx */
   1757     PUSH32(esp, ebx); /* 0x420018AC: push ebx */
   1758     ecx = ebp + (-0x3C); /* 0x420018AD: lea ecx, [ebp - 0x3c] */
   1759     MEM32(ebp + (-0x38)) = edx; /* 0x420018B0: mov dword ptr [ebp - 0x38], edx */
   1760     MEM32(ebp + (-0x34)) = eax; /* 0x420018B3: mov dword ptr [ebp - 0x34], eax */
   1761     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x420018B6: call dword ptr [0x420180a8] */
   1762     RECOMP_FLAGS_IN();
   1763     ecx = MEM32(eax); /* 0x420018BC: mov ecx, dword ptr [eax] */
   1764     esi = MEM32(ebp + 0x8); /* 0x420018BE: mov esi, dword ptr [ebp + 8] */
   1765     MEM32(ebp + (-0x60)) = ecx; /* 0x420018C1: mov dword ptr [ebp - 0x60], ecx */
   1766     edx = MEM32(eax + 0x4); /* 0x420018C4: mov edx, dword ptr [eax + 4] */
   1767     MEM32(ebp + (-0x5C)) = edx; /* 0x420018C7: mov dword ptr [ebp - 0x5c], edx */
   1768     eax = MEM32(eax + 0x8); /* 0x420018CA: mov eax, dword ptr [eax + 8] */
   1769     ecx = esi; /* 0x420018CD: mov ecx, esi */
   1770     edx = MEM32(ecx); /* 0x420018CF: mov edx, dword ptr [ecx] */
   1771     MEM32(ebp + (-0x58)) = eax; /* 0x420018D1: mov dword ptr [ebp - 0x58], eax */
   1772     eax = MEM32(ecx + 0x4); /* 0x420018D4: mov eax, dword ptr [ecx + 4] */
   1773     ecx = MEM32(ecx + 0x8); /* 0x420018D7: mov ecx, dword ptr [ecx + 8] */
   1774     MEM32(ebp + (-0x54)) = edx; /* 0x420018DA: mov dword ptr [ebp - 0x54], edx */
   1775     edx = MEM32(ebp + 0xC); /* 0x420018DD: mov edx, dword ptr [ebp + 0xc] */
   1776     MEM32(ebp + (-0x4C)) = ecx; /* 0x420018E0: mov dword ptr [ebp - 0x4c], ecx */
   1777     PUSH32(esp, edx); /* 0x420018E3: push edx */
   1778     ecx = ebp + (-0x54); /* 0x420018E4: lea ecx, [ebp - 0x54] */
   1779     MEM32(ebp + (-0x50)) = eax; /* 0x420018E7: mov dword ptr [ebp - 0x50], eax */
   1780     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x420018EA: call dword ptr [0x420180a8] */
   1781     RECOMP_FLAGS_IN();
   1782     ecx = MEM32(eax); /* 0x420018F0: mov ecx, dword ptr [eax] */
   1783     edx = MEM32(eax + 0x4); /* 0x420018F2: mov edx, dword ptr [eax + 4] */
   1784     eax = MEM32(eax + 0x8); /* 0x420018F5: mov eax, dword ptr [eax + 8] */
   1785     MEM32(ebp + (-0x6C)) = ecx; /* 0x420018F8: mov dword ptr [ebp - 0x6c], ecx */
   1786     ecx = ebp + (-0x60); /* 0x420018FB: lea ecx, [ebp - 0x60] */
   1787     PUSH32(esp, ecx); /* 0x420018FE: push ecx */
   1788     ecx = ebp + (-0x6C); /* 0x420018FF: lea ecx, [ebp - 0x6c] */
   1789     MEM32(ebp + (-0x68)) = edx; /* 0x42001902: mov dword ptr [ebp - 0x68], edx */
   1790     MEM32(ebp + (-0x64)) = eax; /* 0x42001905: mov dword ptr [ebp - 0x64], eax */
   1791     RECOMP_ICALL(MEM32(0x420180A4)); /* 0x42001908: call dword ptr [0x420180a4] */
   1792     RECOMP_FLAGS_IN();
   1793     edx = MEM32(eax); /* 0x4200190E: mov edx, dword ptr [eax] */
   1794     ecx = MEM32(eax + 0x4); /* 0x42001910: mov ecx, dword ptr [eax + 4] */
   1795     MEM32(ebp + (-0x24)) = edx; /* 0x42001913: mov dword ptr [ebp - 0x24], edx */
   1796     edx = MEM32(eax + 0x8); /* 0x42001916: mov edx, dword ptr [eax + 8] */
   1797     MEM32(ebp + (-0x1C)) = edx; /* 0x42001919: mov dword ptr [ebp - 0x1c], edx */
   1798     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x4200191C: fld dword ptr [ebp - 0x1c] */
   1799     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x4200191F: fmul dword ptr [ebp - 0x1c] */
   1800     MEM32(ebp + (-0x20)) = ecx; /* 0x42001922: mov dword ptr [ebp - 0x20], ecx */
   1801     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x42001925: fld dword ptr [ebp - 0x20] */
   1802     _st[0] *= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x42001928: fmul dword ptr [ebp - 0x20] */
   1803     { double _v = fp_pop(); _st[0] += _v; } /* 0x4200192B: faddp st(1) */
   1804     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x4200192D: fld dword ptr [ebp - 0x24] */
   1805     _st[0] *= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x42001930: fmul dword ptr [ebp - 0x24] */
   1806     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001933: faddp st(1) */
   1807     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x420180E0)); /* 0x42001935: fcomp dword ptr [0x420180e0] */
   1808     fp_pop();
   1809     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x4200193B: fnstsw ax */
   1810     /* test HI8(eax), 0x41u */ /* 0x4200193D: test ah, 0x41 */
   1811     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1812     _cf = 0;
   1813     _flag_k = FK_NARROW(FK_TEST, 24);
   1814     if (TEST_Z(_flag_a, _flag_b)) goto L_42001BCC; /* 0x42001940: je 0x42001bcc */
   1815 L_42001946:
   1816     eax = MEM32(ebp + 0xC); /* 0x42001946: mov eax, dword ptr [ebp + 0xc] */
   1817     ecx = MEM32(eax); /* 0x42001949: mov ecx, dword ptr [eax] */
   1818     edx = MEM32(eax + 0x4); /* 0x4200194B: mov edx, dword ptr [eax + 4] */
   1819     eax = MEM32(eax + 0x8); /* 0x4200194E: mov eax, dword ptr [eax + 8] */
   1820     MEM32(ebp + (-0x6C)) = ecx; /* 0x42001951: mov dword ptr [ebp - 0x6c], ecx */
   1821     PUSH32(esp, esi); /* 0x42001954: push esi */
   1822     ecx = ebp + (-0x6C); /* 0x42001955: lea ecx, [ebp - 0x6c] */
   1823     MEM32(ebp + (-0x68)) = edx; /* 0x42001958: mov dword ptr [ebp - 0x68], edx */
   1824     MEM32(ebp + (-0x64)) = eax; /* 0x4200195B: mov dword ptr [ebp - 0x64], eax */
   1825     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x4200195E: call dword ptr [0x420180a8] */
   1826     RECOMP_FLAGS_IN();
   1827     ecx = MEM32(eax); /* 0x42001964: mov ecx, dword ptr [eax] */
   1828     MEM32(ebp + (-0xC)) = ecx; /* 0x42001966: mov dword ptr [ebp - 0xc], ecx */
   1829     edx = MEM32(eax + 0x4); /* 0x42001969: mov edx, dword ptr [eax + 4] */
   1830     MEM32(ebp + (-0x8)) = edx; /* 0x4200196C: mov dword ptr [ebp - 8], edx */
   1831     eax = MEM32(eax + 0x8); /* 0x4200196F: mov eax, dword ptr [eax + 8] */
   1832     MEM32(ebp + (-0x4)) = eax; /* 0x42001972: mov dword ptr [ebp - 4], eax */
   1833     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x42001975: fld dword ptr [ebp - 4] */
   1834     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x42001978: fmul dword ptr [ebp - 4] */
   1835     ecx = ebx; /* 0x4200197B: mov ecx, ebx */
   1836     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x4200197D: fld dword ptr [ebp - 8] */
   1837     edx = MEM32(ecx); /* 0x42001980: mov edx, dword ptr [ecx] */
   1838     _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x42001982: fmul dword ptr [ebp - 8] */
   1839     eax = MEM32(ecx + 0x4); /* 0x42001985: mov eax, dword ptr [ecx + 4] */
   1840     ecx = MEM32(ecx + 0x8); /* 0x42001988: mov ecx, dword ptr [ecx + 8] */
   1841     MEM32(ebp + (-0x64)) = ecx; /* 0x4200198B: mov dword ptr [ebp - 0x64], ecx */
   1842     { double _v = fp_pop(); _st[0] += _v; } /* 0x4200198E: faddp st(1) */
   1843     PUSH32(esp, edi); /* 0x42001990: push edi */
   1844     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x42001991: fld dword ptr [ebp - 0xc] */
   1845     ecx = ebp + (-0x6C); /* 0x42001994: lea ecx, [ebp - 0x6c] */
   1846     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x42001997: fmul dword ptr [ebp - 0xc] */
   1847     MEM32(ebp + (-0x6C)) = edx; /* 0x4200199A: mov dword ptr [ebp - 0x6c], edx */
   1848     MEM32(ebp + (-0x68)) = eax; /* 0x4200199D: mov dword ptr [ebp - 0x68], eax */
   1849     { double _v = fp_pop(); _st[0] += _v; } /* 0x420019A0: faddp st(1) */
   1850     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x420019A2: fstp dword ptr [ebp + 0x10] */
   1851     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x420019A5: call dword ptr [0x420180a8] */
   1852     RECOMP_FLAGS_IN();
   1853     edx = MEM32(eax); /* 0x420019AB: mov edx, dword ptr [eax] */
   1854     MEM32(ebp + (-0x18)) = edx; /* 0x420019AD: mov dword ptr [ebp - 0x18], edx */
   1855     ecx = MEM32(eax + 0x4); /* 0x420019B0: mov ecx, dword ptr [eax + 4] */
   1856     MEM32(ebp + (-0x14)) = ecx; /* 0x420019B3: mov dword ptr [ebp - 0x14], ecx */
   1857     edx = MEM32(eax + 0x8); /* 0x420019B6: mov edx, dword ptr [eax + 8] */
   1858     MEM32(ebp + (-0x10)) = edx; /* 0x420019B9: mov dword ptr [ebp - 0x10], edx */
   1859     fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x420019BC: fld dword ptr [ebp - 0x10] */
   1860     _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x420019BF: fmul dword ptr [ebp - 0x10] */
   1861     eax = edi; /* 0x420019C2: mov eax, edi */
   1862     fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x420019C4: fld dword ptr [ebp - 0x14] */
   1863     ecx = MEM32(eax); /* 0x420019C7: mov ecx, dword ptr [eax] */
   1864     _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x420019C9: fmul dword ptr [ebp - 0x14] */
   1865     edx = MEM32(eax + 0x4); /* 0x420019CC: mov edx, dword ptr [eax + 4] */
   1866     eax = MEM32(eax + 0x8); /* 0x420019CF: mov eax, dword ptr [eax + 8] */
   1867     MEM32(ebp + (-0x6C)) = ecx; /* 0x420019D2: mov dword ptr [ebp - 0x6c], ecx */
   1868     { double _v = fp_pop(); _st[0] += _v; } /* 0x420019D5: faddp st(1) */
   1869     PUSH32(esp, esi); /* 0x420019D7: push esi */
   1870     fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x420019D8: fld dword ptr [ebp - 0x18] */
   1871     ecx = ebp + (-0x6C); /* 0x420019DB: lea ecx, [ebp - 0x6c] */
   1872     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x420019DE: fmul dword ptr [ebp - 0x18] */
   1873     MEM32(ebp + (-0x68)) = edx; /* 0x420019E1: mov dword ptr [ebp - 0x68], edx */
   1874     MEM32(ebp + (-0x64)) = eax; /* 0x420019E4: mov dword ptr [ebp - 0x64], eax */
   1875     { double _v = fp_pop(); _st[0] += _v; } /* 0x420019E7: faddp st(1) */
   1876     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x14) = _v; } /* 0x420019E9: fstp dword ptr [ebp + 0x14] */
   1877     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x420019EC: call dword ptr [0x420180a8] */
   1878     RECOMP_FLAGS_IN();
   1879     ecx = MEM32(eax); /* 0x420019F2: mov ecx, dword ptr [eax] */
   1880     MEM32(ebp + (-0x30)) = ecx; /* 0x420019F4: mov dword ptr [ebp - 0x30], ecx */
   1881     edx = MEM32(eax + 0x4); /* 0x420019F7: mov edx, dword ptr [eax + 4] */
   1882     ecx = MEM32(ebx); /* 0x420019FA: mov ecx, dword ptr [ebx] */
   1883     MEM32(ebp + (-0x2C)) = edx; /* 0x420019FC: mov dword ptr [ebp - 0x2c], edx */
   1884     eax = MEM32(eax + 0x8); /* 0x420019FF: mov eax, dword ptr [eax + 8] */
   1885     edx = MEM32(ebx + 0x4); /* 0x42001A02: mov edx, dword ptr [ebx + 4] */
   1886     MEM32(ebp + (-0x28)) = eax; /* 0x42001A05: mov dword ptr [ebp - 0x28], eax */
   1887     eax = MEM32(ebx + 0x8); /* 0x42001A08: mov eax, dword ptr [ebx + 8] */
   1888     MEM32(ebp + (-0x6C)) = ecx; /* 0x42001A0B: mov dword ptr [ebp - 0x6c], ecx */
   1889     PUSH32(esp, esi); /* 0x42001A0E: push esi */
   1890     ecx = ebp + (-0x6C); /* 0x42001A0F: lea ecx, [ebp - 0x6c] */
   1891     MEM32(ebp + (-0x68)) = edx; /* 0x42001A12: mov dword ptr [ebp - 0x68], edx */
   1892     MEM32(ebp + (-0x64)) = eax; /* 0x42001A15: mov dword ptr [ebp - 0x64], eax */
   1893     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42001A18: call dword ptr [0x420180a8] */
   1894     RECOMP_FLAGS_IN();
   1895     ecx = MEM32(eax); /* 0x42001A1E: mov ecx, dword ptr [eax] */
   1896     edx = MEM32(eax + 0x4); /* 0x42001A20: mov edx, dword ptr [eax + 4] */
   1897     eax = MEM32(eax + 0x8); /* 0x42001A23: mov eax, dword ptr [eax + 8] */
   1898     MEM32(ebp + (-0x24)) = ecx; /* 0x42001A26: mov dword ptr [ebp - 0x24], ecx */
   1899     MEM32(ebp + (-0x20)) = edx; /* 0x42001A29: mov dword ptr [ebp - 0x20], edx */
   1900     MEM32(ebp + (-0x1C)) = eax; /* 0x42001A2C: mov dword ptr [ebp - 0x1c], eax */
   1901     ecx = MEM32(esi); /* 0x42001A2F: mov ecx, dword ptr [esi] */
   1902     edx = MEM32(esi + 0x4); /* 0x42001A31: mov edx, dword ptr [esi + 4] */
   1903     eax = MEM32(esi + 0x8); /* 0x42001A34: mov eax, dword ptr [esi + 8] */
   1904     MEM32(ebp + (-0x6C)) = ecx; /* 0x42001A37: mov dword ptr [ebp - 0x6c], ecx */
   1905     PUSH32(esp, edi); /* 0x42001A3A: push edi */
   1906     ecx = ebp + (-0x6C); /* 0x42001A3B: lea ecx, [ebp - 0x6c] */
   1907     MEM32(ebp + (-0x68)) = edx; /* 0x42001A3E: mov dword ptr [ebp - 0x68], edx */
   1908     MEM32(ebp + (-0x64)) = eax; /* 0x42001A41: mov dword ptr [ebp - 0x64], eax */
   1909     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42001A44: call dword ptr [0x420180a8] */
   1910     RECOMP_FLAGS_IN();
   1911     ecx = MEM32(eax); /* 0x42001A4A: mov ecx, dword ptr [eax] */
   1912     edx = MEM32(eax + 0x4); /* 0x42001A4C: mov edx, dword ptr [eax + 4] */
   1913     eax = MEM32(eax + 0x8); /* 0x42001A4F: mov eax, dword ptr [eax + 8] */
   1914     MEM32(ebp + (-0x34)) = eax; /* 0x42001A52: mov dword ptr [ebp - 0x34], eax */
   1915     eax = MEM32(ebp + 0xC); /* 0x42001A55: mov eax, dword ptr [ebp + 0xc] */
   1916     MEM32(ebp + (-0x3C)) = ecx; /* 0x42001A58: mov dword ptr [ebp - 0x3c], ecx */
   1917     ecx = MEM32(eax); /* 0x42001A5B: mov ecx, dword ptr [eax] */
   1918     MEM32(ebp + (-0x38)) = edx; /* 0x42001A5D: mov dword ptr [ebp - 0x38], edx */
   1919     edx = MEM32(eax + 0x4); /* 0x42001A60: mov edx, dword ptr [eax + 4] */
   1920     eax = MEM32(eax + 0x8); /* 0x42001A63: mov eax, dword ptr [eax + 8] */
   1921     MEM32(ebp + (-0x6C)) = ecx; /* 0x42001A66: mov dword ptr [ebp - 0x6c], ecx */
   1922     PUSH32(esp, edi); /* 0x42001A69: push edi */
   1923     ecx = ebp + (-0x6C); /* 0x42001A6A: lea ecx, [ebp - 0x6c] */
   1924     MEM32(ebp + (-0x68)) = edx; /* 0x42001A6D: mov dword ptr [ebp - 0x68], edx */
   1925     MEM32(ebp + (-0x64)) = eax; /* 0x42001A70: mov dword ptr [ebp - 0x64], eax */
   1926     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42001A73: call dword ptr [0x420180a8] */
   1927     RECOMP_FLAGS_IN();
   1928     fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x42001A79: fld dword ptr [ebp - 0x28] */
   1929     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x42001A7C: fmul dword ptr [ebp - 4] */
   1930     ecx = MEM32(eax); /* 0x42001A7F: mov ecx, dword ptr [eax] */
   1931     fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x42001A81: fld dword ptr [ebp - 0x2c] */
   1932     MEM32(ebp + (-0x48)) = ecx; /* 0x42001A84: mov dword ptr [ebp - 0x48], ecx */
   1933     _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x42001A87: fmul dword ptr [ebp - 8] */
   1934     edx = MEM32(eax + 0x4); /* 0x42001A8A: mov edx, dword ptr [eax + 4] */
   1935     MEM32(ebp + (-0x44)) = edx; /* 0x42001A8D: mov dword ptr [ebp - 0x44], edx */
   1936     eax = MEM32(eax + 0x8); /* 0x42001A90: mov eax, dword ptr [eax + 8] */
   1937     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001A93: faddp st(1) */
   1938     MEM32(ebp + (-0x40)) = eax; /* 0x42001A95: mov dword ptr [ebp - 0x40], eax */
   1939     fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x42001A98: fld dword ptr [ebp - 0x30] */
   1940     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x42001A9B: fmul dword ptr [ebp - 0xc] */
   1941     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001A9E: faddp st(1) */
   1942     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x420180D8)); /* 0x42001AA0: fcom qword ptr [0x420180d8] */
   1943     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001AA6: fnstsw ax */
   1944     /* test HI8(eax), 1 */ /* 0x42001AA8: test ah, 1 */
   1945     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1946     _cf = 0;
   1947     _flag_k = FK_NARROW(FK_TEST, 24);
   1948     if (TEST_NZ(_flag_a, _flag_b)) goto L_42001B4C; /* 0x42001AAB: jne 0x42001b4c */
   1949 L_42001AB1:
   1950     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x10)); /* 0x42001AB1: fcomp dword ptr [ebp + 0x10] */
   1951     fp_pop();
   1952     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001AB4: fnstsw ax */
   1953     /* test HI8(eax), 0x41u */ /* 0x42001AB6: test ah, 0x41 */
   1954     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1955     _cf = 0;
   1956     _flag_k = FK_NARROW(FK_TEST, 24);
   1957     if (TEST_Z(_flag_a, _flag_b)) goto L_42001B4E; /* 0x42001AB9: je 0x42001b4e */
   1958 L_42001ABF:
   1959     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x42001ABF: fld dword ptr [ebp - 0x1c] */
   1960     _st[0] *= (double)*(float*)ADDR(ebp + (-0x4)); /* 0x42001AC2: fmul dword ptr [ebp - 4] */
   1961     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x42001AC5: fld dword ptr [ebp - 0x20] */
   1962     _st[0] *= (double)*(float*)ADDR(ebp + (-0x8)); /* 0x42001AC8: fmul dword ptr [ebp - 8] */
   1963     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001ACB: faddp st(1) */
   1964     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x42001ACD: fld dword ptr [ebp - 0x24] */
   1965     _st[0] *= (double)*(float*)ADDR(ebp + (-0xC)); /* 0x42001AD0: fmul dword ptr [ebp - 0xc] */
   1966     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001AD3: faddp st(1) */
   1967     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x420180D8)); /* 0x42001AD5: fcom qword ptr [0x420180d8] */
   1968     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001ADB: fnstsw ax */
   1969     /* test HI8(eax), 1 */ /* 0x42001ADD: test ah, 1 */
   1970     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1971     _cf = 0;
   1972     _flag_k = FK_NARROW(FK_TEST, 24);
   1973     if (TEST_NZ(_flag_a, _flag_b)) goto L_42001B4C; /* 0x42001AE0: jne 0x42001b4c */
   1974 L_42001AE2:
   1975     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x10)); /* 0x42001AE2: fcomp dword ptr [ebp + 0x10] */
   1976     fp_pop();
   1977     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001AE5: fnstsw ax */
   1978     /* test HI8(eax), 0x41u */ /* 0x42001AE7: test ah, 0x41 */
   1979     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   1980     _cf = 0;
   1981     _flag_k = FK_NARROW(FK_TEST, 24);
   1982     if (TEST_Z(_flag_a, _flag_b)) goto L_42001B4E; /* 0x42001AEA: je 0x42001b4e */
   1983 L_42001AEC:
   1984     ecx = MEM32(ebp + (-0xC)); /* 0x42001AEC: mov ecx, dword ptr [ebp - 0xc] */
   1985     edx = MEM32(ebp + (-0x8)); /* 0x42001AEF: mov edx, dword ptr [ebp - 8] */
   1986     eax = MEM32(ebp + (-0x4)); /* 0x42001AF2: mov eax, dword ptr [ebp - 4] */
   1987     MEM32(ebp + (-0x6C)) = ecx; /* 0x42001AF5: mov dword ptr [ebp - 0x6c], ecx */
   1988     ecx = ebp + (-0x30); /* 0x42001AF8: lea ecx, [ebp - 0x30] */
   1989     PUSH32(esp, ecx); /* 0x42001AFB: push ecx */
   1990     ecx = ebp + (-0x6C); /* 0x42001AFC: lea ecx, [ebp - 0x6c] */
   1991     MEM32(ebp + (-0x68)) = edx; /* 0x42001AFF: mov dword ptr [ebp - 0x68], edx */
   1992     MEM32(ebp + (-0x64)) = eax; /* 0x42001B02: mov dword ptr [ebp - 0x64], eax */
   1993     RECOMP_ICALL(MEM32(0x420180A4)); /* 0x42001B05: call dword ptr [0x420180a4] */
   1994     RECOMP_FLAGS_IN();
   1995     edx = MEM32(eax); /* 0x42001B0B: mov edx, dword ptr [eax] */
   1996     ecx = MEM32(eax + 0x4); /* 0x42001B0D: mov ecx, dword ptr [eax + 4] */
   1997     MEM32(ebp + (-0x24)) = edx; /* 0x42001B10: mov dword ptr [ebp - 0x24], edx */
   1998     edx = MEM32(eax + 0x8); /* 0x42001B13: mov edx, dword ptr [eax + 8] */
   1999     MEM32(ebp + (-0x1C)) = edx; /* 0x42001B16: mov dword ptr [ebp - 0x1c], edx */
   2000     fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x42001B19: fld dword ptr [ebp - 0x1c] */
   2001     _st[0] *= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x42001B1C: fmul dword ptr [ebp - 0x1c] */
   2002     MEM32(ebp + (-0x20)) = ecx; /* 0x42001B1F: mov dword ptr [ebp - 0x20], ecx */
   2003     fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x42001B22: fld dword ptr [ebp - 0x20] */
   2004     _st[0] *= (double)*(float*)ADDR(ebp + (-0x20)); /* 0x42001B25: fmul dword ptr [ebp - 0x20] */
   2005     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001B28: faddp st(1) */
   2006     fp_push(*(float*)&MEM32(ebp + (-0x24))); /* 0x42001B2A: fld dword ptr [ebp - 0x24] */
   2007     _st[0] *= (double)*(float*)ADDR(ebp + (-0x24)); /* 0x42001B2D: fmul dword ptr [ebp - 0x24] */
   2008     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001B30: faddp st(1) */
   2009 L_42001B32:
   2010     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x420180E0)); /* 0x42001B32: fcomp dword ptr [0x420180e0] */
   2011     fp_pop();
   2012     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001B38: fnstsw ax */
   2013     /* test HI8(eax), 1 */ /* 0x42001B3A: test ah, 1 */
   2014     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2015     _cf = 0;
   2016     _flag_k = FK_NARROW(FK_TEST, 24);
   2017     if (TEST_Z(_flag_a, _flag_b)) goto L_42001BCC; /* 0x42001B3D: je 0x42001bcc */
   2018 L_42001B43:
   2019     edi = POP32_VAL(esp); /* 0x42001B43: pop edi */
   2020     esi = POP32_VAL(esp); /* 0x42001B44: pop esi */
   2021     SET_LO8(eax, 1); /* 0x42001B45: mov al, 1 */
   2022     ebx = POP32_VAL(esp); /* 0x42001B47: pop ebx */
   2023     esp = ebp; /* 0x42001B48: mov esp, ebp */
   2024     ebp = POP32_VAL(esp); /* 0x42001B4A: pop ebp */
   2025     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001B4B: ret  */
   2026 L_42001B4C:
   2027     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x42001B4C: fstp st(0) */
   2028 L_42001B4E:
   2029     fp_push(*(float*)&MEM32(ebp + (-0x34))); /* 0x42001B4E: fld dword ptr [ebp - 0x34] */
   2030     _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x42001B51: fmul dword ptr [ebp - 0x10] */
   2031     fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x42001B54: fld dword ptr [ebp - 0x38] */
   2032     _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x42001B57: fmul dword ptr [ebp - 0x14] */
   2033     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001B5A: faddp st(1) */
   2034     fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x42001B5C: fld dword ptr [ebp - 0x3c] */
   2035     _st[0] *= (double)*(float*)ADDR(ebp + (-0x18)); /* 0x42001B5F: fmul dword ptr [ebp - 0x18] */
   2036     { double _v = fp_pop(); _st[0] += _v; } /* 0x42001B62: faddp st(1) */
   2037     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x420180D8)); /* 0x42001B64: fcom qword ptr [0x420180d8] */
   2038     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001B6A: fnstsw ax */
   2039     /* test HI8(eax), 1 */ /* 0x42001B6C: test ah, 1 */
   2040     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2041     _cf = 0;
   2042     _flag_k = FK_NARROW(FK_TEST, 24);
   2043     if (TEST_NZ(_flag_a, _flag_b)) goto L_42001BCA; /* 0x42001B6F: jne 0x42001bca */
   2044 L_42001B71:
   2045     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x14)); /* 0x42001B71: fcomp dword ptr [ebp + 0x14] */
   2046     fp_pop();
   2047     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001B74: fnstsw ax */
   2048     /* test HI8(eax), 0x41u */ /* 0x42001B76: test ah, 0x41 */
   2049     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2050     _cf = 0;
   2051     _flag_k = FK_NARROW(FK_TEST, 24);
   2052     if (TEST_Z(_flag_a, _flag_b)) goto L_42001BCC; /* 0x42001B79: je 0x42001bcc */
   2053 L_42001B7B:
   2054     eax = ebp + (-0x48); /* 0x42001B7B: lea eax, [ebp - 0x48] */
   2055     PUSH32(esp, eax); /* 0x42001B7E: push eax */
   2056     ecx = ebp + (-0x18); /* 0x42001B7F: lea ecx, [ebp - 0x18] */
   2057     RECOMP_ICALL(MEM32(0x420180AC)); /* 0x42001B82: call dword ptr [0x420180ac] */
   2058     RECOMP_FLAGS_IN();
   2059     _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x420180D8)); /* 0x42001B88: fcomp qword ptr [0x420180d8] */
   2060     fp_pop();
   2061     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001B8E: fnstsw ax */
   2062     /* test HI8(eax), 1 */ /* 0x42001B90: test ah, 1 */
   2063     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2064     _cf = 0;
   2065     _flag_k = FK_NARROW(FK_TEST, 24);
   2066     if (TEST_NZ(_flag_a, _flag_b)) goto L_42001BCC; /* 0x42001B93: jne 0x42001bcc */
   2067 L_42001B95:
   2068     ecx = ebp + (-0x18); /* 0x42001B95: lea ecx, [ebp - 0x18] */
   2069     PUSH32(esp, ecx); /* 0x42001B98: push ecx */
   2070     ecx = ebp + (-0x48); /* 0x42001B99: lea ecx, [ebp - 0x48] */
   2071     RECOMP_ICALL(MEM32(0x420180AC)); /* 0x42001B9C: call dword ptr [0x420180ac] */
   2072     RECOMP_FLAGS_IN();
   2073     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(ebp + 0x14)); /* 0x42001BA2: fcomp dword ptr [ebp + 0x14] */
   2074     fp_pop();
   2075     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001BA5: fnstsw ax */
   2076     /* test HI8(eax), 0x41u */ /* 0x42001BA7: test ah, 0x41 */
   2077     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24;
   2078     _cf = 0;
   2079     _flag_k = FK_NARROW(FK_TEST, 24);
   2080     if (TEST_Z(_flag_a, _flag_b)) goto L_42001BCC; /* 0x42001BAA: je 0x42001bcc */
   2081 L_42001BAC:
   2082     edx = ebp + (-0x30); /* 0x42001BAC: lea edx, [ebp - 0x30] */
   2083     PUSH32(esp, edx); /* 0x42001BAF: push edx */
   2084     eax = ebp + (-0x6C); /* 0x42001BB0: lea eax, [ebp - 0x6c] */
   2085     PUSH32(esp, eax); /* 0x42001BB3: push eax */
   2086     ecx = ebp + (-0xC); /* 0x42001BB4: lea ecx, [ebp - 0xc] */
   2087     RECOMP_ICALL(MEM32(0x420180B0)); /* 0x42001BB7: call dword ptr [0x420180b0] */
   2088     RECOMP_FLAGS_IN();
   2089     ecx = eax; /* 0x42001BBD: mov ecx, eax */
   2090     RECOMP_ICALL(MEM32(0x420180A0)); /* 0x42001BBF: call dword ptr [0x420180a0] */
   2091     RECOMP_FLAGS_IN();
   2092     RECOMP_BACKEDGE();
   2093     goto L_42001B32; /* 0x42001BC5: jmp 0x42001b32 */
   2094 L_42001BCA:
   2095     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x42001BCA: fstp st(0) */
   2096 L_42001BCC:
   2097     edi = POP32_VAL(esp); /* 0x42001BCC: pop edi */
   2098     esi = POP32_VAL(esp); /* 0x42001BCD: pop esi */
   2099     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   2100     SET_LO8(eax, 0); /* 0x42001BCE: xor al, al */
   2101     _cf = 0;
   2102     _flag_k = FK_NARROW(FK_TEST, 24);
   2103     ebx = POP32_VAL(esp); /* 0x42001BD0: pop ebx */
   2104     esp = ebp; /* 0x42001BD1: mov esp, ebp */
   2105     ebp = POP32_VAL(esp); /* 0x42001BD3: pop ebp */
   2106     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001BD4: ret  */
   2107     RECOMP_REGS_OUT();
   2108 }
   2109 
   2110 void sub_42001B32(void) {
   2111     int _fpu_cmp = 0;
   2112     uint32_t _cf = 0;
   2113     int _df = 1;
   2114     uint32_t _flag_k = FK_NONE;
   2115     uint32_t _flag_a = 0, _flag_b = 0;
   2116     uint32_t _itail_tgt = 0;
   2117     RECOMP_REGS_LOCALS
   2118     RECOMP_ENTER(0x42001B32u);
   2119 
   2120 L_42001B32:
   2121     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x420180E0)); /* 0x42001B32: fcomp dword ptr [0x420180e0] */
   2122     fp_pop();
   2123     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42001B38: fnstsw ax */
   2124     /* test HI8(eax), 1 */ /* 0x42001B3A: test ah, 1 */
   2125     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2126     _cf = 0;
   2127     _flag_k = FK_NARROW(FK_TEST, 24);
   2128     if (TEST_Z(_flag_a, _flag_b)) goto L_42001BCC; /* 0x42001B3D: je 0x42001bcc */
   2129 L_42001B43:
   2130     edi = POP32_VAL(esp); /* 0x42001B43: pop edi */
   2131     esi = POP32_VAL(esp); /* 0x42001B44: pop esi */
   2132     SET_LO8(eax, 1); /* 0x42001B45: mov al, 1 */
   2133     ebx = POP32_VAL(esp); /* 0x42001B47: pop ebx */
   2134     esp = ebp; /* 0x42001B48: mov esp, ebp */
   2135     ebp = POP32_VAL(esp); /* 0x42001B4A: pop ebp */
   2136     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001B4B: ret  */
   2137 L_42001BCC:
   2138     edi = POP32_VAL(esp); /* 0x42001BCC: pop edi */
   2139     esi = POP32_VAL(esp); /* 0x42001BCD: pop esi */
   2140     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   2141     SET_LO8(eax, 0); /* 0x42001BCE: xor al, al */
   2142     _cf = 0;
   2143     _flag_k = FK_NARROW(FK_TEST, 24);
   2144     ebx = POP32_VAL(esp); /* 0x42001BD0: pop ebx */
   2145     esp = ebp; /* 0x42001BD1: mov esp, ebp */
   2146     ebp = POP32_VAL(esp); /* 0x42001BD3: pop ebp */
   2147     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42001BD4: ret  */
   2148     RECOMP_REGS_OUT();
   2149 }
   2150 
   2151 void sub_42001BE0(void) {
   2152     int _fpu_cmp = 0;
   2153     uint32_t _cf = 0;
   2154     int _df = 1;
   2155     uint32_t _flag_k = FK_NONE;
   2156     uint32_t _flag_a = 0, _flag_b = 0;
   2157     uint32_t _itail_tgt = 0;
   2158     RECOMP_REGS_LOCALS
   2159     RECOMP_ENTER(0x42001BE0u);
   2160 
   2161 L_42001BE0:
   2162     PUSH32(esp, ebp); /* 0x42001BE0: push ebp */
   2163     ebp = esp; /* 0x42001BE1: mov ebp, esp */
   2164     PUSH32(esp, 0xFFFFFFFFu); /* 0x42001BE3: push -1 */
   2165     PUSH32(esp, 0x42017170u); /* 0x42001BE5: push 0x42017170 */
   2166     eax = MEM32(FS_BASE + (0)); /* 0x42001BEA: mov eax, dword ptr fs:[0] */
   2167     PUSH32(esp, eax); /* 0x42001BF0: push eax */
   2168     MEM32(FS_BASE + (0)) = esp; /* 0x42001BF1: mov dword ptr fs:[0], esp */
   2169     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x74u);
   2170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2171     esp = esp - 0x74u; /* 0x42001BF8: sub esp, 0x74 */
   2172     _flag_k = FK_CMP;
   2173     SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x42001BFB: mov al, byte ptr [ebp + 0xf] */
   2174     PUSH32(esp, ebx); /* 0x42001BFE: push ebx */
   2175     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2176     ebx = 0; /* 0x42001BFF: xor ebx, ebx */
   2177     _cf = 0;
   2178     _flag_k = FK_TEST;
   2179     PUSH32(esp, esi); /* 0x42001C01: push esi */
   2180     PUSH32(esp, edi); /* 0x42001C02: push edi */
   2181     esi = ecx; /* 0x42001C03: mov esi, ecx */
   2182     MEM8(ebp + (-0x80)) = (uint8_t)(LO8(eax)); /* 0x42001C05: mov byte ptr [ebp - 0x80], al */
   2183     MEM32(ebp + (-0x7C)) = ebx; /* 0x42001C08: mov dword ptr [ebp - 0x7c], ebx */
   2184     MEM32(ebp + (-0x78)) = ebx; /* 0x42001C0B: mov dword ptr [ebp - 0x78], ebx */
   2185     MEM32(ebp + (-0x74)) = ebx; /* 0x42001C0E: mov dword ptr [ebp - 0x74], ebx */
   2186     SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x42001C11: mov cl, byte ptr [ebp + 0xf] */
   2187     MEM32(ebp + (-0x4)) = ebx; /* 0x42001C14: mov dword ptr [ebp - 4], ebx */
   2188     MEM8(ebp + (-0x70)) = (uint8_t)(LO8(ecx)); /* 0x42001C17: mov byte ptr [ebp - 0x70], cl */
   2189     MEM32(ebp + (-0x6C)) = ebx; /* 0x42001C1A: mov dword ptr [ebp - 0x6c], ebx */
   2190     MEM32(ebp + (-0x68)) = ebx; /* 0x42001C1D: mov dword ptr [ebp - 0x68], ebx */
   2191     MEM32(ebp + (-0x64)) = ebx; /* 0x42001C20: mov dword ptr [ebp - 0x64], ebx */
   2192     edx = MEM32(esi + 0x8); /* 0x42001C23: mov edx, dword ptr [esi + 8] */
   2193     eax = MEM32(esi + 0x4); /* 0x42001C26: mov eax, dword ptr [esi + 4] */
   2194     ecx = MEM32(esi + 0xC); /* 0x42001C29: mov ecx, dword ptr [esi + 0xc] */
   2195     PUSH32(esp, edx); /* 0x42001C2C: push edx */
   2196     PUSH32(esp, eax); /* 0x42001C2D: push eax */
   2197     PUSH32(esp, ecx); /* 0x42001C2E: push ecx */
   2198     ecx = ebp + (-0x30); /* 0x42001C2F: lea ecx, [ebp - 0x30] */
   2199     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x42001C32: mov byte ptr [ebp - 4], 1 */
   2200     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001C36: call dword ptr [0x42018064] */
   2201     RECOMP_FLAGS_IN();
   2202     edi = MEM32(eax); /* 0x42001C3C: mov edi, dword ptr [eax] */
   2203     edx = MEM32(eax + 0x4); /* 0x42001C3E: mov edx, dword ptr [eax + 4] */
   2204     ecx = MEM32(esi + 0x8); /* 0x42001C41: mov ecx, dword ptr [esi + 8] */
   2205     eax = MEM32(eax + 0x8); /* 0x42001C44: mov eax, dword ptr [eax + 8] */
   2206     PUSH32(esp, ecx); /* 0x42001C47: push ecx */
   2207     MEM32(ebp + (-0x20)) = edx; /* 0x42001C48: mov dword ptr [ebp - 0x20], edx */
   2208     edx = MEM32(esi + 0x4); /* 0x42001C4B: mov edx, dword ptr [esi + 4] */
   2209     MEM32(ebp + (-0x1C)) = eax; /* 0x42001C4E: mov dword ptr [ebp - 0x1c], eax */
   2210     eax = MEM32(esi); /* 0x42001C51: mov eax, dword ptr [esi] */
   2211     PUSH32(esp, edx); /* 0x42001C53: push edx */
   2212     PUSH32(esp, eax); /* 0x42001C54: push eax */
   2213     ecx = ebp + (-0x18); /* 0x42001C55: lea ecx, [ebp - 0x18] */
   2214     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001C58: call dword ptr [0x42018064] */
   2215     RECOMP_FLAGS_IN();
   2216     ecx = MEM32(eax); /* 0x42001C5E: mov ecx, dword ptr [eax] */
   2217     MEM32(ebp + (-0x60)) = ecx; /* 0x42001C60: mov dword ptr [ebp - 0x60], ecx */
   2218     edx = MEM32(eax + 0x4); /* 0x42001C63: mov edx, dword ptr [eax + 4] */
   2219     ecx = MEM32(ebp + (-0x20)); /* 0x42001C66: mov ecx, dword ptr [ebp - 0x20] */
   2220     MEM32(ebp + (-0x5C)) = edx; /* 0x42001C69: mov dword ptr [ebp - 0x5c], edx */
   2221     eax = MEM32(eax + 0x8); /* 0x42001C6C: mov eax, dword ptr [eax + 8] */
   2222     edx = MEM32(ebp + (-0x1C)); /* 0x42001C6F: mov edx, dword ptr [ebp - 0x1c] */
   2223     MEM32(ebp + (-0x58)) = eax; /* 0x42001C72: mov dword ptr [ebp - 0x58], eax */
   2224     MEM32(ebp + (-0x50)) = ecx; /* 0x42001C75: mov dword ptr [ebp - 0x50], ecx */
   2225     ecx = MEM32(ebp + (-0x78)); /* 0x42001C78: mov ecx, dword ptr [ebp - 0x78] */
   2226     eax = ebp + (-0x60); /* 0x42001C7B: lea eax, [ebp - 0x60] */
   2227     PUSH32(esp, eax); /* 0x42001C7E: push eax */
   2228     PUSH32(esp, ecx); /* 0x42001C7F: push ecx */
   2229     ecx = ebp + (-0x80); /* 0x42001C80: lea ecx, [ebp - 0x80] */
   2230     MEM32(ebp + (-0x54)) = edi; /* 0x42001C83: mov dword ptr [ebp - 0x54], edi */
   2231     MEM32(ebp + (-0x4C)) = edx; /* 0x42001C86: mov dword ptr [ebp - 0x4c], edx */
   2232     RECOMP_ICALL(0x42002470u); /* 0x42001C89: call 0x42002470 */ /* not lifted */
   2233     RECOMP_FLAGS_IN();
   2234     edx = MEM32(esi + 0x14); /* 0x42001C8E: mov edx, dword ptr [esi + 0x14] */
   2235     eax = MEM32(esi + 0x4); /* 0x42001C91: mov eax, dword ptr [esi + 4] */
   2236     ecx = MEM32(esi + 0xC); /* 0x42001C94: mov ecx, dword ptr [esi + 0xc] */
   2237     PUSH32(esp, edx); /* 0x42001C97: push edx */
   2238     PUSH32(esp, eax); /* 0x42001C98: push eax */
   2239     PUSH32(esp, ecx); /* 0x42001C99: push ecx */
   2240     ecx = ebp + (-0x30); /* 0x42001C9A: lea ecx, [ebp - 0x30] */
   2241     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001C9D: call dword ptr [0x42018064] */
   2242     RECOMP_FLAGS_IN();
   2243     edi = MEM32(eax); /* 0x42001CA3: mov edi, dword ptr [eax] */
   2244     edx = MEM32(eax + 0x4); /* 0x42001CA5: mov edx, dword ptr [eax + 4] */
   2245     ecx = MEM32(esi + 0x8); /* 0x42001CA8: mov ecx, dword ptr [esi + 8] */
   2246     eax = MEM32(eax + 0x8); /* 0x42001CAB: mov eax, dword ptr [eax + 8] */
   2247     PUSH32(esp, ecx); /* 0x42001CAE: push ecx */
   2248     MEM32(ebp + (-0x20)) = edx; /* 0x42001CAF: mov dword ptr [ebp - 0x20], edx */
   2249     edx = MEM32(esi + 0x4); /* 0x42001CB2: mov edx, dword ptr [esi + 4] */
   2250     MEM32(ebp + (-0x1C)) = eax; /* 0x42001CB5: mov dword ptr [ebp - 0x1c], eax */
   2251     eax = MEM32(esi + 0xC); /* 0x42001CB8: mov eax, dword ptr [esi + 0xc] */
   2252     PUSH32(esp, edx); /* 0x42001CBB: push edx */
   2253     PUSH32(esp, eax); /* 0x42001CBC: push eax */
   2254     ecx = ebp + (-0x18); /* 0x42001CBD: lea ecx, [ebp - 0x18] */
   2255     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001CC0: call dword ptr [0x42018064] */
   2256     RECOMP_FLAGS_IN();
   2257     ecx = MEM32(eax); /* 0x42001CC6: mov ecx, dword ptr [eax] */
   2258     MEM32(ebp + (-0x60)) = ecx; /* 0x42001CC8: mov dword ptr [ebp - 0x60], ecx */
   2259     edx = MEM32(eax + 0x4); /* 0x42001CCB: mov edx, dword ptr [eax + 4] */
   2260     ecx = MEM32(ebp + (-0x20)); /* 0x42001CCE: mov ecx, dword ptr [ebp - 0x20] */
   2261     MEM32(ebp + (-0x5C)) = edx; /* 0x42001CD1: mov dword ptr [ebp - 0x5c], edx */
   2262     eax = MEM32(eax + 0x8); /* 0x42001CD4: mov eax, dword ptr [eax + 8] */
   2263     edx = MEM32(ebp + (-0x1C)); /* 0x42001CD7: mov edx, dword ptr [ebp - 0x1c] */
   2264     MEM32(ebp + (-0x58)) = eax; /* 0x42001CDA: mov dword ptr [ebp - 0x58], eax */
   2265     MEM32(ebp + (-0x50)) = ecx; /* 0x42001CDD: mov dword ptr [ebp - 0x50], ecx */
   2266     ecx = MEM32(ebp + (-0x78)); /* 0x42001CE0: mov ecx, dword ptr [ebp - 0x78] */
   2267     eax = ebp + (-0x60); /* 0x42001CE3: lea eax, [ebp - 0x60] */
   2268     PUSH32(esp, eax); /* 0x42001CE6: push eax */
   2269     PUSH32(esp, ecx); /* 0x42001CE7: push ecx */
   2270     ecx = ebp + (-0x80); /* 0x42001CE8: lea ecx, [ebp - 0x80] */
   2271     MEM32(ebp + (-0x54)) = edi; /* 0x42001CEB: mov dword ptr [ebp - 0x54], edi */
   2272     MEM32(ebp + (-0x4C)) = edx; /* 0x42001CEE: mov dword ptr [ebp - 0x4c], edx */
   2273     RECOMP_ICALL(0x42002470u); /* 0x42001CF1: call 0x42002470 */ /* not lifted */
   2274     RECOMP_FLAGS_IN();
   2275     edx = MEM32(esi + 0x14); /* 0x42001CF6: mov edx, dword ptr [esi + 0x14] */
   2276     eax = MEM32(esi + 0x4); /* 0x42001CF9: mov eax, dword ptr [esi + 4] */
   2277     ecx = MEM32(esi); /* 0x42001CFC: mov ecx, dword ptr [esi] */
   2278     PUSH32(esp, edx); /* 0x42001CFE: push edx */
   2279     PUSH32(esp, eax); /* 0x42001CFF: push eax */
   2280     PUSH32(esp, ecx); /* 0x42001D00: push ecx */
   2281     ecx = ebp + (-0x30); /* 0x42001D01: lea ecx, [ebp - 0x30] */
   2282     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001D04: call dword ptr [0x42018064] */
   2283     RECOMP_FLAGS_IN();
   2284     edi = MEM32(eax); /* 0x42001D0A: mov edi, dword ptr [eax] */
   2285     edx = MEM32(eax + 0x4); /* 0x42001D0C: mov edx, dword ptr [eax + 4] */
   2286     ecx = MEM32(esi + 0x14); /* 0x42001D0F: mov ecx, dword ptr [esi + 0x14] */
   2287     eax = MEM32(eax + 0x8); /* 0x42001D12: mov eax, dword ptr [eax + 8] */
   2288     PUSH32(esp, ecx); /* 0x42001D15: push ecx */
   2289     MEM32(ebp + (-0x20)) = edx; /* 0x42001D16: mov dword ptr [ebp - 0x20], edx */
   2290     edx = MEM32(esi + 0x4); /* 0x42001D19: mov edx, dword ptr [esi + 4] */
   2291     MEM32(ebp + (-0x1C)) = eax; /* 0x42001D1C: mov dword ptr [ebp - 0x1c], eax */
   2292     eax = MEM32(esi + 0xC); /* 0x42001D1F: mov eax, dword ptr [esi + 0xc] */
   2293     PUSH32(esp, edx); /* 0x42001D22: push edx */
   2294     PUSH32(esp, eax); /* 0x42001D23: push eax */
   2295     ecx = ebp + (-0x18); /* 0x42001D24: lea ecx, [ebp - 0x18] */
   2296     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001D27: call dword ptr [0x42018064] */
   2297     RECOMP_FLAGS_IN();
   2298     ecx = MEM32(eax); /* 0x42001D2D: mov ecx, dword ptr [eax] */
   2299     MEM32(ebp + (-0x60)) = ecx; /* 0x42001D2F: mov dword ptr [ebp - 0x60], ecx */
   2300     edx = MEM32(eax + 0x4); /* 0x42001D32: mov edx, dword ptr [eax + 4] */
   2301     ecx = MEM32(ebp + (-0x20)); /* 0x42001D35: mov ecx, dword ptr [ebp - 0x20] */
   2302     MEM32(ebp + (-0x5C)) = edx; /* 0x42001D38: mov dword ptr [ebp - 0x5c], edx */
   2303     eax = MEM32(eax + 0x8); /* 0x42001D3B: mov eax, dword ptr [eax + 8] */
   2304     edx = MEM32(ebp + (-0x1C)); /* 0x42001D3E: mov edx, dword ptr [ebp - 0x1c] */
   2305     MEM32(ebp + (-0x58)) = eax; /* 0x42001D41: mov dword ptr [ebp - 0x58], eax */
   2306     MEM32(ebp + (-0x50)) = ecx; /* 0x42001D44: mov dword ptr [ebp - 0x50], ecx */
   2307     ecx = MEM32(ebp + (-0x78)); /* 0x42001D47: mov ecx, dword ptr [ebp - 0x78] */
   2308     eax = ebp + (-0x60); /* 0x42001D4A: lea eax, [ebp - 0x60] */
   2309     PUSH32(esp, eax); /* 0x42001D4D: push eax */
   2310     PUSH32(esp, ecx); /* 0x42001D4E: push ecx */
   2311     ecx = ebp + (-0x80); /* 0x42001D4F: lea ecx, [ebp - 0x80] */
   2312     MEM32(ebp + (-0x54)) = edi; /* 0x42001D52: mov dword ptr [ebp - 0x54], edi */
   2313     MEM32(ebp + (-0x4C)) = edx; /* 0x42001D55: mov dword ptr [ebp - 0x4c], edx */
   2314     RECOMP_ICALL(0x42002470u); /* 0x42001D58: call 0x42002470 */ /* not lifted */
   2315     RECOMP_FLAGS_IN();
   2316     edx = MEM32(esi + 0x8); /* 0x42001D5D: mov edx, dword ptr [esi + 8] */
   2317     eax = MEM32(esi + 0x4); /* 0x42001D60: mov eax, dword ptr [esi + 4] */
   2318     ecx = MEM32(esi); /* 0x42001D63: mov ecx, dword ptr [esi] */
   2319     PUSH32(esp, edx); /* 0x42001D65: push edx */
   2320     PUSH32(esp, eax); /* 0x42001D66: push eax */
   2321     PUSH32(esp, ecx); /* 0x42001D67: push ecx */
   2322     ecx = ebp + (-0x30); /* 0x42001D68: lea ecx, [ebp - 0x30] */
   2323     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001D6B: call dword ptr [0x42018064] */
   2324     RECOMP_FLAGS_IN();
   2325     edi = MEM32(eax); /* 0x42001D71: mov edi, dword ptr [eax] */
   2326     edx = MEM32(eax + 0x4); /* 0x42001D73: mov edx, dword ptr [eax + 4] */
   2327     ecx = MEM32(esi + 0x14); /* 0x42001D76: mov ecx, dword ptr [esi + 0x14] */
   2328     eax = MEM32(eax + 0x8); /* 0x42001D79: mov eax, dword ptr [eax + 8] */
   2329     PUSH32(esp, ecx); /* 0x42001D7C: push ecx */
   2330     MEM32(ebp + (-0x20)) = edx; /* 0x42001D7D: mov dword ptr [ebp - 0x20], edx */
   2331     edx = MEM32(esi + 0x4); /* 0x42001D80: mov edx, dword ptr [esi + 4] */
   2332     MEM32(ebp + (-0x1C)) = eax; /* 0x42001D83: mov dword ptr [ebp - 0x1c], eax */
   2333     eax = MEM32(esi); /* 0x42001D86: mov eax, dword ptr [esi] */
   2334     PUSH32(esp, edx); /* 0x42001D88: push edx */
   2335     PUSH32(esp, eax); /* 0x42001D89: push eax */
   2336     ecx = ebp + (-0x18); /* 0x42001D8A: lea ecx, [ebp - 0x18] */
   2337     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001D8D: call dword ptr [0x42018064] */
   2338     RECOMP_FLAGS_IN();
   2339     ecx = MEM32(eax); /* 0x42001D93: mov ecx, dword ptr [eax] */
   2340     MEM32(ebp + (-0x60)) = ecx; /* 0x42001D95: mov dword ptr [ebp - 0x60], ecx */
   2341     edx = MEM32(eax + 0x4); /* 0x42001D98: mov edx, dword ptr [eax + 4] */
   2342     ecx = MEM32(ebp + (-0x20)); /* 0x42001D9B: mov ecx, dword ptr [ebp - 0x20] */
   2343     MEM32(ebp + (-0x5C)) = edx; /* 0x42001D9E: mov dword ptr [ebp - 0x5c], edx */
   2344     eax = MEM32(eax + 0x8); /* 0x42001DA1: mov eax, dword ptr [eax + 8] */
   2345     MEM32(ebp + (-0x58)) = eax; /* 0x42001DA4: mov dword ptr [ebp - 0x58], eax */
   2346     MEM32(ebp + (-0x54)) = edi; /* 0x42001DA7: mov dword ptr [ebp - 0x54], edi */
   2347     edx = MEM32(ebp + (-0x1C)); /* 0x42001DAA: mov edx, dword ptr [ebp - 0x1c] */
   2348     MEM32(ebp + (-0x50)) = ecx; /* 0x42001DAD: mov dword ptr [ebp - 0x50], ecx */
   2349     ecx = MEM32(ebp + (-0x78)); /* 0x42001DB0: mov ecx, dword ptr [ebp - 0x78] */
   2350     eax = ebp + (-0x60); /* 0x42001DB3: lea eax, [ebp - 0x60] */
   2351     PUSH32(esp, eax); /* 0x42001DB6: push eax */
   2352     PUSH32(esp, ecx); /* 0x42001DB7: push ecx */
   2353     ecx = ebp + (-0x80); /* 0x42001DB8: lea ecx, [ebp - 0x80] */
   2354     MEM32(ebp + (-0x4C)) = edx; /* 0x42001DBB: mov dword ptr [ebp - 0x4c], edx */
   2355     RECOMP_ICALL(0x42002470u); /* 0x42001DBE: call 0x42002470 */ /* not lifted */
   2356     RECOMP_FLAGS_IN();
   2357     esi = MEM32(ebp + 0x8); /* 0x42001DC3: mov esi, dword ptr [ebp + 8] */
   2358     edx = MEM32(esi + 0x8); /* 0x42001DC6: mov edx, dword ptr [esi + 8] */
   2359     eax = MEM32(esi + 0x4); /* 0x42001DC9: mov eax, dword ptr [esi + 4] */
   2360     ecx = MEM32(esi + 0xC); /* 0x42001DCC: mov ecx, dword ptr [esi + 0xc] */
   2361     PUSH32(esp, edx); /* 0x42001DCF: push edx */
   2362     PUSH32(esp, eax); /* 0x42001DD0: push eax */
   2363     PUSH32(esp, ecx); /* 0x42001DD1: push ecx */
   2364     ecx = ebp + (-0x30); /* 0x42001DD2: lea ecx, [ebp - 0x30] */
   2365     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001DD5: call dword ptr [0x42018064] */
   2366     RECOMP_FLAGS_IN();
   2367     edi = MEM32(eax); /* 0x42001DDB: mov edi, dword ptr [eax] */
   2368     edx = MEM32(eax + 0x4); /* 0x42001DDD: mov edx, dword ptr [eax + 4] */
   2369     ecx = MEM32(esi + 0x8); /* 0x42001DE0: mov ecx, dword ptr [esi + 8] */
   2370     eax = MEM32(eax + 0x8); /* 0x42001DE3: mov eax, dword ptr [eax + 8] */
   2371     PUSH32(esp, ecx); /* 0x42001DE6: push ecx */
   2372     MEM32(ebp + (-0x20)) = edx; /* 0x42001DE7: mov dword ptr [ebp - 0x20], edx */
   2373     edx = MEM32(esi + 0x4); /* 0x42001DEA: mov edx, dword ptr [esi + 4] */
   2374     MEM32(ebp + (-0x1C)) = eax; /* 0x42001DED: mov dword ptr [ebp - 0x1c], eax */
   2375     eax = MEM32(esi); /* 0x42001DF0: mov eax, dword ptr [esi] */
   2376     PUSH32(esp, edx); /* 0x42001DF2: push edx */
   2377     PUSH32(esp, eax); /* 0x42001DF3: push eax */
   2378     ecx = ebp + (-0x18); /* 0x42001DF4: lea ecx, [ebp - 0x18] */
   2379     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001DF7: call dword ptr [0x42018064] */
   2380     RECOMP_FLAGS_IN();
   2381     ecx = MEM32(eax); /* 0x42001DFD: mov ecx, dword ptr [eax] */
   2382     MEM32(ebp + (-0x60)) = ecx; /* 0x42001DFF: mov dword ptr [ebp - 0x60], ecx */
   2383     edx = MEM32(eax + 0x4); /* 0x42001E02: mov edx, dword ptr [eax + 4] */
   2384     ecx = MEM32(ebp + (-0x20)); /* 0x42001E05: mov ecx, dword ptr [ebp - 0x20] */
   2385     MEM32(ebp + (-0x5C)) = edx; /* 0x42001E08: mov dword ptr [ebp - 0x5c], edx */
   2386     eax = MEM32(eax + 0x8); /* 0x42001E0B: mov eax, dword ptr [eax + 8] */
   2387     edx = MEM32(ebp + (-0x1C)); /* 0x42001E0E: mov edx, dword ptr [ebp - 0x1c] */
   2388     MEM32(ebp + (-0x58)) = eax; /* 0x42001E11: mov dword ptr [ebp - 0x58], eax */
   2389     MEM32(ebp + (-0x50)) = ecx; /* 0x42001E14: mov dword ptr [ebp - 0x50], ecx */
   2390     ecx = MEM32(ebp + (-0x68)); /* 0x42001E17: mov ecx, dword ptr [ebp - 0x68] */
   2391     eax = ebp + (-0x60); /* 0x42001E1A: lea eax, [ebp - 0x60] */
   2392     PUSH32(esp, eax); /* 0x42001E1D: push eax */
   2393     PUSH32(esp, ecx); /* 0x42001E1E: push ecx */
   2394     ecx = ebp + (-0x70); /* 0x42001E1F: lea ecx, [ebp - 0x70] */
   2395     MEM32(ebp + (-0x54)) = edi; /* 0x42001E22: mov dword ptr [ebp - 0x54], edi */
   2396     MEM32(ebp + (-0x4C)) = edx; /* 0x42001E25: mov dword ptr [ebp - 0x4c], edx */
   2397     RECOMP_ICALL(0x42002470u); /* 0x42001E28: call 0x42002470 */ /* not lifted */
   2398     RECOMP_FLAGS_IN();
   2399     edx = MEM32(esi + 0x14); /* 0x42001E2D: mov edx, dword ptr [esi + 0x14] */
   2400     eax = MEM32(esi + 0x4); /* 0x42001E30: mov eax, dword ptr [esi + 4] */
   2401     ecx = MEM32(esi + 0xC); /* 0x42001E33: mov ecx, dword ptr [esi + 0xc] */
   2402     PUSH32(esp, edx); /* 0x42001E36: push edx */
   2403     PUSH32(esp, eax); /* 0x42001E37: push eax */
   2404     PUSH32(esp, ecx); /* 0x42001E38: push ecx */
   2405     ecx = ebp + (-0x30); /* 0x42001E39: lea ecx, [ebp - 0x30] */
   2406     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001E3C: call dword ptr [0x42018064] */
   2407     RECOMP_FLAGS_IN();
   2408     edi = MEM32(eax); /* 0x42001E42: mov edi, dword ptr [eax] */
   2409     edx = MEM32(eax + 0x4); /* 0x42001E44: mov edx, dword ptr [eax + 4] */
   2410     ecx = MEM32(esi + 0x8); /* 0x42001E47: mov ecx, dword ptr [esi + 8] */
   2411     eax = MEM32(eax + 0x8); /* 0x42001E4A: mov eax, dword ptr [eax + 8] */
   2412     PUSH32(esp, ecx); /* 0x42001E4D: push ecx */
   2413     MEM32(ebp + (-0x20)) = edx; /* 0x42001E4E: mov dword ptr [ebp - 0x20], edx */
   2414     edx = MEM32(esi + 0x4); /* 0x42001E51: mov edx, dword ptr [esi + 4] */
   2415     MEM32(ebp + (-0x1C)) = eax; /* 0x42001E54: mov dword ptr [ebp - 0x1c], eax */
   2416     eax = MEM32(esi + 0xC); /* 0x42001E57: mov eax, dword ptr [esi + 0xc] */
   2417     PUSH32(esp, edx); /* 0x42001E5A: push edx */
   2418     PUSH32(esp, eax); /* 0x42001E5B: push eax */
   2419     ecx = ebp + (-0x18); /* 0x42001E5C: lea ecx, [ebp - 0x18] */
   2420     RECOMP_ICALL(MEM32(0x42018064)); /* 0x42001E5F: call dword ptr [0x42018064] */
   2421     RECOMP_FLAGS_IN();
   2422     ecx = MEM32(eax); /* 0x42001E65: mov ecx, dword ptr [eax] */
   2423     MEM32(ebp + (-0x60)) = ecx; /* 0x42001E67: mov dword ptr [ebp - 0x60], ecx */
   2424     edx = MEM32(eax + 0x4); /* 0x42001E6A: mov edx, dword ptr [eax + 4] */
   2425     ecx = MEM32(ebp + (-0x20)); /* 0x42001E6D: mov ecx, dword ptr [ebp - 0x20] */
   2426     MEM32(ebp + (-0x5C)) = edx; /* 0x42001E70: mov dword ptr [ebp - 0x5c], edx */
   2427     eax = MEM32(eax + 0x8); /* 0x42001E73: mov eax, dword ptr [eax + 8] */
   2428     edx = MEM32(ebp + (-0x1C)); /* 0x42001E76: mov edx, dword ptr [ebp - 0x1c] */
   2429     MEM32(ebp + (-0x58)) = eax; /* 0x42001E79: mov dword ptr [ebp - 0x58], eax */
   2430     MEM32(ebp + (-0x54)) = edi; /* 0x42001E7C: mov dword ptr [ebp - 0x54], edi */
   2431     MEM32(ebp + (-0x50)) = ecx; /* 0x42001E7F: mov dword ptr [ebp - 0x50], ecx */
   2432     MEM32(ebp + (-0x4C)) = edx; /* 0x42001E82: mov dword ptr [ebp - 0x4c], edx */
   2433     eax = ebp + (-0x60); /* 0x42001E85: lea eax, [ebp - 0x60] */
   2434     ecx = MEM32(ebp + (-0x68)); /* 0x42001E88: mov ecx, dword ptr [ebp - 0x68] */
   2435     PUSH32(esp, eax); /* 0x42001E8B: push eax */
   2436     PUSH32(esp, ecx); /* 0x42001E8C: push ecx */
   2437     ecx = ebp + (-0x70); /* 0x42001E8D: lea ecx, [ebp - 0x70] */
   2438     RECOMP_ICALL(0x42002470u); /* 0x42001E90: call 0x42002470 */ /* not lifted */
   2439     RECOMP_FLAGS_IN();
   2440     PUSH32(esp, 1); /* 0x42001E95: push 1 */
   2441     edx = ebp + (-0x30); /* 0x42001E97: lea edx, [ebp - 0x30] */
   2442     PUSH32(esp, edx); /* 0x42001E9A: push edx */
   2443     ecx = esi; /* 0x42001E9B: mov ecx, esi */
   2444     RECOMP_ICALL(0x420016C0u); /* 0x42001E9D: call 0x420016c0 */ /* not lifted */
   2445     RECOMP_FLAGS_IN();
   2446     edi = eax; /* 0x42001EA2: mov edi, eax */
   2447     PUSH32(esp, 0x101u); /* 0x42001EA4: push 0x101 */
   2448     eax = ebp + (-0x24); /* 0x42001EA9: lea eax, [ebp - 0x24] */
   2449     PUSH32(esp, eax); /* 0x42001EAC: push eax */
   2450     ecx = esi; /* 0x42001EAD: mov ecx, esi */
   2451     RECOMP_ICALL(0x420016C0u); /* 0x42001EAF: call 0x420016c0 */ /* not lifted */
   2452     RECOMP_FLAGS_IN();
   2453     ecx = MEM32(eax); /* 0x42001EB4: mov ecx, dword ptr [eax] */
   2454     MEM32(ebp + (-0x60)) = ecx; /* 0x42001EB6: mov dword ptr [ebp - 0x60], ecx */
   2455     edx = MEM32(eax + 0x4); /* 0x42001EB9: mov edx, dword ptr [eax + 4] */
   2456     MEM32(ebp + (-0x5C)) = edx; /* 0x42001EBC: mov dword ptr [ebp - 0x5c], edx */
   2457     eax = MEM32(eax + 0x8); /* 0x42001EBF: mov eax, dword ptr [eax + 8] */
   2458     MEM32(ebp + (-0x58)) = eax; /* 0x42001EC2: mov dword ptr [ebp - 0x58], eax */
   2459     ecx = MEM32(edi); /* 0x42001EC5: mov ecx, dword ptr [edi] */
   2460     MEM32(ebp + (-0x54)) = ecx; /* 0x42001EC7: mov dword ptr [ebp - 0x54], ecx */
   2461     edx = MEM32(edi + 0x4); /* 0x42001ECA: mov edx, dword ptr [edi + 4] */
   2462     MEM32(ebp + (-0x50)) = edx; /* 0x42001ECD: mov dword ptr [ebp - 0x50], edx */
   2463     edx = MEM32(ebp + (-0x68)); /* 0x42001ED0: mov edx, dword ptr [ebp - 0x68] */
   2464     eax = MEM32(edi + 0x8); /* 0x42001ED3: mov eax, dword ptr [edi + 8] */
   2465     ecx = ebp + (-0x60); /* 0x42001ED6: lea ecx, [ebp - 0x60] */
   2466     PUSH32(esp, ecx); /* 0x42001ED9: push ecx */
   2467     PUSH32(esp, edx); /* 0x42001EDA: push edx */
   2468     ecx = ebp + (-0x70); /* 0x42001EDB: lea ecx, [ebp - 0x70] */
   2469     MEM32(ebp + (-0x4C)) = eax; /* 0x42001EDE: mov dword ptr [ebp - 0x4c], eax */
   2470     RECOMP_ICALL(0x42002470u); /* 0x42001EE1: call 0x42002470 */ /* not lifted */
   2471     RECOMP_FLAGS_IN();
   2472     PUSH32(esp, ebx); /* 0x42001EE6: push ebx */
   2473     eax = ebp + (-0x30); /* 0x42001EE7: lea eax, [ebp - 0x30] */
   2474     PUSH32(esp, eax); /* 0x42001EEA: push eax */
   2475     ecx = esi; /* 0x42001EEB: mov ecx, esi */
   2476     RECOMP_ICALL(0x420016C0u); /* 0x42001EED: call 0x420016c0 */ /* not lifted */
   2477     RECOMP_FLAGS_IN();
   2478     PUSH32(esp, 1); /* 0x42001EF2: push 1 */
   2479     ecx = ebp + (-0x24); /* 0x42001EF4: lea ecx, [ebp - 0x24] */
   2480     PUSH32(esp, ecx); /* 0x42001EF7: push ecx */
   2481     ecx = esi; /* 0x42001EF8: mov ecx, esi */
   2482     edi = eax; /* 0x42001EFA: mov edi, eax */
   2483     RECOMP_ICALL(0x420016C0u); /* 0x42001EFC: call 0x420016c0 */ /* not lifted */
   2484     RECOMP_FLAGS_IN();
   2485     edx = MEM32(eax); /* 0x42001F01: mov edx, dword ptr [eax] */
   2486     MEM32(ebp + (-0x60)) = edx; /* 0x42001F03: mov dword ptr [ebp - 0x60], edx */
   2487     ecx = MEM32(eax + 0x4); /* 0x42001F06: mov ecx, dword ptr [eax + 4] */
   2488     MEM32(ebp + (-0x5C)) = ecx; /* 0x42001F09: mov dword ptr [ebp - 0x5c], ecx */
   2489     edx = MEM32(eax + 0x8); /* 0x42001F0C: mov edx, dword ptr [eax + 8] */
   2490     MEM32(ebp + (-0x58)) = edx; /* 0x42001F0F: mov dword ptr [ebp - 0x58], edx */
   2491     eax = MEM32(edi); /* 0x42001F12: mov eax, dword ptr [edi] */
   2492     MEM32(ebp + (-0x54)) = eax; /* 0x42001F14: mov dword ptr [ebp - 0x54], eax */
   2493     ecx = MEM32(edi + 0x4); /* 0x42001F17: mov ecx, dword ptr [edi + 4] */
   2494     MEM32(ebp + (-0x50)) = ecx; /* 0x42001F1A: mov dword ptr [ebp - 0x50], ecx */
   2495     ecx = MEM32(ebp + (-0x68)); /* 0x42001F1D: mov ecx, dword ptr [ebp - 0x68] */
   2496     edx = MEM32(edi + 0x8); /* 0x42001F20: mov edx, dword ptr [edi + 8] */
   2497     eax = ebp + (-0x60); /* 0x42001F23: lea eax, [ebp - 0x60] */
   2498     PUSH32(esp, eax); /* 0x42001F26: push eax */
   2499     PUSH32(esp, ecx); /* 0x42001F27: push ecx */
   2500     ecx = ebp + (-0x70); /* 0x42001F28: lea ecx, [ebp - 0x70] */
   2501     MEM32(ebp + (-0x4C)) = edx; /* 0x42001F2B: mov dword ptr [ebp - 0x4c], edx */
   2502     RECOMP_ICALL(0x42002470u); /* 0x42001F2E: call 0x42002470 */ /* not lifted */
   2503     RECOMP_FLAGS_IN();
   2504     eax = MEM32(ebp + (-0x7C)); /* 0x42001F33: mov eax, dword ptr [ebp - 0x7c] */
   2505     /* cmp eax, MEM32(ebp + (-0x78)) */ /* 0x42001F36: cmp eax, dword ptr [ebp - 0x78] */
   2506     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x78)));
   2507     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2508     _flag_k = FK_CMP;
   2509     edi = eax; /* 0x42001F39: mov edi, eax */
   2510     if (CMP_EQ(_flag_a, _flag_b)) goto L_42001F74; /* 0x42001F3B: je 0x42001f74 */
   2511 L_42001F3D:
   2512     eax = MEM32(ebp + (-0x68)); /* 0x42001F3D: mov eax, dword ptr [ebp - 0x68] */
   2513     esi = MEM32(ebp + (-0x6C)); /* 0x42001F40: mov esi, dword ptr [ebp - 0x6c] */
   2514 L_42001F43:
   2515     /* cmp esi, eax */ /* 0x42001F43: cmp esi, eax */
   2516     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   2517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2518     _flag_k = FK_CMP;
   2519     if (CMP_EQ(_flag_a, _flag_b)) goto L_42001F6A; /* 0x42001F45: je 0x42001f6a */
   2520 L_42001F47:
   2521     edx = esi + 0xC; /* 0x42001F47: lea edx, [esi + 0xc] */
   2522     PUSH32(esp, edx); /* 0x42001F4A: push edx */
   2523     PUSH32(esp, esi); /* 0x42001F4B: push esi */
   2524     eax = edi + 0xC; /* 0x42001F4C: lea eax, [edi + 0xc] */
   2525     PUSH32(esp, eax); /* 0x42001F4F: push eax */
   2526     PUSH32(esp, edi); /* 0x42001F50: push edi */
   2527     RECOMP_ICALL(0x42001890u); /* 0x42001F51: call 0x42001890 */ /* not lifted */
   2528     RECOMP_FLAGS_IN();
   2529     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2530     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2531     esp = esp + 0x10u; /* 0x42001F56: add esp, 0x10 */
   2532     _flag_k = FK_ADD;
   2533     /* test LO8(eax), LO8(eax) */ /* 0x42001F59: test al, al */
   2534     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2535     _cf = 0;
   2536     _flag_k = FK_NARROW(FK_TEST, 24);
   2537     if (TEST_NZ(_flag_a, _flag_b)) goto L_42001FA3; /* 0x42001F5B: jne 0x42001fa3 */
   2538 L_42001F5D:
   2539     eax = MEM32(ebp + (-0x68)); /* 0x42001F5D: mov eax, dword ptr [ebp - 0x68] */
   2540     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
   2541     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2542     esi = esi + 0x18u; /* 0x42001F60: add esi, 0x18 */
   2543     _flag_k = FK_ADD;
   2544     /* cmp esi, eax */ /* 0x42001F63: cmp esi, eax */
   2545     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   2546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2547     _flag_k = FK_CMP;
   2548     RECOMP_BACKEDGE();
   2549     if (CMP_NE(_flag_a, _flag_b)) goto L_42001F47; /* 0x42001F65: jne 0x42001f47 */
   2550 L_42001F67:
   2551     esi = MEM32(ebp + (-0x6C)); /* 0x42001F67: mov esi, dword ptr [ebp - 0x6c] */
   2552 L_42001F6A:
   2553     ecx = MEM32(ebp + (-0x78)); /* 0x42001F6A: mov ecx, dword ptr [ebp - 0x78] */
   2554     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x18u);
   2555     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2556     edi = edi + 0x18u; /* 0x42001F6D: add edi, 0x18 */
   2557     _flag_k = FK_ADD;
   2558     /* cmp edi, ecx */ /* 0x42001F70: cmp edi, ecx */
   2559     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2560     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2561     _flag_k = FK_CMP;
   2562     RECOMP_BACKEDGE();
   2563     if (CMP_NE(_flag_a, _flag_b)) goto L_42001F43; /* 0x42001F72: jne 0x42001f43 */
   2564 L_42001F74:
   2565     ecx = ebp + (-0x70); /* 0x42001F74: lea ecx, [ebp - 0x70] */
   2566     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x42001F77: mov byte ptr [ebp - 4], bl */
   2567     RECOMP_ICALL(0x4200A0C0u); /* 0x42001F7A: call 0x4200a0c0 */ /* not lifted */
   2568     RECOMP_FLAGS_IN();
   2569     ecx = ebp + (-0x80); /* 0x42001F7F: lea ecx, [ebp - 0x80] */
   2570     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x42001F82: mov dword ptr [ebp - 4], 0xffffffff */
   2571     RECOMP_ICALL(0x4200A0C0u); /* 0x42001F89: call 0x4200a0c0 */ /* not lifted */
   2572     RECOMP_FLAGS_IN();
   2573     edi = POP32_VAL(esp); /* 0x42001F8E: pop edi */
   2574     esi = POP32_VAL(esp); /* 0x42001F8F: pop esi */
   2575     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   2576     SET_LO8(eax, 0); /* 0x42001F90: xor al, al */
   2577     _cf = 0;
   2578     _flag_k = FK_NARROW(FK_TEST, 24);
   2579     ebx = POP32_VAL(esp); /* 0x42001F92: pop ebx */
   2580     ecx = MEM32(ebp + (-0xC)); /* 0x42001F93: mov ecx, dword ptr [ebp - 0xc] */
   2581     MEM32(FS_BASE + (0)) = ecx; /* 0x42001F96: mov dword ptr fs:[0], ecx */
   2582     esp = ebp; /* 0x42001F9D: mov esp, ebp */
   2583     ebp = POP32_VAL(esp); /* 0x42001F9F: pop ebp */
   2584     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42001FA0: ret 8 */
   2585 L_42001FA3:
   2586     eax = edi; /* 0x42001FA3: mov eax, edi */
   2587     ecx = MEM32(eax); /* 0x42001FA5: mov ecx, dword ptr [eax] */
   2588     edx = MEM32(eax + 0x4); /* 0x42001FA7: mov edx, dword ptr [eax + 4] */
   2589     eax = MEM32(eax + 0x8); /* 0x42001FAA: mov eax, dword ptr [eax + 8] */
   2590     MEM32(ebp + (-0x30)) = ecx; /* 0x42001FAD: mov dword ptr [ebp - 0x30], ecx */
   2591     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu);
   2592     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2593     edi = edi + 0xCu; /* 0x42001FB0: add edi, 0xc */
   2594     _flag_k = FK_ADD;
   2595     PUSH32(esp, edi); /* 0x42001FB3: push edi */
   2596     ecx = ebp + (-0x30); /* 0x42001FB4: lea ecx, [ebp - 0x30] */
   2597     MEM32(ebp + (-0x2C)) = edx; /* 0x42001FB7: mov dword ptr [ebp - 0x2c], edx */
   2598     MEM32(ebp + (-0x28)) = eax; /* 0x42001FBA: mov dword ptr [ebp - 0x28], eax */
   2599     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42001FBD: call dword ptr [0x420180a8] */
   2600     RECOMP_FLAGS_IN();
   2601     ecx = MEM32(eax); /* 0x42001FC3: mov ecx, dword ptr [eax] */
   2602     MEM32(ebp + (-0x18)) = ecx; /* 0x42001FC5: mov dword ptr [ebp - 0x18], ecx */
   2603     edx = MEM32(eax + 0x4); /* 0x42001FC8: mov edx, dword ptr [eax + 4] */
   2604     MEM32(ebp + (-0x14)) = edx; /* 0x42001FCB: mov dword ptr [ebp - 0x14], edx */
   2605     eax = MEM32(eax + 0x8); /* 0x42001FCE: mov eax, dword ptr [eax + 8] */
   2606     ecx = esi; /* 0x42001FD1: mov ecx, esi */
   2607     edx = MEM32(ecx); /* 0x42001FD3: mov edx, dword ptr [ecx] */
   2608     MEM32(ebp + (-0x10)) = eax; /* 0x42001FD5: mov dword ptr [ebp - 0x10], eax */
   2609     eax = MEM32(ecx + 0x4); /* 0x42001FD8: mov eax, dword ptr [ecx + 4] */
   2610     ecx = MEM32(ecx + 0x8); /* 0x42001FDB: mov ecx, dword ptr [ecx + 8] */
   2611     MEM32(ebp + (-0x28)) = ecx; /* 0x42001FDE: mov dword ptr [ebp - 0x28], ecx */
   2612     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   2613     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2614     esi = esi + 0xCu; /* 0x42001FE1: add esi, 0xc */
   2615     _flag_k = FK_ADD;
   2616     PUSH32(esp, esi); /* 0x42001FE4: push esi */
   2617     ecx = ebp + (-0x30); /* 0x42001FE5: lea ecx, [ebp - 0x30] */
   2618     MEM32(ebp + (-0x30)) = edx; /* 0x42001FE8: mov dword ptr [ebp - 0x30], edx */
   2619     MEM32(ebp + (-0x2C)) = eax; /* 0x42001FEB: mov dword ptr [ebp - 0x2c], eax */
   2620     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42001FEE: call dword ptr [0x420180a8] */
   2621     RECOMP_FLAGS_IN();
   2622     edx = MEM32(eax); /* 0x42001FF4: mov edx, dword ptr [eax] */
   2623     MEM32(ebp + (-0x24)) = edx; /* 0x42001FF6: mov dword ptr [ebp - 0x24], edx */
   2624     ecx = MEM32(eax + 0x4); /* 0x42001FF9: mov ecx, dword ptr [eax + 4] */
   2625     MEM32(ebp + (-0x20)) = ecx; /* 0x42001FFC: mov dword ptr [ebp - 0x20], ecx */
   2626     edx = MEM32(eax + 0x8); /* 0x42001FFF: mov edx, dword ptr [eax + 8] */
   2627     ecx = ebp + (-0x18); /* 0x42002002: lea ecx, [ebp - 0x18] */
   2628     MEM32(ebp + (-0x1C)) = edx; /* 0x42002005: mov dword ptr [ebp - 0x1c], edx */
   2629     RECOMP_ICALL(MEM32(0x420180A0)); /* 0x42002008: call dword ptr [0x420180a0] */
   2630     RECOMP_FLAGS_IN();
   2631     _st[0] = sqrt(_st[0]); /* 0x4200200E: fsqrt  */
   2632     ecx = ebp + (-0x24); /* 0x42002010: lea ecx, [ebp - 0x24] */
   2633     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x42002013: fstp dword ptr [ebp + 8] */
   2634     RECOMP_ICALL(MEM32(0x420180A0)); /* 0x42002016: call dword ptr [0x420180a0] */
   2635     RECOMP_FLAGS_IN();
   2636     _st[0] = sqrt(_st[0]); /* 0x4200201C: fsqrt  */
   2637     PUSH32(esp, 0x3F000000u); /* 0x4200201E: push 0x3f000000 */
   2638     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x42002023: fld dword ptr [ebp + 8] */
   2639     _fpu_cmp = FPU_CMP(_st[0], _st[1]); /* 0x42002026: fcomp st(1) */
   2640     fp_pop();
   2641     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x42002028: fnstsw ax */
   2642     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x4200202A: fstp st(0) */
   2643     /* test HI8(eax), 1 */ /* 0x4200202C: test ah, 1 */
   2644     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2645     _cf = 0;
   2646     _flag_k = FK_NARROW(FK_TEST, 24);
   2647     if (TEST_Z(_flag_a, _flag_b)) goto L_42002094; /* 0x4200202F: je 0x42002094 */
   2648 L_42002031:
   2649     eax = ebp + (-0x30); /* 0x42002031: lea eax, [ebp - 0x30] */
   2650     PUSH32(esp, eax); /* 0x42002034: push eax */
   2651     ecx = ebp + (-0x18); /* 0x42002035: lea ecx, [ebp - 0x18] */
   2652     RECOMP_ICALL(MEM32(0x42018060)); /* 0x42002038: call dword ptr [0x42018060] */
   2653     RECOMP_FLAGS_IN();
   2654     PUSH32(esp, eax); /* 0x4200203E: push eax */
   2655     ecx = ebp + (-0x3C); /* 0x4200203F: lea ecx, [ebp - 0x3c] */
   2656     PUSH32(esp, ecx); /* 0x42002042: push ecx */
   2657     ecx = edi; /* 0x42002043: mov ecx, edi */
   2658     RECOMP_ICALL(MEM32(0x4201809C)); /* 0x42002045: call dword ptr [0x4201809c] */
   2659     RECOMP_FLAGS_IN();
   2660     edx = eax; /* 0x4200204B: mov edx, eax */
   2661     esi = MEM32(edx); /* 0x4200204D: mov esi, dword ptr [edx] */
   2662     eax = MEM32(ebp + 0xC); /* 0x4200204F: mov eax, dword ptr [ebp + 0xc] */
   2663     ecx = eax; /* 0x42002052: mov ecx, eax */
   2664     MEM32(ecx) = esi; /* 0x42002054: mov dword ptr [ecx], esi */
   2665     esi = MEM32(edx + 0x4); /* 0x42002056: mov esi, dword ptr [edx + 4] */
   2666     MEM32(ecx + 0x4) = esi; /* 0x42002059: mov dword ptr [ecx + 4], esi */
   2667     edx = MEM32(edx + 0x8); /* 0x4200205C: mov edx, dword ptr [edx + 8] */
   2668     MEM32(ecx + 0x8) = edx; /* 0x4200205F: mov dword ptr [ecx + 8], edx */
   2669     ecx = ebp + (-0x70); /* 0x42002062: lea ecx, [ebp - 0x70] */
   2670     MEM32(eax + 0x4) = ebx; /* 0x42002065: mov dword ptr [eax + 4], ebx */
   2671     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x42002068: mov byte ptr [ebp - 4], bl */
   2672     RECOMP_ICALL(0x4200A0C0u); /* 0x4200206B: call 0x4200a0c0 */ /* not lifted */
   2673     RECOMP_FLAGS_IN();
   2674     ecx = ebp + (-0x80); /* 0x42002070: lea ecx, [ebp - 0x80] */
   2675     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x42002073: mov dword ptr [ebp - 4], 0xffffffff */
   2676     RECOMP_ICALL(0x4200A0C0u); /* 0x4200207A: call 0x4200a0c0 */ /* not lifted */
   2677     RECOMP_FLAGS_IN();
   2678     edi = POP32_VAL(esp); /* 0x4200207F: pop edi */
   2679     esi = POP32_VAL(esp); /* 0x42002080: pop esi */
   2680     SET_LO8(eax, 1); /* 0x42002081: mov al, 1 */
   2681     ebx = POP32_VAL(esp); /* 0x42002083: pop ebx */
   2682     ecx = MEM32(ebp + (-0xC)); /* 0x42002084: mov ecx, dword ptr [ebp - 0xc] */
   2683     MEM32(FS_BASE + (0)) = ecx; /* 0x42002087: mov dword ptr fs:[0], ecx */
   2684     esp = ebp; /* 0x4200208E: mov esp, ebp */
   2685     ebp = POP32_VAL(esp); /* 0x42002090: pop ebp */
   2686     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42002091: ret 8 */
   2687 L_42002094:
   2688     eax = ebp + (-0x48); /* 0x42002094: lea eax, [ebp - 0x48] */
   2689     PUSH32(esp, eax); /* 0x42002097: push eax */
   2690     ecx = ebp + (-0x24); /* 0x42002098: lea ecx, [ebp - 0x24] */
   2691     RECOMP_ICALL(MEM32(0x42018060)); /* 0x4200209B: call dword ptr [0x42018060] */
   2692     RECOMP_FLAGS_IN();
   2693     PUSH32(esp, eax); /* 0x420020A1: push eax */
   2694     ecx = ebp + (-0x54); /* 0x420020A2: lea ecx, [ebp - 0x54] */
   2695     PUSH32(esp, ecx); /* 0x420020A5: push ecx */
   2696     ecx = esi; /* 0x420020A6: mov ecx, esi */
   2697     RECOMP_ICALL(MEM32(0x4201809C)); /* 0x420020A8: call dword ptr [0x4201809c] */
   2698     RECOMP_FLAGS_IN();
   2699     edx = eax; /* 0x420020AE: mov edx, eax */
   2700     esi = MEM32(edx); /* 0x420020B0: mov esi, dword ptr [edx] */
   2701     eax = MEM32(ebp + 0xC); /* 0x420020B2: mov eax, dword ptr [ebp + 0xc] */
   2702     ecx = eax; /* 0x420020B5: mov ecx, eax */
   2703     MEM32(ecx) = esi; /* 0x420020B7: mov dword ptr [ecx], esi */
   2704     esi = MEM32(edx + 0x4); /* 0x420020B9: mov esi, dword ptr [edx + 4] */
   2705     MEM32(ecx + 0x4) = esi; /* 0x420020BC: mov dword ptr [ecx + 4], esi */
   2706     edx = MEM32(edx + 0x8); /* 0x420020BF: mov edx, dword ptr [edx + 8] */
   2707     MEM32(ecx + 0x8) = edx; /* 0x420020C2: mov dword ptr [ecx + 8], edx */
   2708     ecx = ebp + (-0x70); /* 0x420020C5: lea ecx, [ebp - 0x70] */
   2709     MEM32(eax + 0x4) = ebx; /* 0x420020C8: mov dword ptr [eax + 4], ebx */
   2710     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x420020CB: mov byte ptr [ebp - 4], bl */
   2711     RECOMP_ICALL(0x4200A0C0u); /* 0x420020CE: call 0x4200a0c0 */ /* not lifted */
   2712     RECOMP_FLAGS_IN();
   2713     ecx = ebp + (-0x80); /* 0x420020D3: lea ecx, [ebp - 0x80] */
   2714     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x420020D6: mov dword ptr [ebp - 4], 0xffffffff */
   2715     RECOMP_ICALL(0x4200A0C0u); /* 0x420020DD: call 0x4200a0c0 */ /* not lifted */
   2716     RECOMP_FLAGS_IN();
   2717     ecx = MEM32(ebp + (-0xC)); /* 0x420020E2: mov ecx, dword ptr [ebp - 0xc] */
   2718     edi = POP32_VAL(esp); /* 0x420020E5: pop edi */
   2719     esi = POP32_VAL(esp); /* 0x420020E6: pop esi */
   2720     SET_LO8(eax, 1); /* 0x420020E7: mov al, 1 */
   2721     ebx = POP32_VAL(esp); /* 0x420020E9: pop ebx */
   2722     MEM32(FS_BASE + (0)) = ecx; /* 0x420020EA: mov dword ptr fs:[0], ecx */
   2723     esp = ebp; /* 0x420020F1: mov esp, ebp */
   2724     ebp = POP32_VAL(esp); /* 0x420020F3: pop ebp */
   2725     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x420020F4: ret 8 */
   2726     RECOMP_REGS_OUT();
   2727 }
   2728 
   2729 void sub_42002100(void) {
   2730     int _fpu_cmp = 0;
   2731     uint32_t _cf = 0;
   2732     int _df = 1;
   2733     uint32_t _flag_k = FK_NONE;
   2734     uint32_t _flag_a = 0, _flag_b = 0;
   2735     uint32_t _itail_tgt = 0;
   2736     RECOMP_REGS_LOCALS
   2737     RECOMP_ENTER(0x42002100u);
   2738 
   2739 L_42002100:
   2740     PUSH32(esp, ebp); /* 0x42002100: push ebp */
   2741 L_42002101:
   2742     ebp = esp; /* 0x42002101: mov ebp, esp */
   2743 L_42002103:
   2744     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u);
   2745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2746     esp = esp - 0x38u; /* 0x42002103: sub esp, 0x38 */
   2747     _flag_k = FK_CMP;
   2748 L_42002106:
   2749     PUSH32(esp, ebx); /* 0x42002106: push ebx */
   2750 L_42002107:
   2751     PUSH32(esp, esi); /* 0x42002107: push esi */
   2752 L_42002108:
   2753     esi = ecx; /* 0x42002108: mov esi, ecx */
   2754 L_4200210A:
   2755     SET_LO8(ecx, MEM8(0x42022428)); /* 0x4200210A: mov cl, byte ptr [0x42022428] */
   2756 L_42002110:
   2757     SET_LO8(eax, 1); /* 0x42002110: mov al, 1 */
   2758 L_42002112:
   2759     /* test LO8(eax), LO8(ecx) */ /* 0x42002112: test al, cl */
   2760     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   2761     _cf = 0;
   2762     _flag_k = FK_NARROW(FK_TEST, 24);
   2763 L_42002114:
   2764     PUSH32(esp, edi); /* 0x42002114: push edi */
   2765 L_42002115:
   2766     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_42002209; /* 0x42002115: jne 0x42002209 */
   2767 L_4200211B:
   2768     fp_push(*(double*)ADDR(0x42018100)); /* 0x4200211B: fld qword ptr [0x42018100] */
   2769 L_42002121:
   2770     SET_LO8(edx, LO8(ecx)); /* 0x42002121: mov dl, cl */
   2771 L_42002123:
   2772     _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x42002123: fsin  */
   2773 L_42002125:
   2774     _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24;
   2775     SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x42002125: or dl, al */
   2776     _cf = 0;
   2777     _flag_k = FK_NARROW(FK_TEST, 24);
   2778 L_42002127:
   2779     MEM8(0x42022428) = (uint8_t)(LO8(edx)); /* 0x42002127: mov byte ptr [0x42022428], dl */
   2780 L_4200212D:
   2781     PUSH32(esp, 0x42002460u); /* 0x4200212D: push 0x42002460 */
   2782 L_42002132:
   2783     fp_push(*(float*)&MEM32(0x420180F8)); /* 0x42002132: fld dword ptr [0x420180f8] */
   2784 L_42002138:
   2785     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x42002138: fst dword ptr [ebp - 4] */
   2786 L_4200213B:
   2787     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x4200213B: fstp dword ptr [ebp - 0x38] */
   2788 L_4200213E:
   2789     eax = MEM32(ebp + (-0x4)); /* 0x4200213E: mov eax, dword ptr [ebp - 4] */
   2790 L_42002141:
   2791     ecx = MEM32(ebp + (-0x38)); /* 0x42002141: mov ecx, dword ptr [ebp - 0x38] */
   2792 L_42002144:
   2793     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x42002144: fstp dword ptr [ebp - 0x34] */
   2794 L_42002147:
   2795     edx = MEM32(ebp + (-0x34)); /* 0x42002147: mov edx, dword ptr [ebp - 0x34] */
   2796 L_4200214A:
   2797     fp_push(*(double*)ADDR(0x42018100)); /* 0x4200214A: fld qword ptr [0x42018100] */
   2798 L_42002150:
   2799     MEM32(0x42022430) = ecx; /* 0x42002150: mov dword ptr [0x42022430], ecx */
   2800 L_42002156:
   2801     _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x42002156: fcos  */
   2802 L_42002158:
   2803     MEM32(ebp + (-0x30)) = eax; /* 0x42002158: mov dword ptr [ebp - 0x30], eax */
   2804 L_4200215B:
   2805     MEM32(0x42022434) = edx; /* 0x4200215B: mov dword ptr [0x42022434], edx */
   2806 L_42002161:
   2807     MEM32(0x42022438) = eax; /* 0x42002161: mov dword ptr [0x42022438], eax */
   2808 L_42002166:
   2809     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x42002166: fstp dword ptr [ebp - 0x2c] */
   2810 L_42002169:
   2811     fp_push(*(double*)ADDR(0x420180F0)); /* 0x42002169: fld qword ptr [0x420180f0] */
   2812 L_4200216F:
   2813     _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x4200216F: fsin  */
   2814 L_42002171:
   2815     ecx = MEM32(ebp + (-0x2C)); /* 0x42002171: mov ecx, dword ptr [ebp - 0x2c] */
   2816 L_42002174:
   2817     MEM32(0x4202243C) = ecx; /* 0x42002174: mov dword ptr [0x4202243c], ecx */
   2818 L_4200217A:
   2819     fp_push(*(float*)&MEM32(0x420180F8)); /* 0x4200217A: fld dword ptr [0x420180f8] */
   2820 L_42002180:
   2821     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x42002180: fst dword ptr [ebp - 4] */
   2822 L_42002183:
   2823     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x42002183: fstp dword ptr [ebp - 0x38] */
   2824 L_42002186:
   2825     edx = MEM32(ebp + (-0x4)); /* 0x42002186: mov edx, dword ptr [ebp - 4] */
   2826 L_42002189:
   2827     eax = MEM32(ebp + (-0x38)); /* 0x42002189: mov eax, dword ptr [ebp - 0x38] */
   2828 L_4200218C:
   2829     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x4200218C: fstp dword ptr [ebp - 0x34] */
   2830 L_4200218F:
   2831     ecx = MEM32(ebp + (-0x34)); /* 0x4200218F: mov ecx, dword ptr [ebp - 0x34] */
   2832 L_42002192:
   2833     fp_push(*(double*)ADDR(0x420180F0)); /* 0x42002192: fld qword ptr [0x420180f0] */
   2834 L_42002198:
   2835     MEM32(ebp + (-0x30)) = edx; /* 0x42002198: mov dword ptr [ebp - 0x30], edx */
   2836 L_4200219B:
   2837     _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x4200219B: fcos  */
   2838 L_4200219D:
   2839     MEM32(0x42022440) = eax; /* 0x4200219D: mov dword ptr [0x42022440], eax */
   2840 L_420021A2:
   2841     MEM32(0x42022448) = edx; /* 0x420021A2: mov dword ptr [0x42022448], edx */
   2842 L_420021A8:
   2843     MEM32(0x42022444) = ecx; /* 0x420021A8: mov dword ptr [0x42022444], ecx */
   2844 L_420021AE:
   2845     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x420021AE: fstp dword ptr [ebp - 0x2c] */
   2846 L_420021B1:
   2847     fp_push(*(double*)ADDR(0x420180E8)); /* 0x420021B1: fld qword ptr [0x420180e8] */
   2848 L_420021B7:
   2849     _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x420021B7: fsin  */
   2850 L_420021B9:
   2851     eax = MEM32(ebp + (-0x2C)); /* 0x420021B9: mov eax, dword ptr [ebp - 0x2c] */
   2852 L_420021BC:
   2853     MEM32(0x4202244C) = eax; /* 0x420021BC: mov dword ptr [0x4202244c], eax */
   2854 L_420021C1:
   2855     fp_push(*(float*)&MEM32(0x420180F8)); /* 0x420021C1: fld dword ptr [0x420180f8] */
   2856 L_420021C7:
   2857     { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x420021C7: fst dword ptr [ebp - 4] */
   2858 L_420021CA:
   2859     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x420021CA: fstp dword ptr [ebp - 0x38] */
   2860 L_420021CD:
   2861     edx = MEM32(ebp + (-0x38)); /* 0x420021CD: mov edx, dword ptr [ebp - 0x38] */
   2862 L_420021D0:
   2863     ecx = MEM32(ebp + (-0x4)); /* 0x420021D0: mov ecx, dword ptr [ebp - 4] */
   2864 L_420021D3:
   2865     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x34)) = _v; } /* 0x420021D3: fstp dword ptr [ebp - 0x34] */
   2866 L_420021D6:
   2867     eax = MEM32(ebp + (-0x34)); /* 0x420021D6: mov eax, dword ptr [ebp - 0x34] */
   2868 L_420021D9:
   2869     fp_push(*(double*)ADDR(0x420180E8)); /* 0x420021D9: fld qword ptr [0x420180e8] */
   2870 L_420021DF:
   2871     MEM32(0x42022450) = edx; /* 0x420021DF: mov dword ptr [0x42022450], edx */
   2872 L_420021E5:
   2873     _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x420021E5: fcos  */
   2874 L_420021E7:
   2875     MEM32(ebp + (-0x30)) = ecx; /* 0x420021E7: mov dword ptr [ebp - 0x30], ecx */
   2876 L_420021EA:
   2877     MEM32(0x42022454) = eax; /* 0x420021EA: mov dword ptr [0x42022454], eax */
   2878 L_420021EF:
   2879     MEM32(0x42022458) = ecx; /* 0x420021EF: mov dword ptr [0x42022458], ecx */
   2880 L_420021F5:
   2881     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x420021F5: fstp dword ptr [ebp - 0x2c] */
   2882 L_420021F8:
   2883     edx = MEM32(ebp + (-0x2C)); /* 0x420021F8: mov edx, dword ptr [ebp - 0x2c] */
   2884 L_420021FB:
   2885     MEM32(0x4202245C) = edx; /* 0x420021FB: mov dword ptr [0x4202245c], edx */
   2886 L_42002201:
   2887     RECOMP_ICALL(0x42016E07u); /* 0x42002201: call 0x42016e07 */ /* not lifted */
   2888     RECOMP_FLAGS_IN();
   2889 L_42002206:
   2890     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2891     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2892     esp = esp + 4; /* 0x42002206: add esp, 4 */
   2893     _flag_k = FK_ADD;
   2894 L_42002209:
   2895     ebx = MEM32(ebp + 0xC); /* 0x42002209: mov ebx, dword ptr [ebp + 0xc] */
   2896 L_4200220C:
   2897     eax = ebx; /* 0x4200220C: mov eax, ebx */
   2898 L_4200220E:
   2899     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3);
   2900     eax = eax & 3; /* 0x4200220E: and eax, 3 */
   2901     _cf = 0;
   2902     _flag_k = FK_TEST;
   2903 L_42002211:
   2904     /* cmp eax, 3 */ /* 0x42002211: cmp eax, 3 */
   2905     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3);
   2906     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2907     _flag_k = FK_CMP;
   2908 L_42002214:
   2909     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_4200236B; /* 0x42002214: ja 0x4200236b */
   2910 L_4200221A:
   2911     { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x42002450)); goto _ljump; }
   2912 L_42002221:
   2913     edi = MEM32(ebp + 0x8); /* 0x42002221: mov edi, dword ptr [ebp + 8] */
   2914 L_42002224:
   2915     eax = esi; /* 0x42002224: mov eax, esi */
   2916 L_42002226:
   2917     ecx = MEM32(eax); /* 0x42002226: mov ecx, dword ptr [eax] */
   2918 L_42002228:
   2919     edx = MEM32(eax + 0x4); /* 0x42002228: mov edx, dword ptr [eax + 4] */
   2920 L_4200222B:
   2921     eax = MEM32(eax + 0x8); /* 0x4200222B: mov eax, dword ptr [eax + 8] */
   2922 L_4200222E:
   2923     MEM32(ebp + (-0x1C)) = ecx; /* 0x4200222E: mov dword ptr [ebp - 0x1c], ecx */
   2924 L_42002231:
   2925     PUSH32(esp, edi); /* 0x42002231: push edi */
   2926 L_42002232:
   2927     ecx = ebp + (-0x1C); /* 0x42002232: lea ecx, [ebp - 0x1c] */
   2928 L_42002235:
   2929     MEM32(ebp + (-0x18)) = edx; /* 0x42002235: mov dword ptr [ebp - 0x18], edx */
   2930 L_42002238:
   2931     MEM32(ebp + (-0x14)) = eax; /* 0x42002238: mov dword ptr [ebp - 0x14], eax */
   2932 L_4200223B:
   2933     RECOMP_ICALL(MEM32(0x4201808C)); /* 0x4200223B: call dword ptr [0x4201808c] */
   2934     RECOMP_FLAGS_IN();
   2935 L_42002241:
   2936     edx = MEM32(eax); /* 0x42002241: mov edx, dword ptr [eax] */
   2937 L_42002243:
   2938     ecx = esi; /* 0x42002243: mov ecx, esi */
   2939 L_42002245:
   2940     MEM32(ecx) = edx; /* 0x42002245: mov dword ptr [ecx], edx */
   2941 L_42002247:
   2942     edx = MEM32(eax + 0x4); /* 0x42002247: mov edx, dword ptr [eax + 4] */
   2943 L_4200224A:
   2944     MEM32(ecx + 0x4) = edx; /* 0x4200224A: mov dword ptr [ecx + 4], edx */
   2945 L_4200224D:
   2946     eax = MEM32(eax + 0x8); /* 0x4200224D: mov eax, dword ptr [eax + 8] */
   2947 L_42002250:
   2948     MEM32(ecx + 0x8) = eax; /* 0x42002250: mov dword ptr [ecx + 8], eax */
   2949 L_42002253:
   2950     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   2951     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2952     esi = esi + 0xCu; /* 0x42002253: add esi, 0xc */
   2953     _flag_k = FK_ADD;
   2954 L_42002256:
   2955     ecx = esi; /* 0x42002256: mov ecx, esi */
   2956 L_42002258:
   2957     edx = MEM32(ecx); /* 0x42002258: mov edx, dword ptr [ecx] */
   2958 L_4200225A:
   2959     eax = MEM32(ecx + 0x4); /* 0x4200225A: mov eax, dword ptr [ecx + 4] */
   2960 L_4200225D:
   2961     ecx = MEM32(ecx + 0x8); /* 0x4200225D: mov ecx, dword ptr [ecx + 8] */
   2962 L_42002260:
   2963     MEM32(ebp + (-0x14)) = ecx; /* 0x42002260: mov dword ptr [ebp - 0x14], ecx */
   2964 L_42002263:
   2965     PUSH32(esp, edi); /* 0x42002263: push edi */
   2966 L_42002264:
   2967     ecx = ebp + (-0x1C); /* 0x42002264: lea ecx, [ebp - 0x1c] */
   2968 L_42002267:
   2969     MEM32(ebp + (-0x1C)) = edx; /* 0x42002267: mov dword ptr [ebp - 0x1c], edx */
   2970 L_4200226A:
   2971     MEM32(ebp + (-0x18)) = eax; /* 0x4200226A: mov dword ptr [ebp - 0x18], eax */
   2972 L_4200226D:
   2973     RECOMP_ICALL(MEM32(0x4201808C)); /* 0x4200226D: call dword ptr [0x4201808c] */
   2974     RECOMP_FLAGS_IN();
   2975 L_42002273:
   2976     edx = MEM32(eax); /* 0x42002273: mov edx, dword ptr [eax] */
   2977 L_42002275:
   2978     MEM32(esi) = edx; /* 0x42002275: mov dword ptr [esi], edx */
   2979 L_42002277:
   2980     ecx = MEM32(eax + 0x4); /* 0x42002277: mov ecx, dword ptr [eax + 4] */
   2981 L_4200227A:
   2982     MEM32(esi + 0x4) = ecx; /* 0x4200227A: mov dword ptr [esi + 4], ecx */
   2983 L_4200227D:
   2984     edx = MEM32(eax + 0x8); /* 0x4200227D: mov edx, dword ptr [eax + 8] */
   2985 L_42002280:
   2986     edi = POP32_VAL(esp); /* 0x42002280: pop edi */
   2987 L_42002281:
   2988     MEM32(esi + 0x8) = edx; /* 0x42002281: mov dword ptr [esi + 8], edx */
   2989 L_42002284:
   2990     esi = POP32_VAL(esp); /* 0x42002284: pop esi */
   2991 L_42002285:
   2992     ebx = POP32_VAL(esp); /* 0x42002285: pop ebx */
   2993 L_42002286:
   2994     esp = ebp; /* 0x42002286: mov esp, ebp */
   2995 L_42002288:
   2996     ebp = POP32_VAL(esp); /* 0x42002288: pop ebp */
   2997 L_42002289:
   2998     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x42002289: ret 0xc */
   2999 L_4200228C:
   3000     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x4200228C: fld dword ptr [esi + 0xc] */
   3001 L_4200228F:
   3002     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x4200228F: fstp dword ptr [ebp - 0x1c] */
   3003 L_42002292:
   3004     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x42002292: fld dword ptr [esi + 4] */
   3005 L_42002295:
   3006     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x42002295: fstp dword ptr [ebp - 0x18] */
   3007 L_42002298:
   3008     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x42002298: fld dword ptr [esi + 8] */
   3009 L_4200229B:
   3010     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x4200229B: fstp dword ptr [ebp - 0x14] */
   3011 L_4200229E:
   3012     fp_push(*(float*)&MEM32(esi)); /* 0x4200229E: fld dword ptr [esi] */
   3013 L_420022A0:
   3014     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x420022A0: fstp dword ptr [ebp - 0x10] */
   3015 L_420022A3:
   3016     fp_push(*(float*)&MEM32(esi + 0x10)); /* 0x420022A3: fld dword ptr [esi + 0x10] */
   3017 L_420022A6:
   3018     eax = MEM32(ebp + (-0x10)); /* 0x420022A6: mov eax, dword ptr [ebp - 0x10] */
   3019 L_420022A9:
   3020     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x420022A9: fstp dword ptr [ebp - 0xc] */
   3021 L_420022AC:
   3022     fp_push(*(float*)&MEM32(esi + 0x14)); /* 0x420022AC: fld dword ptr [esi + 0x14] */
   3023 L_420022AF:
   3024     ecx = MEM32(ebp + (-0xC)); /* 0x420022AF: mov ecx, dword ptr [ebp - 0xc] */
   3025 L_420022B2:
   3026     MEM32(esi + 0xC) = eax; /* 0x420022B2: mov dword ptr [esi + 0xc], eax */
   3027 L_420022B5:
   3028     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x420022B5: fstp dword ptr [ebp - 8] */
   3029 L_420022B8:
   3030     edx = MEM32(ebp + (-0x8)); /* 0x420022B8: mov edx, dword ptr [ebp - 8] */
   3031 L_420022BB:
   3032     MEM32(esi + 0x10) = ecx; /* 0x420022BB: mov dword ptr [esi + 0x10], ecx */
   3033 L_420022BE:
   3034     ecx = MEM32(ebp + (-0x1C)); /* 0x420022BE: mov ecx, dword ptr [ebp - 0x1c] */
   3035 L_420022C1:
   3036     eax = esi; /* 0x420022C1: mov eax, esi */
   3037 L_420022C3:
   3038     MEM32(eax) = ecx; /* 0x420022C3: mov dword ptr [eax], ecx */
   3039 L_420022C5:
   3040     ecx = MEM32(ebp + (-0x14)); /* 0x420022C5: mov ecx, dword ptr [ebp - 0x14] */
   3041 L_420022C8:
   3042     MEM32(esi + 0x14) = edx; /* 0x420022C8: mov dword ptr [esi + 0x14], edx */
   3043 L_420022CB:
   3044     edx = MEM32(ebp + (-0x18)); /* 0x420022CB: mov edx, dword ptr [ebp - 0x18] */
   3045 L_420022CE:
   3046     MEM32(eax + 0x4) = edx; /* 0x420022CE: mov dword ptr [eax + 4], edx */
   3047 L_420022D1:
   3048     MEM32(eax + 0x8) = ecx; /* 0x420022D1: mov dword ptr [eax + 8], ecx */
   3049 L_420022D4:
   3050     goto L_4200236B; /* 0x420022D4: jmp 0x4200236b */
   3051 L_420022D9:
   3052     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x420022D9: fld dword ptr [esi + 0xc] */
   3053 L_420022DC:
   3054     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x420022DC: fstp dword ptr [ebp - 0x10] */
   3055 L_420022DF:
   3056     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x420022DF: fld dword ptr [esi + 4] */
   3057 L_420022E2:
   3058     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x420022E2: fstp dword ptr [ebp - 0xc] */
   3059 L_420022E5:
   3060     fp_push(*(float*)&MEM32(esi + 0x14)); /* 0x420022E5: fld dword ptr [esi + 0x14] */
   3061 L_420022E8:
   3062     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x420022E8: fstp dword ptr [ebp - 8] */
   3063 L_420022EB:
   3064     fp_push(*(float*)&MEM32(esi)); /* 0x420022EB: fld dword ptr [esi] */
   3065 L_420022ED:
   3066     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x420022ED: fstp dword ptr [ebp - 0x1c] */
   3067 L_420022F0:
   3068     fp_push(*(float*)&MEM32(esi + 0x10)); /* 0x420022F0: fld dword ptr [esi + 0x10] */
   3069 L_420022F3:
   3070     edx = MEM32(ebp + (-0x1C)); /* 0x420022F3: mov edx, dword ptr [ebp - 0x1c] */
   3071 L_420022F6:
   3072     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x420022F6: fstp dword ptr [ebp - 0x18] */
   3073 L_420022F9:
   3074     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x420022F9: fld dword ptr [esi + 8] */
   3075 L_420022FC:
   3076     eax = MEM32(ebp + (-0x18)); /* 0x420022FC: mov eax, dword ptr [ebp - 0x18] */
   3077 L_420022FF:
   3078     MEM32(esi + 0xC) = edx; /* 0x420022FF: mov dword ptr [esi + 0xc], edx */
   3079 L_42002302:
   3080     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x42002302: fstp dword ptr [ebp - 0x14] */
   3081 L_42002305:
   3082     ecx = MEM32(ebp + (-0x14)); /* 0x42002305: mov ecx, dword ptr [ebp - 0x14] */
   3083 L_42002308:
   3084     MEM32(esi + 0x10) = eax; /* 0x42002308: mov dword ptr [esi + 0x10], eax */
   3085 L_4200230B:
   3086     eax = MEM32(ebp + (-0x10)); /* 0x4200230B: mov eax, dword ptr [ebp - 0x10] */
   3087 L_4200230E:
   3088     edx = esi; /* 0x4200230E: mov edx, esi */
   3089 L_42002310:
   3090     MEM32(edx) = eax; /* 0x42002310: mov dword ptr [edx], eax */
   3091 L_42002312:
   3092     eax = MEM32(ebp + (-0x8)); /* 0x42002312: mov eax, dword ptr [ebp - 8] */
   3093 L_42002315:
   3094     MEM32(esi + 0x14) = ecx; /* 0x42002315: mov dword ptr [esi + 0x14], ecx */
   3095 L_42002318:
   3096     ecx = MEM32(ebp + (-0xC)); /* 0x42002318: mov ecx, dword ptr [ebp - 0xc] */
   3097 L_4200231B:
   3098     MEM32(edx + 0x4) = ecx; /* 0x4200231B: mov dword ptr [edx + 4], ecx */
   3099 L_4200231E:
   3100     MEM32(edx + 0x8) = eax; /* 0x4200231E: mov dword ptr [edx + 8], eax */
   3101 L_42002321:
   3102     goto L_4200236B; /* 0x42002321: jmp 0x4200236b */
   3103 L_42002323:
   3104     fp_push(*(float*)&MEM32(esi)); /* 0x42002323: fld dword ptr [esi] */
   3105 L_42002325:
   3106     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x42002325: fstp dword ptr [ebp - 0x10] */
   3107 L_42002328:
   3108     fp_push(*(float*)&MEM32(esi + 0x4)); /* 0x42002328: fld dword ptr [esi + 4] */
   3109 L_4200232B:
   3110     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x4200232B: fstp dword ptr [ebp - 0xc] */
   3111 L_4200232E:
   3112     fp_push(*(float*)&MEM32(esi + 0x14)); /* 0x4200232E: fld dword ptr [esi + 0x14] */
   3113 L_42002331:
   3114     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x42002331: fstp dword ptr [ebp - 8] */
   3115 L_42002334:
   3116     fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x42002334: fld dword ptr [esi + 0xc] */
   3117 L_42002337:
   3118     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x42002337: fstp dword ptr [ebp - 0x1c] */
   3119 L_4200233A:
   3120     fp_push(*(float*)&MEM32(esi + 0x10)); /* 0x4200233A: fld dword ptr [esi + 0x10] */
   3121 L_4200233D:
   3122     ecx = MEM32(ebp + (-0x1C)); /* 0x4200233D: mov ecx, dword ptr [ebp - 0x1c] */
   3123 L_42002340:
   3124     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x42002340: fstp dword ptr [ebp - 0x18] */
   3125 L_42002343:
   3126     fp_push(*(float*)&MEM32(esi + 0x8)); /* 0x42002343: fld dword ptr [esi + 8] */
   3127 L_42002346:
   3128     edx = MEM32(ebp + (-0x18)); /* 0x42002346: mov edx, dword ptr [ebp - 0x18] */
   3129 L_42002349:
   3130     MEM32(esi + 0xC) = ecx; /* 0x42002349: mov dword ptr [esi + 0xc], ecx */
   3131 L_4200234C:
   3132     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x4200234C: fstp dword ptr [ebp - 0x14] */
   3133 L_4200234F:
   3134     eax = MEM32(ebp + (-0x14)); /* 0x4200234F: mov eax, dword ptr [ebp - 0x14] */
   3135 L_42002352:
   3136     MEM32(esi + 0x10) = edx; /* 0x42002352: mov dword ptr [esi + 0x10], edx */
   3137 L_42002355:
   3138     edx = MEM32(ebp + (-0x10)); /* 0x42002355: mov edx, dword ptr [ebp - 0x10] */
   3139 L_42002358:
   3140     ecx = esi; /* 0x42002358: mov ecx, esi */
   3141 L_4200235A:
   3142     MEM32(ecx) = edx; /* 0x4200235A: mov dword ptr [ecx], edx */
   3143 L_4200235C:
   3144     edx = MEM32(ebp + (-0x8)); /* 0x4200235C: mov edx, dword ptr [ebp - 8] */
   3145 L_4200235F:
   3146     MEM32(esi + 0x14) = eax; /* 0x4200235F: mov dword ptr [esi + 0x14], eax */
   3147 L_42002362:
   3148     eax = MEM32(ebp + (-0xC)); /* 0x42002362: mov eax, dword ptr [ebp - 0xc] */
   3149 L_42002365:
   3150     MEM32(ecx + 0x4) = eax; /* 0x42002365: mov dword ptr [ecx + 4], eax */
   3151 L_42002368:
   3152     MEM32(ecx + 0x8) = edx; /* 0x42002368: mov dword ptr [ecx + 8], edx */
   3153 L_4200236B:
   3154     edi = MEM32(ebp + 0x10); /* 0x4200236B: mov edi, dword ptr [ebp + 0x10] */
   3155 L_4200236E:
   3156     eax = esi; /* 0x4200236E: mov eax, esi */
   3157 L_42002370:
   3158     ecx = MEM32(eax); /* 0x42002370: mov ecx, dword ptr [eax] */
   3159 L_42002372:
   3160     edx = MEM32(eax + 0x4); /* 0x42002372: mov edx, dword ptr [eax + 4] */
   3161 L_42002375:
   3162     eax = MEM32(eax + 0x8); /* 0x42002375: mov eax, dword ptr [eax + 8] */
   3163 L_42002378:
   3164     MEM32(ebp + (-0x1C)) = ecx; /* 0x42002378: mov dword ptr [ebp - 0x1c], ecx */
   3165 L_4200237B:
   3166     PUSH32(esp, edi); /* 0x4200237B: push edi */
   3167 L_4200237C:
   3168     ecx = ebp + (-0x1C); /* 0x4200237C: lea ecx, [ebp - 0x1c] */
   3169 L_4200237F:
   3170     MEM32(ebp + (-0x18)) = edx; /* 0x4200237F: mov dword ptr [ebp - 0x18], edx */
   3171 L_42002382:
   3172     MEM32(ebp + (-0x14)) = eax; /* 0x42002382: mov dword ptr [ebp - 0x14], eax */
   3173 L_42002385:
   3174     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42002385: call dword ptr [0x420180a8] */
   3175     RECOMP_FLAGS_IN();
   3176 L_4200238B:
   3177     ecx = MEM32(eax); /* 0x4200238B: mov ecx, dword ptr [eax] */
   3178 L_4200238D:
   3179     edx = MEM32(eax + 0x4); /* 0x4200238D: mov edx, dword ptr [eax + 4] */
   3180 L_42002390:
   3181     eax = MEM32(eax + 0x8); /* 0x42002390: mov eax, dword ptr [eax + 8] */
   3182 L_42002393:
   3183     if (4u) _cf = (((ebx) >> 28) & 1u); /* 0x42002393: shl ebx, 4 */
   3184     if (4u) { _flag_a = recomp_flags_pack((ebx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3185     ebx = ebx << 4u; /* 0x42002393: shl ebx, 4 */
   3186 L_42002396:
   3187     MEM32(ebp + (-0x10)) = ecx; /* 0x42002396: mov dword ptr [ebp - 0x10], ecx */
   3188 L_42002399:
   3189     ebx = ebx + 0x42022420; /* 0x42002399: lea ebx, [ebx + 0x42022420] */
   3190 L_4200239F:
   3191     PUSH32(esp, ebx); /* 0x4200239F: push ebx */
   3192 L_420023A0:
   3193     ecx = ebp + (-0x10); /* 0x420023A0: lea ecx, [ebp - 0x10] */
   3194 L_420023A3:
   3195     MEM32(ebp + (-0xC)) = edx; /* 0x420023A3: mov dword ptr [ebp - 0xc], edx */
   3196 L_420023A6:
   3197     MEM32(ebp + (-0x8)) = eax; /* 0x420023A6: mov dword ptr [ebp - 8], eax */
   3198 L_420023A9:
   3199     RECOMP_ICALL(MEM32(0x42018090)); /* 0x420023A9: call dword ptr [0x42018090] */
   3200     RECOMP_FLAGS_IN();
   3201 L_420023AF:
   3202     ecx = MEM32(eax); /* 0x420023AF: mov ecx, dword ptr [eax] */
   3203 L_420023B1:
   3204     edx = MEM32(eax + 0x4); /* 0x420023B1: mov edx, dword ptr [eax + 4] */
   3205 L_420023B4:
   3206     eax = MEM32(eax + 0x8); /* 0x420023B4: mov eax, dword ptr [eax + 8] */
   3207 L_420023B7:
   3208     MEM32(ebp + (-0x28)) = ecx; /* 0x420023B7: mov dword ptr [ebp - 0x28], ecx */
   3209 L_420023BA:
   3210     PUSH32(esp, edi); /* 0x420023BA: push edi */
   3211 L_420023BB:
   3212     ecx = ebp + (-0x28); /* 0x420023BB: lea ecx, [ebp - 0x28] */
   3213 L_420023BE:
   3214     MEM32(ebp + (-0x24)) = edx; /* 0x420023BE: mov dword ptr [ebp - 0x24], edx */
   3215 L_420023C1:
   3216     MEM32(ebp + (-0x20)) = eax; /* 0x420023C1: mov dword ptr [ebp - 0x20], eax */
   3217 L_420023C4:
   3218     RECOMP_ICALL(MEM32(0x4201808C)); /* 0x420023C4: call dword ptr [0x4201808c] */
   3219     RECOMP_FLAGS_IN();
   3220 L_420023CA:
   3221     ecx = MEM32(eax); /* 0x420023CA: mov ecx, dword ptr [eax] */
   3222 L_420023CC:
   3223     edx = MEM32(eax + 0x4); /* 0x420023CC: mov edx, dword ptr [eax + 4] */
   3224 L_420023CF:
   3225     eax = MEM32(eax + 0x8); /* 0x420023CF: mov eax, dword ptr [eax + 8] */
   3226 L_420023D2:
   3227     MEM32(ebp + (-0x34)) = ecx; /* 0x420023D2: mov dword ptr [ebp - 0x34], ecx */
   3228 L_420023D5:
   3229     ecx = MEM32(ebp + 0x8); /* 0x420023D5: mov ecx, dword ptr [ebp + 8] */
   3230 L_420023D8:
   3231     PUSH32(esp, ecx); /* 0x420023D8: push ecx */
   3232 L_420023D9:
   3233     ecx = ebp + (-0x34); /* 0x420023D9: lea ecx, [ebp - 0x34] */
   3234 L_420023DC:
   3235     MEM32(ebp + (-0x30)) = edx; /* 0x420023DC: mov dword ptr [ebp - 0x30], edx */
   3236 L_420023DF:
   3237     MEM32(ebp + (-0x2C)) = eax; /* 0x420023DF: mov dword ptr [ebp - 0x2c], eax */
   3238 L_420023E2:
   3239     RECOMP_ICALL(MEM32(0x4201808C)); /* 0x420023E2: call dword ptr [0x4201808c] */
   3240     RECOMP_FLAGS_IN();
   3241 L_420023E8:
   3242     ecx = MEM32(eax); /* 0x420023E8: mov ecx, dword ptr [eax] */
   3243 L_420023EA:
   3244     edx = esi; /* 0x420023EA: mov edx, esi */
   3245 L_420023EC:
   3246     MEM32(edx) = ecx; /* 0x420023EC: mov dword ptr [edx], ecx */
   3247 L_420023EE:
   3248     ecx = MEM32(eax + 0x4); /* 0x420023EE: mov ecx, dword ptr [eax + 4] */
   3249 L_420023F1:
   3250     MEM32(edx + 0x4) = ecx; /* 0x420023F1: mov dword ptr [edx + 4], ecx */
   3251 L_420023F4:
   3252     eax = MEM32(eax + 0x8); /* 0x420023F4: mov eax, dword ptr [eax + 8] */
   3253 L_420023F7:
   3254     ecx = MEM32(ebp + 0x8); /* 0x420023F7: mov ecx, dword ptr [ebp + 8] */
   3255 L_420023FA:
   3256     PUSH32(esp, ecx); /* 0x420023FA: push ecx */
   3257 L_420023FB:
   3258     MEM32(edx + 0x8) = eax; /* 0x420023FB: mov dword ptr [edx + 8], eax */
   3259 L_420023FE:
   3260     edx = ebp + (-0x34); /* 0x420023FE: lea edx, [ebp - 0x34] */
   3261 L_42002401:
   3262     PUSH32(esp, edx); /* 0x42002401: push edx */
   3263 L_42002402:
   3264     PUSH32(esp, edi); /* 0x42002402: push edi */
   3265 L_42002403:
   3266     eax = ebp + (-0x28); /* 0x42002403: lea eax, [ebp - 0x28] */
   3267 L_42002406:
   3268     PUSH32(esp, eax); /* 0x42002406: push eax */
   3269 L_42002407:
   3270     PUSH32(esp, ebx); /* 0x42002407: push ebx */
   3271 L_42002408:
   3272     ecx = ebp + (-0x1C); /* 0x42002408: lea ecx, [ebp - 0x1c] */
   3273 L_4200240B:
   3274     PUSH32(esp, ecx); /* 0x4200240B: push ecx */
   3275 L_4200240C:
   3276     PUSH32(esp, edi); /* 0x4200240C: push edi */
   3277 L_4200240D:
   3278     edx = ebp + (-0x10); /* 0x4200240D: lea edx, [ebp - 0x10] */
   3279 L_42002410:
   3280     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   3281     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3282     esi = esi + 0xCu; /* 0x42002410: add esi, 0xc */
   3283     _flag_k = FK_ADD;
   3284 L_42002413:
   3285     PUSH32(esp, edx); /* 0x42002413: push edx */
   3286 L_42002414:
   3287     ecx = esi; /* 0x42002414: mov ecx, esi */
   3288 L_42002416:
   3289     RECOMP_ICALL(MEM32(0x42018094)); /* 0x42002416: call dword ptr [0x42018094] */
   3290     RECOMP_FLAGS_IN();
   3291 L_4200241C:
   3292     ecx = eax; /* 0x4200241C: mov ecx, eax */
   3293 L_4200241E:
   3294     RECOMP_ICALL(MEM32(0x42018098)); /* 0x4200241E: call dword ptr [0x42018098] */
   3295     RECOMP_FLAGS_IN();
   3296 L_42002424:
   3297     ecx = eax; /* 0x42002424: mov ecx, eax */
   3298 L_42002426:
   3299     RECOMP_ICALL(MEM32(0x4201809C)); /* 0x42002426: call dword ptr [0x4201809c] */
   3300     RECOMP_FLAGS_IN();
   3301 L_4200242C:
   3302     ecx = eax; /* 0x4200242C: mov ecx, eax */
   3303 L_4200242E:
   3304     RECOMP_ICALL(MEM32(0x4201809C)); /* 0x4200242E: call dword ptr [0x4201809c] */
   3305     RECOMP_FLAGS_IN();
   3306 L_42002434:
   3307     ecx = MEM32(eax); /* 0x42002434: mov ecx, dword ptr [eax] */
   3308 L_42002436:
   3309     MEM32(esi) = ecx; /* 0x42002436: mov dword ptr [esi], ecx */
   3310 L_42002438:
   3311     edx = MEM32(eax + 0x4); /* 0x42002438: mov edx, dword ptr [eax + 4] */
   3312 L_4200243B:
   3313     MEM32(esi + 0x4) = edx; /* 0x4200243B: mov dword ptr [esi + 4], edx */
   3314 L_4200243E:
   3315     eax = MEM32(eax + 0x8); /* 0x4200243E: mov eax, dword ptr [eax + 8] */
   3316 L_42002441:
   3317     edi = POP32_VAL(esp); /* 0x42002441: pop edi */
   3318 L_42002442:
   3319     MEM32(esi + 0x8) = eax; /* 0x42002442: mov dword ptr [esi + 8], eax */
   3320 L_42002445:
   3321     esi = POP32_VAL(esp); /* 0x42002445: pop esi */
   3322 L_42002446:
   3323     ebx = POP32_VAL(esp); /* 0x42002446: pop ebx */
   3324 L_42002447:
   3325     esp = ebp; /* 0x42002447: mov esp, ebp */
   3326 L_42002449:
   3327     ebp = POP32_VAL(esp); /* 0x42002449: pop ebp */
   3328 L_4200244A:
   3329     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4200244A: ret 0xc */
   3330   _ljump:
   3331     switch (_itail_tgt) {
   3332       case 0x42002100u: goto L_42002100;
   3333       case 0x42002101u: goto L_42002101;
   3334       case 0x42002103u: goto L_42002103;
   3335       case 0x42002106u: goto L_42002106;
   3336       case 0x42002107u: goto L_42002107;
   3337       case 0x42002108u: goto L_42002108;
   3338       case 0x4200210Au: goto L_4200210A;
   3339       case 0x42002110u: goto L_42002110;
   3340       case 0x42002112u: goto L_42002112;
   3341       case 0x42002114u: goto L_42002114;
   3342       case 0x42002115u: goto L_42002115;
   3343       case 0x4200211Bu: goto L_4200211B;
   3344       case 0x42002121u: goto L_42002121;
   3345       case 0x42002123u: goto L_42002123;
   3346       case 0x42002125u: goto L_42002125;
   3347       case 0x42002127u: goto L_42002127;
   3348       case 0x4200212Du: goto L_4200212D;
   3349       case 0x42002132u: goto L_42002132;
   3350       case 0x42002138u: goto L_42002138;
   3351       case 0x4200213Bu: goto L_4200213B;
   3352       case 0x4200213Eu: goto L_4200213E;
   3353       case 0x42002141u: goto L_42002141;
   3354       case 0x42002144u: goto L_42002144;
   3355       case 0x42002147u: goto L_42002147;
   3356       case 0x4200214Au: goto L_4200214A;
   3357       case 0x42002150u: goto L_42002150;
   3358       case 0x42002156u: goto L_42002156;
   3359       case 0x42002158u: goto L_42002158;
   3360       case 0x4200215Bu: goto L_4200215B;
   3361       case 0x42002161u: goto L_42002161;
   3362       case 0x42002166u: goto L_42002166;
   3363       case 0x42002169u: goto L_42002169;
   3364       case 0x4200216Fu: goto L_4200216F;
   3365       case 0x42002171u: goto L_42002171;
   3366       case 0x42002174u: goto L_42002174;
   3367       case 0x4200217Au: goto L_4200217A;
   3368       case 0x42002180u: goto L_42002180;
   3369       case 0x42002183u: goto L_42002183;
   3370       case 0x42002186u: goto L_42002186;
   3371       case 0x42002189u: goto L_42002189;
   3372       case 0x4200218Cu: goto L_4200218C;
   3373       case 0x4200218Fu: goto L_4200218F;
   3374       case 0x42002192u: goto L_42002192;
   3375       case 0x42002198u: goto L_42002198;
   3376       case 0x4200219Bu: goto L_4200219B;
   3377       case 0x4200219Du: goto L_4200219D;
   3378       case 0x420021A2u: goto L_420021A2;
   3379       case 0x420021A8u: goto L_420021A8;
   3380       case 0x420021AEu: goto L_420021AE;
   3381       case 0x420021B1u: goto L_420021B1;
   3382       case 0x420021B7u: goto L_420021B7;
   3383       case 0x420021B9u: goto L_420021B9;
   3384       case 0x420021BCu: goto L_420021BC;
   3385       case 0x420021C1u: goto L_420021C1;
   3386       case 0x420021C7u: goto L_420021C7;
   3387       case 0x420021CAu: goto L_420021CA;
   3388       case 0x420021CDu: goto L_420021CD;
   3389       case 0x420021D0u: goto L_420021D0;
   3390       case 0x420021D3u: goto L_420021D3;
   3391       case 0x420021D6u: goto L_420021D6;
   3392       case 0x420021D9u: goto L_420021D9;
   3393       case 0x420021DFu: goto L_420021DF;
   3394       case 0x420021E5u: goto L_420021E5;
   3395       case 0x420021E7u: goto L_420021E7;
   3396       case 0x420021EAu: goto L_420021EA;
   3397       case 0x420021EFu: goto L_420021EF;
   3398       case 0x420021F5u: goto L_420021F5;
   3399       case 0x420021F8u: goto L_420021F8;
   3400       case 0x420021FBu: goto L_420021FB;
   3401       case 0x42002201u: goto L_42002201;
   3402       case 0x42002206u: goto L_42002206;
   3403       case 0x42002209u: goto L_42002209;
   3404       case 0x4200220Cu: goto L_4200220C;
   3405       case 0x4200220Eu: goto L_4200220E;
   3406       case 0x42002211u: goto L_42002211;
   3407       case 0x42002214u: goto L_42002214;
   3408       case 0x4200221Au: goto L_4200221A;
   3409       case 0x42002221u: goto L_42002221;
   3410       case 0x42002224u: goto L_42002224;
   3411       case 0x42002226u: goto L_42002226;
   3412       case 0x42002228u: goto L_42002228;
   3413       case 0x4200222Bu: goto L_4200222B;
   3414       case 0x4200222Eu: goto L_4200222E;
   3415       case 0x42002231u: goto L_42002231;
   3416       case 0x42002232u: goto L_42002232;
   3417       case 0x42002235u: goto L_42002235;
   3418       case 0x42002238u: goto L_42002238;
   3419       case 0x4200223Bu: goto L_4200223B;
   3420       case 0x42002241u: goto L_42002241;
   3421       case 0x42002243u: goto L_42002243;
   3422       case 0x42002245u: goto L_42002245;
   3423       case 0x42002247u: goto L_42002247;
   3424       case 0x4200224Au: goto L_4200224A;
   3425       case 0x4200224Du: goto L_4200224D;
   3426       case 0x42002250u: goto L_42002250;
   3427       case 0x42002253u: goto L_42002253;
   3428       case 0x42002256u: goto L_42002256;
   3429       case 0x42002258u: goto L_42002258;
   3430       case 0x4200225Au: goto L_4200225A;
   3431       case 0x4200225Du: goto L_4200225D;
   3432       case 0x42002260u: goto L_42002260;
   3433       case 0x42002263u: goto L_42002263;
   3434       case 0x42002264u: goto L_42002264;
   3435       case 0x42002267u: goto L_42002267;
   3436       case 0x4200226Au: goto L_4200226A;
   3437       case 0x4200226Du: goto L_4200226D;
   3438       case 0x42002273u: goto L_42002273;
   3439       case 0x42002275u: goto L_42002275;
   3440       case 0x42002277u: goto L_42002277;
   3441       case 0x4200227Au: goto L_4200227A;
   3442       case 0x4200227Du: goto L_4200227D;
   3443       case 0x42002280u: goto L_42002280;
   3444       case 0x42002281u: goto L_42002281;
   3445       case 0x42002284u: goto L_42002284;
   3446       case 0x42002285u: goto L_42002285;
   3447       case 0x42002286u: goto L_42002286;
   3448       case 0x42002288u: goto L_42002288;
   3449       case 0x42002289u: goto L_42002289;
   3450       case 0x4200228Cu: goto L_4200228C;
   3451       case 0x4200228Fu: goto L_4200228F;
   3452       case 0x42002292u: goto L_42002292;
   3453       case 0x42002295u: goto L_42002295;
   3454       case 0x42002298u: goto L_42002298;
   3455       case 0x4200229Bu: goto L_4200229B;
   3456       case 0x4200229Eu: goto L_4200229E;
   3457       case 0x420022A0u: goto L_420022A0;
   3458       case 0x420022A3u: goto L_420022A3;
   3459       case 0x420022A6u: goto L_420022A6;
   3460       case 0x420022A9u: goto L_420022A9;
   3461       case 0x420022ACu: goto L_420022AC;
   3462       case 0x420022AFu: goto L_420022AF;
   3463       case 0x420022B2u: goto L_420022B2;
   3464       case 0x420022B5u: goto L_420022B5;
   3465       case 0x420022B8u: goto L_420022B8;
   3466       case 0x420022BBu: goto L_420022BB;
   3467       case 0x420022BEu: goto L_420022BE;
   3468       case 0x420022C1u: goto L_420022C1;
   3469       case 0x420022C3u: goto L_420022C3;
   3470       case 0x420022C5u: goto L_420022C5;
   3471       case 0x420022C8u: goto L_420022C8;
   3472       case 0x420022CBu: goto L_420022CB;
   3473       case 0x420022CEu: goto L_420022CE;
   3474       case 0x420022D1u: goto L_420022D1;
   3475       case 0x420022D4u: goto L_420022D4;
   3476       case 0x420022D9u: goto L_420022D9;
   3477       case 0x420022DCu: goto L_420022DC;
   3478       case 0x420022DFu: goto L_420022DF;
   3479       case 0x420022E2u: goto L_420022E2;
   3480       case 0x420022E5u: goto L_420022E5;
   3481       case 0x420022E8u: goto L_420022E8;
   3482       case 0x420022EBu: goto L_420022EB;
   3483       case 0x420022EDu: goto L_420022ED;
   3484       case 0x420022F0u: goto L_420022F0;
   3485       case 0x420022F3u: goto L_420022F3;
   3486       case 0x420022F6u: goto L_420022F6;
   3487       case 0x420022F9u: goto L_420022F9;
   3488       case 0x420022FCu: goto L_420022FC;
   3489       case 0x420022FFu: goto L_420022FF;
   3490       case 0x42002302u: goto L_42002302;
   3491       case 0x42002305u: goto L_42002305;
   3492       case 0x42002308u: goto L_42002308;
   3493       case 0x4200230Bu: goto L_4200230B;
   3494       case 0x4200230Eu: goto L_4200230E;
   3495       case 0x42002310u: goto L_42002310;
   3496       case 0x42002312u: goto L_42002312;
   3497       case 0x42002315u: goto L_42002315;
   3498       case 0x42002318u: goto L_42002318;
   3499       case 0x4200231Bu: goto L_4200231B;
   3500       case 0x4200231Eu: goto L_4200231E;
   3501       case 0x42002321u: goto L_42002321;
   3502       case 0x42002323u: goto L_42002323;
   3503       case 0x42002325u: goto L_42002325;
   3504       case 0x42002328u: goto L_42002328;
   3505       case 0x4200232Bu: goto L_4200232B;
   3506       case 0x4200232Eu: goto L_4200232E;
   3507       case 0x42002331u: goto L_42002331;
   3508       case 0x42002334u: goto L_42002334;
   3509       case 0x42002337u: goto L_42002337;
   3510       case 0x4200233Au: goto L_4200233A;
   3511       case 0x4200233Du: goto L_4200233D;
   3512       case 0x42002340u: goto L_42002340;
   3513       case 0x42002343u: goto L_42002343;
   3514       case 0x42002346u: goto L_42002346;
   3515       case 0x42002349u: goto L_42002349;
   3516       case 0x4200234Cu: goto L_4200234C;
   3517       case 0x4200234Fu: goto L_4200234F;
   3518       case 0x42002352u: goto L_42002352;
   3519       case 0x42002355u: goto L_42002355;
   3520       case 0x42002358u: goto L_42002358;
   3521       case 0x4200235Au: goto L_4200235A;
   3522       case 0x4200235Cu: goto L_4200235C;
   3523       case 0x4200235Fu: goto L_4200235F;
   3524       case 0x42002362u: goto L_42002362;
   3525       case 0x42002365u: goto L_42002365;
   3526       case 0x42002368u: goto L_42002368;
   3527       case 0x4200236Bu: goto L_4200236B;
   3528       case 0x4200236Eu: goto L_4200236E;
   3529       case 0x42002370u: goto L_42002370;
   3530       case 0x42002372u: goto L_42002372;
   3531       case 0x42002375u: goto L_42002375;
   3532       case 0x42002378u: goto L_42002378;
   3533       case 0x4200237Bu: goto L_4200237B;
   3534       case 0x4200237Cu: goto L_4200237C;
   3535       case 0x4200237Fu: goto L_4200237F;
   3536       case 0x42002382u: goto L_42002382;
   3537       case 0x42002385u: goto L_42002385;
   3538       case 0x4200238Bu: goto L_4200238B;
   3539       case 0x4200238Du: goto L_4200238D;
   3540       case 0x42002390u: goto L_42002390;
   3541       case 0x42002393u: goto L_42002393;
   3542       case 0x42002396u: goto L_42002396;
   3543       case 0x42002399u: goto L_42002399;
   3544       case 0x4200239Fu: goto L_4200239F;
   3545       case 0x420023A0u: goto L_420023A0;
   3546       case 0x420023A3u: goto L_420023A3;
   3547       case 0x420023A6u: goto L_420023A6;
   3548       case 0x420023A9u: goto L_420023A9;
   3549       case 0x420023AFu: goto L_420023AF;
   3550       case 0x420023B1u: goto L_420023B1;
   3551       case 0x420023B4u: goto L_420023B4;
   3552       case 0x420023B7u: goto L_420023B7;
   3553       case 0x420023BAu: goto L_420023BA;
   3554       case 0x420023BBu: goto L_420023BB;
   3555       case 0x420023BEu: goto L_420023BE;
   3556       case 0x420023C1u: goto L_420023C1;
   3557       case 0x420023C4u: goto L_420023C4;
   3558       case 0x420023CAu: goto L_420023CA;
   3559       case 0x420023CCu: goto L_420023CC;
   3560       case 0x420023CFu: goto L_420023CF;
   3561       case 0x420023D2u: goto L_420023D2;
   3562       case 0x420023D5u: goto L_420023D5;
   3563       case 0x420023D8u: goto L_420023D8;
   3564       case 0x420023D9u: goto L_420023D9;
   3565       case 0x420023DCu: goto L_420023DC;
   3566       case 0x420023DFu: goto L_420023DF;
   3567       case 0x420023E2u: goto L_420023E2;
   3568       case 0x420023E8u: goto L_420023E8;
   3569       case 0x420023EAu: goto L_420023EA;
   3570       case 0x420023ECu: goto L_420023EC;
   3571       case 0x420023EEu: goto L_420023EE;
   3572       case 0x420023F1u: goto L_420023F1;
   3573       case 0x420023F4u: goto L_420023F4;
   3574       case 0x420023F7u: goto L_420023F7;
   3575       case 0x420023FAu: goto L_420023FA;
   3576       case 0x420023FBu: goto L_420023FB;
   3577       case 0x420023FEu: goto L_420023FE;
   3578       case 0x42002401u: goto L_42002401;
   3579       case 0x42002402u: goto L_42002402;
   3580       case 0x42002403u: goto L_42002403;
   3581       case 0x42002406u: goto L_42002406;
   3582       case 0x42002407u: goto L_42002407;
   3583       case 0x42002408u: goto L_42002408;
   3584       case 0x4200240Bu: goto L_4200240B;
   3585       case 0x4200240Cu: goto L_4200240C;
   3586       case 0x4200240Du: goto L_4200240D;
   3587       case 0x42002410u: goto L_42002410;
   3588       case 0x42002413u: goto L_42002413;
   3589       case 0x42002414u: goto L_42002414;
   3590       case 0x42002416u: goto L_42002416;
   3591       case 0x4200241Cu: goto L_4200241C;
   3592       case 0x4200241Eu: goto L_4200241E;
   3593       case 0x42002424u: goto L_42002424;
   3594       case 0x42002426u: goto L_42002426;
   3595       case 0x4200242Cu: goto L_4200242C;
   3596       case 0x4200242Eu: goto L_4200242E;
   3597       case 0x42002434u: goto L_42002434;
   3598       case 0x42002436u: goto L_42002436;
   3599       case 0x42002438u: goto L_42002438;
   3600       case 0x4200243Bu: goto L_4200243B;
   3601       case 0x4200243Eu: goto L_4200243E;
   3602       case 0x42002441u: goto L_42002441;
   3603       case 0x42002442u: goto L_42002442;
   3604       case 0x42002445u: goto L_42002445;
   3605       case 0x42002446u: goto L_42002446;
   3606       case 0x42002447u: goto L_42002447;
   3607       case 0x42002449u: goto L_42002449;
   3608       case 0x4200244Au: goto L_4200244A;
   3609       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3610     }
   3611     RECOMP_REGS_OUT();
   3612 }
   3613 
   3614 void sub_4200236B(void) {
   3615     int _fpu_cmp = 0;
   3616     uint32_t _cf = 0;
   3617     int _df = 1;
   3618     uint32_t _flag_k = FK_NONE;
   3619     uint32_t _flag_a = 0, _flag_b = 0;
   3620     uint32_t _itail_tgt = 0;
   3621     RECOMP_REGS_LOCALS
   3622     RECOMP_ENTER(0x4200236Bu);
   3623 
   3624 L_4200236B:
   3625     edi = MEM32(ebp + 0x10); /* 0x4200236B: mov edi, dword ptr [ebp + 0x10] */
   3626     eax = esi; /* 0x4200236E: mov eax, esi */
   3627     ecx = MEM32(eax); /* 0x42002370: mov ecx, dword ptr [eax] */
   3628     edx = MEM32(eax + 0x4); /* 0x42002372: mov edx, dword ptr [eax + 4] */
   3629     eax = MEM32(eax + 0x8); /* 0x42002375: mov eax, dword ptr [eax + 8] */
   3630     MEM32(ebp + (-0x1C)) = ecx; /* 0x42002378: mov dword ptr [ebp - 0x1c], ecx */
   3631     PUSH32(esp, edi); /* 0x4200237B: push edi */
   3632     ecx = ebp + (-0x1C); /* 0x4200237C: lea ecx, [ebp - 0x1c] */
   3633     MEM32(ebp + (-0x18)) = edx; /* 0x4200237F: mov dword ptr [ebp - 0x18], edx */
   3634     MEM32(ebp + (-0x14)) = eax; /* 0x42002382: mov dword ptr [ebp - 0x14], eax */
   3635     RECOMP_ICALL(MEM32(0x420180A8)); /* 0x42002385: call dword ptr [0x420180a8] */
   3636     RECOMP_FLAGS_IN();
   3637     ecx = MEM32(eax); /* 0x4200238B: mov ecx, dword ptr [eax] */
   3638     edx = MEM32(eax + 0x4); /* 0x4200238D: mov edx, dword ptr [eax + 4] */
   3639     eax = MEM32(eax + 0x8); /* 0x42002390: mov eax, dword ptr [eax + 8] */
   3640     if (4u) _cf = (((ebx) >> 28) & 1u); /* 0x42002393: shl ebx, 4 */
   3641     if (4u) { _flag_a = recomp_flags_pack((ebx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3642     ebx = ebx << 4u; /* 0x42002393: shl ebx, 4 */
   3643     MEM32(ebp + (-0x10)) = ecx; /* 0x42002396: mov dword ptr [ebp - 0x10], ecx */
   3644     ebx = ebx + 0x42022420; /* 0x42002399: lea ebx, [ebx + 0x42022420] */
   3645     PUSH32(esp, ebx); /* 0x4200239F: push ebx */
   3646     ecx = ebp + (-0x10); /* 0x420023A0: lea ecx, [ebp - 0x10] */
   3647     MEM32(ebp + (-0xC)) = edx; /* 0x420023A3: mov dword ptr [ebp - 0xc], edx */
   3648     MEM32(ebp + (-0x8)) = eax; /* 0x420023A6: mov dword ptr [ebp - 8], eax */
   3649     RECOMP_ICALL(MEM32(0x42018090)); /* 0x420023A9: call dword ptr [0x42018090] */
   3650     RECOMP_FLAGS_IN();
   3651     ecx = MEM32(eax); /* 0x420023AF: mov ecx, dword ptr [eax] */
   3652     edx = MEM32(eax + 0x4); /* 0x420023B1: mov edx, dword ptr [eax + 4] */
   3653     eax = MEM32(eax + 0x8); /* 0x420023B4: mov eax, dword ptr [eax + 8] */
   3654     MEM32(ebp + (-0x28)) = ecx; /* 0x420023B7: mov dword ptr [ebp - 0x28], ecx */
   3655     PUSH32(esp, edi); /* 0x420023BA: push edi */
   3656     ecx = ebp + (-0x28); /* 0x420023BB: lea ecx, [ebp - 0x28] */
   3657     MEM32(ebp + (-0x24)) = edx; /* 0x420023BE: mov dword ptr [ebp - 0x24], edx */
   3658     MEM32(ebp + (-0x20)) = eax; /* 0x420023C1: mov dword ptr [ebp - 0x20], eax */
   3659     RECOMP_ICALL(MEM32(0x4201808C)); /* 0x420023C4: call dword ptr [0x4201808c] */
   3660     RECOMP_FLAGS_IN();
   3661     ecx = MEM32(eax); /* 0x420023CA: mov ecx, dword ptr [eax] */
   3662     edx = MEM32(eax + 0x4); /* 0x420023CC: mov edx, dword ptr [eax + 4] */
   3663     eax = MEM32(eax + 0x8); /* 0x420023CF: mov eax, dword ptr [eax + 8] */
   3664     MEM32(ebp + (-0x34)) = ecx; /* 0x420023D2: mov dword ptr [ebp - 0x34], ecx */
   3665     ecx = MEM32(ebp + 0x8); /* 0x420023D5: mov ecx, dword ptr [ebp + 8] */
   3666     PUSH32(esp, ecx); /* 0x420023D8: push ecx */
   3667     ecx = ebp + (-0x34); /* 0x420023D9: lea ecx, [ebp - 0x34] */
   3668     MEM32(ebp + (-0x30)) = edx; /* 0x420023DC: mov dword ptr [ebp - 0x30], edx */
   3669     MEM32(ebp + (-0x2C)) = eax; /* 0x420023DF: mov dword ptr [ebp - 0x2c], eax */
   3670     RECOMP_ICALL(MEM32(0x4201808C)); /* 0x420023E2: call dword ptr [0x4201808c] */
   3671     RECOMP_FLAGS_IN();
   3672     ecx = MEM32(eax); /* 0x420023E8: mov ecx, dword ptr [eax] */
   3673     edx = esi; /* 0x420023EA: mov edx, esi */
   3674     MEM32(edx) = ecx; /* 0x420023EC: mov dword ptr [edx], ecx */
   3675     ecx = MEM32(eax + 0x4); /* 0x420023EE: mov ecx, dword ptr [eax + 4] */
   3676     MEM32(edx + 0x4) = ecx; /* 0x420023F1: mov dword ptr [edx + 4], ecx */
   3677     eax = MEM32(eax + 0x8); /* 0x420023F4: mov eax, dword ptr [eax + 8] */
   3678     ecx = MEM32(ebp + 0x8); /* 0x420023F7: mov ecx, dword ptr [ebp + 8] */
   3679     PUSH32(esp, ecx); /* 0x420023FA: push ecx */
   3680     MEM32(edx + 0x8) = eax; /* 0x420023FB: mov dword ptr [edx + 8], eax */
   3681     edx = ebp + (-0x34); /* 0x420023FE: lea edx, [ebp - 0x34] */
   3682     PUSH32(esp, edx); /* 0x42002401: push edx */
   3683     PUSH32(esp, edi); /* 0x42002402: push edi */
   3684     eax = ebp + (-0x28); /* 0x42002403: lea eax, [ebp - 0x28] */
   3685     PUSH32(esp, eax); /* 0x42002406: push eax */
   3686     PUSH32(esp, ebx); /* 0x42002407: push ebx */
   3687     ecx = ebp + (-0x1C); /* 0x42002408: lea ecx, [ebp - 0x1c] */
   3688     PUSH32(esp, ecx); /* 0x4200240B: push ecx */
   3689     PUSH32(esp, edi); /* 0x4200240C: push edi */
   3690     edx = ebp + (-0x10); /* 0x4200240D: lea edx, [ebp - 0x10] */
   3691     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xCu);
   3692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3693     esi = esi + 0xCu; /* 0x42002410: add esi, 0xc */
   3694     _flag_k = FK_ADD;
   3695     PUSH32(esp, edx); /* 0x42002413: push edx */
   3696     ecx = esi; /* 0x42002414: mov ecx, esi */
   3697     RECOMP_ICALL(MEM32(0x42018094)); /* 0x42002416: call dword ptr [0x42018094] */
   3698     RECOMP_FLAGS_IN();
   3699     ecx = eax; /* 0x4200241C: mov ecx, eax */
   3700     RECOMP_ICALL(MEM32(0x42018098)); /* 0x4200241E: call dword ptr [0x42018098] */
   3701     RECOMP_FLAGS_IN();
   3702     ecx = eax; /* 0x42002424: mov ecx, eax */
   3703     RECOMP_ICALL(MEM32(0x4201809C)); /* 0x42002426: call dword ptr [0x4201809c] */
   3704     RECOMP_FLAGS_IN();
   3705     ecx = eax; /* 0x4200242C: mov ecx, eax */
   3706     RECOMP_ICALL(MEM32(0x4201809C)); /* 0x4200242E: call dword ptr [0x4201809c] */
   3707     RECOMP_FLAGS_IN();
   3708     ecx = MEM32(eax); /* 0x42002434: mov ecx, dword ptr [eax] */
   3709     MEM32(esi) = ecx; /* 0x42002436: mov dword ptr [esi], ecx */
   3710     edx = MEM32(eax + 0x4); /* 0x42002438: mov edx, dword ptr [eax + 4] */
   3711     MEM32(esi + 0x4) = edx; /* 0x4200243B: mov dword ptr [esi + 4], edx */
   3712     eax = MEM32(eax + 0x8); /* 0x4200243E: mov eax, dword ptr [eax + 8] */
   3713     edi = POP32_VAL(esp); /* 0x42002441: pop edi */
   3714     MEM32(esi + 0x8) = eax; /* 0x42002442: mov dword ptr [esi + 8], eax */
   3715     esi = POP32_VAL(esp); /* 0x42002445: pop esi */
   3716     ebx = POP32_VAL(esp); /* 0x42002446: pop ebx */
   3717     esp = ebp; /* 0x42002447: mov esp, ebp */
   3718     ebp = POP32_VAL(esp); /* 0x42002449: pop ebp */
   3719     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4200244A: ret 0xc */
   3720     RECOMP_REGS_OUT();
   3721 }
   3722 
   3723 void sub_42002460(void) {
   3724     int _fpu_cmp = 0;
   3725     uint32_t _cf = 0;
   3726     int _df = 1;
   3727     uint32_t _flag_k = FK_NONE;
   3728     uint32_t _flag_a = 0, _flag_b = 0;
   3729     uint32_t _itail_tgt = 0;
   3730     RECOMP_REGS_LOCALS
   3731     RECOMP_ENTER(0x42002460u);
   3732 
   3733 L_42002460:
   3734     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002460: ret  */
   3735     RECOMP_REGS_OUT();
   3736 }
   3737 
   3738 void sub_42002470(void) {
   3739     int _fpu_cmp = 0;
   3740     uint32_t _cf = 0;
   3741     int _df = 1;
   3742     uint32_t _flag_k = FK_NONE;
   3743     uint32_t _flag_a = 0, _flag_b = 0;
   3744     uint32_t _itail_tgt = 0;
   3745     RECOMP_REGS_LOCALS
   3746     RECOMP_ENTER(0x42002470u);
   3747 
   3748 L_42002470:
   3749     PUSH32(esp, ebp); /* 0x42002470: push ebp */
   3750     ebp = esp; /* 0x42002471: mov ebp, esp */
   3751     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3753     esp = esp - 0xCu; /* 0x42002473: sub esp, 0xc */
   3754     _flag_k = FK_CMP;
   3755     PUSH32(esp, ebx); /* 0x42002476: push ebx */
   3756     ebx = ecx; /* 0x42002477: mov ebx, ecx */
   3757     PUSH32(esp, esi); /* 0x42002479: push esi */
   3758     esi = MEM32(ebp + 0x8); /* 0x4200247A: mov esi, dword ptr [ebp + 8] */
   3759     PUSH32(esp, edi); /* 0x4200247D: push edi */
   3760     edi = MEM32(ebx + 0x4); /* 0x4200247E: mov edi, dword ptr [ebx + 4] */
   3761     ecx = esi; /* 0x42002481: mov ecx, esi */
   3762     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   3763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3764     ecx = ecx - edi; /* 0x42002483: sub ecx, edi */
   3765     _flag_k = FK_CMP;
   3766     eax = 0x2AAAAAABu; /* 0x42002485: mov eax, 0x2aaaaaab */
   3767     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x4200248A: imul ecx */
   3768       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   3769       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   3770     ecx = MEM32(ebx + 0x8); /* 0x4200248C: mov ecx, dword ptr [ebx + 8] */
   3771     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x4200248F: sar edx, 2 */
   3772     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3773     edx = (uint32_t)((int32_t)edx >> 2u);
   3774     eax = edx; /* 0x42002492: mov eax, edx */
   3775     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x42002494: shr eax, 0x1f */
   3776     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3777     eax = eax >> 31u; /* 0x42002494: shr eax, 0x1f */
   3778     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   3779     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3780     edx = edx + eax; /* 0x42002497: add edx, eax */
   3781     _flag_k = FK_ADD;
   3782     MEM32(ebp + (-0xC)) = edx; /* 0x42002499: mov dword ptr [ebp - 0xc], edx */
   3783     edx = MEM32(ebx + 0xC); /* 0x4200249C: mov edx, dword ptr [ebx + 0xc] */
   3784     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   3785     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3786     edx = edx - ecx; /* 0x4200249F: sub edx, ecx */
   3787     _flag_k = FK_CMP;
   3788     eax = 0x2AAAAAABu; /* 0x420024A1: mov eax, 0x2aaaaaab */
   3789     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x420024A6: imul edx */
   3790       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   3791       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   3792     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x420024A8: sar edx, 2 */
   3793     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3794     edx = (uint32_t)((int32_t)edx >> 2u);
   3795     eax = edx; /* 0x420024AB: mov eax, edx */
   3796     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x420024AD: shr eax, 0x1f */
   3797     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3798     eax = eax >> 31u; /* 0x420024AD: shr eax, 0x1f */
   3799     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   3800     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3801     edx = edx + eax; /* 0x420024B0: add edx, eax */
   3802     _flag_k = FK_ADD;
   3803     /* cmp edx, 1 */ /* 0x420024B2: cmp edx, 1 */
   3804     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   3805     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3806     _flag_k = FK_CMP;
   3807     if (CMP_AE(_flag_a, _flag_b)) goto L_420025AB; /* 0x420024B5: jae 0x420025ab */
   3808 L_420024BB:
   3809     /* test edi, edi */ /* 0x420024BB: test edi, edi */
   3810     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   3811     _cf = 0;
   3812     _flag_k = FK_TEST;
   3813     if (TEST_Z(_flag_a, _flag_b)) goto L_420024DC; /* 0x420024BD: je 0x420024dc */
   3814 L_420024BF:
   3815     edx = ecx; /* 0x420024BF: mov edx, ecx */
   3816     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   3817     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3818     edx = edx - edi; /* 0x420024C1: sub edx, edi */
   3819     _flag_k = FK_CMP;
   3820     eax = 0x2AAAAAABu; /* 0x420024C3: mov eax, 0x2aaaaaab */
   3821     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x420024C8: imul edx */
   3822       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   3823       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   3824     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x420024CA: sar edx, 2 */
   3825     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3826     edx = (uint32_t)((int32_t)edx >> 2u);
   3827     eax = edx; /* 0x420024CD: mov eax, edx */
   3828     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x420024CF: shr eax, 0x1f */
   3829     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3830     eax = eax >> 31u; /* 0x420024CF: shr eax, 0x1f */
   3831     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   3832     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3833     edx = edx + eax; /* 0x420024D2: add edx, eax */
   3834     _flag_k = FK_ADD;
   3835     /* cmp edx, 1 */ /* 0x420024D4: cmp edx, 1 */
   3836     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   3837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3838     _flag_k = FK_CMP;
   3839     MEM32(ebp + 0x8) = edx; /* 0x420024D7: mov dword ptr [ebp + 8], edx */
   3840     if (CMP_A(_flag_a, _flag_b)) goto L_420024E3; /* 0x420024DA: ja 0x420024e3 */
   3841 L_420024DC:
   3842     MEM32(ebp + 0x8) = 1; /* 0x420024DC: mov dword ptr [ebp + 8], 1 */
   3843 L_420024E3:
   3844     /* test edi, edi */ /* 0x420024E3: test edi, edi */
   3845     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   3846     _cf = 0;
   3847     _flag_k = FK_TEST;
   3848     if (TEST_NZ(_flag_a, _flag_b)) goto L_420024EB; /* 0x420024E5: jne 0x420024eb */
   3849 L_420024E7:
   3850     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3851     edx = 0; /* 0x420024E7: xor edx, edx */
   3852     _cf = 0;
   3853     _flag_k = FK_TEST;
   3854     goto L_420024FE; /* 0x420024E9: jmp 0x420024fe */
   3855 L_420024EB:
   3856     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   3857     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3858     ecx = ecx - edi; /* 0x420024EB: sub ecx, edi */
   3859     _flag_k = FK_CMP;
   3860     eax = 0x2AAAAAABu; /* 0x420024ED: mov eax, 0x2aaaaaab */
   3861     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x420024F2: imul ecx */
   3862       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   3863       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   3864     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x420024F4: sar edx, 2 */
   3865     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3866     edx = (uint32_t)((int32_t)edx >> 2u);
   3867     ecx = edx; /* 0x420024F7: mov ecx, edx */
   3868     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x420024F9: shr ecx, 0x1f */
   3869     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3870     ecx = ecx >> 31u; /* 0x420024F9: shr ecx, 0x1f */
   3871     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   3872     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3873     edx = edx + ecx; /* 0x420024FC: add edx, ecx */
   3874     _flag_k = FK_ADD;
   3875 L_420024FE:
   3876     eax = MEM32(ebp + 0x8); /* 0x420024FE: mov eax, dword ptr [ebp + 8] */
   3877     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3879     eax = eax + edx; /* 0x42002501: add eax, edx */
   3880     _flag_k = FK_ADD;
   3881     /* test eax, eax */ /* 0x42002503: test eax, eax */
   3882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3883     _cf = 0;
   3884     _flag_k = FK_TEST;
   3885     MEM32(ebp + (-0x4)) = eax; /* 0x42002505: mov dword ptr [ebp - 4], eax */
   3886     if (TEST_NS(_flag_a, _flag_b)) goto L_4200250C; /* 0x42002508: jge 0x4200250c */
   3887 L_4200250A:
   3888     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3889     eax = 0; /* 0x4200250A: xor eax, eax */
   3890     _cf = 0;
   3891     _flag_k = FK_TEST;
   3892 L_4200250C:
   3893     ecx = eax + eax * 2; /* 0x4200250C: lea ecx, [eax + eax*2] */
   3894     if (3u) _cf = (((ecx) >> 29) & 1u); /* 0x4200250F: shl ecx, 3 */
   3895     if (3u) { _flag_a = recomp_flags_pack((ecx << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3896     ecx = ecx << 3u; /* 0x4200250F: shl ecx, 3 */
   3897     PUSH32(esp, ecx); /* 0x42002512: push ecx */
   3898     RECOMP_ICALL(0x42016F36u); /* 0x42002513: call 0x42016f36 */ /* not lifted */
   3899     RECOMP_FLAGS_IN();
   3900     edi = MEM32(ebx + 0x4); /* 0x42002518: mov edi, dword ptr [ebx + 4] */
   3901     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3902     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3903     esp = esp + 4; /* 0x4200251B: add esp, 4 */
   3904     _flag_k = FK_ADD;
   3905     /* cmp edi, esi */ /* 0x4200251E: cmp edi, esi */
   3906     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
   3907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3908     _flag_k = FK_CMP;
   3909     MEM32(ebp + (-0x8)) = eax; /* 0x42002520: mov dword ptr [ebp - 8], eax */
   3910     MEM32(ebp + 0x8) = eax; /* 0x42002523: mov dword ptr [ebp + 8], eax */
   3911     if (CMP_EQ(_flag_a, _flag_b)) goto L_42002545; /* 0x42002526: je 0x42002545 */
   3912 L_42002528:
   3913     edx = MEM32(ebp + 0x8); /* 0x42002528: mov edx, dword ptr [ebp + 8] */
   3914     PUSH32(esp, edi); /* 0x4200252B: push edi */
   3915     PUSH32(esp, edx); /* 0x4200252C: push edx */
   3916     RECOMP_ICALL(0x42002750u); /* 0x4200252D: call 0x42002750 */ /* not lifted */
   3917     RECOMP_FLAGS_IN();
   3918     edx = MEM32(ebp + 0x8); /* 0x42002532: mov edx, dword ptr [ebp + 8] */
   3919     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u);
   3920     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3921     edx = edx + 0x18u; /* 0x42002535: add edx, 0x18 */
   3922     _flag_k = FK_ADD;
   3923     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x18u);
   3924     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3925     edi = edi + 0x18u; /* 0x42002538: add edi, 0x18 */
   3926     _flag_k = FK_ADD;
   3927     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3928     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3929     esp = esp + 8; /* 0x4200253B: add esp, 8 */
   3930     _flag_k = FK_ADD;
   3931     /* cmp edi, esi */ /* 0x4200253E: cmp edi, esi */
   3932     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
   3933     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3934     _flag_k = FK_CMP;
   3935     MEM32(ebp + 0x8) = edx; /* 0x42002540: mov dword ptr [ebp + 8], edx */
   3936     RECOMP_BACKEDGE();
   3937     if (CMP_NE(_flag_a, _flag_b)) goto L_42002528; /* 0x42002543: jne 0x42002528 */
   3938 L_42002545:
   3939     eax = MEM32(ebp + 0xC); /* 0x42002545: mov eax, dword ptr [ebp + 0xc] */
   3940     ecx = MEM32(ebp + 0x8); /* 0x42002548: mov ecx, dword ptr [ebp + 8] */
   3941     PUSH32(esp, eax); /* 0x4200254B: push eax */
   3942     PUSH32(esp, ecx); /* 0x4200254C: push ecx */
   3943     RECOMP_ICALL(0x42002750u); /* 0x4200254D: call 0x42002750 */ /* not lifted */
   3944     RECOMP_FLAGS_IN();
   3945     edx = MEM32(ebp + 0x8); /* 0x42002552: mov edx, dword ptr [ebp + 8] */
   3946     eax = MEM32(ebx + 0x8); /* 0x42002555: mov eax, dword ptr [ebx + 8] */
   3947     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3948     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3949     esp = esp + 8; /* 0x42002558: add esp, 8 */
   3950     _flag_k = FK_ADD;
   3951     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u);
   3952     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3953     edx = edx + 0x18u; /* 0x4200255B: add edx, 0x18 */
   3954     _flag_k = FK_ADD;
   3955     PUSH32(esp, edx); /* 0x4200255E: push edx */
   3956     PUSH32(esp, eax); /* 0x4200255F: push eax */
   3957     PUSH32(esp, esi); /* 0x42002560: push esi */
   3958     ecx = ebx; /* 0x42002561: mov ecx, ebx */
   3959     RECOMP_ICALL(0x420026D0u); /* 0x42002563: call 0x420026d0 */ /* not lifted */
   3960     RECOMP_FLAGS_IN();
   3961     ecx = MEM32(ebx + 0x8); /* 0x42002568: mov ecx, dword ptr [ebx + 8] */
   3962     edx = MEM32(ebx + 0x4); /* 0x4200256B: mov edx, dword ptr [ebx + 4] */
   3963     PUSH32(esp, ecx); /* 0x4200256E: push ecx */
   3964     PUSH32(esp, edx); /* 0x4200256F: push edx */
   3965     ecx = ebx; /* 0x42002570: mov ecx, ebx */
   3966     RECOMP_ICALL(0x42002690u); /* 0x42002572: call 0x42002690 */ /* not lifted */
   3967     RECOMP_FLAGS_IN();
   3968     eax = MEM32(ebx + 0x4); /* 0x42002577: mov eax, dword ptr [ebx + 4] */
   3969     PUSH32(esp, eax); /* 0x4200257A: push eax */
   3970     RECOMP_ICALL(0x42016DD0u); /* 0x4200257B: call 0x42016dd0 */ /* not lifted */
   3971     RECOMP_FLAGS_IN();
   3972     eax = MEM32(ebp + (-0x4)); /* 0x42002580: mov eax, dword ptr [ebp - 4] */
   3973     esi = MEM32(ebp + (-0x8)); /* 0x42002583: mov esi, dword ptr [ebp - 8] */
   3974     ecx = eax + eax * 2; /* 0x42002586: lea ecx, [eax + eax*2] */
   3975     edx = esi + ecx * 8; /* 0x42002589: lea edx, [esi + ecx*8] */
   3976     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3977     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3978     esp = esp + 4; /* 0x4200258C: add esp, 4 */
   3979     _flag_k = FK_ADD;
   3980     ecx = ebx; /* 0x4200258F: mov ecx, ebx */
   3981     MEM32(ebx + 0xC) = edx; /* 0x42002591: mov dword ptr [ebx + 0xc], edx */
   3982     RECOMP_ICALL(0x420026A0u); /* 0x42002594: call 0x420026a0 */ /* not lifted */
   3983     RECOMP_FLAGS_IN();
   3984     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3985     eax = eax + 1; /* 0x42002599: inc eax */
   3986     _flag_k = FK_INC;
   3987     eax = eax + eax * 2; /* 0x4200259A: lea eax, [eax + eax*2] */
   3988     ecx = esi + eax * 8; /* 0x4200259D: lea ecx, [esi + eax*8] */
   3989     MEM32(ebx + 0x8) = ecx; /* 0x420025A0: mov dword ptr [ebx + 8], ecx */
   3990     MEM32(ebx + 0x4) = esi; /* 0x420025A3: mov dword ptr [ebx + 4], esi */
   3991     goto L_4200266D; /* 0x420025A6: jmp 0x4200266d */
   3992 L_420025AB:
   3993     edx = ecx; /* 0x420025AB: mov edx, ecx */
   3994     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi);
   3995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3996     edx = edx - esi; /* 0x420025AD: sub edx, esi */
   3997     _flag_k = FK_CMP;
   3998     eax = 0x2AAAAAABu; /* 0x420025AF: mov eax, 0x2aaaaaab */
   3999     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x420025B4: imul edx */
   4000       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   4001       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   4002     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x420025B6: sar edx, 2 */
   4003     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4004     edx = (uint32_t)((int32_t)edx >> 2u);
   4005     eax = edx; /* 0x420025B9: mov eax, edx */
   4006     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x420025BB: shr eax, 0x1f */
   4007     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4008     eax = eax >> 31u; /* 0x420025BB: shr eax, 0x1f */
   4009     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4010     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4011     edx = edx + eax; /* 0x420025BE: add edx, eax */
   4012     _flag_k = FK_ADD;
   4013     /* cmp edx, 1 */ /* 0x420025C0: cmp edx, 1 */
   4014     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   4015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4016     _flag_k = FK_CMP;
   4017     if (CMP_AE(_flag_a, _flag_b)) goto L_4200261C; /* 0x420025C3: jae 0x4200261c */
   4018 L_420025C5:
   4019     edx = esi + 0x18; /* 0x420025C5: lea edx, [esi + 0x18] */
   4020     PUSH32(esp, edx); /* 0x420025C8: push edx */
   4021     PUSH32(esp, ecx); /* 0x420025C9: push ecx */
   4022     PUSH32(esp, esi); /* 0x420025CA: push esi */
   4023     ecx = ebx; /* 0x420025CB: mov ecx, ebx */
   4024     RECOMP_ICALL(0x420026D0u); /* 0x420025CD: call 0x420026d0 */ /* not lifted */
   4025     RECOMP_FLAGS_IN();
   4026     edi = MEM32(ebx + 0x8); /* 0x420025D2: mov edi, dword ptr [ebx + 8] */
   4027     eax = MEM32(ebp + 0xC); /* 0x420025D5: mov eax, dword ptr [ebp + 0xc] */
   4028     PUSH32(esp, eax); /* 0x420025D8: push eax */
   4029     ecx = edi; /* 0x420025D9: mov ecx, edi */
   4030     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi);
   4031     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4032     ecx = ecx - esi; /* 0x420025DB: sub ecx, esi */
   4033     _flag_k = FK_CMP;
   4034     eax = 0x2AAAAAABu; /* 0x420025DD: mov eax, 0x2aaaaaab */
   4035     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x420025E2: imul ecx */
   4036       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   4037       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   4038     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x420025E4: sar edx, 2 */
   4039     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4040     edx = (uint32_t)((int32_t)edx >> 2u);
   4041     ecx = edx; /* 0x420025E7: mov ecx, edx */
   4042     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x420025E9: shr ecx, 0x1f */
   4043     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4044     ecx = ecx >> 31u; /* 0x420025E9: shr ecx, 0x1f */
   4045     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   4046     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4047     edx = edx + ecx; /* 0x420025EC: add edx, ecx */
   4048     _flag_k = FK_ADD;
   4049     eax = 1; /* 0x420025EE: mov eax, 1 */
   4050     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4051     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4052     eax = eax - edx; /* 0x420025F3: sub eax, edx */
   4053     _flag_k = FK_CMP;
   4054     PUSH32(esp, eax); /* 0x420025F5: push eax */
   4055     PUSH32(esp, edi); /* 0x420025F6: push edi */
   4056     ecx = ebx; /* 0x420025F7: mov ecx, ebx */
   4057     RECOMP_ICALL(0x42002710u); /* 0x420025F9: call 0x42002710 */ /* not lifted */
   4058     RECOMP_FLAGS_IN();
   4059     edx = MEM32(ebx + 0x8); /* 0x420025FE: mov edx, dword ptr [ebx + 8] */
   4060     /* cmp esi, edx */ /* 0x42002601: cmp esi, edx */
   4061     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   4062     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4063     _flag_k = FK_CMP;
   4064     eax = esi; /* 0x42002603: mov eax, esi */
   4065     if (CMP_EQ(_flag_a, _flag_b)) goto L_42002669; /* 0x42002605: je 0x42002669 */
   4066 L_42002607:
   4067     esi = MEM32(ebp + 0xC); /* 0x42002607: mov esi, dword ptr [ebp + 0xc] */
   4068     edi = eax; /* 0x4200260A: mov edi, eax */
   4069     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   4070     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4071     eax = eax + 0x18u; /* 0x4200260C: add eax, 0x18 */
   4072     _flag_k = FK_ADD;
   4073     /* cmp eax, edx */ /* 0x4200260F: cmp eax, edx */
   4074     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4075     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4076     _flag_k = FK_CMP;
   4077     ecx = 6; /* 0x42002611: mov ecx, 6 */
   4078     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x42002616: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4079     RECOMP_BACKEDGE();
   4080     if (CMP_NE(_flag_a, _flag_b)) goto L_42002607; /* 0x42002618: jne 0x42002607 */
   4081 L_4200261A:
   4082     goto L_42002669; /* 0x4200261A: jmp 0x42002669 */
   4083 L_4200261C:
   4084     PUSH32(esp, ecx); /* 0x4200261C: push ecx */
   4085     PUSH32(esp, ecx); /* 0x4200261D: push ecx */
   4086     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFE8u);
   4087     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4088     ecx = ecx + 0xFFFFFFE8u; /* 0x4200261E: add ecx, -0x18 */
   4089     _flag_k = FK_ADD;
   4090     PUSH32(esp, ecx); /* 0x42002621: push ecx */
   4091     ecx = ebx; /* 0x42002622: mov ecx, ebx */
   4092     RECOMP_ICALL(0x420026D0u); /* 0x42002624: call 0x420026d0 */ /* not lifted */
   4093     RECOMP_FLAGS_IN();
   4094     edx = MEM32(ebx + 0x8); /* 0x42002629: mov edx, dword ptr [ebx + 8] */
   4095     eax = edx + (-0x18); /* 0x4200262C: lea eax, [edx - 0x18] */
   4096     /* cmp esi, eax */ /* 0x4200262F: cmp esi, eax */
   4097     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   4098     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4099     _flag_k = FK_CMP;
   4100     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200264D; /* 0x42002631: je 0x4200264d */
   4101 L_42002633:
   4102     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   4103     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4104     eax = eax - 0x18u; /* 0x42002633: sub eax, 0x18 */
   4105     _flag_k = FK_CMP;
   4106     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u);
   4107     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4108     edx = edx - 0x18u; /* 0x42002636: sub edx, 0x18 */
   4109     _flag_k = FK_CMP;
   4110     ecx = 6; /* 0x42002639: mov ecx, 6 */
   4111     esi = eax; /* 0x4200263E: mov esi, eax */
   4112     edi = edx; /* 0x42002640: mov edi, edx */
   4113     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x42002642: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4114     ecx = MEM32(ebp + 0x8); /* 0x42002644: mov ecx, dword ptr [ebp + 8] */
   4115     /* cmp eax, ecx */ /* 0x42002647: cmp eax, ecx */
   4116     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4118     _flag_k = FK_CMP;
   4119     RECOMP_BACKEDGE();
   4120     if (CMP_NE(_flag_a, _flag_b)) goto L_42002633; /* 0x42002649: jne 0x42002633 */
   4121 L_4200264B:
   4122     esi = ecx; /* 0x4200264B: mov esi, ecx */
   4123 L_4200264D:
   4124     edx = esi + 0x18; /* 0x4200264D: lea edx, [esi + 0x18] */
   4125     /* cmp esi, edx */ /* 0x42002650: cmp esi, edx */
   4126     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   4127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4128     _flag_k = FK_CMP;
   4129     eax = esi; /* 0x42002652: mov eax, esi */
   4130     if (CMP_EQ(_flag_a, _flag_b)) goto L_42002669; /* 0x42002654: je 0x42002669 */
   4131 L_42002656:
   4132     esi = MEM32(ebp + 0xC); /* 0x42002656: mov esi, dword ptr [ebp + 0xc] */
   4133     edi = eax; /* 0x42002659: mov edi, eax */
   4134     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   4135     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4136     eax = eax + 0x18u; /* 0x4200265B: add eax, 0x18 */
   4137     _flag_k = FK_ADD;
   4138     /* cmp eax, edx */ /* 0x4200265E: cmp eax, edx */
   4139     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4140     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4141     _flag_k = FK_CMP;
   4142     ecx = 6; /* 0x42002660: mov ecx, 6 */
   4143     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x42002665: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4144     RECOMP_BACKEDGE();
   4145     if (CMP_NE(_flag_a, _flag_b)) goto L_42002656; /* 0x42002667: jne 0x42002656 */
   4146 L_42002669:
   4147     _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(0x18u);
   4148     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4149     MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 0x18u; /* 0x42002669: add dword ptr [ebx + 8], 0x18 */
   4150     _flag_k = FK_ADD;
   4151 L_4200266D:
   4152     eax = MEM32(ebp + (-0xC)); /* 0x4200266D: mov eax, dword ptr [ebp - 0xc] */
   4153     edx = MEM32(ebx + 0x4); /* 0x42002670: mov edx, dword ptr [ebx + 4] */
   4154     edi = POP32_VAL(esp); /* 0x42002673: pop edi */
   4155     ecx = eax + eax * 2; /* 0x42002674: lea ecx, [eax + eax*2] */
   4156     esi = POP32_VAL(esp); /* 0x42002677: pop esi */
   4157     eax = edx + ecx * 8; /* 0x42002678: lea eax, [edx + ecx*8] */
   4158     ebx = POP32_VAL(esp); /* 0x4200267B: pop ebx */
   4159     esp = ebp; /* 0x4200267C: mov esp, ebp */
   4160     ebp = POP32_VAL(esp); /* 0x4200267E: pop ebp */
   4161     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4200267F: ret 8 */
   4162     RECOMP_REGS_OUT();
   4163 }
   4164 
   4165 void sub_4200266D(void) {
   4166     int _fpu_cmp = 0;
   4167     uint32_t _cf = 0;
   4168     int _df = 1;
   4169     uint32_t _flag_k = FK_NONE;
   4170     uint32_t _flag_a = 0, _flag_b = 0;
   4171     uint32_t _itail_tgt = 0;
   4172     RECOMP_REGS_LOCALS
   4173     RECOMP_ENTER(0x4200266Du);
   4174 
   4175 L_4200266D:
   4176     eax = MEM32(ebp + (-0xC)); /* 0x4200266D: mov eax, dword ptr [ebp - 0xc] */
   4177     edx = MEM32(ebx + 0x4); /* 0x42002670: mov edx, dword ptr [ebx + 4] */
   4178     edi = POP32_VAL(esp); /* 0x42002673: pop edi */
   4179     ecx = eax + eax * 2; /* 0x42002674: lea ecx, [eax + eax*2] */
   4180     esi = POP32_VAL(esp); /* 0x42002677: pop esi */
   4181     eax = edx + ecx * 8; /* 0x42002678: lea eax, [edx + ecx*8] */
   4182     ebx = POP32_VAL(esp); /* 0x4200267B: pop ebx */
   4183     esp = ebp; /* 0x4200267C: mov esp, ebp */
   4184     ebp = POP32_VAL(esp); /* 0x4200267E: pop ebp */
   4185     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4200267F: ret 8 */
   4186     RECOMP_REGS_OUT();
   4187 }
   4188 
   4189 void sub_42002690(void) {
   4190     int _fpu_cmp = 0;
   4191     uint32_t _cf = 0;
   4192     int _df = 1;
   4193     uint32_t _flag_k = FK_NONE;
   4194     uint32_t _flag_a = 0, _flag_b = 0;
   4195     uint32_t _itail_tgt = 0;
   4196     RECOMP_REGS_LOCALS
   4197     RECOMP_ENTER(0x42002690u);
   4198 
   4199 L_42002690:
   4200     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42002690: ret 8 */
   4201     RECOMP_REGS_OUT();
   4202 }
   4203 
   4204 void sub_420026A0(void) {
   4205     int _fpu_cmp = 0;
   4206     uint32_t _cf = 0;
   4207     int _df = 1;
   4208     uint32_t _flag_k = FK_NONE;
   4209     uint32_t _flag_a = 0, _flag_b = 0;
   4210     uint32_t _itail_tgt = 0;
   4211     RECOMP_REGS_LOCALS
   4212     RECOMP_ENTER(0x420026A0u);
   4213 
   4214 L_420026A0:
   4215     eax = MEM32(ecx + 0x4); /* 0x420026A0: mov eax, dword ptr [ecx + 4] */
   4216     /* test eax, eax */ /* 0x420026A3: test eax, eax */
   4217     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4218     _cf = 0;
   4219     _flag_k = FK_TEST;
   4220     if (TEST_NZ(_flag_a, _flag_b)) goto L_420026A8; /* 0x420026A5: jne 0x420026a8 */
   4221 L_420026A7:
   4222     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420026A7: ret  */
   4223 L_420026A8:
   4224     ecx = MEM32(ecx + 0x8); /* 0x420026A8: mov ecx, dword ptr [ecx + 8] */
   4225     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4227     ecx = ecx - eax; /* 0x420026AB: sub ecx, eax */
   4228     _flag_k = FK_CMP;
   4229     eax = 0x2AAAAAABu; /* 0x420026AD: mov eax, 0x2aaaaaab */
   4230     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x420026B2: imul ecx */
   4231       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   4232       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   4233     if (2u) _cf = (((edx) >> 1) & 1u); /* 0x420026B4: sar edx, 2 */
   4234     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4235     edx = (uint32_t)((int32_t)edx >> 2u);
   4236     eax = edx; /* 0x420026B7: mov eax, edx */
   4237     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x420026B9: shr eax, 0x1f */
   4238     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4239     eax = eax >> 31u; /* 0x420026B9: shr eax, 0x1f */
   4240     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4241     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4242     edx = edx + eax; /* 0x420026BC: add edx, eax */
   4243     _flag_k = FK_ADD;
   4244     eax = edx; /* 0x420026BE: mov eax, edx */
   4245     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420026C0: ret  */
   4246     RECOMP_REGS_OUT();
   4247 }
   4248 
   4249 void sub_420026D0(void) {
   4250     int _fpu_cmp = 0;
   4251     uint32_t _cf = 0;
   4252     int _df = 1;
   4253     uint32_t _flag_k = FK_NONE;
   4254     uint32_t _flag_a = 0, _flag_b = 0;
   4255     uint32_t _itail_tgt = 0;
   4256     RECOMP_REGS_LOCALS
   4257     RECOMP_ENTER(0x420026D0u);
   4258 
   4259 L_420026D0:
   4260     PUSH32(esp, ebp); /* 0x420026D0: push ebp */
   4261     ebp = esp; /* 0x420026D1: mov ebp, esp */
   4262     edx = MEM32(ebp + 0x8); /* 0x420026D3: mov edx, dword ptr [ebp + 8] */
   4263     PUSH32(esp, ebx); /* 0x420026D6: push ebx */
   4264     ebx = MEM32(ebp + 0xC); /* 0x420026D7: mov ebx, dword ptr [ebp + 0xc] */
   4265     /* cmp edx, ebx */ /* 0x420026DA: cmp edx, ebx */
   4266     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   4267     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4268     _flag_k = FK_CMP;
   4269     if (CMP_EQ(_flag_a, _flag_b)) goto L_42002703; /* 0x420026DC: je 0x42002703 */
   4270 L_420026DE:
   4271     eax = MEM32(ebp + 0x10); /* 0x420026DE: mov eax, dword ptr [ebp + 0x10] */
   4272     PUSH32(esp, esi); /* 0x420026E1: push esi */
   4273     PUSH32(esp, edi); /* 0x420026E2: push edi */
   4274 L_420026E3:
   4275     /* test eax, eax */ /* 0x420026E3: test eax, eax */
   4276     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4277     _cf = 0;
   4278     _flag_k = FK_TEST;
   4279     if (TEST_Z(_flag_a, _flag_b)) goto L_420026F2; /* 0x420026E5: je 0x420026f2 */
   4280 L_420026E7:
   4281     ecx = 6; /* 0x420026E7: mov ecx, 6 */
   4282     esi = edx; /* 0x420026EC: mov esi, edx */
   4283     edi = eax; /* 0x420026EE: mov edi, eax */
   4284     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x420026F0: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4285 L_420026F2:
   4286     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u);
   4287     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4288     edx = edx + 0x18u; /* 0x420026F2: add edx, 0x18 */
   4289     _flag_k = FK_ADD;
   4290     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   4291     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4292     eax = eax + 0x18u; /* 0x420026F5: add eax, 0x18 */
   4293     _flag_k = FK_ADD;
   4294     /* cmp edx, ebx */ /* 0x420026F8: cmp edx, ebx */
   4295     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   4296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4297     _flag_k = FK_CMP;
   4298     RECOMP_BACKEDGE();
   4299     if (CMP_NE(_flag_a, _flag_b)) goto L_420026E3; /* 0x420026FA: jne 0x420026e3 */
   4300 L_420026FC:
   4301     edi = POP32_VAL(esp); /* 0x420026FC: pop edi */
   4302     esi = POP32_VAL(esp); /* 0x420026FD: pop esi */
   4303     ebx = POP32_VAL(esp); /* 0x420026FE: pop ebx */
   4304     ebp = POP32_VAL(esp); /* 0x420026FF: pop ebp */
   4305     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x42002700: ret 0xc */
   4306 L_42002703:
   4307     eax = MEM32(ebp + 0x10); /* 0x42002703: mov eax, dword ptr [ebp + 0x10] */
   4308     ebx = POP32_VAL(esp); /* 0x42002706: pop ebx */
   4309     ebp = POP32_VAL(esp); /* 0x42002707: pop ebp */
   4310     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x42002708: ret 0xc */
   4311     RECOMP_REGS_OUT();
   4312 }
   4313 
   4314 void sub_42002710(void) {
   4315     int _fpu_cmp = 0;
   4316     uint32_t _cf = 0;
   4317     int _df = 1;
   4318     uint32_t _flag_k = FK_NONE;
   4319     uint32_t _flag_a = 0, _flag_b = 0;
   4320     uint32_t _itail_tgt = 0;
   4321     RECOMP_REGS_LOCALS
   4322     RECOMP_ENTER(0x42002710u);
   4323 
   4324 L_42002710:
   4325     PUSH32(esp, ebp); /* 0x42002710: push ebp */
   4326     ebp = esp; /* 0x42002711: mov ebp, esp */
   4327     eax = MEM32(ebp + 0xC); /* 0x42002713: mov eax, dword ptr [ebp + 0xc] */
   4328     /* test eax, eax */ /* 0x42002716: test eax, eax */
   4329     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4330     _cf = 0;
   4331     _flag_k = FK_TEST;
   4332     if (TEST_Z(_flag_a, _flag_b)) goto L_4200273D; /* 0x42002718: jbe 0x4200273d */
   4333 L_4200271A:
   4334     PUSH32(esp, ebx); /* 0x4200271A: push ebx */
   4335     ebx = MEM32(ebp + 0x10); /* 0x4200271B: mov ebx, dword ptr [ebp + 0x10] */
   4336     PUSH32(esp, esi); /* 0x4200271E: push esi */
   4337     edx = eax; /* 0x4200271F: mov edx, eax */
   4338     eax = MEM32(ebp + 0x8); /* 0x42002721: mov eax, dword ptr [ebp + 8] */
   4339     PUSH32(esp, edi); /* 0x42002724: push edi */
   4340 L_42002725:
   4341     /* test eax, eax */ /* 0x42002725: test eax, eax */
   4342     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4343     _cf = 0;
   4344     _flag_k = FK_TEST;
   4345     if (TEST_Z(_flag_a, _flag_b)) goto L_42002734; /* 0x42002727: je 0x42002734 */
   4346 L_42002729:
   4347     ecx = 6; /* 0x42002729: mov ecx, 6 */
   4348     esi = ebx; /* 0x4200272E: mov esi, ebx */
   4349     edi = eax; /* 0x42002730: mov edi, eax */
   4350     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x42002732: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4351 L_42002734:
   4352     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u);
   4353     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4354     eax = eax + 0x18u; /* 0x42002734: add eax, 0x18 */
   4355     _flag_k = FK_ADD;
   4356     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   4357     edx = edx - 1; /* 0x42002737: dec edx */
   4358     _flag_k = FK_DEC;
   4359     RECOMP_BACKEDGE();
   4360     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_42002725; /* 0x42002738: jne 0x42002725 */
   4361 L_4200273A:
   4362     edi = POP32_VAL(esp); /* 0x4200273A: pop edi */
   4363     esi = POP32_VAL(esp); /* 0x4200273B: pop esi */
   4364     ebx = POP32_VAL(esp); /* 0x4200273C: pop ebx */
   4365 L_4200273D:
   4366     ebp = POP32_VAL(esp); /* 0x4200273D: pop ebp */
   4367     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4200273E: ret 0xc */
   4368     RECOMP_REGS_OUT();
   4369 }
   4370 
   4371 void sub_42002750(void) {
   4372     int _fpu_cmp = 0;
   4373     uint32_t _cf = 0;
   4374     int _df = 1;
   4375     uint32_t _flag_k = FK_NONE;
   4376     uint32_t _flag_a = 0, _flag_b = 0;
   4377     uint32_t _itail_tgt = 0;
   4378     RECOMP_REGS_LOCALS
   4379     RECOMP_ENTER(0x42002750u);
   4380 
   4381 L_42002750:
   4382     PUSH32(esp, ebp); /* 0x42002750: push ebp */
   4383     ebp = esp; /* 0x42002751: mov ebp, esp */
   4384     PUSH32(esp, edi); /* 0x42002753: push edi */
   4385     edi = MEM32(ebp + 0x8); /* 0x42002754: mov edi, dword ptr [ebp + 8] */
   4386     /* test edi, edi */ /* 0x42002757: test edi, edi */
   4387     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4388     _cf = 0;
   4389     _flag_k = FK_TEST;
   4390     if (TEST_Z(_flag_a, _flag_b)) goto L_42002767; /* 0x42002759: je 0x42002767 */
   4391 L_4200275B:
   4392     PUSH32(esp, esi); /* 0x4200275B: push esi */
   4393     esi = MEM32(ebp + 0xC); /* 0x4200275C: mov esi, dword ptr [ebp + 0xc] */
   4394     ecx = 6; /* 0x4200275F: mov ecx, 6 */
   4395     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x42002764: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4396     esi = POP32_VAL(esp); /* 0x42002766: pop esi */
   4397 L_42002767:
   4398     edi = POP32_VAL(esp); /* 0x42002767: pop edi */
   4399     ebp = POP32_VAL(esp); /* 0x42002768: pop ebp */
   4400     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002769: ret  */
   4401     RECOMP_REGS_OUT();
   4402 }
   4403 
   4404 void sub_42002770(void) {
   4405     int _fpu_cmp = 0;
   4406     uint32_t _cf = 0;
   4407     int _df = 1;
   4408     uint32_t _flag_k = FK_NONE;
   4409     uint32_t _flag_a = 0, _flag_b = 0;
   4410     uint32_t _itail_tgt = 0;
   4411     RECOMP_REGS_LOCALS
   4412     RECOMP_ENTER(0x42002770u);
   4413 
   4414 L_42002770:
   4415     RECOMP_ICALL(0x42002780u); /* 0x42002770: call 0x42002780 */ /* not lifted */
   4416     RECOMP_FLAGS_IN();
   4417     goto L_42002790; /* 0x42002775: jmp 0x42002790 */
   4418 L_42002790:
   4419     PUSH32(esp, 0x420027A0u); /* 0x42002790: push 0x420027a0 */
   4420     RECOMP_ICALL(0x42016E07u); /* 0x42002795: call 0x42016e07 */ /* not lifted */
   4421     RECOMP_FLAGS_IN();
   4422     ecx = POP32_VAL(esp); /* 0x4200279A: pop ecx */
   4423     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200279B: ret  */
   4424     RECOMP_REGS_OUT();
   4425 }
   4426 
   4427 void sub_42002780(void) {
   4428     int _fpu_cmp = 0;
   4429     uint32_t _cf = 0;
   4430     int _df = 1;
   4431     uint32_t _flag_k = FK_NONE;
   4432     uint32_t _flag_a = 0, _flag_b = 0;
   4433     uint32_t _itail_tgt = 0;
   4434     RECOMP_REGS_LOCALS
   4435     RECOMP_ENTER(0x42002780u);
   4436 
   4437 L_42002780:
   4438     ecx = 0x42022461u; /* 0x42002780: mov ecx, 0x42022461 */
   4439 L_42002785:
   4440     { _itail_tgt = (uint32_t)(MEM32(0x42018014)); goto _ljump; }
   4441     { RECOMP_REGS_OUT(); return; } /* end of function */
   4442   _ljump:
   4443     switch (_itail_tgt) {
   4444       case 0x42002780u: goto L_42002780;
   4445       case 0x42002785u: goto L_42002785;
   4446       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4447     }
   4448     RECOMP_REGS_OUT();
   4449 }
   4450 
   4451 void sub_42002790(void) {
   4452     int _fpu_cmp = 0;
   4453     uint32_t _cf = 0;
   4454     int _df = 1;
   4455     uint32_t _flag_k = FK_NONE;
   4456     uint32_t _flag_a = 0, _flag_b = 0;
   4457     uint32_t _itail_tgt = 0;
   4458     RECOMP_REGS_LOCALS
   4459     RECOMP_ENTER(0x42002790u);
   4460 
   4461 L_42002790:
   4462     PUSH32(esp, 0x420027A0u); /* 0x42002790: push 0x420027a0 */
   4463     RECOMP_ICALL(0x42016E07u); /* 0x42002795: call 0x42016e07 */ /* not lifted */
   4464     RECOMP_FLAGS_IN();
   4465     ecx = POP32_VAL(esp); /* 0x4200279A: pop ecx */
   4466     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4200279B: ret  */
   4467     RECOMP_REGS_OUT();
   4468 }
   4469 
   4470 void sub_420027A0(void) {
   4471     int _fpu_cmp = 0;
   4472     uint32_t _cf = 0;
   4473     int _df = 1;
   4474     uint32_t _flag_k = FK_NONE;
   4475     uint32_t _flag_a = 0, _flag_b = 0;
   4476     uint32_t _itail_tgt = 0;
   4477     RECOMP_REGS_LOCALS
   4478     RECOMP_ENTER(0x420027A0u);
   4479 
   4480 L_420027A0:
   4481     ecx = 0x42022461u; /* 0x420027A0: mov ecx, 0x42022461 */
   4482 L_420027A5:
   4483     { _itail_tgt = (uint32_t)(MEM32(0x42018010)); goto _ljump; }
   4484     { RECOMP_REGS_OUT(); return; } /* end of function */
   4485   _ljump:
   4486     switch (_itail_tgt) {
   4487       case 0x420027A0u: goto L_420027A0;
   4488       case 0x420027A5u: goto L_420027A5;
   4489       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4490     }
   4491     RECOMP_REGS_OUT();
   4492 }
   4493 
   4494 void sub_420027B0(void) {
   4495     int _fpu_cmp = 0;
   4496     uint32_t _cf = 0;
   4497     int _df = 1;
   4498     uint32_t _flag_k = FK_NONE;
   4499     uint32_t _flag_a = 0, _flag_b = 0;
   4500     uint32_t _itail_tgt = 0;
   4501     RECOMP_REGS_LOCALS
   4502     RECOMP_ENTER(0x420027B0u);
   4503 
   4504 L_420027B0:
   4505     RECOMP_ICALL(0x420027C0u); /* 0x420027B0: call 0x420027c0 */ /* not lifted */
   4506     RECOMP_FLAGS_IN();
   4507     goto L_420027D0; /* 0x420027B5: jmp 0x420027d0 */
   4508 L_420027D0:
   4509     PUSH32(esp, 0x420027E0u); /* 0x420027D0: push 0x420027e0 */
   4510     RECOMP_ICALL(0x42016E07u); /* 0x420027D5: call 0x42016e07 */ /* not lifted */
   4511     RECOMP_FLAGS_IN();
   4512     ecx = POP32_VAL(esp); /* 0x420027DA: pop ecx */
   4513     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420027DB: ret  */
   4514     RECOMP_REGS_OUT();
   4515 }
   4516 
   4517 void sub_420027C0(void) {
   4518     int _fpu_cmp = 0;
   4519     uint32_t _cf = 0;
   4520     int _df = 1;
   4521     uint32_t _flag_k = FK_NONE;
   4522     uint32_t _flag_a = 0, _flag_b = 0;
   4523     uint32_t _itail_tgt = 0;
   4524     RECOMP_REGS_LOCALS
   4525     RECOMP_ENTER(0x420027C0u);
   4526 
   4527 L_420027C0:
   4528     ecx = 0x42022460u; /* 0x420027C0: mov ecx, 0x42022460 */
   4529 L_420027C5:
   4530     { _itail_tgt = (uint32_t)(MEM32(0x42018008)); goto _ljump; }
   4531     { RECOMP_REGS_OUT(); return; } /* end of function */
   4532   _ljump:
   4533     switch (_itail_tgt) {
   4534       case 0x420027C0u: goto L_420027C0;
   4535       case 0x420027C5u: goto L_420027C5;
   4536       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4537     }
   4538     RECOMP_REGS_OUT();
   4539 }
   4540 
   4541 void sub_420027D0(void) {
   4542     int _fpu_cmp = 0;
   4543     uint32_t _cf = 0;
   4544     int _df = 1;
   4545     uint32_t _flag_k = FK_NONE;
   4546     uint32_t _flag_a = 0, _flag_b = 0;
   4547     uint32_t _itail_tgt = 0;
   4548     RECOMP_REGS_LOCALS
   4549     RECOMP_ENTER(0x420027D0u);
   4550 
   4551 L_420027D0:
   4552     PUSH32(esp, 0x420027E0u); /* 0x420027D0: push 0x420027e0 */
   4553     RECOMP_ICALL(0x42016E07u); /* 0x420027D5: call 0x42016e07 */ /* not lifted */
   4554     RECOMP_FLAGS_IN();
   4555     ecx = POP32_VAL(esp); /* 0x420027DA: pop ecx */
   4556     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420027DB: ret  */
   4557     RECOMP_REGS_OUT();
   4558 }
   4559 
   4560 void sub_420027E0(void) {
   4561     int _fpu_cmp = 0;
   4562     uint32_t _cf = 0;
   4563     int _df = 1;
   4564     uint32_t _flag_k = FK_NONE;
   4565     uint32_t _flag_a = 0, _flag_b = 0;
   4566     uint32_t _itail_tgt = 0;
   4567     RECOMP_REGS_LOCALS
   4568     RECOMP_ENTER(0x420027E0u);
   4569 
   4570 L_420027E0:
   4571     ecx = 0x42022460u; /* 0x420027E0: mov ecx, 0x42022460 */
   4572 L_420027E5:
   4573     { _itail_tgt = (uint32_t)(MEM32(0x4201800C)); goto _ljump; }
   4574     { RECOMP_REGS_OUT(); return; } /* end of function */
   4575   _ljump:
   4576     switch (_itail_tgt) {
   4577       case 0x420027E0u: goto L_420027E0;
   4578       case 0x420027E5u: goto L_420027E5;
   4579       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4580     }
   4581     RECOMP_REGS_OUT();
   4582 }
   4583 
   4584 void sub_420027F0(void) {
   4585     int _fpu_cmp = 0;
   4586     uint32_t _cf = 0;
   4587     int _df = 1;
   4588     uint32_t _flag_k = FK_NONE;
   4589     uint32_t _flag_a = 0, _flag_b = 0;
   4590     uint32_t _itail_tgt = 0;
   4591     RECOMP_REGS_LOCALS
   4592     RECOMP_ENTER(0x420027F0u);
   4593 
   4594 L_420027F0:
   4595     eax = ecx; /* 0x420027F0: mov eax, ecx */
   4596     MEM32(eax) = 0x4201810Cu; /* 0x420027F2: mov dword ptr [eax], 0x4201810c */
   4597     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420027F8: ret  */
   4598     RECOMP_REGS_OUT();
   4599 }
   4600 
   4601 void sub_42002800(void) {
   4602     int _fpu_cmp = 0;
   4603     uint32_t _cf = 0;
   4604     int _df = 1;
   4605     uint32_t _flag_k = FK_NONE;
   4606     uint32_t _flag_a = 0, _flag_b = 0;
   4607     uint32_t _itail_tgt = 0;
   4608     RECOMP_REGS_LOCALS
   4609     RECOMP_ENTER(0x42002800u);
   4610 
   4611 L_42002800:
   4612     eax = ecx; /* 0x42002800: mov eax, ecx */
   4613     MEM32(eax) = 0x4201810Cu; /* 0x42002802: mov dword ptr [eax], 0x4201810c */
   4614     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002808: ret 4 */
   4615     RECOMP_REGS_OUT();
   4616 }
   4617 
   4618 void sub_42002810(void) {
   4619     int _fpu_cmp = 0;
   4620     uint32_t _cf = 0;
   4621     int _df = 1;
   4622     uint32_t _flag_k = FK_NONE;
   4623     uint32_t _flag_a = 0, _flag_b = 0;
   4624     uint32_t _itail_tgt = 0;
   4625     RECOMP_REGS_LOCALS
   4626     RECOMP_ENTER(0x42002810u);
   4627 
   4628 L_42002810:
   4629     PUSH32(esp, ebp); /* 0x42002810: push ebp */
   4630     ebp = esp; /* 0x42002811: mov ebp, esp */
   4631     PUSH32(esp, 0xFFFFFFFFu); /* 0x42002813: push -1 */
   4632     PUSH32(esp, 0x42017188u); /* 0x42002815: push 0x42017188 */
   4633     eax = MEM32(FS_BASE + (0)); /* 0x4200281A: mov eax, dword ptr fs:[0] */
   4634     PUSH32(esp, eax); /* 0x42002820: push eax */
   4635     MEM32(FS_BASE + (0)) = esp; /* 0x42002821: mov dword ptr fs:[0], esp */
   4636     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4638     esp = esp - 8; /* 0x42002828: sub esp, 8 */
   4639     _flag_k = FK_CMP;
   4640     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x4200282B: mov al, byte ptr [ebp - 0xd] */
   4641     PUSH32(esp, esi); /* 0x4200282E: push esi */
   4642     esi = ecx; /* 0x4200282F: mov esi, ecx */
   4643     PUSH32(esp, 0x14u); /* 0x42002831: push 0x14 */
   4644     MEM32(ebp + (-0x14)) = esi; /* 0x42002833: mov dword ptr [ebp - 0x14], esi */
   4645     MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x42002836: mov byte ptr [esi], al */
   4646     RECOMP_ICALL(0x42016F36u); /* 0x42002838: call 0x42016f36 */ /* not lifted */
   4647     RECOMP_FLAGS_IN();
   4648     MEM32(eax) = eax; /* 0x4200283D: mov dword ptr [eax], eax */
   4649     MEM32(eax + 0x4) = eax; /* 0x4200283F: mov dword ptr [eax + 4], eax */
   4650     MEM32(esi + 0x4) = eax; /* 0x42002842: mov dword ptr [esi + 4], eax */
   4651     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4652     eax = 0; /* 0x42002845: xor eax, eax */
   4653     _cf = 0;
   4654     _flag_k = FK_TEST;
   4655     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4656     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4657     esp = esp + 4; /* 0x42002847: add esp, 4 */
   4658     _flag_k = FK_ADD;
   4659     MEM32(esi + 0x8) = eax; /* 0x4200284A: mov dword ptr [esi + 8], eax */
   4660     ecx = esi; /* 0x4200284D: mov ecx, esi */
   4661     MEM32(ebp + (-0x4)) = eax; /* 0x4200284F: mov dword ptr [ebp - 4], eax */
   4662     RECOMP_ICALL(0x42005DC0u); /* 0x42002852: call 0x42005dc0 */ /* not lifted */
   4663     RECOMP_FLAGS_IN();
   4664     ecx = MEM32(ebp + (-0xC)); /* 0x42002857: mov ecx, dword ptr [ebp - 0xc] */
   4665     eax = esi; /* 0x4200285A: mov eax, esi */
   4666     esi = POP32_VAL(esp); /* 0x4200285C: pop esi */
   4667     MEM32(FS_BASE + (0)) = ecx; /* 0x4200285D: mov dword ptr fs:[0], ecx */
   4668     esp = ebp; /* 0x42002864: mov esp, ebp */
   4669     ebp = POP32_VAL(esp); /* 0x42002866: pop ebp */
   4670     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002867: ret  */
   4671     RECOMP_REGS_OUT();
   4672 }
   4673 
   4674 void sub_42002870(void) {
   4675     int _fpu_cmp = 0;
   4676     uint32_t _cf = 0;
   4677     int _df = 1;
   4678     uint32_t _flag_k = FK_NONE;
   4679     uint32_t _flag_a = 0, _flag_b = 0;
   4680     uint32_t _itail_tgt = 0;
   4681     RECOMP_REGS_LOCALS
   4682     RECOMP_ENTER(0x42002870u);
   4683 
   4684 L_42002870:
   4685     PUSH32(esp, ebp); /* 0x42002870: push ebp */
   4686     ebp = esp; /* 0x42002871: mov ebp, esp */
   4687     PUSH32(esp, ecx); /* 0x42002873: push ecx */
   4688     PUSH32(esp, ebx); /* 0x42002874: push ebx */
   4689     PUSH32(esp, esi); /* 0x42002875: push esi */
   4690     esi = MEM32(ebp + 0x8); /* 0x42002876: mov esi, dword ptr [ebp + 8] */
   4691     SET_LO8(eax, MEM8(esi)); /* 0x42002879: mov al, byte ptr [esi] */
   4692     PUSH32(esp, edi); /* 0x4200287B: push edi */
   4693     edi = ecx; /* 0x4200287C: mov edi, ecx */
   4694     PUSH32(esp, 0x14u); /* 0x4200287E: push 0x14 */
   4695     MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x42002880: mov byte ptr [edi], al */
   4696     RECOMP_ICALL(0x42016F36u); /* 0x42002882: call 0x42016f36 */ /* not lifted */
   4697     RECOMP_FLAGS_IN();
   4698     MEM32(eax) = eax; /* 0x42002887: mov dword ptr [eax], eax */
   4699     MEM32(eax + 0x4) = eax; /* 0x42002889: mov dword ptr [eax + 4], eax */
   4700     MEM32(edi + 0x4) = eax; /* 0x4200288C: mov dword ptr [edi + 4], eax */
   4701     MEM32(edi + 0x8) = 0; /* 0x4200288F: mov dword ptr [edi + 8], 0 */
   4702     edx = MEM32(esi + 0x4); /* 0x42002896: mov edx, dword ptr [esi + 4] */
   4703     ecx = MEM32(edx); /* 0x42002899: mov ecx, dword ptr [edx] */
   4704     esi = MEM32(eax); /* 0x4200289B: mov esi, dword ptr [eax] */
   4705     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4706     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4707     esp = esp + 4; /* 0x4200289D: add esp, 4 */
   4708     _flag_k = FK_ADD;
   4709     /* cmp ecx, edx */ /* 0x420028A0: cmp ecx, edx */
   4710     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   4711     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4712     _flag_k = FK_CMP;
   4713     MEM32(ebp + (-0x4)) = edx; /* 0x420028A2: mov dword ptr [ebp - 4], edx */
   4714     ebx = ecx; /* 0x420028A5: mov ebx, ecx */
   4715     if (CMP_EQ(_flag_a, _flag_b)) goto L_420028FF; /* 0x420028A7: je 0x420028ff */
   4716 L_420028A9:
   4717     ecx = MEM32(esi + 0x4); /* 0x420028A9: mov ecx, dword ptr [esi + 4] */
   4718     PUSH32(esp, 0x14u); /* 0x420028AC: push 0x14 */
   4719     MEM32(ebp + 0x8) = ecx; /* 0x420028AE: mov dword ptr [ebp + 8], ecx */
   4720     RECOMP_ICALL(0x42016F36u); /* 0x420028B1: call 0x42016f36 */ /* not lifted */
   4721     RECOMP_FLAGS_IN();
   4722     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4723     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4724     esp = esp + 4; /* 0x420028B6: add esp, 4 */
   4725     _flag_k = FK_ADD;
   4726     /* test esi, esi */ /* 0x420028B9: test esi, esi */
   4727     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   4728     _cf = 0;
   4729     _flag_k = FK_TEST;
   4730     ecx = esi; /* 0x420028BB: mov ecx, esi */
   4731     if (TEST_NZ(_flag_a, _flag_b)) goto L_420028C1; /* 0x420028BD: jne 0x420028c1 */
   4732 L_420028BF:
   4733     ecx = eax; /* 0x420028BF: mov ecx, eax */
   4734 L_420028C1:
   4735     MEM32(eax) = ecx; /* 0x420028C1: mov dword ptr [eax], ecx */
   4736     ecx = MEM32(ebp + 0x8); /* 0x420028C3: mov ecx, dword ptr [ebp + 8] */
   4737     /* test ecx, ecx */ /* 0x420028C6: test ecx, ecx */
   4738     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4739     _cf = 0;
   4740     _flag_k = FK_TEST;
   4741     if (TEST_NZ(_flag_a, _flag_b)) goto L_420028CC; /* 0x420028C8: jne 0x420028cc */
   4742 L_420028CA:
   4743     ecx = eax; /* 0x420028CA: mov ecx, eax */
   4744 L_420028CC:
   4745     MEM32(eax + 0x4) = ecx; /* 0x420028CC: mov dword ptr [eax + 4], ecx */
   4746     MEM32(esi + 0x4) = eax; /* 0x420028CF: mov dword ptr [esi + 4], eax */
   4747     edx = MEM32(eax + 0x4); /* 0x420028D2: mov edx, dword ptr [eax + 4] */
   4748     MEM32(edx) = eax; /* 0x420028D5: mov dword ptr [edx], eax */
   4749     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   4750     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4751     eax = eax + 8; /* 0x420028D7: add eax, 8 */
   4752     _flag_k = FK_ADD;
   4753     /* test eax, eax */ /* 0x420028DA: test eax, eax */
   4754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4755     _cf = 0;
   4756     _flag_k = FK_TEST;
   4757     if (TEST_Z(_flag_a, _flag_b)) goto L_420028EF; /* 0x420028DC: je 0x420028ef */
   4758 L_420028DE:
   4759     ecx = MEM32(ebx + 0x8); /* 0x420028DE: mov ecx, dword ptr [ebx + 8] */
   4760     MEM32(eax) = ecx; /* 0x420028E1: mov dword ptr [eax], ecx */
   4761     edx = MEM32(ebx + 0xC); /* 0x420028E3: mov edx, dword ptr [ebx + 0xc] */
   4762     MEM32(eax + 0x4) = edx; /* 0x420028E6: mov dword ptr [eax + 4], edx */
   4763     ecx = MEM32(ebx + 0x10); /* 0x420028E9: mov ecx, dword ptr [ebx + 0x10] */
   4764     MEM32(eax + 0x8) = ecx; /* 0x420028EC: mov dword ptr [eax + 8], ecx */
   4765 L_420028EF:
   4766     ecx = MEM32(edi + 0x8); /* 0x420028EF: mov ecx, dword ptr [edi + 8] */
   4767     eax = MEM32(ebp + (-0x4)); /* 0x420028F2: mov eax, dword ptr [ebp - 4] */
   4768     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4769     ecx = ecx + 1; /* 0x420028F5: inc ecx */
   4770     _flag_k = FK_INC;
   4771     MEM32(edi + 0x8) = ecx; /* 0x420028F6: mov dword ptr [edi + 8], ecx */
   4772     ebx = MEM32(ebx); /* 0x420028F9: mov ebx, dword ptr [ebx] */
   4773     /* cmp ebx, eax */ /* 0x420028FB: cmp ebx, eax */
   4774     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   4775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4776     _flag_k = FK_CMP;
   4777     RECOMP_BACKEDGE();
   4778     if (CMP_NE(_flag_a, _flag_b)) goto L_420028A9; /* 0x420028FD: jne 0x420028a9 */
   4779 L_420028FF:
   4780     eax = edi; /* 0x420028FF: mov eax, edi */
   4781     edi = POP32_VAL(esp); /* 0x42002901: pop edi */
   4782     esi = POP32_VAL(esp); /* 0x42002902: pop esi */
   4783     ebx = POP32_VAL(esp); /* 0x42002903: pop ebx */
   4784     esp = ebp; /* 0x42002904: mov esp, ebp */
   4785     ebp = POP32_VAL(esp); /* 0x42002906: pop ebp */
   4786     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002907: ret 4 */
   4787     RECOMP_REGS_OUT();
   4788 }
   4789 
   4790 void sub_42002910(void) {
   4791     int _fpu_cmp = 0;
   4792     uint32_t _cf = 0;
   4793     int _df = 1;
   4794     uint32_t _flag_k = FK_NONE;
   4795     uint32_t _flag_a = 0, _flag_b = 0;
   4796     uint32_t _itail_tgt = 0;
   4797     RECOMP_REGS_LOCALS
   4798     RECOMP_ENTER(0x42002910u);
   4799 
   4800 L_42002910:
   4801     PUSH32(esp, ebp); /* 0x42002910: push ebp */
   4802     ebp = esp; /* 0x42002911: mov ebp, esp */
   4803     PUSH32(esp, ecx); /* 0x42002913: push ecx */
   4804     eax = ecx; /* 0x42002914: mov eax, ecx */
   4805     ecx = MEM32(ebp + 0x8); /* 0x42002916: mov ecx, dword ptr [ebp + 8] */
   4806     /* cmp eax, ecx */ /* 0x42002919: cmp eax, ecx */
   4807     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4808     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4809     _flag_k = FK_CMP;
   4810     PUSH32(esp, ebx); /* 0x4200291B: push ebx */
   4811     PUSH32(esp, esi); /* 0x4200291C: push esi */
   4812     PUSH32(esp, edi); /* 0x4200291D: push edi */
   4813     MEM32(ebp + (-0x4)) = eax; /* 0x4200291E: mov dword ptr [ebp - 4], eax */
   4814     if (CMP_EQ(_flag_a, _flag_b)) goto L_420029E0; /* 0x42002921: je 0x420029e0 */
   4815 L_42002927:
   4816     esi = MEM32(eax + 0x4); /* 0x42002927: mov esi, dword ptr [eax + 4] */
   4817     eax = MEM32(esi); /* 0x4200292A: mov eax, dword ptr [esi] */
   4818     /* cmp eax, esi */ /* 0x4200292C: cmp eax, esi */
   4819     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4820     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4821     _flag_k = FK_CMP;
   4822     ecx = MEM32(ecx + 0x4); /* 0x4200292E: mov ecx, dword ptr [ecx + 4] */
   4823     ebx = MEM32(ecx); /* 0x42002931: mov ebx, dword ptr [ecx] */
   4824     MEM32(ebp + 0x8) = ecx; /* 0x42002933: mov dword ptr [ebp + 8], ecx */
   4825     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200295B; /* 0x42002936: je 0x4200295b */
   4826 L_42002938:
   4827     /* cmp ebx, MEM32(ebp + 0x8) */ /* 0x42002938: cmp ebx, dword ptr [ebp + 8] */
   4828     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ebp + 0x8));
   4829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4830     _flag_k = FK_CMP;
   4831     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200295B; /* 0x4200293B: je 0x4200295b */
   4832 L_4200293D:
   4833     ecx = ebx + 0x8; /* 0x4200293D: lea ecx, [ebx + 8] */
   4834     edi = MEM32(ecx); /* 0x42002940: mov edi, dword ptr [ecx] */
   4835     edx = eax + 0x8; /* 0x42002942: lea edx, [eax + 8] */
   4836     MEM32(edx) = edi; /* 0x42002945: mov dword ptr [edx], edi */
   4837     edi = MEM32(ecx + 0x4); /* 0x42002947: mov edi, dword ptr [ecx + 4] */
   4838     MEM32(edx + 0x4) = edi; /* 0x4200294A: mov dword ptr [edx + 4], edi */
   4839     ecx = MEM32(ecx + 0x8); /* 0x4200294D: mov ecx, dword ptr [ecx + 8] */
   4840     MEM32(edx + 0x8) = ecx; /* 0x42002950: mov dword ptr [edx + 8], ecx */
   4841     eax = MEM32(eax); /* 0x42002953: mov eax, dword ptr [eax] */
   4842     /* cmp eax, esi */ /* 0x42002955: cmp eax, esi */
   4843     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4844     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4845     _flag_k = FK_CMP;
   4846     ebx = MEM32(ebx); /* 0x42002957: mov ebx, dword ptr [ebx] */
   4847     RECOMP_BACKEDGE();
   4848     if (CMP_NE(_flag_a, _flag_b)) goto L_42002938; /* 0x42002959: jne 0x42002938 */
   4849 L_4200295B:
   4850     /* cmp eax, esi */ /* 0x4200295B: cmp eax, esi */
   4851     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4853     _flag_k = FK_CMP;
   4854     edi = eax; /* 0x4200295D: mov edi, eax */
   4855     if (CMP_EQ(_flag_a, _flag_b)) goto L_4200298B; /* 0x4200295F: je 0x4200298b */
   4856 L_42002961:
   4857     eax = edi; /* 0x42002961: mov eax, edi */
   4858     edx = MEM32(eax + 0x4); /* 0x42002963: mov edx, dword ptr [eax + 4] */
   4859     ecx = MEM32(eax); /* 0x42002966: mov ecx, dword ptr [eax] */
   4860     edi = MEM32(edi); /* 0x42002968: mov edi, dword ptr [edi] */
   4861     MEM32(edx) = ecx; /* 0x4200296A: mov dword ptr [edx], ecx */
   4862     edx = MEM32(eax); /* 0x4200296C: mov edx, dword ptr [eax] */
   4863     ecx = MEM32(eax + 0x4); /* 0x4200296E: mov ecx, dword ptr [eax + 4] */
   4864     PUSH32(esp, eax); /* 0x42002971: push eax */
   4865     MEM32(edx + 0x4) = ecx; /* 0x42002972: mov dword ptr [edx + 4], ecx */
   4866     RECOMP_ICALL(0x42016DD0u); /* 0x42002975: call 0x42016dd0 */ /* not lifted */
   4867     RECOMP_FLAGS_IN();
   4868     eax = MEM32(ebp + (-0x4)); /* 0x4200297A: mov eax, dword ptr [ebp - 4] */
   4869     ecx = MEM32(eax + 0x8); /* 0x4200297D: mov ecx, dword ptr [eax + 8] */
   4870     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4871     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4872     esp = esp + 4; /* 0x42002980: add esp, 4 */
   4873     _flag_k = FK_ADD;
   4874     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4875     ecx = ecx - 1; /* 0x42002983: dec ecx */
   4876     _flag_k = FK_DEC;
   4877     /* cmp edi, esi */ /* 0x42002984: cmp edi, esi */
   4878     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
   4879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4880     _flag_k = FK_CMP;
   4881     MEM32(eax + 0x8) = ecx; /* 0x42002986: mov dword ptr [eax + 8], ecx */
   4882     RECOMP_BACKEDGE();
   4883     if (CMP_NE(_flag_a, _flag_b)) goto L_42002961; /* 0x42002989: jne 0x42002961 */
   4884 L_4200298B:
   4885     /* cmp ebx, MEM32(ebp + 0x8) */ /* 0x4200298B: cmp ebx, dword ptr [ebp + 8] */
   4886     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ebp + 0x8));
   4887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4888     _flag_k = FK_CMP;
   4889     if (CMP_EQ(_flag_a, _flag_b)) goto L_420029DD; /* 0x4200298E: je 0x420029dd */
   4890 L_42002990:
   4891     edi = MEM32(esi + 0x4); /* 0x42002990: mov edi, dword ptr [esi + 4] */
   4892     PUSH32(esp, 0x14u); /* 0x42002993: push 0x14 */
   4893     RECOMP_ICALL(0x42016F36u); /* 0x42002995: call 0x42016f36 */ /* not lifted */
   4894     RECOMP_FLAGS_IN();
   4895     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4896     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4897     esp = esp + 4; /* 0x4200299A: add esp, 4 */
   4898     _flag_k = FK_ADD;
   4899     /* test esi, esi */ /* 0x4200299D: test esi, esi */
   4900     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   4901     _cf = 0;
   4902     _flag_k = FK_TEST;
   4903     ecx = esi; /* 0x4200299F: mov ecx, esi */
   4904     if (TEST_NZ(_flag_a, _flag_b)) goto L_420029A5; /* 0x420029A1: jne 0x420029a5 */
   4905 L_420029A3:
   4906     ecx = eax; /* 0x420029A3: mov ecx, eax */
   4907 L_420029A5:
   4908     /* test edi, edi */ /* 0x420029A5: test edi, edi */
   4909     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4910     _cf = 0;
   4911     _flag_k = FK_TEST;
   4912     MEM32(eax) = ecx; /* 0x420029A7: mov dword ptr [eax], ecx */
   4913     if (TEST_NZ(_flag_a, _flag_b)) goto L_420029AD; /* 0x420029A9: jne 0x420029ad */
   4914 L_420029AB:
   4915     edi = eax; /* 0x420029AB: mov edi, eax */
   4916 L_420029AD:
   4917     MEM32(eax + 0x4) = edi; /* 0x420029AD: mov dword ptr [eax + 4], edi */
   4918     MEM32(esi + 0x4) = eax; /* 0x420029B0: mov dword ptr [esi + 4], eax */
   4919     edx = MEM32(eax + 0x4); /* 0x420029B3: mov edx, dword ptr [eax + 4] */
   4920     MEM32(edx) = eax; /* 0x420029B6: mov dword ptr [edx], eax */
   4921     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
   4922     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4923     eax = eax + 8; /* 0x420029B8: add eax, 8 */
   4924     _flag_k = FK_ADD;
   4925     /* test eax, eax */ /* 0x420029BB: test eax, eax */
   4926     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4927     _cf = 0;
   4928     _flag_k = FK_TEST;
   4929     if (TEST_Z(_flag_a, _flag_b)) goto L_420029D0; /* 0x420029BD: je 0x420029d0 */
   4930 L_420029BF:
   4931     ecx = MEM32(ebx + 0x8); /* 0x420029BF: mov ecx, dword ptr [ebx + 8] */
   4932     MEM32(eax) = ecx; /* 0x420029C2: mov dword ptr [eax], ecx */
   4933     edx = MEM32(ebx + 0xC); /* 0x420029C4: mov edx, dword ptr [ebx + 0xc] */
   4934     MEM32(eax + 0x4) = edx; /* 0x420029C7: mov dword ptr [eax + 4], edx */
   4935     ecx = MEM32(ebx + 0x10); /* 0x420029CA: mov ecx, dword ptr [ebx + 0x10] */
   4936     MEM32(eax + 0x8) = ecx; /* 0x420029CD: mov dword ptr [eax + 8], ecx */
   4937 L_420029D0:
   4938     eax = MEM32(ebp + (-0x4)); /* 0x420029D0: mov eax, dword ptr [ebp - 4] */
   4939     _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(1);
   4940     MEM32(eax + 0x8) = MEM32(eax + 0x8) + 1; /* 0x420029D3: inc dword ptr [eax + 8] */
   4941     _flag_k = FK_INC;
   4942     ebx = MEM32(ebx); /* 0x420029D6: mov ebx, dword ptr [ebx] */
   4943     /* cmp ebx, MEM32(ebp + 0x8) */ /* 0x420029D8: cmp ebx, dword ptr [ebp + 8] */
   4944     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ebp + 0x8));
   4945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4946     _flag_k = FK_CMP;
   4947     RECOMP_BACKEDGE();
   4948     if (CMP_NE(_flag_a, _flag_b)) goto L_42002990; /* 0x420029DB: jne 0x42002990 */
   4949 L_420029DD:
   4950     eax = MEM32(ebp + (-0x4)); /* 0x420029DD: mov eax, dword ptr [ebp - 4] */
   4951 L_420029E0:
   4952     edi = POP32_VAL(esp); /* 0x420029E0: pop edi */
   4953     esi = POP32_VAL(esp); /* 0x420029E1: pop esi */
   4954     ebx = POP32_VAL(esp); /* 0x420029E2: pop ebx */
   4955     esp = ebp; /* 0x420029E3: mov esp, ebp */
   4956     ebp = POP32_VAL(esp); /* 0x420029E5: pop ebp */
   4957     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x420029E6: ret 4 */
   4958     RECOMP_REGS_OUT();
   4959 }
   4960 
   4961 void sub_420029F0(void) {
   4962     int _fpu_cmp = 0;
   4963     uint32_t _cf = 0;
   4964     int _df = 1;
   4965     uint32_t _flag_k = FK_NONE;
   4966     uint32_t _flag_a = 0, _flag_b = 0;
   4967     uint32_t _itail_tgt = 0;
   4968     RECOMP_REGS_LOCALS
   4969     RECOMP_ENTER(0x420029F0u);
   4970 
   4971 L_420029F0:
   4972     fp_push(*(float*)&MEM32(0x42018118)); /* 0x420029F0: fld dword ptr [0x42018118] */
   4973     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x420029F6: ret  */
   4974     RECOMP_REGS_OUT();
   4975 }
   4976 
   4977 void sub_42002A00(void) {
   4978     int _fpu_cmp = 0;
   4979     uint32_t _cf = 0;
   4980     int _df = 1;
   4981     uint32_t _flag_k = FK_NONE;
   4982     uint32_t _flag_a = 0, _flag_b = 0;
   4983     uint32_t _itail_tgt = 0;
   4984     RECOMP_REGS_LOCALS
   4985     RECOMP_ENTER(0x42002A00u);
   4986 
   4987 L_42002A00:
   4988     PUSH32(esp, ebp); /* 0x42002A00: push ebp */
   4989     ebp = esp; /* 0x42002A01: mov ebp, esp */
   4990     eax = MEM32(ebp + 0x8); /* 0x42002A03: mov eax, dword ptr [ebp + 8] */
   4991     edx = MEM32(ebp + 0xC); /* 0x42002A06: mov edx, dword ptr [ebp + 0xc] */
   4992     MEM32(ecx + 0xC) = eax; /* 0x42002A09: mov dword ptr [ecx + 0xc], eax */
   4993     MEM32(ecx + 0x10) = edx; /* 0x42002A0C: mov dword ptr [ecx + 0x10], edx */
   4994     ebp = POP32_VAL(esp); /* 0x42002A0F: pop ebp */
   4995     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x42002A10: ret 8 */
   4996     RECOMP_REGS_OUT();
   4997 }
   4998 
   4999 void sub_42002A20(void) {
   5000     int _fpu_cmp = 0;
   5001     uint32_t _cf = 0;
   5002     int _df = 1;
   5003     uint32_t _flag_k = FK_NONE;
   5004     uint32_t _flag_a = 0, _flag_b = 0;
   5005     uint32_t _itail_tgt = 0;
   5006     RECOMP_REGS_LOCALS
   5007     RECOMP_ENTER(0x42002A20u);
   5008 
   5009 L_42002A20:
   5010     eax = MEM32(ecx + 0xC); /* 0x42002A20: mov eax, dword ptr [ecx + 0xc] */
   5011     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002A23: ret  */
   5012     RECOMP_REGS_OUT();
   5013 }
   5014 
   5015 void sub_42002A30(void) {
   5016     int _fpu_cmp = 0;
   5017     uint32_t _cf = 0;
   5018     int _df = 1;
   5019     uint32_t _flag_k = FK_NONE;
   5020     uint32_t _flag_a = 0, _flag_b = 0;
   5021     uint32_t _itail_tgt = 0;
   5022     RECOMP_REGS_LOCALS
   5023     RECOMP_ENTER(0x42002A30u);
   5024 
   5025 L_42002A30:
   5026     eax = MEM32(ecx + 0x10); /* 0x42002A30: mov eax, dword ptr [ecx + 0x10] */
   5027     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002A33: ret  */
   5028     RECOMP_REGS_OUT();
   5029 }
   5030 
   5031 void sub_42002A40(void) {
   5032     int _fpu_cmp = 0;
   5033     uint32_t _cf = 0;
   5034     int _df = 1;
   5035     uint32_t _flag_k = FK_NONE;
   5036     uint32_t _flag_a = 0, _flag_b = 0;
   5037     uint32_t _itail_tgt = 0;
   5038     RECOMP_REGS_LOCALS
   5039     RECOMP_ENTER(0x42002A40u);
   5040 
   5041 L_42002A40:
   5042     SET_LO8(eax, MEM8(ecx + 0x14)); /* 0x42002A40: mov al, byte ptr [ecx + 0x14] */
   5043     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002A43: ret  */
   5044     RECOMP_REGS_OUT();
   5045 }
   5046 
   5047 void sub_42002A50(void) {
   5048     int _fpu_cmp = 0;
   5049     uint32_t _cf = 0;
   5050     int _df = 1;
   5051     uint32_t _flag_k = FK_NONE;
   5052     uint32_t _flag_a = 0, _flag_b = 0;
   5053     uint32_t _itail_tgt = 0;
   5054     RECOMP_REGS_LOCALS
   5055     RECOMP_ENTER(0x42002A50u);
   5056 
   5057 L_42002A50:
   5058     eax = MEM32(ecx + 0x18); /* 0x42002A50: mov eax, dword ptr [ecx + 0x18] */
   5059     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002A53: ret  */
   5060     RECOMP_REGS_OUT();
   5061 }
   5062 
   5063 void sub_42002A60(void) {
   5064     int _fpu_cmp = 0;
   5065     uint32_t _cf = 0;
   5066     int _df = 1;
   5067     uint32_t _flag_k = FK_NONE;
   5068     uint32_t _flag_a = 0, _flag_b = 0;
   5069     uint32_t _itail_tgt = 0;
   5070     RECOMP_REGS_LOCALS
   5071     RECOMP_ENTER(0x42002A60u);
   5072 
   5073 L_42002A60:
   5074     PUSH32(esp, ebp); /* 0x42002A60: push ebp */
   5075     ebp = esp; /* 0x42002A61: mov ebp, esp */
   5076     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x42002A63: mov al, byte ptr [ebp + 8] */
   5077     MEM8(ecx + 0x14) = (uint8_t)(LO8(eax)); /* 0x42002A66: mov byte ptr [ecx + 0x14], al */
   5078     ebp = POP32_VAL(esp); /* 0x42002A69: pop ebp */
   5079     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002A6A: ret 4 */
   5080     RECOMP_REGS_OUT();
   5081 }
   5082 
   5083 void sub_42002A70(void) {
   5084     int _fpu_cmp = 0;
   5085     uint32_t _cf = 0;
   5086     int _df = 1;
   5087     uint32_t _flag_k = FK_NONE;
   5088     uint32_t _flag_a = 0, _flag_b = 0;
   5089     uint32_t _itail_tgt = 0;
   5090     RECOMP_REGS_LOCALS
   5091     RECOMP_ENTER(0x42002A70u);
   5092 
   5093 L_42002A70:
   5094     eax = ecx; /* 0x42002A70: mov eax, ecx */
   5095     MEM32(eax) = 0x42018120u; /* 0x42002A72: mov dword ptr [eax], 0x42018120 */
   5096     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002A78: ret 4 */
   5097     RECOMP_REGS_OUT();
   5098 }
   5099 
   5100 void sub_42002A80(void) {
   5101     int _fpu_cmp = 0;
   5102     uint32_t _cf = 0;
   5103     int _df = 1;
   5104     uint32_t _flag_k = FK_NONE;
   5105     uint32_t _flag_a = 0, _flag_b = 0;
   5106     uint32_t _itail_tgt = 0;
   5107     RECOMP_REGS_LOCALS
   5108     RECOMP_ENTER(0x42002A80u);
   5109 
   5110 L_42002A80:
   5111     PUSH32(esp, ebp); /* 0x42002A80: push ebp */
   5112     ebp = esp; /* 0x42002A81: mov ebp, esp */
   5113     eax = MEM32(ebp + 0x8); /* 0x42002A83: mov eax, dword ptr [ebp + 8] */
   5114     MEM32(0x420222EC) = eax; /* 0x42002A86: mov dword ptr [0x420222ec], eax */
   5115     ebp = POP32_VAL(esp); /* 0x42002A8B: pop ebp */
   5116     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002A8C: ret 4 */
   5117     RECOMP_REGS_OUT();
   5118 }
   5119 
   5120 void sub_42002A90(void) {
   5121     int _fpu_cmp = 0;
   5122     uint32_t _cf = 0;
   5123     int _df = 1;
   5124     uint32_t _flag_k = FK_NONE;
   5125     uint32_t _flag_a = 0, _flag_b = 0;
   5126     uint32_t _itail_tgt = 0;
   5127     RECOMP_REGS_LOCALS
   5128     RECOMP_ENTER(0x42002A90u);
   5129 
   5130 L_42002A90:
   5131     eax = 0x420222ECu; /* 0x42002A90: mov eax, 0x420222ec */
   5132     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002A95: ret  */
   5133     RECOMP_REGS_OUT();
   5134 }
   5135 
   5136 void sub_42002AA0(void) {
   5137     int _fpu_cmp = 0;
   5138     uint32_t _cf = 0;
   5139     int _df = 1;
   5140     uint32_t _flag_k = FK_NONE;
   5141     uint32_t _flag_a = 0, _flag_b = 0;
   5142     uint32_t _itail_tgt = 0;
   5143     RECOMP_REGS_LOCALS
   5144     RECOMP_ENTER(0x42002AA0u);
   5145 
   5146 L_42002AA0:
   5147     eax = ecx + 0x4; /* 0x42002AA0: lea eax, [ecx + 4] */
   5148     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002AA3: ret  */
   5149     RECOMP_REGS_OUT();
   5150 }
   5151 
   5152 void sub_42002AB0(void) {
   5153     int _fpu_cmp = 0;
   5154     uint32_t _cf = 0;
   5155     int _df = 1;
   5156     uint32_t _flag_k = FK_NONE;
   5157     uint32_t _flag_a = 0, _flag_b = 0;
   5158     uint32_t _itail_tgt = 0;
   5159     RECOMP_REGS_LOCALS
   5160     RECOMP_ENTER(0x42002AB0u);
   5161 
   5162 L_42002AB0:
   5163     eax = ecx + 0x8; /* 0x42002AB0: lea eax, [ecx + 8] */
   5164     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002AB3: ret  */
   5165     RECOMP_REGS_OUT();
   5166 }
   5167 
   5168 void sub_42002AC0(void) {
   5169     int _fpu_cmp = 0;
   5170     uint32_t _cf = 0;
   5171     int _df = 1;
   5172     uint32_t _flag_k = FK_NONE;
   5173     uint32_t _flag_a = 0, _flag_b = 0;
   5174     uint32_t _itail_tgt = 0;
   5175     RECOMP_REGS_LOCALS
   5176     RECOMP_ENTER(0x42002AC0u);
   5177 
   5178 L_42002AC0:
   5179     PUSH32(esp, ebp); /* 0x42002AC0: push ebp */
   5180     ebp = esp; /* 0x42002AC1: mov ebp, esp */
   5181     eax = MEM32(ebp + 0x8); /* 0x42002AC3: mov eax, dword ptr [ebp + 8] */
   5182     edx = MEM32(eax); /* 0x42002AC6: mov edx, dword ptr [eax] */
   5183     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   5184     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5185     ecx = ecx + 0xCu; /* 0x42002AC8: add ecx, 0xc */
   5186     _flag_k = FK_ADD;
   5187     MEM32(ecx) = edx; /* 0x42002ACB: mov dword ptr [ecx], edx */
   5188     edx = MEM32(eax + 0x4); /* 0x42002ACD: mov edx, dword ptr [eax + 4] */
   5189     MEM32(ecx + 0x4) = edx; /* 0x42002AD0: mov dword ptr [ecx + 4], edx */
   5190     eax = MEM32(eax + 0x8); /* 0x42002AD3: mov eax, dword ptr [eax + 8] */
   5191     MEM32(ecx + 0x8) = eax; /* 0x42002AD6: mov dword ptr [ecx + 8], eax */
   5192     ebp = POP32_VAL(esp); /* 0x42002AD9: pop ebp */
   5193     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002ADA: ret 4 */
   5194     RECOMP_REGS_OUT();
   5195 }
   5196 
   5197 void sub_42002AE0(void) {
   5198     int _fpu_cmp = 0;
   5199     uint32_t _cf = 0;
   5200     int _df = 1;
   5201     uint32_t _flag_k = FK_NONE;
   5202     uint32_t _flag_a = 0, _flag_b = 0;
   5203     uint32_t _itail_tgt = 0;
   5204     RECOMP_REGS_LOCALS
   5205     RECOMP_ENTER(0x42002AE0u);
   5206 
   5207 L_42002AE0:
   5208     PUSH32(esp, ebp); /* 0x42002AE0: push ebp */
   5209     ebp = esp; /* 0x42002AE1: mov ebp, esp */
   5210     eax = ecx; /* 0x42002AE3: mov eax, ecx */
   5211     ecx = MEM32(ebp + 0x8); /* 0x42002AE5: mov ecx, dword ptr [ebp + 8] */
   5212     MEM32(eax) = 0x42018120u; /* 0x42002AE8: mov dword ptr [eax], 0x42018120 */
   5213     edx = MEM32(ecx + 0x4); /* 0x42002AEE: mov edx, dword ptr [ecx + 4] */
   5214     MEM32(eax + 0x4) = edx; /* 0x42002AF1: mov dword ptr [eax + 4], edx */
   5215     edx = MEM32(ecx + 0x8); /* 0x42002AF4: mov edx, dword ptr [ecx + 8] */
   5216     MEM32(eax + 0x8) = edx; /* 0x42002AF7: mov dword ptr [eax + 8], edx */
   5217     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   5218     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5219     ecx = ecx + 0xCu; /* 0x42002AFA: add ecx, 0xc */
   5220     _flag_k = FK_ADD;
   5221     PUSH32(esp, esi); /* 0x42002AFD: push esi */
   5222     esi = MEM32(ecx); /* 0x42002AFE: mov esi, dword ptr [ecx] */
   5223     edx = eax + 0xC; /* 0x42002B00: lea edx, [eax + 0xc] */
   5224     MEM32(edx) = esi; /* 0x42002B03: mov dword ptr [edx], esi */
   5225     esi = MEM32(ecx + 0x4); /* 0x42002B05: mov esi, dword ptr [ecx + 4] */
   5226     MEM32(edx + 0x4) = esi; /* 0x42002B08: mov dword ptr [edx + 4], esi */
   5227     ecx = MEM32(ecx + 0x8); /* 0x42002B0B: mov ecx, dword ptr [ecx + 8] */
   5228     MEM32(edx + 0x8) = ecx; /* 0x42002B0E: mov dword ptr [edx + 8], ecx */
   5229     MEM32(eax) = 0x42018128u; /* 0x42002B11: mov dword ptr [eax], 0x42018128 */
   5230     esi = POP32_VAL(esp); /* 0x42002B17: pop esi */
   5231     ebp = POP32_VAL(esp); /* 0x42002B18: pop ebp */
   5232     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002B19: ret 4 */
   5233     RECOMP_REGS_OUT();
   5234 }
   5235 
   5236 void sub_42002B20(void) {
   5237     int _fpu_cmp = 0;
   5238     uint32_t _cf = 0;
   5239     int _df = 1;
   5240     uint32_t _flag_k = FK_NONE;
   5241     uint32_t _flag_a = 0, _flag_b = 0;
   5242     uint32_t _itail_tgt = 0;
   5243     RECOMP_REGS_LOCALS
   5244     RECOMP_ENTER(0x42002B20u);
   5245 
   5246 L_42002B20:
   5247     PUSH32(esp, ebp); /* 0x42002B20: push ebp */
   5248     ebp = esp; /* 0x42002B21: mov ebp, esp */
   5249     eax = ecx; /* 0x42002B23: mov eax, ecx */
   5250     ecx = MEM32(ebp + 0x8); /* 0x42002B25: mov ecx, dword ptr [ebp + 8] */
   5251     edx = MEM32(ecx + 0x4); /* 0x42002B28: mov edx, dword ptr [ecx + 4] */
   5252     MEM32(eax + 0x4) = edx; /* 0x42002B2B: mov dword ptr [eax + 4], edx */
   5253     edx = MEM32(ecx + 0x8); /* 0x42002B2E: mov edx, dword ptr [ecx + 8] */
   5254     MEM32(eax + 0x8) = edx; /* 0x42002B31: mov dword ptr [eax + 8], edx */
   5255     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   5256     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5257     ecx = ecx + 0xCu; /* 0x42002B34: add ecx, 0xc */
   5258     _flag_k = FK_ADD;
   5259     PUSH32(esp, esi); /* 0x42002B37: push esi */
   5260     esi = MEM32(ecx); /* 0x42002B38: mov esi, dword ptr [ecx] */
   5261     edx = eax + 0xC; /* 0x42002B3A: lea edx, [eax + 0xc] */
   5262     MEM32(edx) = esi; /* 0x42002B3D: mov dword ptr [edx], esi */
   5263     esi = MEM32(ecx + 0x4); /* 0x42002B3F: mov esi, dword ptr [ecx + 4] */
   5264     MEM32(edx + 0x4) = esi; /* 0x42002B42: mov dword ptr [edx + 4], esi */
   5265     ecx = MEM32(ecx + 0x8); /* 0x42002B45: mov ecx, dword ptr [ecx + 8] */
   5266     MEM32(edx + 0x8) = ecx; /* 0x42002B48: mov dword ptr [edx + 8], ecx */
   5267     esi = POP32_VAL(esp); /* 0x42002B4B: pop esi */
   5268     ebp = POP32_VAL(esp); /* 0x42002B4C: pop ebp */
   5269     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002B4D: ret 4 */
   5270     RECOMP_REGS_OUT();
   5271 }
   5272 
   5273 void sub_42002B50(void) {
   5274     int _fpu_cmp = 0;
   5275     uint32_t _cf = 0;
   5276     int _df = 1;
   5277     uint32_t _flag_k = FK_NONE;
   5278     uint32_t _flag_a = 0, _flag_b = 0;
   5279     uint32_t _itail_tgt = 0;
   5280     RECOMP_REGS_LOCALS
   5281     RECOMP_ENTER(0x42002B50u);
   5282 
   5283 L_42002B50:
   5284     PUSH32(esp, ebp); /* 0x42002B50: push ebp */
   5285     ebp = esp; /* 0x42002B51: mov ebp, esp */
   5286     PUSH32(esp, ebx); /* 0x42002B53: push ebx */
   5287     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x42002B54: mov bl, byte ptr [ebp + 8] */
   5288     /* test LO8(ebx), 2 */ /* 0x42002B57: test bl, 2 */
   5289     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   5290     _cf = 0;
   5291     _flag_k = FK_NARROW(FK_TEST, 24);
   5292     PUSH32(esp, esi); /* 0x42002B5A: push esi */
   5293     esi = ecx; /* 0x42002B5B: mov esi, ecx */
   5294     if (TEST_Z(_flag_a, _flag_b)) goto L_42002B8B; /* 0x42002B5D: je 0x42002b8b */
   5295 L_42002B5F:
   5296     eax = MEM32(esi + (-0x4)); /* 0x42002B5F: mov eax, dword ptr [esi - 4] */
   5297     PUSH32(esp, edi); /* 0x42002B62: push edi */
   5298     PUSH32(esp, 0x420063C0u); /* 0x42002B63: push 0x420063c0 */
   5299     edi = esi + (-0x4); /* 0x42002B68: lea edi, [esi - 4] */
   5300     PUSH32(esp, eax); /* 0x42002B6B: push eax */
   5301     PUSH32(esp, 0x18u); /* 0x42002B6C: push 0x18 */
   5302     PUSH32(esp, esi); /* 0x42002B6E: push esi */
   5303     RECOMP_ICALL(0x42016E3Cu); /* 0x42002B6F: call 0x42016e3c */ /* not lifted */
   5304     RECOMP_FLAGS_IN();
   5305     /* test LO8(ebx), 1 */ /* 0x42002B74: test bl, 1 */
   5306     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5307     _cf = 0;
   5308     _flag_k = FK_NARROW(FK_TEST, 24);
   5309     if (TEST_Z(_flag_a, _flag_b)) goto L_42002B82; /* 0x42002B77: je 0x42002b82 */
   5310 L_42002B79:
   5311     PUSH32(esp, edi); /* 0x42002B79: push edi */
   5312     RECOMP_ICALL(0x42016DD0u); /* 0x42002B7A: call 0x42016dd0 */ /* not lifted */
   5313     RECOMP_FLAGS_IN();
   5314     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5315     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5316     esp = esp + 4; /* 0x42002B7F: add esp, 4 */
   5317     _flag_k = FK_ADD;
   5318 L_42002B82:
   5319     eax = edi; /* 0x42002B82: mov eax, edi */
   5320     edi = POP32_VAL(esp); /* 0x42002B84: pop edi */
   5321     esi = POP32_VAL(esp); /* 0x42002B85: pop esi */
   5322     ebx = POP32_VAL(esp); /* 0x42002B86: pop ebx */
   5323     ebp = POP32_VAL(esp); /* 0x42002B87: pop ebp */
   5324     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002B88: ret 4 */
   5325 L_42002B8B:
   5326     ecx = esi; /* 0x42002B8B: mov ecx, esi */
   5327     RECOMP_ICALL(0x420063C0u); /* 0x42002B8D: call 0x420063c0 */ /* not lifted */
   5328     RECOMP_FLAGS_IN();
   5329     /* test LO8(ebx), 1 */ /* 0x42002B92: test bl, 1 */
   5330     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   5331     _cf = 0;
   5332     _flag_k = FK_NARROW(FK_TEST, 24);
   5333     if (TEST_Z(_flag_a, _flag_b)) goto L_42002BA0; /* 0x42002B95: je 0x42002ba0 */
   5334 L_42002B97:
   5335     PUSH32(esp, esi); /* 0x42002B97: push esi */
   5336     RECOMP_ICALL(0x42016DD0u); /* 0x42002B98: call 0x42016dd0 */ /* not lifted */
   5337     RECOMP_FLAGS_IN();
   5338     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5339     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5340     esp = esp + 4; /* 0x42002B9D: add esp, 4 */
   5341     _flag_k = FK_ADD;
   5342 L_42002BA0:
   5343     eax = esi; /* 0x42002BA0: mov eax, esi */
   5344     esi = POP32_VAL(esp); /* 0x42002BA2: pop esi */
   5345     ebx = POP32_VAL(esp); /* 0x42002BA3: pop ebx */
   5346     ebp = POP32_VAL(esp); /* 0x42002BA4: pop ebp */
   5347     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x42002BA5: ret 4 */
   5348     RECOMP_REGS_OUT();
   5349 }
   5350 
   5351 void sub_42002BB0(void) {
   5352     int _fpu_cmp = 0;
   5353     uint32_t _cf = 0;
   5354     int _df = 1;
   5355     uint32_t _flag_k = FK_NONE;
   5356     uint32_t _flag_a = 0, _flag_b = 0;
   5357     uint32_t _itail_tgt = 0;
   5358     RECOMP_REGS_LOCALS
   5359     RECOMP_ENTER(0x42002BB0u);
   5360 
   5361 L_42002BB0:
   5362     goto L_42011200; /* 0x42002BB0: jmp 0x42011200 */
   5363 L_42011200:
   5364     eax = MEM32(ecx + 0x28); /* 0x42011200: mov eax, dword ptr [ecx + 0x28] */
   5365     /* test eax, eax */ /* 0x42011203: test eax, eax */
   5366     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5367     _cf = 0;
   5368     _flag_k = FK_TEST;
   5369     eax = ecx + 0x54; /* 0x42011205: lea eax, [ecx + 0x54] */
   5370     if (TEST_Z(_flag_a, _flag_b)) goto L_42011210; /* 0x42011208: je 0x42011210 */
   5371 L_4201120A:
   5372     eax = ecx + 0xE8; /* 0x4201120A: lea eax, [ecx + 0xe8] */
   5373 L_42011210:
   5374     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42011210: ret  */
   5375     RECOMP_REGS_OUT();
   5376 }
   5377 
   5378 void sub_42002BC0(void) {
   5379     int _fpu_cmp = 0;
   5380     uint32_t _cf = 0;
   5381     int _df = 1;
   5382     uint32_t _flag_k = FK_NONE;
   5383     uint32_t _flag_a = 0, _flag_b = 0;
   5384     uint32_t _itail_tgt = 0;
   5385     RECOMP_REGS_LOCALS
   5386     RECOMP_ENTER(0x42002BC0u);
   5387 
   5388 L_42002BC0:
   5389     eax = ecx + 0x54; /* 0x42002BC0: lea eax, [ecx + 0x54] */
   5390     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002BC3: ret  */
   5391     RECOMP_REGS_OUT();
   5392 }
   5393 
   5394 void sub_42002BD0(void) {
   5395     int _fpu_cmp = 0;
   5396     uint32_t _cf = 0;
   5397     int _df = 1;
   5398     uint32_t _flag_k = FK_NONE;
   5399     uint32_t _flag_a = 0, _flag_b = 0;
   5400     uint32_t _itail_tgt = 0;
   5401     RECOMP_REGS_LOCALS
   5402     RECOMP_ENTER(0x42002BD0u);
   5403 
   5404 L_42002BD0:
   5405     eax = ecx + 0x60; /* 0x42002BD0: lea eax, [ecx + 0x60] */
   5406     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002BD3: ret  */
   5407     RECOMP_REGS_OUT();
   5408 }
   5409 
   5410 void sub_42002BE0(void) {
   5411     int _fpu_cmp = 0;
   5412     uint32_t _cf = 0;
   5413     int _df = 1;
   5414     uint32_t _flag_k = FK_NONE;
   5415     uint32_t _flag_a = 0, _flag_b = 0;
   5416     uint32_t _itail_tgt = 0;
   5417     RECOMP_REGS_LOCALS
   5418     RECOMP_ENTER(0x42002BE0u);
   5419 
   5420 L_42002BE0:
   5421     fp_push(*(float*)&MEM32(ecx + 0x30)); /* 0x42002BE0: fld dword ptr [ecx + 0x30] */
   5422     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002BE3: ret  */
   5423     RECOMP_REGS_OUT();
   5424 }
   5425 
   5426 void sub_42002BF0(void) {
   5427     int _fpu_cmp = 0;
   5428     uint32_t _cf = 0;
   5429     int _df = 1;
   5430     uint32_t _flag_k = FK_NONE;
   5431     uint32_t _flag_a = 0, _flag_b = 0;
   5432     uint32_t _itail_tgt = 0;
   5433     RECOMP_REGS_LOCALS
   5434     RECOMP_ENTER(0x42002BF0u);
   5435 
   5436 L_42002BF0:
   5437     fp_push(*(float*)&MEM32(ecx + 0x3C)); /* 0x42002BF0: fld dword ptr [ecx + 0x3c] */
   5438     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002BF3: ret  */
   5439     RECOMP_REGS_OUT();
   5440 }
   5441 
   5442 void sub_42002C00(void) {
   5443     int _fpu_cmp = 0;
   5444     uint32_t _cf = 0;
   5445     int _df = 1;
   5446     uint32_t _flag_k = FK_NONE;
   5447     uint32_t _flag_a = 0, _flag_b = 0;
   5448     uint32_t _itail_tgt = 0;
   5449     RECOMP_REGS_LOCALS
   5450     RECOMP_ENTER(0x42002C00u);
   5451 
   5452 L_42002C00:
   5453     fp_push(*(float*)&MEM32(ecx + 0xD8)); /* 0x42002C00: fld dword ptr [ecx + 0xd8] */
   5454     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002C06: ret  */
   5455     RECOMP_REGS_OUT();
   5456 }
   5457 
   5458 void sub_42002C10(void) {
   5459     int _fpu_cmp = 0;
   5460     uint32_t _cf = 0;
   5461     int _df = 1;
   5462     uint32_t _flag_k = FK_NONE;
   5463     uint32_t _flag_a = 0, _flag_b = 0;
   5464     uint32_t _itail_tgt = 0;
   5465     RECOMP_REGS_LOCALS
   5466     RECOMP_ENTER(0x42002C10u);
   5467 
   5468 L_42002C10:
   5469     fp_push(*(float*)&MEM32(ecx + 0x38)); /* 0x42002C10: fld dword ptr [ecx + 0x38] */
   5470     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002C13: ret  */
   5471     RECOMP_REGS_OUT();
   5472 }
   5473 
   5474 void sub_42002C20(void) {
   5475     int _fpu_cmp = 0;
   5476     uint32_t _cf = 0;
   5477     int _df = 1;
   5478     uint32_t _flag_k = FK_NONE;
   5479     uint32_t _flag_a = 0, _flag_b = 0;
   5480     uint32_t _itail_tgt = 0;
   5481     RECOMP_REGS_LOCALS
   5482     RECOMP_ENTER(0x42002C20u);
   5483 
   5484 L_42002C20:
   5485     fp_push(*(float*)&MEM32(ecx + 0x34)); /* 0x42002C20: fld dword ptr [ecx + 0x34] */
   5486     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x42002C23: ret  */
   5487     RECOMP_REGS_OUT();
   5488 }