aorecomp

Anarchy Online classic in the browser

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


client/vendor/msvcp60/source/lifted-0033.c (146025B)


      1 #define RECOMP_GENERATED_CODE
      2 #include "recomp_types.h"
      3 
      4 void sub_46028479(void) {
      5     int _fpu_cmp = 0;
      6     uint32_t _cf = 0;
      7     int _df = 1;
      8     uint32_t _flag_k = FK_NONE;
      9     uint32_t _flag_a = 0, _flag_b = 0;
     10     uint32_t _itail_tgt = 0;
     11     RECOMP_REGS_LOCALS
     12     RECOMP_ENTER(0x46028479u);
     13 
     14     goto L_46028479;
     15 L_46001C9F:
     16     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
     17     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
     18     ecx = eax; /* 0x46001CA3: mov ecx, eax */
     19     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
     20     RECOMP_FLAGS_IN();
     21     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
     22 L_46001CAE:
     23     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
     24     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
     25     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
     26     _cf = 0;
     27     _flag_k = FK_TEST;
     28     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
     29 L_46001CB4:
     30     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
     31     RECOMP_FLAGS_IN();
     32     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
     33     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     34     _cf = 0;
     35     _flag_k = FK_TEST;
     36     RECOMP_BACKEDGE();
     37     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
     38 L_46001CBD:
     39     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
     40 L_46028479:
     41     ecx = ebp + (-0x18); /* 0x46028479: lea ecx, [ebp - 0x18] */
     42     RECOMP_BACKEDGE();
     43     goto L_46001CAE; /* 0x4602847C: jmp 0x46001cae */
     44     { RECOMP_REGS_OUT(); return; } /* end of function */
     45     RECOMP_REGS_OUT();
     46 }
     47 
     48 void sub_46028481(void) {
     49     int _fpu_cmp = 0;
     50     uint32_t _cf = 0;
     51     int _df = 1;
     52     uint32_t _flag_k = FK_NONE;
     53     uint32_t _flag_a = 0, _flag_b = 0;
     54     uint32_t _itail_tgt = 0;
     55     RECOMP_REGS_LOCALS
     56     RECOMP_ENTER(0x46028481u);
     57 
     58     goto L_46028481;
     59 L_46028258:
     60     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
     61 L_46028481:
     62     eax = 0x4602E1F8u; /* 0x46028481: mov eax, 0x4602e1f8 */
     63 L_46028486:
     64     RECOMP_BACKEDGE();
     65     goto L_46028258; /* 0x46028486: jmp 0x46028258 */
     66     { RECOMP_REGS_OUT(); return; } /* end of function */
     67   _ljump:
     68     switch (_itail_tgt) {
     69       case 0x46028258u: goto L_46028258;
     70       case 0x46028481u: goto L_46028481;
     71       case 0x46028486u: goto L_46028486;
     72       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     73     }
     74     RECOMP_REGS_OUT();
     75 }
     76 
     77 void sub_4602848B(void) {
     78     int _fpu_cmp = 0;
     79     uint32_t _cf = 0;
     80     int _df = 1;
     81     uint32_t _flag_k = FK_NONE;
     82     uint32_t _flag_a = 0, _flag_b = 0;
     83     uint32_t _itail_tgt = 0;
     84     RECOMP_REGS_LOCALS
     85     RECOMP_ENTER(0x4602848Bu);
     86 
     87     goto L_4602848B;
     88 L_46002DC1:
     89     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
     90     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
     91     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
     92     RECOMP_FLAGS_IN();
     93     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
     94     PUSH32(esp, esi); /* 0x46002DD2: push esi */
     95     esi = ecx; /* 0x46002DD3: mov esi, ecx */
     96     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
     97     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
     98     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
     99     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    100     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    101     _cf = 0;
    102     _flag_k = FK_TEST;
    103     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    104     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    105     _cf = 0;
    106     _flag_k = FK_TEST;
    107     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    108 L_46002DE9:
    109     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    110     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    111     _flag_k = FK_NARROW(FK_DEC, 24);
    112     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    113     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    114     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    115     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    116     _flag_k = FK_NARROW(FK_CMP, 24);
    117     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    118 L_46002DFB:
    119     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    120     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    121     RECOMP_FLAGS_IN();
    122     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    123     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    124     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    125     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    126     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    127 L_46002E10:
    128     ecx = esi; /* 0x46002E10: mov ecx, esi */
    129     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    130     RECOMP_FLAGS_IN();
    131     RECOMP_BACKEDGE();
    132     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    133 L_4602848B:
    134     eax = MEM32(ebp + (-0x10)); /* 0x4602848B: mov eax, dword ptr [ebp - 0x10] */
    135     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    136     eax = eax & 1; /* 0x4602848E: and eax, 1 */
    137     _cf = 0;
    138     _flag_k = FK_TEST;
    139     /* test eax, eax */ /* 0x46028491: test eax, eax */
    140     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    141     _cf = 0;
    142     _flag_k = FK_TEST;
    143     if (TEST_Z(_flag_a, _flag_b)) goto L_460284A0; /* 0x46028493: je 0x460284a0 */
    144 L_46028495:
    145     ecx = MEM32(ebp + (-0x14)); /* 0x46028495: mov ecx, dword ptr [ebp - 0x14] */
    146     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x54u);
    147     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    148     ecx = ecx + 0x54u; /* 0x46028498: add ecx, 0x54 */
    149     _flag_k = FK_ADD;
    150     RECOMP_BACKEDGE();
    151     goto L_46002DC1; /* 0x4602849B: jmp 0x46002dc1 */
    152 L_460284A0:
    153     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460284A0: ret  */
    154     RECOMP_REGS_OUT();
    155 }
    156 
    157 void sub_460284A1(void) {
    158     int _fpu_cmp = 0;
    159     uint32_t _cf = 0;
    160     int _df = 1;
    161     uint32_t _flag_k = FK_NONE;
    162     uint32_t _flag_a = 0, _flag_b = 0;
    163     uint32_t _itail_tgt = 0;
    164     RECOMP_REGS_LOCALS
    165     RECOMP_ENTER(0x460284A1u);
    166 
    167     goto L_460284A1;
    168 L_46028419:
    169     eax = MEM32(ecx + (-0x8)); /* 0x46028419: mov eax, dword ptr [ecx - 8] */
    170     eax = MEM32(eax + 0x4); /* 0x4602841C: mov eax, dword ptr [eax + 4] */
    171     MEM32(eax + ecx + (-0x8)) = 0x4602B258u; /* 0x4602841F: mov dword ptr [eax + ecx - 8], 0x4602b258 */
    172     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028427: ret  */
    173 L_460284A1:
    174     ecx = MEM32(ebp + (-0x14)); /* 0x460284A1: mov ecx, dword ptr [ebp - 0x14] */
    175     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
    176     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    177     ecx = ecx + 8; /* 0x460284A4: add ecx, 8 */
    178     _flag_k = FK_ADD;
    179     RECOMP_BACKEDGE();
    180     goto L_46028419; /* 0x460284A7: jmp 0x46028419 */
    181     { RECOMP_REGS_OUT(); return; } /* end of function */
    182     RECOMP_REGS_OUT();
    183 }
    184 
    185 void sub_460284AC(void) {
    186     int _fpu_cmp = 0;
    187     uint32_t _cf = 0;
    188     int _df = 1;
    189     uint32_t _flag_k = FK_NONE;
    190     uint32_t _flag_a = 0, _flag_b = 0;
    191     uint32_t _itail_tgt = 0;
    192     RECOMP_REGS_LOCALS
    193     RECOMP_ENTER(0x460284ACu);
    194 
    195     goto L_460284AC;
    196 L_46028258:
    197     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    198 L_460284AC:
    199     eax = 0x4602E258u; /* 0x460284AC: mov eax, 0x4602e258 */
    200 L_460284B1:
    201     RECOMP_BACKEDGE();
    202     goto L_46028258; /* 0x460284B1: jmp 0x46028258 */
    203     { RECOMP_REGS_OUT(); return; } /* end of function */
    204   _ljump:
    205     switch (_itail_tgt) {
    206       case 0x46028258u: goto L_46028258;
    207       case 0x460284ACu: goto L_460284AC;
    208       case 0x460284B1u: goto L_460284B1;
    209       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    210     }
    211     RECOMP_REGS_OUT();
    212 }
    213 
    214 void sub_460284B6(void) {
    215     int _fpu_cmp = 0;
    216     uint32_t _cf = 0;
    217     int _df = 1;
    218     uint32_t _flag_k = FK_NONE;
    219     uint32_t _flag_a = 0, _flag_b = 0;
    220     uint32_t _itail_tgt = 0;
    221     RECOMP_REGS_LOCALS
    222     RECOMP_ENTER(0x460284B6u);
    223 
    224     goto L_460284B6;
    225 L_46002DA4:
    226     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
    227     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
    228 L_46002DC7:
    229     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    230     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    231     RECOMP_FLAGS_IN();
    232     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    233     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    234     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    235     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    236     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    237     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    238     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    239     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    240     _cf = 0;
    241     _flag_k = FK_TEST;
    242     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    243     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    244     _cf = 0;
    245     _flag_k = FK_TEST;
    246     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    247 L_46002DE9:
    248     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    249     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    250     _flag_k = FK_NARROW(FK_DEC, 24);
    251     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    252     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    253     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    254     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    255     _flag_k = FK_NARROW(FK_CMP, 24);
    256     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    257 L_46002DFB:
    258     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    259     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    260     RECOMP_FLAGS_IN();
    261     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    262     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    263     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    264     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    265     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    266 L_46002E10:
    267     ecx = esi; /* 0x46002E10: mov ecx, esi */
    268     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    269     RECOMP_FLAGS_IN();
    270     RECOMP_BACKEDGE();
    271     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    272 L_460284B6:
    273     eax = MEM32(ebp + (-0x10)); /* 0x460284B6: mov eax, dword ptr [ebp - 0x10] */
    274     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    275     eax = eax & 1; /* 0x460284B9: and eax, 1 */
    276     _cf = 0;
    277     _flag_k = FK_TEST;
    278     /* test eax, eax */ /* 0x460284BC: test eax, eax */
    279     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    280     _cf = 0;
    281     _flag_k = FK_TEST;
    282     if (TEST_Z(_flag_a, _flag_b)) goto L_460284CB; /* 0x460284BE: je 0x460284cb */
    283 L_460284C0:
    284     ecx = MEM32(ebp + (-0x14)); /* 0x460284C0: mov ecx, dword ptr [ebp - 0x14] */
    285     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x54u);
    286     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    287     ecx = ecx + 0x54u; /* 0x460284C3: add ecx, 0x54 */
    288     _flag_k = FK_ADD;
    289     RECOMP_BACKEDGE();
    290     goto L_46002DA4; /* 0x460284C6: jmp 0x46002da4 */
    291 L_460284CB:
    292     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460284CB: ret  */
    293     RECOMP_REGS_OUT();
    294 }
    295 
    296 void sub_460284CC(void) {
    297     int _fpu_cmp = 0;
    298     uint32_t _cf = 0;
    299     int _df = 1;
    300     uint32_t _flag_k = FK_NONE;
    301     uint32_t _flag_a = 0, _flag_b = 0;
    302     uint32_t _itail_tgt = 0;
    303     RECOMP_REGS_LOCALS
    304     RECOMP_ENTER(0x460284CCu);
    305 
    306     goto L_460284CC;
    307 L_4602844E:
    308     eax = MEM32(ecx + (-0x8)); /* 0x4602844E: mov eax, dword ptr [ecx - 8] */
    309     eax = MEM32(eax + 0x4); /* 0x46028451: mov eax, dword ptr [eax + 4] */
    310     MEM32(eax + ecx + (-0x8)) = 0x4602B5D8u; /* 0x46028454: mov dword ptr [eax + ecx - 8], 0x4602b5d8 */
    311     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602845C: ret  */
    312 L_460284CC:
    313     ecx = MEM32(ebp + (-0x14)); /* 0x460284CC: mov ecx, dword ptr [ebp - 0x14] */
    314     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
    315     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    316     ecx = ecx + 8; /* 0x460284CF: add ecx, 8 */
    317     _flag_k = FK_ADD;
    318     RECOMP_BACKEDGE();
    319     goto L_4602844E; /* 0x460284D2: jmp 0x4602844e */
    320     { RECOMP_REGS_OUT(); return; } /* end of function */
    321     RECOMP_REGS_OUT();
    322 }
    323 
    324 void sub_460284D7(void) {
    325     int _fpu_cmp = 0;
    326     uint32_t _cf = 0;
    327     int _df = 1;
    328     uint32_t _flag_k = FK_NONE;
    329     uint32_t _flag_a = 0, _flag_b = 0;
    330     uint32_t _itail_tgt = 0;
    331     RECOMP_REGS_LOCALS
    332     RECOMP_ENTER(0x460284D7u);
    333 
    334     goto L_460284D7;
    335 L_46028258:
    336     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    337 L_460284D7:
    338     eax = 0x4602E288u; /* 0x460284D7: mov eax, 0x4602e288 */
    339 L_460284DC:
    340     RECOMP_BACKEDGE();
    341     goto L_46028258; /* 0x460284DC: jmp 0x46028258 */
    342     { RECOMP_REGS_OUT(); return; } /* end of function */
    343   _ljump:
    344     switch (_itail_tgt) {
    345       case 0x46028258u: goto L_46028258;
    346       case 0x460284D7u: goto L_460284D7;
    347       case 0x460284DCu: goto L_460284DC;
    348       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    349     }
    350     RECOMP_REGS_OUT();
    351 }
    352 
    353 void sub_460284E1(void) {
    354     int _fpu_cmp = 0;
    355     uint32_t _cf = 0;
    356     int _df = 1;
    357     uint32_t _flag_k = FK_NONE;
    358     uint32_t _flag_a = 0, _flag_b = 0;
    359     uint32_t _itail_tgt = 0;
    360     RECOMP_REGS_LOCALS
    361     RECOMP_ENTER(0x460284E1u);
    362 
    363     goto L_460284E1;
    364 L_46002DC1:
    365     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
    366     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    367     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    368     RECOMP_FLAGS_IN();
    369     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    370     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    371     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    372     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    373     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    374     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    375     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    376     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    377     _cf = 0;
    378     _flag_k = FK_TEST;
    379     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    381     _cf = 0;
    382     _flag_k = FK_TEST;
    383     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    384 L_46002DE9:
    385     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    386     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    387     _flag_k = FK_NARROW(FK_DEC, 24);
    388     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    389     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    390     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    391     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    392     _flag_k = FK_NARROW(FK_CMP, 24);
    393     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    394 L_46002DFB:
    395     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    396     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    397     RECOMP_FLAGS_IN();
    398     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    399     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    400     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    401     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    402     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    403 L_46002E10:
    404     ecx = esi; /* 0x46002E10: mov ecx, esi */
    405     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    406     RECOMP_FLAGS_IN();
    407     RECOMP_BACKEDGE();
    408     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    409 L_460284E1:
    410     eax = MEM32(ebp + (-0x10)); /* 0x460284E1: mov eax, dword ptr [ebp - 0x10] */
    411     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    412     eax = eax & 1; /* 0x460284E4: and eax, 1 */
    413     _cf = 0;
    414     _flag_k = FK_TEST;
    415     /* test eax, eax */ /* 0x460284E7: test eax, eax */
    416     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    417     _cf = 0;
    418     _flag_k = FK_TEST;
    419     if (TEST_Z(_flag_a, _flag_b)) goto L_460284F6; /* 0x460284E9: je 0x460284f6 */
    420 L_460284EB:
    421     ecx = MEM32(ebp + (-0x14)); /* 0x460284EB: mov ecx, dword ptr [ebp - 0x14] */
    422     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
    423     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    424     ecx = ecx + 0x50u; /* 0x460284EE: add ecx, 0x50 */
    425     _flag_k = FK_ADD;
    426     RECOMP_BACKEDGE();
    427     goto L_46002DC1; /* 0x460284F1: jmp 0x46002dc1 */
    428 L_460284F6:
    429     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460284F6: ret  */
    430     RECOMP_REGS_OUT();
    431 }
    432 
    433 void sub_460284F7(void) {
    434     int _fpu_cmp = 0;
    435     uint32_t _cf = 0;
    436     int _df = 1;
    437     uint32_t _flag_k = FK_NONE;
    438     uint32_t _flag_a = 0, _flag_b = 0;
    439     uint32_t _itail_tgt = 0;
    440     RECOMP_REGS_LOCALS
    441     RECOMP_ENTER(0x460284F7u);
    442 
    443 L_460284F7:
    444     ecx = MEM32(ebp + (-0x14)); /* 0x460284F7: mov ecx, dword ptr [ebp - 0x14] */
    445     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
    446     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    447     ecx = ecx + 4; /* 0x460284FA: add ecx, 4 */
    448     _flag_k = FK_ADD;
    449     eax = MEM32(ecx + (-0x4)); /* 0x460284FD: mov eax, dword ptr [ecx - 4] */
    450     eax = MEM32(eax + 0x4); /* 0x46028500: mov eax, dword ptr [eax + 4] */
    451     MEM32(eax + ecx + (-0x4)) = 0x4602B358u; /* 0x46028503: mov dword ptr [eax + ecx - 4], 0x4602b358 */
    452     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602850B: ret  */
    453     RECOMP_REGS_OUT();
    454 }
    455 
    456 void sub_460284FD(void) {
    457     int _fpu_cmp = 0;
    458     uint32_t _cf = 0;
    459     int _df = 1;
    460     uint32_t _flag_k = FK_NONE;
    461     uint32_t _flag_a = 0, _flag_b = 0;
    462     uint32_t _itail_tgt = 0;
    463     RECOMP_REGS_LOCALS
    464     RECOMP_ENTER(0x460284FDu);
    465 
    466 L_460284FD:
    467     eax = MEM32(ecx + (-0x4)); /* 0x460284FD: mov eax, dword ptr [ecx - 4] */
    468     eax = MEM32(eax + 0x4); /* 0x46028500: mov eax, dword ptr [eax + 4] */
    469     MEM32(eax + ecx + (-0x4)) = 0x4602B358u; /* 0x46028503: mov dword ptr [eax + ecx - 4], 0x4602b358 */
    470     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602850B: ret  */
    471     RECOMP_REGS_OUT();
    472 }
    473 
    474 void sub_4602850C(void) {
    475     int _fpu_cmp = 0;
    476     uint32_t _cf = 0;
    477     int _df = 1;
    478     uint32_t _flag_k = FK_NONE;
    479     uint32_t _flag_a = 0, _flag_b = 0;
    480     uint32_t _itail_tgt = 0;
    481     RECOMP_REGS_LOCALS
    482     RECOMP_ENTER(0x4602850Cu);
    483 
    484     goto L_4602850C;
    485 L_46028258:
    486     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    487 L_4602850C:
    488     eax = 0x4602E2B8u; /* 0x4602850C: mov eax, 0x4602e2b8 */
    489 L_46028511:
    490     RECOMP_BACKEDGE();
    491     goto L_46028258; /* 0x46028511: jmp 0x46028258 */
    492     { RECOMP_REGS_OUT(); return; } /* end of function */
    493   _ljump:
    494     switch (_itail_tgt) {
    495       case 0x46028258u: goto L_46028258;
    496       case 0x4602850Cu: goto L_4602850C;
    497       case 0x46028511u: goto L_46028511;
    498       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    499     }
    500     RECOMP_REGS_OUT();
    501 }
    502 
    503 void sub_46028516(void) {
    504     int _fpu_cmp = 0;
    505     uint32_t _cf = 0;
    506     int _df = 1;
    507     uint32_t _flag_k = FK_NONE;
    508     uint32_t _flag_a = 0, _flag_b = 0;
    509     uint32_t _itail_tgt = 0;
    510     RECOMP_REGS_LOCALS
    511     RECOMP_ENTER(0x46028516u);
    512 
    513     goto L_46028516;
    514 L_46002DA4:
    515     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
    516     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
    517 L_46002DC7:
    518     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    519     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    520     RECOMP_FLAGS_IN();
    521     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    522     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    523     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    524     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    525     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    526     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    527     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    528     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    529     _cf = 0;
    530     _flag_k = FK_TEST;
    531     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    532     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    533     _cf = 0;
    534     _flag_k = FK_TEST;
    535     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    536 L_46002DE9:
    537     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    538     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    539     _flag_k = FK_NARROW(FK_DEC, 24);
    540     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    541     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    542     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    543     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    544     _flag_k = FK_NARROW(FK_CMP, 24);
    545     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    546 L_46002DFB:
    547     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    548     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    549     RECOMP_FLAGS_IN();
    550     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    551     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    552     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    553     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    554     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    555 L_46002E10:
    556     ecx = esi; /* 0x46002E10: mov ecx, esi */
    557     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    558     RECOMP_FLAGS_IN();
    559     RECOMP_BACKEDGE();
    560     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    561 L_46028516:
    562     eax = MEM32(ebp + (-0x10)); /* 0x46028516: mov eax, dword ptr [ebp - 0x10] */
    563     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    564     eax = eax & 1; /* 0x46028519: and eax, 1 */
    565     _cf = 0;
    566     _flag_k = FK_TEST;
    567     /* test eax, eax */ /* 0x4602851C: test eax, eax */
    568     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    569     _cf = 0;
    570     _flag_k = FK_TEST;
    571     if (TEST_Z(_flag_a, _flag_b)) goto L_4602852B; /* 0x4602851E: je 0x4602852b */
    572 L_46028520:
    573     ecx = MEM32(ebp + (-0x14)); /* 0x46028520: mov ecx, dword ptr [ebp - 0x14] */
    574     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u);
    575     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    576     ecx = ecx + 0x50u; /* 0x46028523: add ecx, 0x50 */
    577     _flag_k = FK_ADD;
    578     RECOMP_BACKEDGE();
    579     goto L_46002DA4; /* 0x46028526: jmp 0x46002da4 */
    580 L_4602852B:
    581     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602852B: ret  */
    582     RECOMP_REGS_OUT();
    583 }
    584 
    585 void sub_4602852C(void) {
    586     int _fpu_cmp = 0;
    587     uint32_t _cf = 0;
    588     int _df = 1;
    589     uint32_t _flag_k = FK_NONE;
    590     uint32_t _flag_a = 0, _flag_b = 0;
    591     uint32_t _itail_tgt = 0;
    592     RECOMP_REGS_LOCALS
    593     RECOMP_ENTER(0x4602852Cu);
    594 
    595 L_4602852C:
    596     ecx = MEM32(ebp + (-0x14)); /* 0x4602852C: mov ecx, dword ptr [ebp - 0x14] */
    597     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
    598     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    599     ecx = ecx + 4; /* 0x4602852F: add ecx, 4 */
    600     _flag_k = FK_ADD;
    601     eax = MEM32(ecx + (-0x4)); /* 0x46028532: mov eax, dword ptr [ecx - 4] */
    602     eax = MEM32(eax + 0x4); /* 0x46028535: mov eax, dword ptr [eax + 4] */
    603     MEM32(eax + ecx + (-0x4)) = 0x4602B6A8u; /* 0x46028538: mov dword ptr [eax + ecx - 4], 0x4602b6a8 */
    604     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028540: ret  */
    605     RECOMP_REGS_OUT();
    606 }
    607 
    608 void sub_46028532(void) {
    609     int _fpu_cmp = 0;
    610     uint32_t _cf = 0;
    611     int _df = 1;
    612     uint32_t _flag_k = FK_NONE;
    613     uint32_t _flag_a = 0, _flag_b = 0;
    614     uint32_t _itail_tgt = 0;
    615     RECOMP_REGS_LOCALS
    616     RECOMP_ENTER(0x46028532u);
    617 
    618 L_46028532:
    619     eax = MEM32(ecx + (-0x4)); /* 0x46028532: mov eax, dword ptr [ecx - 4] */
    620     eax = MEM32(eax + 0x4); /* 0x46028535: mov eax, dword ptr [eax + 4] */
    621     MEM32(eax + ecx + (-0x4)) = 0x4602B6A8u; /* 0x46028538: mov dword ptr [eax + ecx - 4], 0x4602b6a8 */
    622     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028540: ret  */
    623     RECOMP_REGS_OUT();
    624 }
    625 
    626 void sub_46028541(void) {
    627     int _fpu_cmp = 0;
    628     uint32_t _cf = 0;
    629     int _df = 1;
    630     uint32_t _flag_k = FK_NONE;
    631     uint32_t _flag_a = 0, _flag_b = 0;
    632     uint32_t _itail_tgt = 0;
    633     RECOMP_REGS_LOCALS
    634     RECOMP_ENTER(0x46028541u);
    635 
    636     goto L_46028541;
    637 L_46028258:
    638     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    639 L_46028541:
    640     eax = 0x4602E2E8u; /* 0x46028541: mov eax, 0x4602e2e8 */
    641 L_46028546:
    642     RECOMP_BACKEDGE();
    643     goto L_46028258; /* 0x46028546: jmp 0x46028258 */
    644     { RECOMP_REGS_OUT(); return; } /* end of function */
    645   _ljump:
    646     switch (_itail_tgt) {
    647       case 0x46028258u: goto L_46028258;
    648       case 0x46028541u: goto L_46028541;
    649       case 0x46028546u: goto L_46028546;
    650       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    651     }
    652     RECOMP_REGS_OUT();
    653 }
    654 
    655 void sub_4602854B(void) {
    656     int _fpu_cmp = 0;
    657     uint32_t _cf = 0;
    658     int _df = 1;
    659     uint32_t _flag_k = FK_NONE;
    660     uint32_t _flag_a = 0, _flag_b = 0;
    661     uint32_t _itail_tgt = 0;
    662     RECOMP_REGS_LOCALS
    663     RECOMP_ENTER(0x4602854Bu);
    664 
    665     goto L_4602854B;
    666 L_46002DC1:
    667     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
    668     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    669     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    670     RECOMP_FLAGS_IN();
    671     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    672     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    673     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    674     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    675     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    676     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    677     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    678     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    679     _cf = 0;
    680     _flag_k = FK_TEST;
    681     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    682     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    683     _cf = 0;
    684     _flag_k = FK_TEST;
    685     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    686 L_46002DE9:
    687     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    688     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    689     _flag_k = FK_NARROW(FK_DEC, 24);
    690     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    691     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    692     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    694     _flag_k = FK_NARROW(FK_CMP, 24);
    695     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    696 L_46002DFB:
    697     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    698     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    699     RECOMP_FLAGS_IN();
    700     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    701     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    702     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    703     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    704     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    705 L_46002E10:
    706     ecx = esi; /* 0x46002E10: mov ecx, esi */
    707     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    708     RECOMP_FLAGS_IN();
    709     RECOMP_BACKEDGE();
    710     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    711 L_4602854B:
    712     eax = MEM32(ebp + (-0x10)); /* 0x4602854B: mov eax, dword ptr [ebp - 0x10] */
    713     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    714     eax = eax & 1; /* 0x4602854E: and eax, 1 */
    715     _cf = 0;
    716     _flag_k = FK_TEST;
    717     /* test eax, eax */ /* 0x46028551: test eax, eax */
    718     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    719     _cf = 0;
    720     _flag_k = FK_TEST;
    721     if (TEST_Z(_flag_a, _flag_b)) goto L_46028560; /* 0x46028553: je 0x46028560 */
    722 L_46028555:
    723     ecx = MEM32(ebp + (-0x14)); /* 0x46028555: mov ecx, dword ptr [ebp - 0x14] */
    724     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u);
    725     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    726     ecx = ecx + 0x58u; /* 0x46028558: add ecx, 0x58 */
    727     _flag_k = FK_ADD;
    728     RECOMP_BACKEDGE();
    729     goto L_46002DC1; /* 0x4602855B: jmp 0x46002dc1 */
    730 L_46028560:
    731     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028560: ret  */
    732     RECOMP_REGS_OUT();
    733 }
    734 
    735 void sub_46028561(void) {
    736     int _fpu_cmp = 0;
    737     uint32_t _cf = 0;
    738     int _df = 1;
    739     uint32_t _flag_k = FK_NONE;
    740     uint32_t _flag_a = 0, _flag_b = 0;
    741     uint32_t _itail_tgt = 0;
    742     RECOMP_REGS_LOCALS
    743     RECOMP_ENTER(0x46028561u);
    744 
    745 L_46028561:
    746     ecx = MEM32(ebp + (-0x14)); /* 0x46028561: mov ecx, dword ptr [ebp - 0x14] */
    747     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
    748     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    749     ecx = ecx + 0xCu; /* 0x46028564: add ecx, 0xc */
    750     _flag_k = FK_ADD;
    751     eax = MEM32(ecx + (-0xC)); /* 0x46028567: mov eax, dword ptr [ecx - 0xc] */
    752     edx = ecx + (-0x4); /* 0x4602856A: lea edx, [ecx - 4] */
    753     eax = MEM32(eax + 0x4); /* 0x4602856D: mov eax, dword ptr [eax + 4] */
    754     MEM32(eax + ecx + (-0xC)) = 0x4602B9D4u; /* 0x46028570: mov dword ptr [eax + ecx - 0xc], 0x4602b9d4 */
    755     eax = ecx + (-0xC); /* 0x46028578: lea eax, [ecx - 0xc] */
    756     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    757     _cf = (eax) != 0;
    758     eax = (uint32_t)(-(int32_t)eax); /* 0x4602857B: neg eax */
    759     _flag_k = FK_CMP;
    760     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4602857D: sbb eax, eax */
    761       eax = _sc ? 0xFFFFFFFFu : 0;
    762       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    763       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    764     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    765     eax = eax & edx; /* 0x4602857F: and eax, edx */
    766     _cf = 0;
    767     _flag_k = FK_TEST;
    768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    769     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    770     eax = eax + 4; /* 0x46028581: add eax, 4 */
    771     _flag_k = FK_ADD;
    772     ecx = MEM32(eax + (-0x4)); /* 0x46028584: mov ecx, dword ptr [eax - 4] */
    773     ecx = MEM32(ecx + 0x4); /* 0x46028587: mov ecx, dword ptr [ecx + 4] */
    774     MEM32(ecx + eax + (-0x4)) = 0x4602B358u; /* 0x4602858A: mov dword ptr [ecx + eax - 4], 0x4602b358 */
    775     eax = MEM32(edx + (-0x8)); /* 0x46028592: mov eax, dword ptr [edx - 8] */
    776     eax = MEM32(eax + 0x4); /* 0x46028595: mov eax, dword ptr [eax + 4] */
    777     MEM32(eax + edx + (-0x8)) = 0x4602B258u; /* 0x46028598: mov dword ptr [eax + edx - 8], 0x4602b258 */
    778     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460285A0: ret  */
    779     RECOMP_REGS_OUT();
    780 }
    781 
    782 void sub_46028567(void) {
    783     int _fpu_cmp = 0;
    784     uint32_t _cf = 0;
    785     int _df = 1;
    786     uint32_t _flag_k = FK_NONE;
    787     uint32_t _flag_a = 0, _flag_b = 0;
    788     uint32_t _itail_tgt = 0;
    789     RECOMP_REGS_LOCALS
    790     RECOMP_ENTER(0x46028567u);
    791 
    792 L_46028567:
    793     eax = MEM32(ecx + (-0xC)); /* 0x46028567: mov eax, dword ptr [ecx - 0xc] */
    794     edx = ecx + (-0x4); /* 0x4602856A: lea edx, [ecx - 4] */
    795     eax = MEM32(eax + 0x4); /* 0x4602856D: mov eax, dword ptr [eax + 4] */
    796     MEM32(eax + ecx + (-0xC)) = 0x4602B9D4u; /* 0x46028570: mov dword ptr [eax + ecx - 0xc], 0x4602b9d4 */
    797     eax = ecx + (-0xC); /* 0x46028578: lea eax, [ecx - 0xc] */
    798     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    799     _cf = (eax) != 0;
    800     eax = (uint32_t)(-(int32_t)eax); /* 0x4602857B: neg eax */
    801     _flag_k = FK_CMP;
    802     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4602857D: sbb eax, eax */
    803       eax = _sc ? 0xFFFFFFFFu : 0;
    804       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    805       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    806     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    807     eax = eax & edx; /* 0x4602857F: and eax, edx */
    808     _cf = 0;
    809     _flag_k = FK_TEST;
    810     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    811     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    812     eax = eax + 4; /* 0x46028581: add eax, 4 */
    813     _flag_k = FK_ADD;
    814     ecx = MEM32(eax + (-0x4)); /* 0x46028584: mov ecx, dword ptr [eax - 4] */
    815     ecx = MEM32(ecx + 0x4); /* 0x46028587: mov ecx, dword ptr [ecx + 4] */
    816     MEM32(ecx + eax + (-0x4)) = 0x4602B358u; /* 0x4602858A: mov dword ptr [ecx + eax - 4], 0x4602b358 */
    817     eax = MEM32(edx + (-0x8)); /* 0x46028592: mov eax, dword ptr [edx - 8] */
    818     eax = MEM32(eax + 0x4); /* 0x46028595: mov eax, dword ptr [eax + 4] */
    819     MEM32(eax + edx + (-0x8)) = 0x4602B258u; /* 0x46028598: mov dword ptr [eax + edx - 8], 0x4602b258 */
    820     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460285A0: ret  */
    821     RECOMP_REGS_OUT();
    822 }
    823 
    824 void sub_460285A1(void) {
    825     int _fpu_cmp = 0;
    826     uint32_t _cf = 0;
    827     int _df = 1;
    828     uint32_t _flag_k = FK_NONE;
    829     uint32_t _flag_a = 0, _flag_b = 0;
    830     uint32_t _itail_tgt = 0;
    831     RECOMP_REGS_LOCALS
    832     RECOMP_ENTER(0x460285A1u);
    833 
    834     goto L_460285A1;
    835 L_46028258:
    836     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    837 L_460285A1:
    838     eax = 0x4602E318u; /* 0x460285A1: mov eax, 0x4602e318 */
    839 L_460285A6:
    840     RECOMP_BACKEDGE();
    841     goto L_46028258; /* 0x460285A6: jmp 0x46028258 */
    842     { RECOMP_REGS_OUT(); return; } /* end of function */
    843   _ljump:
    844     switch (_itail_tgt) {
    845       case 0x46028258u: goto L_46028258;
    846       case 0x460285A1u: goto L_460285A1;
    847       case 0x460285A6u: goto L_460285A6;
    848       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    849     }
    850     RECOMP_REGS_OUT();
    851 }
    852 
    853 void sub_460285AB(void) {
    854     int _fpu_cmp = 0;
    855     uint32_t _cf = 0;
    856     int _df = 1;
    857     uint32_t _flag_k = FK_NONE;
    858     uint32_t _flag_a = 0, _flag_b = 0;
    859     uint32_t _itail_tgt = 0;
    860     RECOMP_REGS_LOCALS
    861     RECOMP_ENTER(0x460285ABu);
    862 
    863     goto L_460285AB;
    864 L_46002DA4:
    865     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
    866     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
    867 L_46002DC7:
    868     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    869     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    870     RECOMP_FLAGS_IN();
    871     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    872     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    873     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    874     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    875     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    876     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    877     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    878     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    879     _cf = 0;
    880     _flag_k = FK_TEST;
    881     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    883     _cf = 0;
    884     _flag_k = FK_TEST;
    885     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    886 L_46002DE9:
    887     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    888     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    889     _flag_k = FK_NARROW(FK_DEC, 24);
    890     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    891     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    892     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    894     _flag_k = FK_NARROW(FK_CMP, 24);
    895     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    896 L_46002DFB:
    897     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    898     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    899     RECOMP_FLAGS_IN();
    900     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    901     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    902     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    903     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    904     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    905 L_46002E10:
    906     ecx = esi; /* 0x46002E10: mov ecx, esi */
    907     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    908     RECOMP_FLAGS_IN();
    909     RECOMP_BACKEDGE();
    910     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    911 L_460285AB:
    912     eax = MEM32(ebp + (-0x10)); /* 0x460285AB: mov eax, dword ptr [ebp - 0x10] */
    913     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    914     eax = eax & 1; /* 0x460285AE: and eax, 1 */
    915     _cf = 0;
    916     _flag_k = FK_TEST;
    917     /* test eax, eax */ /* 0x460285B1: test eax, eax */
    918     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    919     _cf = 0;
    920     _flag_k = FK_TEST;
    921     if (TEST_Z(_flag_a, _flag_b)) goto L_460285C0; /* 0x460285B3: je 0x460285c0 */
    922 L_460285B5:
    923     ecx = MEM32(ebp + (-0x14)); /* 0x460285B5: mov ecx, dword ptr [ebp - 0x14] */
    924     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u);
    925     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    926     ecx = ecx + 0x58u; /* 0x460285B8: add ecx, 0x58 */
    927     _flag_k = FK_ADD;
    928     RECOMP_BACKEDGE();
    929     goto L_46002DA4; /* 0x460285BB: jmp 0x46002da4 */
    930 L_460285C0:
    931     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460285C0: ret  */
    932     RECOMP_REGS_OUT();
    933 }
    934 
    935 void sub_460285C1(void) {
    936     int _fpu_cmp = 0;
    937     uint32_t _cf = 0;
    938     int _df = 1;
    939     uint32_t _flag_k = FK_NONE;
    940     uint32_t _flag_a = 0, _flag_b = 0;
    941     uint32_t _itail_tgt = 0;
    942     RECOMP_REGS_LOCALS
    943     RECOMP_ENTER(0x460285C1u);
    944 
    945 L_460285C1:
    946     ecx = MEM32(ebp + (-0x14)); /* 0x460285C1: mov ecx, dword ptr [ebp - 0x14] */
    947     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
    948     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    949     ecx = ecx + 0xCu; /* 0x460285C4: add ecx, 0xc */
    950     _flag_k = FK_ADD;
    951     eax = MEM32(ecx + (-0xC)); /* 0x460285C7: mov eax, dword ptr [ecx - 0xc] */
    952     edx = ecx + (-0x4); /* 0x460285CA: lea edx, [ecx - 4] */
    953     eax = MEM32(eax + 0x4); /* 0x460285CD: mov eax, dword ptr [eax + 4] */
    954     MEM32(eax + ecx + (-0xC)) = 0x4602B9ECu; /* 0x460285D0: mov dword ptr [eax + ecx - 0xc], 0x4602b9ec */
    955     eax = ecx + (-0xC); /* 0x460285D8: lea eax, [ecx - 0xc] */
    956     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    957     _cf = (eax) != 0;
    958     eax = (uint32_t)(-(int32_t)eax); /* 0x460285DB: neg eax */
    959     _flag_k = FK_CMP;
    960     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x460285DD: sbb eax, eax */
    961       eax = _sc ? 0xFFFFFFFFu : 0;
    962       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
    963       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
    964     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    965     eax = eax & edx; /* 0x460285DF: and eax, edx */
    966     _cf = 0;
    967     _flag_k = FK_TEST;
    968     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    969     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    970     eax = eax + 4; /* 0x460285E1: add eax, 4 */
    971     _flag_k = FK_ADD;
    972     ecx = MEM32(eax + (-0x4)); /* 0x460285E4: mov ecx, dword ptr [eax - 4] */
    973     ecx = MEM32(ecx + 0x4); /* 0x460285E7: mov ecx, dword ptr [ecx + 4] */
    974     MEM32(ecx + eax + (-0x4)) = 0x4602B6A8u; /* 0x460285EA: mov dword ptr [ecx + eax - 4], 0x4602b6a8 */
    975     eax = MEM32(edx + (-0x8)); /* 0x460285F2: mov eax, dword ptr [edx - 8] */
    976     eax = MEM32(eax + 0x4); /* 0x460285F5: mov eax, dword ptr [eax + 4] */
    977     MEM32(eax + edx + (-0x8)) = 0x4602B5D8u; /* 0x460285F8: mov dword ptr [eax + edx - 8], 0x4602b5d8 */
    978     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028600: ret  */
    979     RECOMP_REGS_OUT();
    980 }
    981 
    982 void sub_460285C7(void) {
    983     int _fpu_cmp = 0;
    984     uint32_t _cf = 0;
    985     int _df = 1;
    986     uint32_t _flag_k = FK_NONE;
    987     uint32_t _flag_a = 0, _flag_b = 0;
    988     uint32_t _itail_tgt = 0;
    989     RECOMP_REGS_LOCALS
    990     RECOMP_ENTER(0x460285C7u);
    991 
    992 L_460285C7:
    993     eax = MEM32(ecx + (-0xC)); /* 0x460285C7: mov eax, dword ptr [ecx - 0xc] */
    994     edx = ecx + (-0x4); /* 0x460285CA: lea edx, [ecx - 4] */
    995     eax = MEM32(eax + 0x4); /* 0x460285CD: mov eax, dword ptr [eax + 4] */
    996     MEM32(eax + ecx + (-0xC)) = 0x4602B9ECu; /* 0x460285D0: mov dword ptr [eax + ecx - 0xc], 0x4602b9ec */
    997     eax = ecx + (-0xC); /* 0x460285D8: lea eax, [ecx - 0xc] */
    998     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
    999     _cf = (eax) != 0;
   1000     eax = (uint32_t)(-(int32_t)eax); /* 0x460285DB: neg eax */
   1001     _flag_k = FK_CMP;
   1002     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x460285DD: sbb eax, eax */
   1003       eax = _sc ? 0xFFFFFFFFu : 0;
   1004       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1005       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1006     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1007     eax = eax & edx; /* 0x460285DF: and eax, edx */
   1008     _cf = 0;
   1009     _flag_k = FK_TEST;
   1010     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1011     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1012     eax = eax + 4; /* 0x460285E1: add eax, 4 */
   1013     _flag_k = FK_ADD;
   1014     ecx = MEM32(eax + (-0x4)); /* 0x460285E4: mov ecx, dword ptr [eax - 4] */
   1015     ecx = MEM32(ecx + 0x4); /* 0x460285E7: mov ecx, dword ptr [ecx + 4] */
   1016     MEM32(ecx + eax + (-0x4)) = 0x4602B6A8u; /* 0x460285EA: mov dword ptr [ecx + eax - 4], 0x4602b6a8 */
   1017     eax = MEM32(edx + (-0x8)); /* 0x460285F2: mov eax, dword ptr [edx - 8] */
   1018     eax = MEM32(eax + 0x4); /* 0x460285F5: mov eax, dword ptr [eax + 4] */
   1019     MEM32(eax + edx + (-0x8)) = 0x4602B5D8u; /* 0x460285F8: mov dword ptr [eax + edx - 8], 0x4602b5d8 */
   1020     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028600: ret  */
   1021     RECOMP_REGS_OUT();
   1022 }
   1023 
   1024 void sub_46028601(void) {
   1025     int _fpu_cmp = 0;
   1026     uint32_t _cf = 0;
   1027     int _df = 1;
   1028     uint32_t _flag_k = FK_NONE;
   1029     uint32_t _flag_a = 0, _flag_b = 0;
   1030     uint32_t _itail_tgt = 0;
   1031     RECOMP_REGS_LOCALS
   1032     RECOMP_ENTER(0x46028601u);
   1033 
   1034     goto L_46028601;
   1035 L_46028258:
   1036     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1037 L_46028601:
   1038     eax = 0x4602E348u; /* 0x46028601: mov eax, 0x4602e348 */
   1039 L_46028606:
   1040     RECOMP_BACKEDGE();
   1041     goto L_46028258; /* 0x46028606: jmp 0x46028258 */
   1042     { RECOMP_REGS_OUT(); return; } /* end of function */
   1043   _ljump:
   1044     switch (_itail_tgt) {
   1045       case 0x46028258u: goto L_46028258;
   1046       case 0x46028601u: goto L_46028601;
   1047       case 0x46028606u: goto L_46028606;
   1048       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1049     }
   1050     RECOMP_REGS_OUT();
   1051 }
   1052 
   1053 void sub_4602860B(void) {
   1054     int _fpu_cmp = 0;
   1055     uint32_t _cf = 0;
   1056     int _df = 1;
   1057     uint32_t _flag_k = FK_NONE;
   1058     uint32_t _flag_a = 0, _flag_b = 0;
   1059     uint32_t _itail_tgt = 0;
   1060     RECOMP_REGS_LOCALS
   1061     RECOMP_ENTER(0x4602860Bu);
   1062 
   1063     goto L_4602860B;
   1064 L_46001C9F:
   1065     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1066     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1067     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1068     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1069     RECOMP_FLAGS_IN();
   1070     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1071 L_46001CAE:
   1072     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1073     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1074     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1075     _cf = 0;
   1076     _flag_k = FK_TEST;
   1077     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1078 L_46001CB4:
   1079     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1080     RECOMP_FLAGS_IN();
   1081     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1082     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1083     _cf = 0;
   1084     _flag_k = FK_TEST;
   1085     RECOMP_BACKEDGE();
   1086     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1087 L_46001CBD:
   1088     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1089 L_4602860B:
   1090     ecx = MEM32(ebp + (-0x10)); /* 0x4602860B: mov ecx, dword ptr [ebp - 0x10] */
   1091     MEM32(ecx) = 0x4602B3B8u; /* 0x4602860E: mov dword ptr [ecx], 0x4602b3b8 */
   1092     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u);
   1093     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1094     ecx = ecx + 0x34u; /* 0x46028614: add ecx, 0x34 */
   1095     _flag_k = FK_ADD;
   1096     RECOMP_BACKEDGE();
   1097     goto L_46001CAE; /* 0x46028617: jmp 0x46001cae */
   1098     { RECOMP_REGS_OUT(); return; } /* end of function */
   1099     RECOMP_REGS_OUT();
   1100 }
   1101 
   1102 void sub_4602860E(void) {
   1103     int _fpu_cmp = 0;
   1104     uint32_t _cf = 0;
   1105     int _df = 1;
   1106     uint32_t _flag_k = FK_NONE;
   1107     uint32_t _flag_a = 0, _flag_b = 0;
   1108     uint32_t _itail_tgt = 0;
   1109     RECOMP_REGS_LOCALS
   1110     RECOMP_ENTER(0x4602860Eu);
   1111 
   1112     goto L_4602860E;
   1113 L_46001C9F:
   1114     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1115     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1116     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1117     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1118     RECOMP_FLAGS_IN();
   1119     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1120 L_46001CAE:
   1121     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1122     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1123     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1124     _cf = 0;
   1125     _flag_k = FK_TEST;
   1126     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1127 L_46001CB4:
   1128     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1129     RECOMP_FLAGS_IN();
   1130     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1131     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1132     _cf = 0;
   1133     _flag_k = FK_TEST;
   1134     RECOMP_BACKEDGE();
   1135     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1136 L_46001CBD:
   1137     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1138 L_4602860E:
   1139     MEM32(ecx) = 0x4602B3B8u; /* 0x4602860E: mov dword ptr [ecx], 0x4602b3b8 */
   1140     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u);
   1141     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1142     ecx = ecx + 0x34u; /* 0x46028614: add ecx, 0x34 */
   1143     _flag_k = FK_ADD;
   1144     RECOMP_BACKEDGE();
   1145     goto L_46001CAE; /* 0x46028617: jmp 0x46001cae */
   1146     { RECOMP_REGS_OUT(); return; } /* end of function */
   1147     RECOMP_REGS_OUT();
   1148 }
   1149 
   1150 void sub_4602861C(void) {
   1151     int _fpu_cmp = 0;
   1152     uint32_t _cf = 0;
   1153     int _df = 1;
   1154     uint32_t _flag_k = FK_NONE;
   1155     uint32_t _flag_a = 0, _flag_b = 0;
   1156     uint32_t _itail_tgt = 0;
   1157     RECOMP_REGS_LOCALS
   1158     RECOMP_ENTER(0x4602861Cu);
   1159 
   1160     goto L_4602861C;
   1161 L_46028258:
   1162     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1163 L_4602861C:
   1164     eax = 0x4602E378u; /* 0x4602861C: mov eax, 0x4602e378 */
   1165 L_46028621:
   1166     RECOMP_BACKEDGE();
   1167     goto L_46028258; /* 0x46028621: jmp 0x46028258 */
   1168     { RECOMP_REGS_OUT(); return; } /* end of function */
   1169   _ljump:
   1170     switch (_itail_tgt) {
   1171       case 0x46028258u: goto L_46028258;
   1172       case 0x4602861Cu: goto L_4602861C;
   1173       case 0x46028621u: goto L_46028621;
   1174       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1175     }
   1176     RECOMP_REGS_OUT();
   1177 }
   1178 
   1179 void sub_46028626(void) {
   1180     int _fpu_cmp = 0;
   1181     uint32_t _cf = 0;
   1182     int _df = 1;
   1183     uint32_t _flag_k = FK_NONE;
   1184     uint32_t _flag_a = 0, _flag_b = 0;
   1185     uint32_t _itail_tgt = 0;
   1186     RECOMP_REGS_LOCALS
   1187     RECOMP_ENTER(0x46028626u);
   1188 
   1189     goto L_46028626;
   1190 L_46001C9F:
   1191     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1192     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1193     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1194     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1195     RECOMP_FLAGS_IN();
   1196     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1197 L_46001CAE:
   1198     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1199     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1200     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1201     _cf = 0;
   1202     _flag_k = FK_TEST;
   1203     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1204 L_46001CB4:
   1205     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1206     RECOMP_FLAGS_IN();
   1207     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1208     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1209     _cf = 0;
   1210     _flag_k = FK_TEST;
   1211     RECOMP_BACKEDGE();
   1212     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1213 L_46001CBD:
   1214     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1215 L_46028626:
   1216     ecx = MEM32(ebp + (-0x10)); /* 0x46028626: mov ecx, dword ptr [ebp - 0x10] */
   1217     MEM32(ecx) = 0x4602B4D0u; /* 0x46028629: mov dword ptr [ecx], 0x4602b4d0 */
   1218     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u);
   1219     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1220     ecx = ecx + 0x34u; /* 0x4602862F: add ecx, 0x34 */
   1221     _flag_k = FK_ADD;
   1222     RECOMP_BACKEDGE();
   1223     goto L_46001CAE; /* 0x46028632: jmp 0x46001cae */
   1224     { RECOMP_REGS_OUT(); return; } /* end of function */
   1225     RECOMP_REGS_OUT();
   1226 }
   1227 
   1228 void sub_46028629(void) {
   1229     int _fpu_cmp = 0;
   1230     uint32_t _cf = 0;
   1231     int _df = 1;
   1232     uint32_t _flag_k = FK_NONE;
   1233     uint32_t _flag_a = 0, _flag_b = 0;
   1234     uint32_t _itail_tgt = 0;
   1235     RECOMP_REGS_LOCALS
   1236     RECOMP_ENTER(0x46028629u);
   1237 
   1238     goto L_46028629;
   1239 L_46001C9F:
   1240     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1241     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1242     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1243     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1244     RECOMP_FLAGS_IN();
   1245     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1246 L_46001CAE:
   1247     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1248     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1249     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1250     _cf = 0;
   1251     _flag_k = FK_TEST;
   1252     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1253 L_46001CB4:
   1254     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1255     RECOMP_FLAGS_IN();
   1256     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1257     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1258     _cf = 0;
   1259     _flag_k = FK_TEST;
   1260     RECOMP_BACKEDGE();
   1261     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1262 L_46001CBD:
   1263     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1264 L_46028629:
   1265     MEM32(ecx) = 0x4602B4D0u; /* 0x46028629: mov dword ptr [ecx], 0x4602b4d0 */
   1266     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u);
   1267     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1268     ecx = ecx + 0x34u; /* 0x4602862F: add ecx, 0x34 */
   1269     _flag_k = FK_ADD;
   1270     RECOMP_BACKEDGE();
   1271     goto L_46001CAE; /* 0x46028632: jmp 0x46001cae */
   1272     { RECOMP_REGS_OUT(); return; } /* end of function */
   1273     RECOMP_REGS_OUT();
   1274 }
   1275 
   1276 void sub_46028637(void) {
   1277     int _fpu_cmp = 0;
   1278     uint32_t _cf = 0;
   1279     int _df = 1;
   1280     uint32_t _flag_k = FK_NONE;
   1281     uint32_t _flag_a = 0, _flag_b = 0;
   1282     uint32_t _itail_tgt = 0;
   1283     RECOMP_REGS_LOCALS
   1284     RECOMP_ENTER(0x46028637u);
   1285 
   1286     goto L_46028637;
   1287 L_46028258:
   1288     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1289 L_46028637:
   1290     eax = 0x4602E3A0u; /* 0x46028637: mov eax, 0x4602e3a0 */
   1291 L_4602863C:
   1292     RECOMP_BACKEDGE();
   1293     goto L_46028258; /* 0x4602863C: jmp 0x46028258 */
   1294     { RECOMP_REGS_OUT(); return; } /* end of function */
   1295   _ljump:
   1296     switch (_itail_tgt) {
   1297       case 0x46028258u: goto L_46028258;
   1298       case 0x46028637u: goto L_46028637;
   1299       case 0x4602863Cu: goto L_4602863C;
   1300       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1301     }
   1302     RECOMP_REGS_OUT();
   1303 }
   1304 
   1305 void sub_46028641(void) {
   1306     int _fpu_cmp = 0;
   1307     uint32_t _cf = 0;
   1308     int _df = 1;
   1309     uint32_t _flag_k = FK_NONE;
   1310     uint32_t _flag_a = 0, _flag_b = 0;
   1311     uint32_t _itail_tgt = 0;
   1312     RECOMP_REGS_LOCALS
   1313     RECOMP_ENTER(0x46028641u);
   1314 
   1315     goto L_46028641;
   1316 L_46002DC1:
   1317     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
   1318     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   1319     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   1320     RECOMP_FLAGS_IN();
   1321     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   1322     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   1323     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   1324     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   1325     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   1326     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   1327     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   1328     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   1329     _cf = 0;
   1330     _flag_k = FK_TEST;
   1331     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   1332     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1333     _cf = 0;
   1334     _flag_k = FK_TEST;
   1335     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   1336 L_46002DE9:
   1337     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   1338     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   1339     _flag_k = FK_NARROW(FK_DEC, 24);
   1340     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   1341     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   1342     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   1343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1344     _flag_k = FK_NARROW(FK_CMP, 24);
   1345     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   1346 L_46002DFB:
   1347     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   1348     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   1349     RECOMP_FLAGS_IN();
   1350     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   1351     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   1352     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   1353     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   1354     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   1355 L_46002E10:
   1356     ecx = esi; /* 0x46002E10: mov ecx, esi */
   1357     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   1358     RECOMP_FLAGS_IN();
   1359     RECOMP_BACKEDGE();
   1360     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   1361 L_46028641:
   1362     eax = MEM32(ebp + (-0x10)); /* 0x46028641: mov eax, dword ptr [ebp - 0x10] */
   1363     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1364     eax = eax & 1; /* 0x46028644: and eax, 1 */
   1365     _cf = 0;
   1366     _flag_k = FK_TEST;
   1367     /* test eax, eax */ /* 0x46028647: test eax, eax */
   1368     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1369     _cf = 0;
   1370     _flag_k = FK_TEST;
   1371     if (TEST_Z(_flag_a, _flag_b)) goto L_46028656; /* 0x46028649: je 0x46028656 */
   1372 L_4602864B:
   1373     ecx = MEM32(ebp + (-0x14)); /* 0x4602864B: mov ecx, dword ptr [ebp - 0x14] */
   1374     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x5Cu);
   1375     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1376     ecx = ecx + 0x5Cu; /* 0x4602864E: add ecx, 0x5c */
   1377     _flag_k = FK_ADD;
   1378     RECOMP_BACKEDGE();
   1379     goto L_46002DC1; /* 0x46028651: jmp 0x46002dc1 */
   1380 L_46028656:
   1381     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028656: ret  */
   1382     RECOMP_REGS_OUT();
   1383 }
   1384 
   1385 void sub_46028657(void) {
   1386     int _fpu_cmp = 0;
   1387     uint32_t _cf = 0;
   1388     int _df = 1;
   1389     uint32_t _flag_k = FK_NONE;
   1390     uint32_t _flag_a = 0, _flag_b = 0;
   1391     uint32_t _itail_tgt = 0;
   1392     RECOMP_REGS_LOCALS
   1393     RECOMP_ENTER(0x46028657u);
   1394 
   1395     goto L_46028657;
   1396 L_46028419:
   1397     eax = MEM32(ecx + (-0x8)); /* 0x46028419: mov eax, dword ptr [ecx - 8] */
   1398     eax = MEM32(eax + 0x4); /* 0x4602841C: mov eax, dword ptr [eax + 4] */
   1399     MEM32(eax + ecx + (-0x8)) = 0x4602B258u; /* 0x4602841F: mov dword ptr [eax + ecx - 8], 0x4602b258 */
   1400     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028427: ret  */
   1401 L_46028657:
   1402     ecx = MEM32(ebp + (-0x14)); /* 0x46028657: mov ecx, dword ptr [ebp - 0x14] */
   1403     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   1404     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1405     ecx = ecx + 8; /* 0x4602865A: add ecx, 8 */
   1406     _flag_k = FK_ADD;
   1407     RECOMP_BACKEDGE();
   1408     goto L_46028419; /* 0x4602865D: jmp 0x46028419 */
   1409     { RECOMP_REGS_OUT(); return; } /* end of function */
   1410     RECOMP_REGS_OUT();
   1411 }
   1412 
   1413 void sub_46028662(void) {
   1414     int _fpu_cmp = 0;
   1415     uint32_t _cf = 0;
   1416     int _df = 1;
   1417     uint32_t _flag_k = FK_NONE;
   1418     uint32_t _flag_a = 0, _flag_b = 0;
   1419     uint32_t _itail_tgt = 0;
   1420     RECOMP_REGS_LOCALS
   1421     RECOMP_ENTER(0x46028662u);
   1422 
   1423     goto L_46028662;
   1424 L_46028258:
   1425     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1426 L_46028662:
   1427     eax = 0x4602E3C8u; /* 0x46028662: mov eax, 0x4602e3c8 */
   1428 L_46028667:
   1429     RECOMP_BACKEDGE();
   1430     goto L_46028258; /* 0x46028667: jmp 0x46028258 */
   1431     { RECOMP_REGS_OUT(); return; } /* end of function */
   1432   _ljump:
   1433     switch (_itail_tgt) {
   1434       case 0x46028258u: goto L_46028258;
   1435       case 0x46028662u: goto L_46028662;
   1436       case 0x46028667u: goto L_46028667;
   1437       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1438     }
   1439     RECOMP_REGS_OUT();
   1440 }
   1441 
   1442 void sub_4602866C(void) {
   1443     int _fpu_cmp = 0;
   1444     uint32_t _cf = 0;
   1445     int _df = 1;
   1446     uint32_t _flag_k = FK_NONE;
   1447     uint32_t _flag_a = 0, _flag_b = 0;
   1448     uint32_t _itail_tgt = 0;
   1449     RECOMP_REGS_LOCALS
   1450     RECOMP_ENTER(0x4602866Cu);
   1451 
   1452     goto L_4602866C;
   1453 L_46002DA4:
   1454     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
   1455     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
   1456 L_46002DC7:
   1457     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   1458     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   1459     RECOMP_FLAGS_IN();
   1460     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   1461     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   1462     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   1463     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   1464     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   1465     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   1466     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   1467     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   1468     _cf = 0;
   1469     _flag_k = FK_TEST;
   1470     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   1471     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1472     _cf = 0;
   1473     _flag_k = FK_TEST;
   1474     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   1475 L_46002DE9:
   1476     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   1477     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   1478     _flag_k = FK_NARROW(FK_DEC, 24);
   1479     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   1480     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   1481     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   1482     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1483     _flag_k = FK_NARROW(FK_CMP, 24);
   1484     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   1485 L_46002DFB:
   1486     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   1487     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   1488     RECOMP_FLAGS_IN();
   1489     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   1490     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   1491     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   1492     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   1493     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   1494 L_46002E10:
   1495     ecx = esi; /* 0x46002E10: mov ecx, esi */
   1496     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   1497     RECOMP_FLAGS_IN();
   1498     RECOMP_BACKEDGE();
   1499     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   1500 L_4602866C:
   1501     eax = MEM32(ebp + (-0x10)); /* 0x4602866C: mov eax, dword ptr [ebp - 0x10] */
   1502     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1503     eax = eax & 1; /* 0x4602866F: and eax, 1 */
   1504     _cf = 0;
   1505     _flag_k = FK_TEST;
   1506     /* test eax, eax */ /* 0x46028672: test eax, eax */
   1507     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1508     _cf = 0;
   1509     _flag_k = FK_TEST;
   1510     if (TEST_Z(_flag_a, _flag_b)) goto L_46028681; /* 0x46028674: je 0x46028681 */
   1511 L_46028676:
   1512     ecx = MEM32(ebp + (-0x14)); /* 0x46028676: mov ecx, dword ptr [ebp - 0x14] */
   1513     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x5Cu);
   1514     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1515     ecx = ecx + 0x5Cu; /* 0x46028679: add ecx, 0x5c */
   1516     _flag_k = FK_ADD;
   1517     RECOMP_BACKEDGE();
   1518     goto L_46002DA4; /* 0x4602867C: jmp 0x46002da4 */
   1519 L_46028681:
   1520     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028681: ret  */
   1521     RECOMP_REGS_OUT();
   1522 }
   1523 
   1524 void sub_46028682(void) {
   1525     int _fpu_cmp = 0;
   1526     uint32_t _cf = 0;
   1527     int _df = 1;
   1528     uint32_t _flag_k = FK_NONE;
   1529     uint32_t _flag_a = 0, _flag_b = 0;
   1530     uint32_t _itail_tgt = 0;
   1531     RECOMP_REGS_LOCALS
   1532     RECOMP_ENTER(0x46028682u);
   1533 
   1534     goto L_46028682;
   1535 L_4602844E:
   1536     eax = MEM32(ecx + (-0x8)); /* 0x4602844E: mov eax, dword ptr [ecx - 8] */
   1537     eax = MEM32(eax + 0x4); /* 0x46028451: mov eax, dword ptr [eax + 4] */
   1538     MEM32(eax + ecx + (-0x8)) = 0x4602B5D8u; /* 0x46028454: mov dword ptr [eax + ecx - 8], 0x4602b5d8 */
   1539     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602845C: ret  */
   1540 L_46028682:
   1541     ecx = MEM32(ebp + (-0x14)); /* 0x46028682: mov ecx, dword ptr [ebp - 0x14] */
   1542     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   1543     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1544     ecx = ecx + 8; /* 0x46028685: add ecx, 8 */
   1545     _flag_k = FK_ADD;
   1546     RECOMP_BACKEDGE();
   1547     goto L_4602844E; /* 0x46028688: jmp 0x4602844e */
   1548     { RECOMP_REGS_OUT(); return; } /* end of function */
   1549     RECOMP_REGS_OUT();
   1550 }
   1551 
   1552 void sub_4602868D(void) {
   1553     int _fpu_cmp = 0;
   1554     uint32_t _cf = 0;
   1555     int _df = 1;
   1556     uint32_t _flag_k = FK_NONE;
   1557     uint32_t _flag_a = 0, _flag_b = 0;
   1558     uint32_t _itail_tgt = 0;
   1559     RECOMP_REGS_LOCALS
   1560     RECOMP_ENTER(0x4602868Du);
   1561 
   1562     goto L_4602868D;
   1563 L_46028258:
   1564     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1565 L_4602868D:
   1566     eax = 0x4602E3F8u; /* 0x4602868D: mov eax, 0x4602e3f8 */
   1567 L_46028692:
   1568     RECOMP_BACKEDGE();
   1569     goto L_46028258; /* 0x46028692: jmp 0x46028258 */
   1570     { RECOMP_REGS_OUT(); return; } /* end of function */
   1571   _ljump:
   1572     switch (_itail_tgt) {
   1573       case 0x46028258u: goto L_46028258;
   1574       case 0x4602868Du: goto L_4602868D;
   1575       case 0x46028692u: goto L_46028692;
   1576       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1577     }
   1578     RECOMP_REGS_OUT();
   1579 }
   1580 
   1581 void sub_46028697(void) {
   1582     int _fpu_cmp = 0;
   1583     uint32_t _cf = 0;
   1584     int _df = 1;
   1585     uint32_t _flag_k = FK_NONE;
   1586     uint32_t _flag_a = 0, _flag_b = 0;
   1587     uint32_t _itail_tgt = 0;
   1588     RECOMP_REGS_LOCALS
   1589     RECOMP_ENTER(0x46028697u);
   1590 
   1591     goto L_46028697;
   1592 L_46002DC1:
   1593     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
   1594     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   1595     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   1596     RECOMP_FLAGS_IN();
   1597     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   1598     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   1599     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   1600     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   1601     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   1602     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   1603     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   1604     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   1605     _cf = 0;
   1606     _flag_k = FK_TEST;
   1607     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   1608     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1609     _cf = 0;
   1610     _flag_k = FK_TEST;
   1611     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   1612 L_46002DE9:
   1613     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   1614     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   1615     _flag_k = FK_NARROW(FK_DEC, 24);
   1616     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   1617     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   1618     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   1619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1620     _flag_k = FK_NARROW(FK_CMP, 24);
   1621     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   1622 L_46002DFB:
   1623     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   1624     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   1625     RECOMP_FLAGS_IN();
   1626     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   1627     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   1628     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   1629     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   1630     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   1631 L_46002E10:
   1632     ecx = esi; /* 0x46002E10: mov ecx, esi */
   1633     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   1634     RECOMP_FLAGS_IN();
   1635     RECOMP_BACKEDGE();
   1636     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   1637 L_46028697:
   1638     eax = MEM32(ebp + (-0x10)); /* 0x46028697: mov eax, dword ptr [ebp - 0x10] */
   1639     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1640     eax = eax & 1; /* 0x4602869A: and eax, 1 */
   1641     _cf = 0;
   1642     _flag_k = FK_TEST;
   1643     /* test eax, eax */ /* 0x4602869D: test eax, eax */
   1644     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1645     _cf = 0;
   1646     _flag_k = FK_TEST;
   1647     if (TEST_Z(_flag_a, _flag_b)) goto L_460286AC; /* 0x4602869F: je 0x460286ac */
   1648 L_460286A1:
   1649     ecx = MEM32(ebp + (-0x14)); /* 0x460286A1: mov ecx, dword ptr [ebp - 0x14] */
   1650     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u);
   1651     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1652     ecx = ecx + 0x58u; /* 0x460286A4: add ecx, 0x58 */
   1653     _flag_k = FK_ADD;
   1654     RECOMP_BACKEDGE();
   1655     goto L_46002DC1; /* 0x460286A7: jmp 0x46002dc1 */
   1656 L_460286AC:
   1657     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460286AC: ret  */
   1658     RECOMP_REGS_OUT();
   1659 }
   1660 
   1661 void sub_460286AD(void) {
   1662     int _fpu_cmp = 0;
   1663     uint32_t _cf = 0;
   1664     int _df = 1;
   1665     uint32_t _flag_k = FK_NONE;
   1666     uint32_t _flag_a = 0, _flag_b = 0;
   1667     uint32_t _itail_tgt = 0;
   1668     RECOMP_REGS_LOCALS
   1669     RECOMP_ENTER(0x460286ADu);
   1670 
   1671     goto L_460286AD;
   1672 L_460284FD:
   1673     eax = MEM32(ecx + (-0x4)); /* 0x460284FD: mov eax, dword ptr [ecx - 4] */
   1674     eax = MEM32(eax + 0x4); /* 0x46028500: mov eax, dword ptr [eax + 4] */
   1675     MEM32(eax + ecx + (-0x4)) = 0x4602B358u; /* 0x46028503: mov dword ptr [eax + ecx - 4], 0x4602b358 */
   1676     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602850B: ret  */
   1677 L_460286AD:
   1678     ecx = MEM32(ebp + (-0x14)); /* 0x460286AD: mov ecx, dword ptr [ebp - 0x14] */
   1679     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   1680     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1681     ecx = ecx + 4; /* 0x460286B0: add ecx, 4 */
   1682     _flag_k = FK_ADD;
   1683     RECOMP_BACKEDGE();
   1684     goto L_460284FD; /* 0x460286B3: jmp 0x460284fd */
   1685     { RECOMP_REGS_OUT(); return; } /* end of function */
   1686     RECOMP_REGS_OUT();
   1687 }
   1688 
   1689 void sub_460286B8(void) {
   1690     int _fpu_cmp = 0;
   1691     uint32_t _cf = 0;
   1692     int _df = 1;
   1693     uint32_t _flag_k = FK_NONE;
   1694     uint32_t _flag_a = 0, _flag_b = 0;
   1695     uint32_t _itail_tgt = 0;
   1696     RECOMP_REGS_LOCALS
   1697     RECOMP_ENTER(0x460286B8u);
   1698 
   1699     goto L_460286B8;
   1700 L_46028258:
   1701     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1702 L_460286B8:
   1703     eax = 0x4602E428u; /* 0x460286B8: mov eax, 0x4602e428 */
   1704 L_460286BD:
   1705     RECOMP_BACKEDGE();
   1706     goto L_46028258; /* 0x460286BD: jmp 0x46028258 */
   1707     { RECOMP_REGS_OUT(); return; } /* end of function */
   1708   _ljump:
   1709     switch (_itail_tgt) {
   1710       case 0x46028258u: goto L_46028258;
   1711       case 0x460286B8u: goto L_460286B8;
   1712       case 0x460286BDu: goto L_460286BD;
   1713       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1714     }
   1715     RECOMP_REGS_OUT();
   1716 }
   1717 
   1718 void sub_460286C2(void) {
   1719     int _fpu_cmp = 0;
   1720     uint32_t _cf = 0;
   1721     int _df = 1;
   1722     uint32_t _flag_k = FK_NONE;
   1723     uint32_t _flag_a = 0, _flag_b = 0;
   1724     uint32_t _itail_tgt = 0;
   1725     RECOMP_REGS_LOCALS
   1726     RECOMP_ENTER(0x460286C2u);
   1727 
   1728     goto L_460286C2;
   1729 L_46002DA4:
   1730     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
   1731     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
   1732 L_46002DC7:
   1733     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   1734     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   1735     RECOMP_FLAGS_IN();
   1736     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   1737     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   1738     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   1739     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   1740     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   1741     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   1742     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   1743     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   1744     _cf = 0;
   1745     _flag_k = FK_TEST;
   1746     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   1747     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1748     _cf = 0;
   1749     _flag_k = FK_TEST;
   1750     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   1751 L_46002DE9:
   1752     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   1753     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   1754     _flag_k = FK_NARROW(FK_DEC, 24);
   1755     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   1756     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   1757     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   1758     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1759     _flag_k = FK_NARROW(FK_CMP, 24);
   1760     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   1761 L_46002DFB:
   1762     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   1763     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   1764     RECOMP_FLAGS_IN();
   1765     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   1766     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   1767     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   1768     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   1769     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   1770 L_46002E10:
   1771     ecx = esi; /* 0x46002E10: mov ecx, esi */
   1772     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   1773     RECOMP_FLAGS_IN();
   1774     RECOMP_BACKEDGE();
   1775     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   1776 L_460286C2:
   1777     eax = MEM32(ebp + (-0x10)); /* 0x460286C2: mov eax, dword ptr [ebp - 0x10] */
   1778     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1779     eax = eax & 1; /* 0x460286C5: and eax, 1 */
   1780     _cf = 0;
   1781     _flag_k = FK_TEST;
   1782     /* test eax, eax */ /* 0x460286C8: test eax, eax */
   1783     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1784     _cf = 0;
   1785     _flag_k = FK_TEST;
   1786     if (TEST_Z(_flag_a, _flag_b)) goto L_460286D7; /* 0x460286CA: je 0x460286d7 */
   1787 L_460286CC:
   1788     ecx = MEM32(ebp + (-0x14)); /* 0x460286CC: mov ecx, dword ptr [ebp - 0x14] */
   1789     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u);
   1790     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1791     ecx = ecx + 0x58u; /* 0x460286CF: add ecx, 0x58 */
   1792     _flag_k = FK_ADD;
   1793     RECOMP_BACKEDGE();
   1794     goto L_46002DA4; /* 0x460286D2: jmp 0x46002da4 */
   1795 L_460286D7:
   1796     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460286D7: ret  */
   1797     RECOMP_REGS_OUT();
   1798 }
   1799 
   1800 void sub_460286D8(void) {
   1801     int _fpu_cmp = 0;
   1802     uint32_t _cf = 0;
   1803     int _df = 1;
   1804     uint32_t _flag_k = FK_NONE;
   1805     uint32_t _flag_a = 0, _flag_b = 0;
   1806     uint32_t _itail_tgt = 0;
   1807     RECOMP_REGS_LOCALS
   1808     RECOMP_ENTER(0x460286D8u);
   1809 
   1810     goto L_460286D8;
   1811 L_46028532:
   1812     eax = MEM32(ecx + (-0x4)); /* 0x46028532: mov eax, dword ptr [ecx - 4] */
   1813     eax = MEM32(eax + 0x4); /* 0x46028535: mov eax, dword ptr [eax + 4] */
   1814     MEM32(eax + ecx + (-0x4)) = 0x4602B6A8u; /* 0x46028538: mov dword ptr [eax + ecx - 4], 0x4602b6a8 */
   1815     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028540: ret  */
   1816 L_460286D8:
   1817     ecx = MEM32(ebp + (-0x14)); /* 0x460286D8: mov ecx, dword ptr [ebp - 0x14] */
   1818     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   1819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1820     ecx = ecx + 4; /* 0x460286DB: add ecx, 4 */
   1821     _flag_k = FK_ADD;
   1822     RECOMP_BACKEDGE();
   1823     goto L_46028532; /* 0x460286DE: jmp 0x46028532 */
   1824     { RECOMP_REGS_OUT(); return; } /* end of function */
   1825     RECOMP_REGS_OUT();
   1826 }
   1827 
   1828 void sub_460286E3(void) {
   1829     int _fpu_cmp = 0;
   1830     uint32_t _cf = 0;
   1831     int _df = 1;
   1832     uint32_t _flag_k = FK_NONE;
   1833     uint32_t _flag_a = 0, _flag_b = 0;
   1834     uint32_t _itail_tgt = 0;
   1835     RECOMP_REGS_LOCALS
   1836     RECOMP_ENTER(0x460286E3u);
   1837 
   1838     goto L_460286E3;
   1839 L_46028258:
   1840     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1841 L_460286E3:
   1842     eax = 0x4602E458u; /* 0x460286E3: mov eax, 0x4602e458 */
   1843 L_460286E8:
   1844     RECOMP_BACKEDGE();
   1845     goto L_46028258; /* 0x460286E8: jmp 0x46028258 */
   1846     { RECOMP_REGS_OUT(); return; } /* end of function */
   1847   _ljump:
   1848     switch (_itail_tgt) {
   1849       case 0x46028258u: goto L_46028258;
   1850       case 0x460286E3u: goto L_460286E3;
   1851       case 0x460286E8u: goto L_460286E8;
   1852       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1853     }
   1854     RECOMP_REGS_OUT();
   1855 }
   1856 
   1857 void sub_460286ED(void) {
   1858     int _fpu_cmp = 0;
   1859     uint32_t _cf = 0;
   1860     int _df = 1;
   1861     uint32_t _flag_k = FK_NONE;
   1862     uint32_t _flag_a = 0, _flag_b = 0;
   1863     uint32_t _itail_tgt = 0;
   1864     RECOMP_REGS_LOCALS
   1865     RECOMP_ENTER(0x460286EDu);
   1866 
   1867     goto L_460286ED;
   1868 L_46002DC1:
   1869     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
   1870     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   1871     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   1872     RECOMP_FLAGS_IN();
   1873     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   1874     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   1875     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   1876     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   1877     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   1878     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   1879     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   1880     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   1881     _cf = 0;
   1882     _flag_k = FK_TEST;
   1883     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   1884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1885     _cf = 0;
   1886     _flag_k = FK_TEST;
   1887     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   1888 L_46002DE9:
   1889     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   1890     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   1891     _flag_k = FK_NARROW(FK_DEC, 24);
   1892     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   1893     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   1894     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   1895     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1896     _flag_k = FK_NARROW(FK_CMP, 24);
   1897     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   1898 L_46002DFB:
   1899     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   1900     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   1901     RECOMP_FLAGS_IN();
   1902     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   1903     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   1904     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   1905     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   1906     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   1907 L_46002E10:
   1908     ecx = esi; /* 0x46002E10: mov ecx, esi */
   1909     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   1910     RECOMP_FLAGS_IN();
   1911     RECOMP_BACKEDGE();
   1912     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   1913 L_460286ED:
   1914     eax = MEM32(ebp + (-0x10)); /* 0x460286ED: mov eax, dword ptr [ebp - 0x10] */
   1915     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   1916     eax = eax & 1; /* 0x460286F0: and eax, 1 */
   1917     _cf = 0;
   1918     _flag_k = FK_TEST;
   1919     /* test eax, eax */ /* 0x460286F3: test eax, eax */
   1920     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1921     _cf = 0;
   1922     _flag_k = FK_TEST;
   1923     if (TEST_Z(_flag_a, _flag_b)) goto L_46028702; /* 0x460286F5: je 0x46028702 */
   1924 L_460286F7:
   1925     ecx = MEM32(ebp + (-0x14)); /* 0x460286F7: mov ecx, dword ptr [ebp - 0x14] */
   1926     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x60u);
   1927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1928     ecx = ecx + 0x60u; /* 0x460286FA: add ecx, 0x60 */
   1929     _flag_k = FK_ADD;
   1930     RECOMP_BACKEDGE();
   1931     goto L_46002DC1; /* 0x460286FD: jmp 0x46002dc1 */
   1932 L_46028702:
   1933     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028702: ret  */
   1934     RECOMP_REGS_OUT();
   1935 }
   1936 
   1937 void sub_46028703(void) {
   1938     int _fpu_cmp = 0;
   1939     uint32_t _cf = 0;
   1940     int _df = 1;
   1941     uint32_t _flag_k = FK_NONE;
   1942     uint32_t _flag_a = 0, _flag_b = 0;
   1943     uint32_t _itail_tgt = 0;
   1944     RECOMP_REGS_LOCALS
   1945     RECOMP_ENTER(0x46028703u);
   1946 
   1947     goto L_46028703;
   1948 L_46028567:
   1949     eax = MEM32(ecx + (-0xC)); /* 0x46028567: mov eax, dword ptr [ecx - 0xc] */
   1950     edx = ecx + (-0x4); /* 0x4602856A: lea edx, [ecx - 4] */
   1951     eax = MEM32(eax + 0x4); /* 0x4602856D: mov eax, dword ptr [eax + 4] */
   1952     MEM32(eax + ecx + (-0xC)) = 0x4602B9D4u; /* 0x46028570: mov dword ptr [eax + ecx - 0xc], 0x4602b9d4 */
   1953     eax = ecx + (-0xC); /* 0x46028578: lea eax, [ecx - 0xc] */
   1954     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   1955     _cf = (eax) != 0;
   1956     eax = (uint32_t)(-(int32_t)eax); /* 0x4602857B: neg eax */
   1957     _flag_k = FK_CMP;
   1958     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4602857D: sbb eax, eax */
   1959       eax = _sc ? 0xFFFFFFFFu : 0;
   1960       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   1961       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   1962     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   1963     eax = eax & edx; /* 0x4602857F: and eax, edx */
   1964     _cf = 0;
   1965     _flag_k = FK_TEST;
   1966     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   1967     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1968     eax = eax + 4; /* 0x46028581: add eax, 4 */
   1969     _flag_k = FK_ADD;
   1970     ecx = MEM32(eax + (-0x4)); /* 0x46028584: mov ecx, dword ptr [eax - 4] */
   1971     ecx = MEM32(ecx + 0x4); /* 0x46028587: mov ecx, dword ptr [ecx + 4] */
   1972     MEM32(ecx + eax + (-0x4)) = 0x4602B358u; /* 0x4602858A: mov dword ptr [ecx + eax - 4], 0x4602b358 */
   1973     eax = MEM32(edx + (-0x8)); /* 0x46028592: mov eax, dword ptr [edx - 8] */
   1974     eax = MEM32(eax + 0x4); /* 0x46028595: mov eax, dword ptr [eax + 4] */
   1975     MEM32(eax + edx + (-0x8)) = 0x4602B258u; /* 0x46028598: mov dword ptr [eax + edx - 8], 0x4602b258 */
   1976     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460285A0: ret  */
   1977 L_46028703:
   1978     ecx = MEM32(ebp + (-0x14)); /* 0x46028703: mov ecx, dword ptr [ebp - 0x14] */
   1979     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   1980     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1981     ecx = ecx + 0xCu; /* 0x46028706: add ecx, 0xc */
   1982     _flag_k = FK_ADD;
   1983     RECOMP_BACKEDGE();
   1984     goto L_46028567; /* 0x46028709: jmp 0x46028567 */
   1985     { RECOMP_REGS_OUT(); return; } /* end of function */
   1986     RECOMP_REGS_OUT();
   1987 }
   1988 
   1989 void sub_4602870E(void) {
   1990     int _fpu_cmp = 0;
   1991     uint32_t _cf = 0;
   1992     int _df = 1;
   1993     uint32_t _flag_k = FK_NONE;
   1994     uint32_t _flag_a = 0, _flag_b = 0;
   1995     uint32_t _itail_tgt = 0;
   1996     RECOMP_REGS_LOCALS
   1997     RECOMP_ENTER(0x4602870Eu);
   1998 
   1999     goto L_4602870E;
   2000 L_46028258:
   2001     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2002 L_4602870E:
   2003     eax = 0x4602E488u; /* 0x4602870E: mov eax, 0x4602e488 */
   2004 L_46028713:
   2005     RECOMP_BACKEDGE();
   2006     goto L_46028258; /* 0x46028713: jmp 0x46028258 */
   2007     { RECOMP_REGS_OUT(); return; } /* end of function */
   2008   _ljump:
   2009     switch (_itail_tgt) {
   2010       case 0x46028258u: goto L_46028258;
   2011       case 0x4602870Eu: goto L_4602870E;
   2012       case 0x46028713u: goto L_46028713;
   2013       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2014     }
   2015     RECOMP_REGS_OUT();
   2016 }
   2017 
   2018 void sub_46028718(void) {
   2019     int _fpu_cmp = 0;
   2020     uint32_t _cf = 0;
   2021     int _df = 1;
   2022     uint32_t _flag_k = FK_NONE;
   2023     uint32_t _flag_a = 0, _flag_b = 0;
   2024     uint32_t _itail_tgt = 0;
   2025     RECOMP_REGS_LOCALS
   2026     RECOMP_ENTER(0x46028718u);
   2027 
   2028     goto L_46028718;
   2029 L_46002DA4:
   2030     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
   2031     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
   2032 L_46002DC7:
   2033     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   2034     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   2035     RECOMP_FLAGS_IN();
   2036     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   2037     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   2038     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   2039     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   2040     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   2041     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   2042     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   2043     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   2044     _cf = 0;
   2045     _flag_k = FK_TEST;
   2046     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   2047     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2048     _cf = 0;
   2049     _flag_k = FK_TEST;
   2050     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   2051 L_46002DE9:
   2052     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   2053     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   2054     _flag_k = FK_NARROW(FK_DEC, 24);
   2055     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   2056     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   2057     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   2058     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2059     _flag_k = FK_NARROW(FK_CMP, 24);
   2060     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   2061 L_46002DFB:
   2062     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   2063     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   2064     RECOMP_FLAGS_IN();
   2065     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   2066     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   2067     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   2068     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   2069     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   2070 L_46002E10:
   2071     ecx = esi; /* 0x46002E10: mov ecx, esi */
   2072     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   2073     RECOMP_FLAGS_IN();
   2074     RECOMP_BACKEDGE();
   2075     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   2076 L_46028718:
   2077     eax = MEM32(ebp + (-0x10)); /* 0x46028718: mov eax, dword ptr [ebp - 0x10] */
   2078     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2079     eax = eax & 1; /* 0x4602871B: and eax, 1 */
   2080     _cf = 0;
   2081     _flag_k = FK_TEST;
   2082     /* test eax, eax */ /* 0x4602871E: test eax, eax */
   2083     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2084     _cf = 0;
   2085     _flag_k = FK_TEST;
   2086     if (TEST_Z(_flag_a, _flag_b)) goto L_4602872D; /* 0x46028720: je 0x4602872d */
   2087 L_46028722:
   2088     ecx = MEM32(ebp + (-0x14)); /* 0x46028722: mov ecx, dword ptr [ebp - 0x14] */
   2089     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x60u);
   2090     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2091     ecx = ecx + 0x60u; /* 0x46028725: add ecx, 0x60 */
   2092     _flag_k = FK_ADD;
   2093     RECOMP_BACKEDGE();
   2094     goto L_46002DA4; /* 0x46028728: jmp 0x46002da4 */
   2095 L_4602872D:
   2096     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602872D: ret  */
   2097     RECOMP_REGS_OUT();
   2098 }
   2099 
   2100 void sub_4602872E(void) {
   2101     int _fpu_cmp = 0;
   2102     uint32_t _cf = 0;
   2103     int _df = 1;
   2104     uint32_t _flag_k = FK_NONE;
   2105     uint32_t _flag_a = 0, _flag_b = 0;
   2106     uint32_t _itail_tgt = 0;
   2107     RECOMP_REGS_LOCALS
   2108     RECOMP_ENTER(0x4602872Eu);
   2109 
   2110     goto L_4602872E;
   2111 L_460285C7:
   2112     eax = MEM32(ecx + (-0xC)); /* 0x460285C7: mov eax, dword ptr [ecx - 0xc] */
   2113     edx = ecx + (-0x4); /* 0x460285CA: lea edx, [ecx - 4] */
   2114     eax = MEM32(eax + 0x4); /* 0x460285CD: mov eax, dword ptr [eax + 4] */
   2115     MEM32(eax + ecx + (-0xC)) = 0x4602B9ECu; /* 0x460285D0: mov dword ptr [eax + ecx - 0xc], 0x4602b9ec */
   2116     eax = ecx + (-0xC); /* 0x460285D8: lea eax, [ecx - 0xc] */
   2117     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   2118     _cf = (eax) != 0;
   2119     eax = (uint32_t)(-(int32_t)eax); /* 0x460285DB: neg eax */
   2120     _flag_k = FK_CMP;
   2121     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x460285DD: sbb eax, eax */
   2122       eax = _sc ? 0xFFFFFFFFu : 0;
   2123       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   2124       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   2125     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2126     eax = eax & edx; /* 0x460285DF: and eax, edx */
   2127     _cf = 0;
   2128     _flag_k = FK_TEST;
   2129     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   2130     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2131     eax = eax + 4; /* 0x460285E1: add eax, 4 */
   2132     _flag_k = FK_ADD;
   2133     ecx = MEM32(eax + (-0x4)); /* 0x460285E4: mov ecx, dword ptr [eax - 4] */
   2134     ecx = MEM32(ecx + 0x4); /* 0x460285E7: mov ecx, dword ptr [ecx + 4] */
   2135     MEM32(ecx + eax + (-0x4)) = 0x4602B6A8u; /* 0x460285EA: mov dword ptr [ecx + eax - 4], 0x4602b6a8 */
   2136     eax = MEM32(edx + (-0x8)); /* 0x460285F2: mov eax, dword ptr [edx - 8] */
   2137     eax = MEM32(eax + 0x4); /* 0x460285F5: mov eax, dword ptr [eax + 4] */
   2138     MEM32(eax + edx + (-0x8)) = 0x4602B5D8u; /* 0x460285F8: mov dword ptr [eax + edx - 8], 0x4602b5d8 */
   2139     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028600: ret  */
   2140 L_4602872E:
   2141     ecx = MEM32(ebp + (-0x14)); /* 0x4602872E: mov ecx, dword ptr [ebp - 0x14] */
   2142     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   2143     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2144     ecx = ecx + 0xCu; /* 0x46028731: add ecx, 0xc */
   2145     _flag_k = FK_ADD;
   2146     RECOMP_BACKEDGE();
   2147     goto L_460285C7; /* 0x46028734: jmp 0x460285c7 */
   2148     { RECOMP_REGS_OUT(); return; } /* end of function */
   2149     RECOMP_REGS_OUT();
   2150 }
   2151 
   2152 void sub_46028739(void) {
   2153     int _fpu_cmp = 0;
   2154     uint32_t _cf = 0;
   2155     int _df = 1;
   2156     uint32_t _flag_k = FK_NONE;
   2157     uint32_t _flag_a = 0, _flag_b = 0;
   2158     uint32_t _itail_tgt = 0;
   2159     RECOMP_REGS_LOCALS
   2160     RECOMP_ENTER(0x46028739u);
   2161 
   2162     goto L_46028739;
   2163 L_46028258:
   2164     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2165 L_46028739:
   2166     eax = 0x4602E4B8u; /* 0x46028739: mov eax, 0x4602e4b8 */
   2167 L_4602873E:
   2168     RECOMP_BACKEDGE();
   2169     goto L_46028258; /* 0x4602873E: jmp 0x46028258 */
   2170     { RECOMP_REGS_OUT(); return; } /* end of function */
   2171   _ljump:
   2172     switch (_itail_tgt) {
   2173       case 0x46028258u: goto L_46028258;
   2174       case 0x46028739u: goto L_46028739;
   2175       case 0x4602873Eu: goto L_4602873E;
   2176       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2177     }
   2178     RECOMP_REGS_OUT();
   2179 }
   2180 
   2181 void sub_46028743(void) {
   2182     int _fpu_cmp = 0;
   2183     uint32_t _cf = 0;
   2184     int _df = 1;
   2185     uint32_t _flag_k = FK_NONE;
   2186     uint32_t _flag_a = 0, _flag_b = 0;
   2187     uint32_t _itail_tgt = 0;
   2188     RECOMP_REGS_LOCALS
   2189     RECOMP_ENTER(0x46028743u);
   2190 
   2191     goto L_46028743;
   2192 L_46028258:
   2193     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2194 L_46028743:
   2195     eax = 0x4602E4E8u; /* 0x46028743: mov eax, 0x4602e4e8 */
   2196 L_46028748:
   2197     RECOMP_BACKEDGE();
   2198     goto L_46028258; /* 0x46028748: jmp 0x46028258 */
   2199     { RECOMP_REGS_OUT(); return; } /* end of function */
   2200   _ljump:
   2201     switch (_itail_tgt) {
   2202       case 0x46028258u: goto L_46028258;
   2203       case 0x46028743u: goto L_46028743;
   2204       case 0x46028748u: goto L_46028748;
   2205       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2206     }
   2207     RECOMP_REGS_OUT();
   2208 }
   2209 
   2210 void sub_4602874D(void) {
   2211     int _fpu_cmp = 0;
   2212     uint32_t _cf = 0;
   2213     int _df = 1;
   2214     uint32_t _flag_k = FK_NONE;
   2215     uint32_t _flag_a = 0, _flag_b = 0;
   2216     uint32_t _itail_tgt = 0;
   2217     RECOMP_REGS_LOCALS
   2218     RECOMP_ENTER(0x4602874Du);
   2219 
   2220     goto L_4602874D;
   2221 L_46028258:
   2222     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2223 L_4602874D:
   2224     eax = 0x4602E540u; /* 0x4602874D: mov eax, 0x4602e540 */
   2225 L_46028752:
   2226     RECOMP_BACKEDGE();
   2227     goto L_46028258; /* 0x46028752: jmp 0x46028258 */
   2228     { RECOMP_REGS_OUT(); return; } /* end of function */
   2229   _ljump:
   2230     switch (_itail_tgt) {
   2231       case 0x46028258u: goto L_46028258;
   2232       case 0x4602874Du: goto L_4602874D;
   2233       case 0x46028752u: goto L_46028752;
   2234       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2235     }
   2236     RECOMP_REGS_OUT();
   2237 }
   2238 
   2239 void sub_46028757(void) {
   2240     int _fpu_cmp = 0;
   2241     uint32_t _cf = 0;
   2242     int _df = 1;
   2243     uint32_t _flag_k = FK_NONE;
   2244     uint32_t _flag_a = 0, _flag_b = 0;
   2245     uint32_t _itail_tgt = 0;
   2246     RECOMP_REGS_LOCALS
   2247     RECOMP_ENTER(0x46028757u);
   2248 
   2249     goto L_46028757;
   2250 L_46028359:
   2251     MEM32(ecx) = 0x4602B424u; /* 0x46028359: mov dword ptr [ecx], 0x4602b424 */
   2252     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602835F: ret  */
   2253 L_46028757:
   2254     ecx = MEM32(ebp + (-0x10)); /* 0x46028757: mov ecx, dword ptr [ebp - 0x10] */
   2255     RECOMP_BACKEDGE();
   2256     goto L_46028359; /* 0x4602875A: jmp 0x46028359 */
   2257     { RECOMP_REGS_OUT(); return; } /* end of function */
   2258     RECOMP_REGS_OUT();
   2259 }
   2260 
   2261 void sub_4602875F(void) {
   2262     int _fpu_cmp = 0;
   2263     uint32_t _cf = 0;
   2264     int _df = 1;
   2265     uint32_t _flag_k = FK_NONE;
   2266     uint32_t _flag_a = 0, _flag_b = 0;
   2267     uint32_t _itail_tgt = 0;
   2268     RECOMP_REGS_LOCALS
   2269     RECOMP_ENTER(0x4602875Fu);
   2270 
   2271     goto L_4602875F;
   2272 L_46028258:
   2273     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2274 L_4602875F:
   2275     eax = 0x4602E598u; /* 0x4602875F: mov eax, 0x4602e598 */
   2276 L_46028764:
   2277     RECOMP_BACKEDGE();
   2278     goto L_46028258; /* 0x46028764: jmp 0x46028258 */
   2279     { RECOMP_REGS_OUT(); return; } /* end of function */
   2280   _ljump:
   2281     switch (_itail_tgt) {
   2282       case 0x46028258u: goto L_46028258;
   2283       case 0x4602875Fu: goto L_4602875F;
   2284       case 0x46028764u: goto L_46028764;
   2285       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2286     }
   2287     RECOMP_REGS_OUT();
   2288 }
   2289 
   2290 void sub_46028769(void) {
   2291     int _fpu_cmp = 0;
   2292     uint32_t _cf = 0;
   2293     int _df = 1;
   2294     uint32_t _flag_k = FK_NONE;
   2295     uint32_t _flag_a = 0, _flag_b = 0;
   2296     uint32_t _itail_tgt = 0;
   2297     RECOMP_REGS_LOCALS
   2298     RECOMP_ENTER(0x46028769u);
   2299 
   2300     goto L_46028769;
   2301 L_46028345:
   2302     MEM32(ecx) = 0x4602B424u; /* 0x46028345: mov dword ptr [ecx], 0x4602b424 */
   2303     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602834B: ret  */
   2304 L_46028769:
   2305     ecx = MEM32(ebp + (-0x10)); /* 0x46028769: mov ecx, dword ptr [ebp - 0x10] */
   2306     RECOMP_BACKEDGE();
   2307     goto L_46028345; /* 0x4602876C: jmp 0x46028345 */
   2308     { RECOMP_REGS_OUT(); return; } /* end of function */
   2309     RECOMP_REGS_OUT();
   2310 }
   2311 
   2312 void sub_46028771(void) {
   2313     int _fpu_cmp = 0;
   2314     uint32_t _cf = 0;
   2315     int _df = 1;
   2316     uint32_t _flag_k = FK_NONE;
   2317     uint32_t _flag_a = 0, _flag_b = 0;
   2318     uint32_t _itail_tgt = 0;
   2319     RECOMP_REGS_LOCALS
   2320     RECOMP_ENTER(0x46028771u);
   2321 
   2322     goto L_46028771;
   2323 L_46028258:
   2324     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2325 L_46028771:
   2326     eax = 0x4602E5C0u; /* 0x46028771: mov eax, 0x4602e5c0 */
   2327 L_46028776:
   2328     RECOMP_BACKEDGE();
   2329     goto L_46028258; /* 0x46028776: jmp 0x46028258 */
   2330     { RECOMP_REGS_OUT(); return; } /* end of function */
   2331   _ljump:
   2332     switch (_itail_tgt) {
   2333       case 0x46028258u: goto L_46028258;
   2334       case 0x46028771u: goto L_46028771;
   2335       case 0x46028776u: goto L_46028776;
   2336       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2337     }
   2338     RECOMP_REGS_OUT();
   2339 }
   2340 
   2341 void sub_4602877B(void) {
   2342     int _fpu_cmp = 0;
   2343     uint32_t _cf = 0;
   2344     int _df = 1;
   2345     uint32_t _flag_k = FK_NONE;
   2346     uint32_t _flag_a = 0, _flag_b = 0;
   2347     uint32_t _itail_tgt = 0;
   2348     RECOMP_REGS_LOCALS
   2349     RECOMP_ENTER(0x4602877Bu);
   2350 
   2351 L_4602877B:
   2352     ecx = MEM32(ebp + (-0x10)); /* 0x4602877B: mov ecx, dword ptr [ebp - 0x10] */
   2353     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   2354     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   2355     RECOMP_REGS_OUT();
   2356 }
   2357 
   2358 void sub_4602877E(void) {
   2359     int _fpu_cmp = 0;
   2360     uint32_t _cf = 0;
   2361     int _df = 1;
   2362     uint32_t _flag_k = FK_NONE;
   2363     uint32_t _flag_a = 0, _flag_b = 0;
   2364     uint32_t _itail_tgt = 0;
   2365     RECOMP_REGS_LOCALS
   2366     RECOMP_ENTER(0x4602877Eu);
   2367 
   2368 L_4602877E:
   2369     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   2370     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   2371     RECOMP_REGS_OUT();
   2372 }
   2373 
   2374 void sub_46028785(void) {
   2375     int _fpu_cmp = 0;
   2376     uint32_t _cf = 0;
   2377     int _df = 1;
   2378     uint32_t _flag_k = FK_NONE;
   2379     uint32_t _flag_a = 0, _flag_b = 0;
   2380     uint32_t _itail_tgt = 0;
   2381     RECOMP_REGS_LOCALS
   2382     RECOMP_ENTER(0x46028785u);
   2383 
   2384     goto L_46028785;
   2385 L_4602836B:
   2386     eax = 0x4602A575u; /* 0x4602836B: mov eax, 0x4602a575 */
   2387     RECOMP_ICALL(0x46001535u); /* 0x46028370: call 0x46001535 */ /* not lifted */
   2388     RECOMP_FLAGS_IN();
   2389     PUSH32(esp, ecx); /* 0x46028375: push ecx */
   2390     PUSH32(esp, esi); /* 0x46028376: push esi */
   2391     esi = ecx; /* 0x46028377: mov esi, ecx */
   2392     MEM32(ebp + (-0x10)) = esi; /* 0x46028379: mov dword ptr [ebp - 0x10], esi */
   2393     eax = MEM32(esi + 0x28); /* 0x4602837C: mov eax, dword ptr [esi + 0x28] */
   2394     MEM32(ebp + (-0x4)) = 2; /* 0x4602837F: mov dword ptr [ebp - 4], 2 */
   2395     /* test eax, eax */ /* 0x46028386: test eax, eax */
   2396     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2397     _cf = 0;
   2398     _flag_k = FK_TEST;
   2399     if (TEST_Z(_flag_a, _flag_b)) goto L_460283A1; /* 0x46028388: jbe 0x460283a1 */
   2400 L_4602838A:
   2401     eax = MEM32(esi + 0x24); /* 0x4602838A: mov eax, dword ptr [esi + 0x24] */
   2402     /* test eax, eax */ /* 0x4602838D: test eax, eax */
   2403     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2404     _cf = 0;
   2405     _flag_k = FK_TEST;
   2406     if (TEST_NZ(_flag_a, _flag_b)) goto L_46028396; /* 0x4602838F: jne 0x46028396 */
   2407 L_46028391:
   2408     eax = 0x4602B7C9u; /* 0x46028391: mov eax, 0x4602b7c9 */
   2409 L_46028396:
   2410     PUSH32(esp, eax); /* 0x46028396: push eax */
   2411     PUSH32(esp, 0); /* 0x46028397: push 0 */
   2412     RECOMP_ICALL(MEM32(0x4602B09C)); /* 0x46028399: call dword ptr [0x4602b09c] */
   2413     RECOMP_FLAGS_IN();
   2414     ecx = POP32_VAL(esp); /* 0x4602839F: pop ecx */
   2415     ecx = POP32_VAL(esp); /* 0x460283A0: pop ecx */
   2416 L_460283A1:
   2417     PUSH32(esp, 1); /* 0x460283A1: push 1 */
   2418     ecx = esi + 0x30; /* 0x460283A3: lea ecx, [esi + 0x30] */
   2419     RECOMP_ICALL(0x46001A60u); /* 0x460283A6: call 0x46001a60 */ /* not lifted */
   2420     RECOMP_FLAGS_IN();
   2421     PUSH32(esp, 1); /* 0x460283AB: push 1 */
   2422     ecx = esi + 0x20; /* 0x460283AD: lea ecx, [esi + 0x20] */
   2423     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x460283B0: mov byte ptr [ebp - 4], 1 */
   2424     RECOMP_ICALL(0x46001A60u); /* 0x460283B4: call 0x46001a60 */ /* not lifted */
   2425     RECOMP_FLAGS_IN();
   2426     _flag_a = (uint32_t)(MEM8(ebp + (-0x4))) << 24; _flag_b = (uint32_t)(0) << 24;
   2427     MEM8(ebp + (-0x4)) = (uint8_t)(MEM8(ebp + (-0x4)) & 0); /* 0x460283B9: and byte ptr [ebp - 4], 0 */
   2428     _cf = 0;
   2429     _flag_k = FK_NARROW(FK_TEST, 24);
   2430     PUSH32(esp, 1); /* 0x460283BD: push 1 */
   2431     ecx = esi + 0x10; /* 0x460283BF: lea ecx, [esi + 0x10] */
   2432     RECOMP_ICALL(0x46001A60u); /* 0x460283C2: call 0x46001a60 */ /* not lifted */
   2433     RECOMP_FLAGS_IN();
   2434     _flag_a = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu)); _flag_b = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu));
   2435     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) | 0xFFFFFFFFu; /* 0x460283C7: or dword ptr [ebp - 4], 0xffffffff */
   2436     _cf = 0;
   2437     _flag_k = FK_TEST;
   2438     PUSH32(esp, 1); /* 0x460283CB: push 1 */
   2439     ecx = esi; /* 0x460283CD: mov ecx, esi */
   2440     RECOMP_ICALL(0x46001A60u); /* 0x460283CF: call 0x46001a60 */ /* not lifted */
   2441     RECOMP_FLAGS_IN();
   2442     ecx = MEM32(ebp + (-0xC)); /* 0x460283D4: mov ecx, dword ptr [ebp - 0xc] */
   2443     esi = POP32_VAL(esp); /* 0x460283D7: pop esi */
   2444     MEM32(FS_BASE + (0)) = ecx; /* 0x460283D8: mov dword ptr fs:[0], ecx */
   2445     esp = ebp; ebp = POP32_VAL(esp); /* 0x460283DF: leave  */
   2446     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460283E0: ret  */
   2447 L_46028785:
   2448     ecx = ebp + (-0x50); /* 0x46028785: lea ecx, [ebp - 0x50] */
   2449     RECOMP_BACKEDGE();
   2450     goto L_4602836B; /* 0x46028788: jmp 0x4602836b */
   2451     { RECOMP_REGS_OUT(); return; } /* end of function */
   2452     RECOMP_REGS_OUT();
   2453 }
   2454 
   2455 void sub_4602878D(void) {
   2456     int _fpu_cmp = 0;
   2457     uint32_t _cf = 0;
   2458     int _df = 1;
   2459     uint32_t _flag_k = FK_NONE;
   2460     uint32_t _flag_a = 0, _flag_b = 0;
   2461     uint32_t _itail_tgt = 0;
   2462     RECOMP_REGS_LOCALS
   2463     RECOMP_ENTER(0x4602878Du);
   2464 
   2465     goto L_4602878D;
   2466 L_46028258:
   2467     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2468 L_4602878D:
   2469     eax = 0x4602E5E8u; /* 0x4602878D: mov eax, 0x4602e5e8 */
   2470 L_46028792:
   2471     RECOMP_BACKEDGE();
   2472     goto L_46028258; /* 0x46028792: jmp 0x46028258 */
   2473     { RECOMP_REGS_OUT(); return; } /* end of function */
   2474   _ljump:
   2475     switch (_itail_tgt) {
   2476       case 0x46028258u: goto L_46028258;
   2477       case 0x4602878Du: goto L_4602878D;
   2478       case 0x46028792u: goto L_46028792;
   2479       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2480     }
   2481     RECOMP_REGS_OUT();
   2482 }
   2483 
   2484 void sub_46028797(void) {
   2485     int _fpu_cmp = 0;
   2486     uint32_t _cf = 0;
   2487     int _df = 1;
   2488     uint32_t _flag_k = FK_NONE;
   2489     uint32_t _flag_a = 0, _flag_b = 0;
   2490     uint32_t _itail_tgt = 0;
   2491     RECOMP_REGS_LOCALS
   2492     RECOMP_ENTER(0x46028797u);
   2493 
   2494     goto L_46028797;
   2495 L_4602877E:
   2496     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   2497     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   2498 L_46028797:
   2499     ecx = MEM32(ebp + (-0x10)); /* 0x46028797: mov ecx, dword ptr [ebp - 0x10] */
   2500     RECOMP_BACKEDGE();
   2501     goto L_4602877E; /* 0x4602879A: jmp 0x4602877e */
   2502     { RECOMP_REGS_OUT(); return; } /* end of function */
   2503     RECOMP_REGS_OUT();
   2504 }
   2505 
   2506 void sub_4602879C(void) {
   2507     int _fpu_cmp = 0;
   2508     uint32_t _cf = 0;
   2509     int _df = 1;
   2510     uint32_t _flag_k = FK_NONE;
   2511     uint32_t _flag_a = 0, _flag_b = 0;
   2512     uint32_t _itail_tgt = 0;
   2513     RECOMP_REGS_LOCALS
   2514     RECOMP_ENTER(0x4602879Cu);
   2515 
   2516     goto L_4602879C;
   2517 L_46028258:
   2518     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2519 L_4602879C:
   2520     eax = 0x4602E618u; /* 0x4602879C: mov eax, 0x4602e618 */
   2521 L_460287A1:
   2522     RECOMP_BACKEDGE();
   2523     goto L_46028258; /* 0x460287A1: jmp 0x46028258 */
   2524     { RECOMP_REGS_OUT(); return; } /* end of function */
   2525   _ljump:
   2526     switch (_itail_tgt) {
   2527       case 0x46028258u: goto L_46028258;
   2528       case 0x4602879Cu: goto L_4602879C;
   2529       case 0x460287A1u: goto L_460287A1;
   2530       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2531     }
   2532     RECOMP_REGS_OUT();
   2533 }
   2534 
   2535 void sub_460287A6(void) {
   2536     int _fpu_cmp = 0;
   2537     uint32_t _cf = 0;
   2538     int _df = 1;
   2539     uint32_t _flag_k = FK_NONE;
   2540     uint32_t _flag_a = 0, _flag_b = 0;
   2541     uint32_t _itail_tgt = 0;
   2542     RECOMP_REGS_LOCALS
   2543     RECOMP_ENTER(0x460287A6u);
   2544 
   2545     goto L_460287A6;
   2546 L_4602877E:
   2547     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   2548     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   2549 L_460287A6:
   2550     ecx = MEM32(ebp + (-0x10)); /* 0x460287A6: mov ecx, dword ptr [ebp - 0x10] */
   2551     RECOMP_BACKEDGE();
   2552     goto L_4602877E; /* 0x460287A9: jmp 0x4602877e */
   2553     { RECOMP_REGS_OUT(); return; } /* end of function */
   2554     RECOMP_REGS_OUT();
   2555 }
   2556 
   2557 void sub_460287AB(void) {
   2558     int _fpu_cmp = 0;
   2559     uint32_t _cf = 0;
   2560     int _df = 1;
   2561     uint32_t _flag_k = FK_NONE;
   2562     uint32_t _flag_a = 0, _flag_b = 0;
   2563     uint32_t _itail_tgt = 0;
   2564     RECOMP_REGS_LOCALS
   2565     RECOMP_ENTER(0x460287ABu);
   2566 
   2567     goto L_460287AB;
   2568 L_4602836B:
   2569     eax = 0x4602A575u; /* 0x4602836B: mov eax, 0x4602a575 */
   2570     RECOMP_ICALL(0x46001535u); /* 0x46028370: call 0x46001535 */ /* not lifted */
   2571     RECOMP_FLAGS_IN();
   2572     PUSH32(esp, ecx); /* 0x46028375: push ecx */
   2573     PUSH32(esp, esi); /* 0x46028376: push esi */
   2574     esi = ecx; /* 0x46028377: mov esi, ecx */
   2575     MEM32(ebp + (-0x10)) = esi; /* 0x46028379: mov dword ptr [ebp - 0x10], esi */
   2576     eax = MEM32(esi + 0x28); /* 0x4602837C: mov eax, dword ptr [esi + 0x28] */
   2577     MEM32(ebp + (-0x4)) = 2; /* 0x4602837F: mov dword ptr [ebp - 4], 2 */
   2578     /* test eax, eax */ /* 0x46028386: test eax, eax */
   2579     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2580     _cf = 0;
   2581     _flag_k = FK_TEST;
   2582     if (TEST_Z(_flag_a, _flag_b)) goto L_460283A1; /* 0x46028388: jbe 0x460283a1 */
   2583 L_4602838A:
   2584     eax = MEM32(esi + 0x24); /* 0x4602838A: mov eax, dword ptr [esi + 0x24] */
   2585     /* test eax, eax */ /* 0x4602838D: test eax, eax */
   2586     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2587     _cf = 0;
   2588     _flag_k = FK_TEST;
   2589     if (TEST_NZ(_flag_a, _flag_b)) goto L_46028396; /* 0x4602838F: jne 0x46028396 */
   2590 L_46028391:
   2591     eax = 0x4602B7C9u; /* 0x46028391: mov eax, 0x4602b7c9 */
   2592 L_46028396:
   2593     PUSH32(esp, eax); /* 0x46028396: push eax */
   2594     PUSH32(esp, 0); /* 0x46028397: push 0 */
   2595     RECOMP_ICALL(MEM32(0x4602B09C)); /* 0x46028399: call dword ptr [0x4602b09c] */
   2596     RECOMP_FLAGS_IN();
   2597     ecx = POP32_VAL(esp); /* 0x4602839F: pop ecx */
   2598     ecx = POP32_VAL(esp); /* 0x460283A0: pop ecx */
   2599 L_460283A1:
   2600     PUSH32(esp, 1); /* 0x460283A1: push 1 */
   2601     ecx = esi + 0x30; /* 0x460283A3: lea ecx, [esi + 0x30] */
   2602     RECOMP_ICALL(0x46001A60u); /* 0x460283A6: call 0x46001a60 */ /* not lifted */
   2603     RECOMP_FLAGS_IN();
   2604     PUSH32(esp, 1); /* 0x460283AB: push 1 */
   2605     ecx = esi + 0x20; /* 0x460283AD: lea ecx, [esi + 0x20] */
   2606     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x460283B0: mov byte ptr [ebp - 4], 1 */
   2607     RECOMP_ICALL(0x46001A60u); /* 0x460283B4: call 0x46001a60 */ /* not lifted */
   2608     RECOMP_FLAGS_IN();
   2609     _flag_a = (uint32_t)(MEM8(ebp + (-0x4))) << 24; _flag_b = (uint32_t)(0) << 24;
   2610     MEM8(ebp + (-0x4)) = (uint8_t)(MEM8(ebp + (-0x4)) & 0); /* 0x460283B9: and byte ptr [ebp - 4], 0 */
   2611     _cf = 0;
   2612     _flag_k = FK_NARROW(FK_TEST, 24);
   2613     PUSH32(esp, 1); /* 0x460283BD: push 1 */
   2614     ecx = esi + 0x10; /* 0x460283BF: lea ecx, [esi + 0x10] */
   2615     RECOMP_ICALL(0x46001A60u); /* 0x460283C2: call 0x46001a60 */ /* not lifted */
   2616     RECOMP_FLAGS_IN();
   2617     _flag_a = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu)); _flag_b = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu));
   2618     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) | 0xFFFFFFFFu; /* 0x460283C7: or dword ptr [ebp - 4], 0xffffffff */
   2619     _cf = 0;
   2620     _flag_k = FK_TEST;
   2621     PUSH32(esp, 1); /* 0x460283CB: push 1 */
   2622     ecx = esi; /* 0x460283CD: mov ecx, esi */
   2623     RECOMP_ICALL(0x46001A60u); /* 0x460283CF: call 0x46001a60 */ /* not lifted */
   2624     RECOMP_FLAGS_IN();
   2625     ecx = MEM32(ebp + (-0xC)); /* 0x460283D4: mov ecx, dword ptr [ebp - 0xc] */
   2626     esi = POP32_VAL(esp); /* 0x460283D7: pop esi */
   2627     MEM32(FS_BASE + (0)) = ecx; /* 0x460283D8: mov dword ptr fs:[0], ecx */
   2628     esp = ebp; ebp = POP32_VAL(esp); /* 0x460283DF: leave  */
   2629     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460283E0: ret  */
   2630 L_460287AB:
   2631     ecx = ebp + (-0x50); /* 0x460287AB: lea ecx, [ebp - 0x50] */
   2632     RECOMP_BACKEDGE();
   2633     goto L_4602836B; /* 0x460287AE: jmp 0x4602836b */
   2634     { RECOMP_REGS_OUT(); return; } /* end of function */
   2635     RECOMP_REGS_OUT();
   2636 }
   2637 
   2638 void sub_460287B3(void) {
   2639     int _fpu_cmp = 0;
   2640     uint32_t _cf = 0;
   2641     int _df = 1;
   2642     uint32_t _flag_k = FK_NONE;
   2643     uint32_t _flag_a = 0, _flag_b = 0;
   2644     uint32_t _itail_tgt = 0;
   2645     RECOMP_REGS_LOCALS
   2646     RECOMP_ENTER(0x460287B3u);
   2647 
   2648     goto L_460287B3;
   2649 L_46028258:
   2650     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2651 L_460287B3:
   2652     eax = 0x4602E640u; /* 0x460287B3: mov eax, 0x4602e640 */
   2653 L_460287B8:
   2654     RECOMP_BACKEDGE();
   2655     goto L_46028258; /* 0x460287B8: jmp 0x46028258 */
   2656     { RECOMP_REGS_OUT(); return; } /* end of function */
   2657   _ljump:
   2658     switch (_itail_tgt) {
   2659       case 0x46028258u: goto L_46028258;
   2660       case 0x460287B3u: goto L_460287B3;
   2661       case 0x460287B8u: goto L_460287B8;
   2662       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2663     }
   2664     RECOMP_REGS_OUT();
   2665 }
   2666 
   2667 void sub_460287BD(void) {
   2668     int _fpu_cmp = 0;
   2669     uint32_t _cf = 0;
   2670     int _df = 1;
   2671     uint32_t _flag_k = FK_NONE;
   2672     uint32_t _flag_a = 0, _flag_b = 0;
   2673     uint32_t _itail_tgt = 0;
   2674     RECOMP_REGS_LOCALS
   2675     RECOMP_ENTER(0x460287BDu);
   2676 
   2677     goto L_460287BD;
   2678 L_4602877E:
   2679     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   2680     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   2681 L_460287BD:
   2682     ecx = MEM32(ebp + (-0x10)); /* 0x460287BD: mov ecx, dword ptr [ebp - 0x10] */
   2683     RECOMP_BACKEDGE();
   2684     goto L_4602877E; /* 0x460287C0: jmp 0x4602877e */
   2685     { RECOMP_REGS_OUT(); return; } /* end of function */
   2686     RECOMP_REGS_OUT();
   2687 }
   2688 
   2689 void sub_460287C2(void) {
   2690     int _fpu_cmp = 0;
   2691     uint32_t _cf = 0;
   2692     int _df = 1;
   2693     uint32_t _flag_k = FK_NONE;
   2694     uint32_t _flag_a = 0, _flag_b = 0;
   2695     uint32_t _itail_tgt = 0;
   2696     RECOMP_REGS_LOCALS
   2697     RECOMP_ENTER(0x460287C2u);
   2698 
   2699     goto L_460287C2;
   2700 L_46028258:
   2701     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2702 L_460287C2:
   2703     eax = 0x4602E670u; /* 0x460287C2: mov eax, 0x4602e670 */
   2704 L_460287C7:
   2705     RECOMP_BACKEDGE();
   2706     goto L_46028258; /* 0x460287C7: jmp 0x46028258 */
   2707     { RECOMP_REGS_OUT(); return; } /* end of function */
   2708   _ljump:
   2709     switch (_itail_tgt) {
   2710       case 0x46028258u: goto L_46028258;
   2711       case 0x460287C2u: goto L_460287C2;
   2712       case 0x460287C7u: goto L_460287C7;
   2713       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2714     }
   2715     RECOMP_REGS_OUT();
   2716 }
   2717 
   2718 void sub_460287CC(void) {
   2719     int _fpu_cmp = 0;
   2720     uint32_t _cf = 0;
   2721     int _df = 1;
   2722     uint32_t _flag_k = FK_NONE;
   2723     uint32_t _flag_a = 0, _flag_b = 0;
   2724     uint32_t _itail_tgt = 0;
   2725     RECOMP_REGS_LOCALS
   2726     RECOMP_ENTER(0x460287CCu);
   2727 
   2728     goto L_460287CC;
   2729 L_4602877E:
   2730     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   2731     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   2732 L_460287CC:
   2733     ecx = MEM32(ebp + (-0x10)); /* 0x460287CC: mov ecx, dword ptr [ebp - 0x10] */
   2734     RECOMP_BACKEDGE();
   2735     goto L_4602877E; /* 0x460287CF: jmp 0x4602877e */
   2736     { RECOMP_REGS_OUT(); return; } /* end of function */
   2737     RECOMP_REGS_OUT();
   2738 }
   2739 
   2740 void sub_460287D1(void) {
   2741     int _fpu_cmp = 0;
   2742     uint32_t _cf = 0;
   2743     int _df = 1;
   2744     uint32_t _flag_k = FK_NONE;
   2745     uint32_t _flag_a = 0, _flag_b = 0;
   2746     uint32_t _itail_tgt = 0;
   2747     RECOMP_REGS_LOCALS
   2748     RECOMP_ENTER(0x460287D1u);
   2749 
   2750     goto L_460287D1;
   2751 L_46028258:
   2752     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2753 L_460287D1:
   2754     eax = 0x4602E698u; /* 0x460287D1: mov eax, 0x4602e698 */
   2755 L_460287D6:
   2756     RECOMP_BACKEDGE();
   2757     goto L_46028258; /* 0x460287D6: jmp 0x46028258 */
   2758     { RECOMP_REGS_OUT(); return; } /* end of function */
   2759   _ljump:
   2760     switch (_itail_tgt) {
   2761       case 0x46028258u: goto L_46028258;
   2762       case 0x460287D1u: goto L_460287D1;
   2763       case 0x460287D6u: goto L_460287D6;
   2764       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2765     }
   2766     RECOMP_REGS_OUT();
   2767 }
   2768 
   2769 void sub_460287DB(void) {
   2770     int _fpu_cmp = 0;
   2771     uint32_t _cf = 0;
   2772     int _df = 1;
   2773     uint32_t _flag_k = FK_NONE;
   2774     uint32_t _flag_a = 0, _flag_b = 0;
   2775     uint32_t _itail_tgt = 0;
   2776     RECOMP_REGS_LOCALS
   2777     RECOMP_ENTER(0x460287DBu);
   2778 
   2779     goto L_460287DB;
   2780 L_46001C9F:
   2781     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2782     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2783     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2784     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2785     RECOMP_FLAGS_IN();
   2786     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2787 L_46001CAE:
   2788     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2789     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2790     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2791     _cf = 0;
   2792     _flag_k = FK_TEST;
   2793     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2794 L_46001CB4:
   2795     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2796     RECOMP_FLAGS_IN();
   2797     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2799     _cf = 0;
   2800     _flag_k = FK_TEST;
   2801     RECOMP_BACKEDGE();
   2802     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2803 L_46001CBD:
   2804     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2805 L_460287DB:
   2806     ecx = ebp + 0x1C; /* 0x460287DB: lea ecx, [ebp + 0x1c] */
   2807     RECOMP_BACKEDGE();
   2808     goto L_46001CAE; /* 0x460287DE: jmp 0x46001cae */
   2809     { RECOMP_REGS_OUT(); return; } /* end of function */
   2810     RECOMP_REGS_OUT();
   2811 }
   2812 
   2813 void sub_460287E3(void) {
   2814     int _fpu_cmp = 0;
   2815     uint32_t _cf = 0;
   2816     int _df = 1;
   2817     uint32_t _flag_k = FK_NONE;
   2818     uint32_t _flag_a = 0, _flag_b = 0;
   2819     uint32_t _itail_tgt = 0;
   2820     RECOMP_REGS_LOCALS
   2821     RECOMP_ENTER(0x460287E3u);
   2822 
   2823     goto L_460287E3;
   2824 L_46002CF0:
   2825     PUSH32(esp, 1); /* 0x46002CF0: push 1 */
   2826     RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */
   2827     RECOMP_FLAGS_IN();
   2828     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret  */
   2829 L_460287E3:
   2830     ecx = ebp + (-0x28); /* 0x460287E3: lea ecx, [ebp - 0x28] */
   2831     RECOMP_BACKEDGE();
   2832     goto L_46002CF0; /* 0x460287E6: jmp 0x46002cf0 */
   2833     { RECOMP_REGS_OUT(); return; } /* end of function */
   2834     RECOMP_REGS_OUT();
   2835 }
   2836 
   2837 void sub_460287EB(void) {
   2838     int _fpu_cmp = 0;
   2839     uint32_t _cf = 0;
   2840     int _df = 1;
   2841     uint32_t _flag_k = FK_NONE;
   2842     uint32_t _flag_a = 0, _flag_b = 0;
   2843     uint32_t _itail_tgt = 0;
   2844     RECOMP_REGS_LOCALS
   2845     RECOMP_ENTER(0x460287EBu);
   2846 
   2847     goto L_460287EB;
   2848 L_46002CF0:
   2849     PUSH32(esp, 1); /* 0x46002CF0: push 1 */
   2850     RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */
   2851     RECOMP_FLAGS_IN();
   2852     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret  */
   2853 L_460287EB:
   2854     ecx = ebp + (-0x38); /* 0x460287EB: lea ecx, [ebp - 0x38] */
   2855     RECOMP_BACKEDGE();
   2856     goto L_46002CF0; /* 0x460287EE: jmp 0x46002cf0 */
   2857     { RECOMP_REGS_OUT(); return; } /* end of function */
   2858     RECOMP_REGS_OUT();
   2859 }
   2860 
   2861 void sub_460287F3(void) {
   2862     int _fpu_cmp = 0;
   2863     uint32_t _cf = 0;
   2864     int _df = 1;
   2865     uint32_t _flag_k = FK_NONE;
   2866     uint32_t _flag_a = 0, _flag_b = 0;
   2867     uint32_t _itail_tgt = 0;
   2868     RECOMP_REGS_LOCALS
   2869     RECOMP_ENTER(0x460287F3u);
   2870 
   2871     goto L_460287F3;
   2872 L_46002CF0:
   2873     PUSH32(esp, 1); /* 0x46002CF0: push 1 */
   2874     RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */
   2875     RECOMP_FLAGS_IN();
   2876     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret  */
   2877 L_460287F3:
   2878     ecx = ebp + (-0x38); /* 0x460287F3: lea ecx, [ebp - 0x38] */
   2879     RECOMP_BACKEDGE();
   2880     goto L_46002CF0; /* 0x460287F6: jmp 0x46002cf0 */
   2881     { RECOMP_REGS_OUT(); return; } /* end of function */
   2882     RECOMP_REGS_OUT();
   2883 }
   2884 
   2885 void sub_460287FB(void) {
   2886     int _fpu_cmp = 0;
   2887     uint32_t _cf = 0;
   2888     int _df = 1;
   2889     uint32_t _flag_k = FK_NONE;
   2890     uint32_t _flag_a = 0, _flag_b = 0;
   2891     uint32_t _itail_tgt = 0;
   2892     RECOMP_REGS_LOCALS
   2893     RECOMP_ENTER(0x460287FBu);
   2894 
   2895     goto L_460287FB;
   2896 L_46001C9F:
   2897     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2898     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2899     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2900     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2901     RECOMP_FLAGS_IN();
   2902     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2903 L_46001CAE:
   2904     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2905     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2906     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2907     _cf = 0;
   2908     _flag_k = FK_TEST;
   2909     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2910 L_46001CB4:
   2911     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2912     RECOMP_FLAGS_IN();
   2913     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2914     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2915     _cf = 0;
   2916     _flag_k = FK_TEST;
   2917     RECOMP_BACKEDGE();
   2918     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2919 L_46001CBD:
   2920     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2921 L_460287FB:
   2922     ecx = ebp + (-0x14); /* 0x460287FB: lea ecx, [ebp - 0x14] */
   2923     RECOMP_BACKEDGE();
   2924     goto L_46001CAE; /* 0x460287FE: jmp 0x46001cae */
   2925     { RECOMP_REGS_OUT(); return; } /* end of function */
   2926     RECOMP_REGS_OUT();
   2927 }
   2928 
   2929 void sub_46028803(void) {
   2930     int _fpu_cmp = 0;
   2931     uint32_t _cf = 0;
   2932     int _df = 1;
   2933     uint32_t _flag_k = FK_NONE;
   2934     uint32_t _flag_a = 0, _flag_b = 0;
   2935     uint32_t _itail_tgt = 0;
   2936     RECOMP_REGS_LOCALS
   2937     RECOMP_ENTER(0x46028803u);
   2938 
   2939     goto L_46028803;
   2940 L_46028258:
   2941     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2942 L_46028803:
   2943     eax = 0x4602E6C0u; /* 0x46028803: mov eax, 0x4602e6c0 */
   2944 L_46028808:
   2945     RECOMP_BACKEDGE();
   2946     goto L_46028258; /* 0x46028808: jmp 0x46028258 */
   2947     { RECOMP_REGS_OUT(); return; } /* end of function */
   2948   _ljump:
   2949     switch (_itail_tgt) {
   2950       case 0x46028258u: goto L_46028258;
   2951       case 0x46028803u: goto L_46028803;
   2952       case 0x46028808u: goto L_46028808;
   2953       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2954     }
   2955     RECOMP_REGS_OUT();
   2956 }
   2957 
   2958 void sub_4602880D(void) {
   2959     int _fpu_cmp = 0;
   2960     uint32_t _cf = 0;
   2961     int _df = 1;
   2962     uint32_t _flag_k = FK_NONE;
   2963     uint32_t _flag_a = 0, _flag_b = 0;
   2964     uint32_t _itail_tgt = 0;
   2965     RECOMP_REGS_LOCALS
   2966     RECOMP_ENTER(0x4602880Du);
   2967 
   2968     goto L_4602880D;
   2969 L_46001C9F:
   2970     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2971     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2972     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2973     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2974     RECOMP_FLAGS_IN();
   2975     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2976 L_46001CAE:
   2977     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2978     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2979     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2980     _cf = 0;
   2981     _flag_k = FK_TEST;
   2982     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2983 L_46001CB4:
   2984     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2985     RECOMP_FLAGS_IN();
   2986     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2987     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2988     _cf = 0;
   2989     _flag_k = FK_TEST;
   2990     RECOMP_BACKEDGE();
   2991     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2992 L_46001CBD:
   2993     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2994 L_4602880D:
   2995     ecx = ebp + 0x1C; /* 0x4602880D: lea ecx, [ebp + 0x1c] */
   2996     RECOMP_BACKEDGE();
   2997     goto L_46001CAE; /* 0x46028810: jmp 0x46001cae */
   2998     { RECOMP_REGS_OUT(); return; } /* end of function */
   2999     RECOMP_REGS_OUT();
   3000 }
   3001 
   3002 void sub_46028815(void) {
   3003     int _fpu_cmp = 0;
   3004     uint32_t _cf = 0;
   3005     int _df = 1;
   3006     uint32_t _flag_k = FK_NONE;
   3007     uint32_t _flag_a = 0, _flag_b = 0;
   3008     uint32_t _itail_tgt = 0;
   3009     RECOMP_REGS_LOCALS
   3010     RECOMP_ENTER(0x46028815u);
   3011 
   3012     goto L_46028815;
   3013 L_46028258:
   3014     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3015 L_46028815:
   3016     eax = 0x4602E708u; /* 0x46028815: mov eax, 0x4602e708 */
   3017 L_4602881A:
   3018     RECOMP_BACKEDGE();
   3019     goto L_46028258; /* 0x4602881A: jmp 0x46028258 */
   3020     { RECOMP_REGS_OUT(); return; } /* end of function */
   3021   _ljump:
   3022     switch (_itail_tgt) {
   3023       case 0x46028258u: goto L_46028258;
   3024       case 0x46028815u: goto L_46028815;
   3025       case 0x4602881Au: goto L_4602881A;
   3026       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3027     }
   3028     RECOMP_REGS_OUT();
   3029 }
   3030 
   3031 void sub_4602881F(void) {
   3032     int _fpu_cmp = 0;
   3033     uint32_t _cf = 0;
   3034     int _df = 1;
   3035     uint32_t _flag_k = FK_NONE;
   3036     uint32_t _flag_a = 0, _flag_b = 0;
   3037     uint32_t _itail_tgt = 0;
   3038     RECOMP_REGS_LOCALS
   3039     RECOMP_ENTER(0x4602881Fu);
   3040 
   3041     goto L_4602881F;
   3042 L_46001C9F:
   3043     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3044     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3045     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3046     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3047     RECOMP_FLAGS_IN();
   3048     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3049 L_46001CAE:
   3050     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3051     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3052     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3053     _cf = 0;
   3054     _flag_k = FK_TEST;
   3055     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3056 L_46001CB4:
   3057     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3058     RECOMP_FLAGS_IN();
   3059     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3060     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3061     _cf = 0;
   3062     _flag_k = FK_TEST;
   3063     RECOMP_BACKEDGE();
   3064     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3065 L_46001CBD:
   3066     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3067 L_4602881F:
   3068     ecx = ebp + 0x1C; /* 0x4602881F: lea ecx, [ebp + 0x1c] */
   3069     RECOMP_BACKEDGE();
   3070     goto L_46001CAE; /* 0x46028822: jmp 0x46001cae */
   3071     { RECOMP_REGS_OUT(); return; } /* end of function */
   3072     RECOMP_REGS_OUT();
   3073 }
   3074 
   3075 void sub_46028827(void) {
   3076     int _fpu_cmp = 0;
   3077     uint32_t _cf = 0;
   3078     int _df = 1;
   3079     uint32_t _flag_k = FK_NONE;
   3080     uint32_t _flag_a = 0, _flag_b = 0;
   3081     uint32_t _itail_tgt = 0;
   3082     RECOMP_REGS_LOCALS
   3083     RECOMP_ENTER(0x46028827u);
   3084 
   3085     goto L_46028827;
   3086 L_46028258:
   3087     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3088 L_46028827:
   3089     eax = 0x4602E730u; /* 0x46028827: mov eax, 0x4602e730 */
   3090 L_4602882C:
   3091     RECOMP_BACKEDGE();
   3092     goto L_46028258; /* 0x4602882C: jmp 0x46028258 */
   3093     { RECOMP_REGS_OUT(); return; } /* end of function */
   3094   _ljump:
   3095     switch (_itail_tgt) {
   3096       case 0x46028258u: goto L_46028258;
   3097       case 0x46028827u: goto L_46028827;
   3098       case 0x4602882Cu: goto L_4602882C;
   3099       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3100     }
   3101     RECOMP_REGS_OUT();
   3102 }
   3103 
   3104 void sub_46028831(void) {
   3105     int _fpu_cmp = 0;
   3106     uint32_t _cf = 0;
   3107     int _df = 1;
   3108     uint32_t _flag_k = FK_NONE;
   3109     uint32_t _flag_a = 0, _flag_b = 0;
   3110     uint32_t _itail_tgt = 0;
   3111     RECOMP_REGS_LOCALS
   3112     RECOMP_ENTER(0x46028831u);
   3113 
   3114     goto L_46028831;
   3115 L_46001C9F:
   3116     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3117     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3118     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3119     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3120     RECOMP_FLAGS_IN();
   3121     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3122 L_46001CAE:
   3123     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3124     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3125     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3126     _cf = 0;
   3127     _flag_k = FK_TEST;
   3128     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3129 L_46001CB4:
   3130     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3131     RECOMP_FLAGS_IN();
   3132     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3133     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3134     _cf = 0;
   3135     _flag_k = FK_TEST;
   3136     RECOMP_BACKEDGE();
   3137     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3138 L_46001CBD:
   3139     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3140 L_46028831:
   3141     ecx = ebp + 0x1C; /* 0x46028831: lea ecx, [ebp + 0x1c] */
   3142     RECOMP_BACKEDGE();
   3143     goto L_46001CAE; /* 0x46028834: jmp 0x46001cae */
   3144     { RECOMP_REGS_OUT(); return; } /* end of function */
   3145     RECOMP_REGS_OUT();
   3146 }
   3147 
   3148 void sub_46028839(void) {
   3149     int _fpu_cmp = 0;
   3150     uint32_t _cf = 0;
   3151     int _df = 1;
   3152     uint32_t _flag_k = FK_NONE;
   3153     uint32_t _flag_a = 0, _flag_b = 0;
   3154     uint32_t _itail_tgt = 0;
   3155     RECOMP_REGS_LOCALS
   3156     RECOMP_ENTER(0x46028839u);
   3157 
   3158     goto L_46028839;
   3159 L_46028258:
   3160     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3161 L_46028839:
   3162     eax = 0x4602E758u; /* 0x46028839: mov eax, 0x4602e758 */
   3163 L_4602883E:
   3164     RECOMP_BACKEDGE();
   3165     goto L_46028258; /* 0x4602883E: jmp 0x46028258 */
   3166     { RECOMP_REGS_OUT(); return; } /* end of function */
   3167   _ljump:
   3168     switch (_itail_tgt) {
   3169       case 0x46028258u: goto L_46028258;
   3170       case 0x46028839u: goto L_46028839;
   3171       case 0x4602883Eu: goto L_4602883E;
   3172       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3173     }
   3174     RECOMP_REGS_OUT();
   3175 }
   3176 
   3177 void sub_46028843(void) {
   3178     int _fpu_cmp = 0;
   3179     uint32_t _cf = 0;
   3180     int _df = 1;
   3181     uint32_t _flag_k = FK_NONE;
   3182     uint32_t _flag_a = 0, _flag_b = 0;
   3183     uint32_t _itail_tgt = 0;
   3184     RECOMP_REGS_LOCALS
   3185     RECOMP_ENTER(0x46028843u);
   3186 
   3187     goto L_46028843;
   3188 L_46001C9F:
   3189     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3190     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3191     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3192     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3193     RECOMP_FLAGS_IN();
   3194     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3195 L_46001CAE:
   3196     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3197     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3198     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3199     _cf = 0;
   3200     _flag_k = FK_TEST;
   3201     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3202 L_46001CB4:
   3203     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3204     RECOMP_FLAGS_IN();
   3205     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3206     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3207     _cf = 0;
   3208     _flag_k = FK_TEST;
   3209     RECOMP_BACKEDGE();
   3210     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3211 L_46001CBD:
   3212     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3213 L_46028843:
   3214     ecx = ebp + 0x1C; /* 0x46028843: lea ecx, [ebp + 0x1c] */
   3215     RECOMP_BACKEDGE();
   3216     goto L_46001CAE; /* 0x46028846: jmp 0x46001cae */
   3217     { RECOMP_REGS_OUT(); return; } /* end of function */
   3218     RECOMP_REGS_OUT();
   3219 }
   3220 
   3221 void sub_4602884B(void) {
   3222     int _fpu_cmp = 0;
   3223     uint32_t _cf = 0;
   3224     int _df = 1;
   3225     uint32_t _flag_k = FK_NONE;
   3226     uint32_t _flag_a = 0, _flag_b = 0;
   3227     uint32_t _itail_tgt = 0;
   3228     RECOMP_REGS_LOCALS
   3229     RECOMP_ENTER(0x4602884Bu);
   3230 
   3231     goto L_4602884B;
   3232 L_46028258:
   3233     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3234 L_4602884B:
   3235     eax = 0x4602E780u; /* 0x4602884B: mov eax, 0x4602e780 */
   3236 L_46028850:
   3237     RECOMP_BACKEDGE();
   3238     goto L_46028258; /* 0x46028850: jmp 0x46028258 */
   3239     { RECOMP_REGS_OUT(); return; } /* end of function */
   3240   _ljump:
   3241     switch (_itail_tgt) {
   3242       case 0x46028258u: goto L_46028258;
   3243       case 0x4602884Bu: goto L_4602884B;
   3244       case 0x46028850u: goto L_46028850;
   3245       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3246     }
   3247     RECOMP_REGS_OUT();
   3248 }
   3249 
   3250 void sub_46028855(void) {
   3251     int _fpu_cmp = 0;
   3252     uint32_t _cf = 0;
   3253     int _df = 1;
   3254     uint32_t _flag_k = FK_NONE;
   3255     uint32_t _flag_a = 0, _flag_b = 0;
   3256     uint32_t _itail_tgt = 0;
   3257     RECOMP_REGS_LOCALS
   3258     RECOMP_ENTER(0x46028855u);
   3259 
   3260     goto L_46028855;
   3261 L_46001C9F:
   3262     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3263     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3264     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3265     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3266     RECOMP_FLAGS_IN();
   3267     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3268 L_46001CAE:
   3269     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3270     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3271     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3272     _cf = 0;
   3273     _flag_k = FK_TEST;
   3274     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3275 L_46001CB4:
   3276     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3277     RECOMP_FLAGS_IN();
   3278     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3279     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3280     _cf = 0;
   3281     _flag_k = FK_TEST;
   3282     RECOMP_BACKEDGE();
   3283     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3284 L_46001CBD:
   3285     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3286 L_46028855:
   3287     ecx = ebp + 0x1C; /* 0x46028855: lea ecx, [ebp + 0x1c] */
   3288     RECOMP_BACKEDGE();
   3289     goto L_46001CAE; /* 0x46028858: jmp 0x46001cae */
   3290     { RECOMP_REGS_OUT(); return; } /* end of function */
   3291     RECOMP_REGS_OUT();
   3292 }
   3293 
   3294 void sub_4602885D(void) {
   3295     int _fpu_cmp = 0;
   3296     uint32_t _cf = 0;
   3297     int _df = 1;
   3298     uint32_t _flag_k = FK_NONE;
   3299     uint32_t _flag_a = 0, _flag_b = 0;
   3300     uint32_t _itail_tgt = 0;
   3301     RECOMP_REGS_LOCALS
   3302     RECOMP_ENTER(0x4602885Du);
   3303 
   3304     goto L_4602885D;
   3305 L_46028258:
   3306     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3307 L_4602885D:
   3308     eax = 0x4602E7A8u; /* 0x4602885D: mov eax, 0x4602e7a8 */
   3309 L_46028862:
   3310     RECOMP_BACKEDGE();
   3311     goto L_46028258; /* 0x46028862: jmp 0x46028258 */
   3312     { RECOMP_REGS_OUT(); return; } /* end of function */
   3313   _ljump:
   3314     switch (_itail_tgt) {
   3315       case 0x46028258u: goto L_46028258;
   3316       case 0x4602885Du: goto L_4602885D;
   3317       case 0x46028862u: goto L_46028862;
   3318       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3319     }
   3320     RECOMP_REGS_OUT();
   3321 }
   3322 
   3323 void sub_46028867(void) {
   3324     int _fpu_cmp = 0;
   3325     uint32_t _cf = 0;
   3326     int _df = 1;
   3327     uint32_t _flag_k = FK_NONE;
   3328     uint32_t _flag_a = 0, _flag_b = 0;
   3329     uint32_t _itail_tgt = 0;
   3330     RECOMP_REGS_LOCALS
   3331     RECOMP_ENTER(0x46028867u);
   3332 
   3333     goto L_46028867;
   3334 L_46001C9F:
   3335     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3336     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3337     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3338     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3339     RECOMP_FLAGS_IN();
   3340     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3341 L_46001CAE:
   3342     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3343     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3344     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3345     _cf = 0;
   3346     _flag_k = FK_TEST;
   3347     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3348 L_46001CB4:
   3349     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3350     RECOMP_FLAGS_IN();
   3351     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3352     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3353     _cf = 0;
   3354     _flag_k = FK_TEST;
   3355     RECOMP_BACKEDGE();
   3356     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3357 L_46001CBD:
   3358     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3359 L_46028867:
   3360     ecx = ebp + 0x1C; /* 0x46028867: lea ecx, [ebp + 0x1c] */
   3361     RECOMP_BACKEDGE();
   3362     goto L_46001CAE; /* 0x4602886A: jmp 0x46001cae */
   3363     { RECOMP_REGS_OUT(); return; } /* end of function */
   3364     RECOMP_REGS_OUT();
   3365 }
   3366 
   3367 void sub_4602886F(void) {
   3368     int _fpu_cmp = 0;
   3369     uint32_t _cf = 0;
   3370     int _df = 1;
   3371     uint32_t _flag_k = FK_NONE;
   3372     uint32_t _flag_a = 0, _flag_b = 0;
   3373     uint32_t _itail_tgt = 0;
   3374     RECOMP_REGS_LOCALS
   3375     RECOMP_ENTER(0x4602886Fu);
   3376 
   3377     goto L_4602886F;
   3378 L_46028258:
   3379     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3380 L_4602886F:
   3381     eax = 0x4602E7D0u; /* 0x4602886F: mov eax, 0x4602e7d0 */
   3382 L_46028874:
   3383     RECOMP_BACKEDGE();
   3384     goto L_46028258; /* 0x46028874: jmp 0x46028258 */
   3385     { RECOMP_REGS_OUT(); return; } /* end of function */
   3386   _ljump:
   3387     switch (_itail_tgt) {
   3388       case 0x46028258u: goto L_46028258;
   3389       case 0x4602886Fu: goto L_4602886F;
   3390       case 0x46028874u: goto L_46028874;
   3391       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3392     }
   3393     RECOMP_REGS_OUT();
   3394 }
   3395 
   3396 void sub_46028879(void) {
   3397     int _fpu_cmp = 0;
   3398     uint32_t _cf = 0;
   3399     int _df = 1;
   3400     uint32_t _flag_k = FK_NONE;
   3401     uint32_t _flag_a = 0, _flag_b = 0;
   3402     uint32_t _itail_tgt = 0;
   3403     RECOMP_REGS_LOCALS
   3404     RECOMP_ENTER(0x46028879u);
   3405 
   3406     goto L_46028879;
   3407 L_46001C9F:
   3408     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3409     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3410     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3411     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3412     RECOMP_FLAGS_IN();
   3413     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3414 L_46001CAE:
   3415     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3416     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3417     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3418     _cf = 0;
   3419     _flag_k = FK_TEST;
   3420     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3421 L_46001CB4:
   3422     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3423     RECOMP_FLAGS_IN();
   3424     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3425     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3426     _cf = 0;
   3427     _flag_k = FK_TEST;
   3428     RECOMP_BACKEDGE();
   3429     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3430 L_46001CBD:
   3431     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3432 L_46028879:
   3433     ecx = ebp + 0x1C; /* 0x46028879: lea ecx, [ebp + 0x1c] */
   3434     RECOMP_BACKEDGE();
   3435     goto L_46001CAE; /* 0x4602887C: jmp 0x46001cae */
   3436     { RECOMP_REGS_OUT(); return; } /* end of function */
   3437     RECOMP_REGS_OUT();
   3438 }
   3439 
   3440 void sub_46028881(void) {
   3441     int _fpu_cmp = 0;
   3442     uint32_t _cf = 0;
   3443     int _df = 1;
   3444     uint32_t _flag_k = FK_NONE;
   3445     uint32_t _flag_a = 0, _flag_b = 0;
   3446     uint32_t _itail_tgt = 0;
   3447     RECOMP_REGS_LOCALS
   3448     RECOMP_ENTER(0x46028881u);
   3449 
   3450     goto L_46028881;
   3451 L_46028258:
   3452     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3453 L_46028881:
   3454     eax = 0x4602E7F8u; /* 0x46028881: mov eax, 0x4602e7f8 */
   3455 L_46028886:
   3456     RECOMP_BACKEDGE();
   3457     goto L_46028258; /* 0x46028886: jmp 0x46028258 */
   3458     { RECOMP_REGS_OUT(); return; } /* end of function */
   3459   _ljump:
   3460     switch (_itail_tgt) {
   3461       case 0x46028258u: goto L_46028258;
   3462       case 0x46028881u: goto L_46028881;
   3463       case 0x46028886u: goto L_46028886;
   3464       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3465     }
   3466     RECOMP_REGS_OUT();
   3467 }
   3468 
   3469 void sub_4602888B(void) {
   3470     int _fpu_cmp = 0;
   3471     uint32_t _cf = 0;
   3472     int _df = 1;
   3473     uint32_t _flag_k = FK_NONE;
   3474     uint32_t _flag_a = 0, _flag_b = 0;
   3475     uint32_t _itail_tgt = 0;
   3476     RECOMP_REGS_LOCALS
   3477     RECOMP_ENTER(0x4602888Bu);
   3478 
   3479     goto L_4602888B;
   3480 L_46001C9F:
   3481     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3482     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3483     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3484     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3485     RECOMP_FLAGS_IN();
   3486     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3487 L_46001CAE:
   3488     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3489     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3490     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3491     _cf = 0;
   3492     _flag_k = FK_TEST;
   3493     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3494 L_46001CB4:
   3495     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3496     RECOMP_FLAGS_IN();
   3497     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3498     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3499     _cf = 0;
   3500     _flag_k = FK_TEST;
   3501     RECOMP_BACKEDGE();
   3502     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3503 L_46001CBD:
   3504     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3505 L_4602888B:
   3506     ecx = ebp + 0x20; /* 0x4602888B: lea ecx, [ebp + 0x20] */
   3507     RECOMP_BACKEDGE();
   3508     goto L_46001CAE; /* 0x4602888E: jmp 0x46001cae */
   3509     { RECOMP_REGS_OUT(); return; } /* end of function */
   3510     RECOMP_REGS_OUT();
   3511 }
   3512 
   3513 void sub_46028893(void) {
   3514     int _fpu_cmp = 0;
   3515     uint32_t _cf = 0;
   3516     int _df = 1;
   3517     uint32_t _flag_k = FK_NONE;
   3518     uint32_t _flag_a = 0, _flag_b = 0;
   3519     uint32_t _itail_tgt = 0;
   3520     RECOMP_REGS_LOCALS
   3521     RECOMP_ENTER(0x46028893u);
   3522 
   3523     goto L_46028893;
   3524 L_46028258:
   3525     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3526 L_46028893:
   3527     eax = 0x4602E820u; /* 0x46028893: mov eax, 0x4602e820 */
   3528 L_46028898:
   3529     RECOMP_BACKEDGE();
   3530     goto L_46028258; /* 0x46028898: jmp 0x46028258 */
   3531     { RECOMP_REGS_OUT(); return; } /* end of function */
   3532   _ljump:
   3533     switch (_itail_tgt) {
   3534       case 0x46028258u: goto L_46028258;
   3535       case 0x46028893u: goto L_46028893;
   3536       case 0x46028898u: goto L_46028898;
   3537       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3538     }
   3539     RECOMP_REGS_OUT();
   3540 }
   3541 
   3542 void sub_4602889D(void) {
   3543     int _fpu_cmp = 0;
   3544     uint32_t _cf = 0;
   3545     int _df = 1;
   3546     uint32_t _flag_k = FK_NONE;
   3547     uint32_t _flag_a = 0, _flag_b = 0;
   3548     uint32_t _itail_tgt = 0;
   3549     RECOMP_REGS_LOCALS
   3550     RECOMP_ENTER(0x4602889Du);
   3551 
   3552     goto L_4602889D;
   3553 L_46002CF0:
   3554     PUSH32(esp, 1); /* 0x46002CF0: push 1 */
   3555     RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */
   3556     RECOMP_FLAGS_IN();
   3557     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret  */
   3558 L_4602889D:
   3559     ecx = ebp + (-0x38); /* 0x4602889D: lea ecx, [ebp - 0x38] */
   3560     RECOMP_BACKEDGE();
   3561     goto L_46002CF0; /* 0x460288A0: jmp 0x46002cf0 */
   3562     { RECOMP_REGS_OUT(); return; } /* end of function */
   3563     RECOMP_REGS_OUT();
   3564 }
   3565 
   3566 void sub_460288A5(void) {
   3567     int _fpu_cmp = 0;
   3568     uint32_t _cf = 0;
   3569     int _df = 1;
   3570     uint32_t _flag_k = FK_NONE;
   3571     uint32_t _flag_a = 0, _flag_b = 0;
   3572     uint32_t _itail_tgt = 0;
   3573     RECOMP_REGS_LOCALS
   3574     RECOMP_ENTER(0x460288A5u);
   3575 
   3576     goto L_460288A5;
   3577 L_46002CF0:
   3578     PUSH32(esp, 1); /* 0x46002CF0: push 1 */
   3579     RECOMP_ICALL(0x46001A60u); /* 0x46002CF2: call 0x46001a60 */ /* not lifted */
   3580     RECOMP_FLAGS_IN();
   3581     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CF7: ret  */
   3582 L_460288A5:
   3583     ecx = ebp + (-0x28); /* 0x460288A5: lea ecx, [ebp - 0x28] */
   3584     RECOMP_BACKEDGE();
   3585     goto L_46002CF0; /* 0x460288A8: jmp 0x46002cf0 */
   3586     { RECOMP_REGS_OUT(); return; } /* end of function */
   3587     RECOMP_REGS_OUT();
   3588 }
   3589 
   3590 void sub_460288AD(void) {
   3591     int _fpu_cmp = 0;
   3592     uint32_t _cf = 0;
   3593     int _df = 1;
   3594     uint32_t _flag_k = FK_NONE;
   3595     uint32_t _flag_a = 0, _flag_b = 0;
   3596     uint32_t _itail_tgt = 0;
   3597     RECOMP_REGS_LOCALS
   3598     RECOMP_ENTER(0x460288ADu);
   3599 
   3600     goto L_460288AD;
   3601 L_46028258:
   3602     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3603 L_460288AD:
   3604     eax = 0x4602E848u; /* 0x460288AD: mov eax, 0x4602e848 */
   3605 L_460288B2:
   3606     RECOMP_BACKEDGE();
   3607     goto L_46028258; /* 0x460288B2: jmp 0x46028258 */
   3608     { RECOMP_REGS_OUT(); return; } /* end of function */
   3609   _ljump:
   3610     switch (_itail_tgt) {
   3611       case 0x46028258u: goto L_46028258;
   3612       case 0x460288ADu: goto L_460288AD;
   3613       case 0x460288B2u: goto L_460288B2;
   3614       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3615     }
   3616     RECOMP_REGS_OUT();
   3617 }
   3618 
   3619 void sub_460288B7(void) {
   3620     int _fpu_cmp = 0;
   3621     uint32_t _cf = 0;
   3622     int _df = 1;
   3623     uint32_t _flag_k = FK_NONE;
   3624     uint32_t _flag_a = 0, _flag_b = 0;
   3625     uint32_t _itail_tgt = 0;
   3626     RECOMP_REGS_LOCALS
   3627     RECOMP_ENTER(0x460288B7u);
   3628 
   3629     goto L_460288B7;
   3630 L_4602877E:
   3631     MEM32(ecx) = 0x4602B424u; /* 0x4602877E: mov dword ptr [ecx], 0x4602b424 */
   3632     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028784: ret  */
   3633 L_460288B7:
   3634     ecx = MEM32(ebp + (-0x10)); /* 0x460288B7: mov ecx, dword ptr [ebp - 0x10] */
   3635     RECOMP_BACKEDGE();
   3636     goto L_4602877E; /* 0x460288BA: jmp 0x4602877e */
   3637     { RECOMP_REGS_OUT(); return; } /* end of function */
   3638     RECOMP_REGS_OUT();
   3639 }
   3640 
   3641 void sub_460288BF(void) {
   3642     int _fpu_cmp = 0;
   3643     uint32_t _cf = 0;
   3644     int _df = 1;
   3645     uint32_t _flag_k = FK_NONE;
   3646     uint32_t _flag_a = 0, _flag_b = 0;
   3647     uint32_t _itail_tgt = 0;
   3648     RECOMP_REGS_LOCALS
   3649     RECOMP_ENTER(0x460288BFu);
   3650 
   3651     goto L_460288BF;
   3652 L_46028258:
   3653     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3654 L_460288BF:
   3655     eax = 0x4602E878u; /* 0x460288BF: mov eax, 0x4602e878 */
   3656 L_460288C4:
   3657     RECOMP_BACKEDGE();
   3658     goto L_46028258; /* 0x460288C4: jmp 0x46028258 */
   3659     { RECOMP_REGS_OUT(); return; } /* end of function */
   3660   _ljump:
   3661     switch (_itail_tgt) {
   3662       case 0x46028258u: goto L_46028258;
   3663       case 0x460288BFu: goto L_460288BF;
   3664       case 0x460288C4u: goto L_460288C4;
   3665       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3666     }
   3667     RECOMP_REGS_OUT();
   3668 }
   3669 
   3670 void sub_460288C9(void) {
   3671     int _fpu_cmp = 0;
   3672     uint32_t _cf = 0;
   3673     int _df = 1;
   3674     uint32_t _flag_k = FK_NONE;
   3675     uint32_t _flag_a = 0, _flag_b = 0;
   3676     uint32_t _itail_tgt = 0;
   3677     RECOMP_REGS_LOCALS
   3678     RECOMP_ENTER(0x460288C9u);
   3679 
   3680     goto L_460288C9;
   3681 L_46001C9F:
   3682     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3683     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3684     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3685     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3686     RECOMP_FLAGS_IN();
   3687     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3688 L_46001CAE:
   3689     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3690     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3691     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3692     _cf = 0;
   3693     _flag_k = FK_TEST;
   3694     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3695 L_46001CB4:
   3696     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3697     RECOMP_FLAGS_IN();
   3698     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3699     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3700     _cf = 0;
   3701     _flag_k = FK_TEST;
   3702     RECOMP_BACKEDGE();
   3703     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3704 L_46001CBD:
   3705     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3706 L_460288C9:
   3707     ecx = ebp + 0x1C; /* 0x460288C9: lea ecx, [ebp + 0x1c] */
   3708     RECOMP_BACKEDGE();
   3709     goto L_46001CAE; /* 0x460288CC: jmp 0x46001cae */
   3710     { RECOMP_REGS_OUT(); return; } /* end of function */
   3711     RECOMP_REGS_OUT();
   3712 }
   3713 
   3714 void sub_460288D1(void) {
   3715     int _fpu_cmp = 0;
   3716     uint32_t _cf = 0;
   3717     int _df = 1;
   3718     uint32_t _flag_k = FK_NONE;
   3719     uint32_t _flag_a = 0, _flag_b = 0;
   3720     uint32_t _itail_tgt = 0;
   3721     RECOMP_REGS_LOCALS
   3722     RECOMP_ENTER(0x460288D1u);
   3723 
   3724     goto L_460288D1;
   3725 L_46002CDC:
   3726     PUSH32(esp, 1); /* 0x46002CDC: push 1 */
   3727     RECOMP_ICALL(0x46002532u); /* 0x46002CDE: call 0x46002532 */ /* not lifted */
   3728     RECOMP_FLAGS_IN();
   3729     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CE3: ret  */
   3730 L_460288D1:
   3731     ecx = ebp + (-0x28); /* 0x460288D1: lea ecx, [ebp - 0x28] */
   3732     RECOMP_BACKEDGE();
   3733     goto L_46002CDC; /* 0x460288D4: jmp 0x46002cdc */
   3734     { RECOMP_REGS_OUT(); return; } /* end of function */
   3735     RECOMP_REGS_OUT();
   3736 }
   3737 
   3738 void sub_460288D9(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(0x460288D9u);
   3747 
   3748     goto L_460288D9;
   3749 L_46002CDC:
   3750     PUSH32(esp, 1); /* 0x46002CDC: push 1 */
   3751     RECOMP_ICALL(0x46002532u); /* 0x46002CDE: call 0x46002532 */ /* not lifted */
   3752     RECOMP_FLAGS_IN();
   3753     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CE3: ret  */
   3754 L_460288D9:
   3755     ecx = ebp + (-0x38); /* 0x460288D9: lea ecx, [ebp - 0x38] */
   3756     RECOMP_BACKEDGE();
   3757     goto L_46002CDC; /* 0x460288DC: jmp 0x46002cdc */
   3758     { RECOMP_REGS_OUT(); return; } /* end of function */
   3759     RECOMP_REGS_OUT();
   3760 }
   3761 
   3762 void sub_460288E1(void) {
   3763     int _fpu_cmp = 0;
   3764     uint32_t _cf = 0;
   3765     int _df = 1;
   3766     uint32_t _flag_k = FK_NONE;
   3767     uint32_t _flag_a = 0, _flag_b = 0;
   3768     uint32_t _itail_tgt = 0;
   3769     RECOMP_REGS_LOCALS
   3770     RECOMP_ENTER(0x460288E1u);
   3771 
   3772     goto L_460288E1;
   3773 L_46002CDC:
   3774     PUSH32(esp, 1); /* 0x46002CDC: push 1 */
   3775     RECOMP_ICALL(0x46002532u); /* 0x46002CDE: call 0x46002532 */ /* not lifted */
   3776     RECOMP_FLAGS_IN();
   3777     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002CE3: ret  */
   3778 L_460288E1:
   3779     ecx = ebp + (-0x38); /* 0x460288E1: lea ecx, [ebp - 0x38] */
   3780     RECOMP_BACKEDGE();
   3781     goto L_46002CDC; /* 0x460288E4: jmp 0x46002cdc */
   3782     { RECOMP_REGS_OUT(); return; } /* end of function */
   3783     RECOMP_REGS_OUT();
   3784 }
   3785 
   3786 void sub_460288E9(void) {
   3787     int _fpu_cmp = 0;
   3788     uint32_t _cf = 0;
   3789     int _df = 1;
   3790     uint32_t _flag_k = FK_NONE;
   3791     uint32_t _flag_a = 0, _flag_b = 0;
   3792     uint32_t _itail_tgt = 0;
   3793     RECOMP_REGS_LOCALS
   3794     RECOMP_ENTER(0x460288E9u);
   3795 
   3796     goto L_460288E9;
   3797 L_46001C9F:
   3798     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3799     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3800     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3801     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3802     RECOMP_FLAGS_IN();
   3803     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3804 L_46001CAE:
   3805     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3806     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3807     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3808     _cf = 0;
   3809     _flag_k = FK_TEST;
   3810     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3811 L_46001CB4:
   3812     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3813     RECOMP_FLAGS_IN();
   3814     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3815     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3816     _cf = 0;
   3817     _flag_k = FK_TEST;
   3818     RECOMP_BACKEDGE();
   3819     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3820 L_46001CBD:
   3821     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3822 L_460288E9:
   3823     ecx = ebp + (-0x14); /* 0x460288E9: lea ecx, [ebp - 0x14] */
   3824     RECOMP_BACKEDGE();
   3825     goto L_46001CAE; /* 0x460288EC: jmp 0x46001cae */
   3826     { RECOMP_REGS_OUT(); return; } /* end of function */
   3827     RECOMP_REGS_OUT();
   3828 }
   3829 
   3830 void sub_460288F1(void) {
   3831     int _fpu_cmp = 0;
   3832     uint32_t _cf = 0;
   3833     int _df = 1;
   3834     uint32_t _flag_k = FK_NONE;
   3835     uint32_t _flag_a = 0, _flag_b = 0;
   3836     uint32_t _itail_tgt = 0;
   3837     RECOMP_REGS_LOCALS
   3838     RECOMP_ENTER(0x460288F1u);
   3839 
   3840     goto L_460288F1;
   3841 L_46028258:
   3842     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3843 L_460288F1:
   3844     eax = 0x4602E8A0u; /* 0x460288F1: mov eax, 0x4602e8a0 */
   3845 L_460288F6:
   3846     RECOMP_BACKEDGE();
   3847     goto L_46028258; /* 0x460288F6: jmp 0x46028258 */
   3848     { RECOMP_REGS_OUT(); return; } /* end of function */
   3849   _ljump:
   3850     switch (_itail_tgt) {
   3851       case 0x46028258u: goto L_46028258;
   3852       case 0x460288F1u: goto L_460288F1;
   3853       case 0x460288F6u: goto L_460288F6;
   3854       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3855     }
   3856     RECOMP_REGS_OUT();
   3857 }