aorecomp

Anarchy Online classic in the browser

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


client/vendor/msvcp60/source/lifted-0035.c (140174B)


      1 #define RECOMP_GENERATED_CODE
      2 #include "recomp_types.h"
      3 
      4 void sub_46028C8D(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(0x46028C8Du);
     13 
     14     goto L_46028C8D;
     15 L_46028258:
     16     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
     17 L_46028C8D:
     18     eax = 0x4602F1B0u; /* 0x46028C8D: mov eax, 0x4602f1b0 */
     19 L_46028C92:
     20     RECOMP_BACKEDGE();
     21     goto L_46028258; /* 0x46028C92: jmp 0x46028258 */
     22     { RECOMP_REGS_OUT(); return; } /* end of function */
     23   _ljump:
     24     switch (_itail_tgt) {
     25       case 0x46028258u: goto L_46028258;
     26       case 0x46028C8Du: goto L_46028C8D;
     27       case 0x46028C92u: goto L_46028C92;
     28       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     29     }
     30     RECOMP_REGS_OUT();
     31 }
     32 
     33 void sub_46028C97(void) {
     34     int _fpu_cmp = 0;
     35     uint32_t _cf = 0;
     36     int _df = 1;
     37     uint32_t _flag_k = FK_NONE;
     38     uint32_t _flag_a = 0, _flag_b = 0;
     39     uint32_t _itail_tgt = 0;
     40     RECOMP_REGS_LOCALS
     41     RECOMP_ENTER(0x46028C97u);
     42 
     43     goto L_46028C97;
     44 L_46002886:
     45     PUSH32(esp, esi); /* 0x46002886: push esi */
     46     esi = ecx; /* 0x46002887: mov esi, ecx */
     47     RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */
     48     RECOMP_FLAGS_IN();
     49     /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */
     50     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
     51     _cf = 0;
     52     _flag_k = FK_NARROW(FK_TEST, 24);
     53     if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */
     54 L_46002892:
     55     ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */
     56     eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */
     57     eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */
     58     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */
     59     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
     60     _cf = 0;
     61     _flag_k = FK_NARROW(FK_TEST, 24);
     62     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */
     63 L_460028A5:
     64     esi = POP32_VAL(esp); /* 0x460028A5: pop esi */
     65     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret  */
     66 L_4601C3FE:
     67     RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */
     68     RECOMP_FLAGS_IN();
     69     RECOMP_BACKEDGE();
     70     goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */
     71 L_46028C97:
     72     ecx = ebp + (-0x2C); /* 0x46028C97: lea ecx, [ebp - 0x2c] */
     73     RECOMP_BACKEDGE();
     74     goto L_46002886; /* 0x46028C9A: jmp 0x46002886 */
     75     { RECOMP_REGS_OUT(); return; } /* end of function */
     76     RECOMP_REGS_OUT();
     77 }
     78 
     79 void sub_46028C9F(void) {
     80     int _fpu_cmp = 0;
     81     uint32_t _cf = 0;
     82     int _df = 1;
     83     uint32_t _flag_k = FK_NONE;
     84     uint32_t _flag_a = 0, _flag_b = 0;
     85     uint32_t _itail_tgt = 0;
     86     RECOMP_REGS_LOCALS
     87     RECOMP_ENTER(0x46028C9Fu);
     88 
     89     goto L_46028C9F;
     90 L_46001C9F:
     91     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
     92     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
     93     ecx = eax; /* 0x46001CA3: mov ecx, eax */
     94     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
     95     RECOMP_FLAGS_IN();
     96     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
     97 L_46001CAE:
     98     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
     99     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
    100     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    101     _cf = 0;
    102     _flag_k = FK_TEST;
    103     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
    104 L_46001CB4:
    105     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
    106     RECOMP_FLAGS_IN();
    107     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
    108     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    109     _cf = 0;
    110     _flag_k = FK_TEST;
    111     RECOMP_BACKEDGE();
    112     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
    113 L_46001CBD:
    114     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
    115 L_46028C9F:
    116     ecx = ebp + (-0x1C); /* 0x46028C9F: lea ecx, [ebp - 0x1c] */
    117     RECOMP_BACKEDGE();
    118     goto L_46001CAE; /* 0x46028CA2: jmp 0x46001cae */
    119     { RECOMP_REGS_OUT(); return; } /* end of function */
    120     RECOMP_REGS_OUT();
    121 }
    122 
    123 void sub_46028CA7(void) {
    124     int _fpu_cmp = 0;
    125     uint32_t _cf = 0;
    126     int _df = 1;
    127     uint32_t _flag_k = FK_NONE;
    128     uint32_t _flag_a = 0, _flag_b = 0;
    129     uint32_t _itail_tgt = 0;
    130     RECOMP_REGS_LOCALS
    131     RECOMP_ENTER(0x46028CA7u);
    132 
    133     goto L_46028CA7;
    134 L_46028258:
    135     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    136 L_46028CA7:
    137     eax = 0x4602F218u; /* 0x46028CA7: mov eax, 0x4602f218 */
    138 L_46028CAC:
    139     RECOMP_BACKEDGE();
    140     goto L_46028258; /* 0x46028CAC: jmp 0x46028258 */
    141     { RECOMP_REGS_OUT(); return; } /* end of function */
    142   _ljump:
    143     switch (_itail_tgt) {
    144       case 0x46028258u: goto L_46028258;
    145       case 0x46028CA7u: goto L_46028CA7;
    146       case 0x46028CACu: goto L_46028CAC;
    147       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    148     }
    149     RECOMP_REGS_OUT();
    150 }
    151 
    152 void sub_46028CB1(void) {
    153     int _fpu_cmp = 0;
    154     uint32_t _cf = 0;
    155     int _df = 1;
    156     uint32_t _flag_k = FK_NONE;
    157     uint32_t _flag_a = 0, _flag_b = 0;
    158     uint32_t _itail_tgt = 0;
    159     RECOMP_REGS_LOCALS
    160     RECOMP_ENTER(0x46028CB1u);
    161 
    162     goto L_46028CB1;
    163 L_46002886:
    164     PUSH32(esp, esi); /* 0x46002886: push esi */
    165     esi = ecx; /* 0x46002887: mov esi, ecx */
    166     RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */
    167     RECOMP_FLAGS_IN();
    168     /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */
    169     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    170     _cf = 0;
    171     _flag_k = FK_NARROW(FK_TEST, 24);
    172     if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */
    173 L_46002892:
    174     ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */
    175     eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */
    176     eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */
    177     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */
    178     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    179     _cf = 0;
    180     _flag_k = FK_NARROW(FK_TEST, 24);
    181     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */
    182 L_460028A5:
    183     esi = POP32_VAL(esp); /* 0x460028A5: pop esi */
    184     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret  */
    185 L_4601C3FE:
    186     RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */
    187     RECOMP_FLAGS_IN();
    188     RECOMP_BACKEDGE();
    189     goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */
    190 L_46028CB1:
    191     ecx = ebp + (-0x28); /* 0x46028CB1: lea ecx, [ebp - 0x28] */
    192     RECOMP_BACKEDGE();
    193     goto L_46002886; /* 0x46028CB4: jmp 0x46002886 */
    194     { RECOMP_REGS_OUT(); return; } /* end of function */
    195     RECOMP_REGS_OUT();
    196 }
    197 
    198 void sub_46028CB9(void) {
    199     int _fpu_cmp = 0;
    200     uint32_t _cf = 0;
    201     int _df = 1;
    202     uint32_t _flag_k = FK_NONE;
    203     uint32_t _flag_a = 0, _flag_b = 0;
    204     uint32_t _itail_tgt = 0;
    205     RECOMP_REGS_LOCALS
    206     RECOMP_ENTER(0x46028CB9u);
    207 
    208     goto L_46028CB9;
    209 L_46028258:
    210     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    211 L_46028CB9:
    212     eax = 0x4602F280u; /* 0x46028CB9: mov eax, 0x4602f280 */
    213 L_46028CBE:
    214     RECOMP_BACKEDGE();
    215     goto L_46028258; /* 0x46028CBE: jmp 0x46028258 */
    216     { RECOMP_REGS_OUT(); return; } /* end of function */
    217   _ljump:
    218     switch (_itail_tgt) {
    219       case 0x46028258u: goto L_46028258;
    220       case 0x46028CB9u: goto L_46028CB9;
    221       case 0x46028CBEu: goto L_46028CBE;
    222       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    223     }
    224     RECOMP_REGS_OUT();
    225 }
    226 
    227 void sub_46028CC3(void) {
    228     int _fpu_cmp = 0;
    229     uint32_t _cf = 0;
    230     int _df = 1;
    231     uint32_t _flag_k = FK_NONE;
    232     uint32_t _flag_a = 0, _flag_b = 0;
    233     uint32_t _itail_tgt = 0;
    234     RECOMP_REGS_LOCALS
    235     RECOMP_ENTER(0x46028CC3u);
    236 
    237     goto L_46028CC3;
    238 L_46002886:
    239     PUSH32(esp, esi); /* 0x46002886: push esi */
    240     esi = ecx; /* 0x46002887: mov esi, ecx */
    241     RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */
    242     RECOMP_FLAGS_IN();
    243     /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */
    244     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    245     _cf = 0;
    246     _flag_k = FK_NARROW(FK_TEST, 24);
    247     if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */
    248 L_46002892:
    249     ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */
    250     eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */
    251     eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */
    252     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */
    253     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    254     _cf = 0;
    255     _flag_k = FK_NARROW(FK_TEST, 24);
    256     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */
    257 L_460028A5:
    258     esi = POP32_VAL(esp); /* 0x460028A5: pop esi */
    259     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret  */
    260 L_4601C3FE:
    261     RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */
    262     RECOMP_FLAGS_IN();
    263     RECOMP_BACKEDGE();
    264     goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */
    265 L_46028CC3:
    266     ecx = ebp + (-0x20); /* 0x46028CC3: lea ecx, [ebp - 0x20] */
    267     RECOMP_BACKEDGE();
    268     goto L_46002886; /* 0x46028CC6: jmp 0x46002886 */
    269     { RECOMP_REGS_OUT(); return; } /* end of function */
    270     RECOMP_REGS_OUT();
    271 }
    272 
    273 void sub_46028CCB(void) {
    274     int _fpu_cmp = 0;
    275     uint32_t _cf = 0;
    276     int _df = 1;
    277     uint32_t _flag_k = FK_NONE;
    278     uint32_t _flag_a = 0, _flag_b = 0;
    279     uint32_t _itail_tgt = 0;
    280     RECOMP_REGS_LOCALS
    281     RECOMP_ENTER(0x46028CCBu);
    282 
    283     goto L_46028CCB;
    284 L_46028258:
    285     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    286 L_46028CCB:
    287     eax = 0x4602F310u; /* 0x46028CCB: mov eax, 0x4602f310 */
    288 L_46028CD0:
    289     RECOMP_BACKEDGE();
    290     goto L_46028258; /* 0x46028CD0: jmp 0x46028258 */
    291     { RECOMP_REGS_OUT(); return; } /* end of function */
    292   _ljump:
    293     switch (_itail_tgt) {
    294       case 0x46028258u: goto L_46028258;
    295       case 0x46028CCBu: goto L_46028CCB;
    296       case 0x46028CD0u: goto L_46028CD0;
    297       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    298     }
    299     RECOMP_REGS_OUT();
    300 }
    301 
    302 void sub_46028CD5(void) {
    303     int _fpu_cmp = 0;
    304     uint32_t _cf = 0;
    305     int _df = 1;
    306     uint32_t _flag_k = FK_NONE;
    307     uint32_t _flag_a = 0, _flag_b = 0;
    308     uint32_t _itail_tgt = 0;
    309     RECOMP_REGS_LOCALS
    310     RECOMP_ENTER(0x46028CD5u);
    311 
    312     goto L_46028CD5;
    313 L_46002886:
    314     PUSH32(esp, esi); /* 0x46002886: push esi */
    315     esi = ecx; /* 0x46002887: mov esi, ecx */
    316     RECOMP_ICALL(0x460028A7u); /* 0x46002889: call 0x460028a7 */ /* not lifted */
    317     RECOMP_FLAGS_IN();
    318     /* test LO8(eax), LO8(eax) */ /* 0x4600288E: test al, al */
    319     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    320     _cf = 0;
    321     _flag_k = FK_NARROW(FK_TEST, 24);
    322     if (TEST_NZ(_flag_a, _flag_b)) goto L_460028A5; /* 0x46002890: jne 0x460028a5 */
    323 L_46002892:
    324     ecx = MEM32(esi + 0x4); /* 0x46002892: mov ecx, dword ptr [esi + 4] */
    325     eax = MEM32(ecx); /* 0x46002895: mov eax, dword ptr [ecx] */
    326     eax = MEM32(eax + 0x4); /* 0x46002897: mov eax, dword ptr [eax + 4] */
    327     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x4600289A: test byte ptr [eax + ecx + 0xc], 2 */
    328     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    329     _cf = 0;
    330     _flag_k = FK_NARROW(FK_TEST, 24);
    331     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C3FE; /* 0x4600289F: jne 0x4601c3fe */
    332 L_460028A5:
    333     esi = POP32_VAL(esp); /* 0x460028A5: pop esi */
    334     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret  */
    335 L_4601C3FE:
    336     RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */
    337     RECOMP_FLAGS_IN();
    338     RECOMP_BACKEDGE();
    339     goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */
    340 L_46028CD5:
    341     ecx = ebp + (-0x20); /* 0x46028CD5: lea ecx, [ebp - 0x20] */
    342     RECOMP_BACKEDGE();
    343     goto L_46002886; /* 0x46028CD8: jmp 0x46002886 */
    344     { RECOMP_REGS_OUT(); return; } /* end of function */
    345     RECOMP_REGS_OUT();
    346 }
    347 
    348 void sub_46028CDD(void) {
    349     int _fpu_cmp = 0;
    350     uint32_t _cf = 0;
    351     int _df = 1;
    352     uint32_t _flag_k = FK_NONE;
    353     uint32_t _flag_a = 0, _flag_b = 0;
    354     uint32_t _itail_tgt = 0;
    355     RECOMP_REGS_LOCALS
    356     RECOMP_ENTER(0x46028CDDu);
    357 
    358     goto L_46028CDD;
    359 L_46028258:
    360     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    361 L_46028CDD:
    362     eax = 0x4602F370u; /* 0x46028CDD: mov eax, 0x4602f370 */
    363 L_46028CE2:
    364     RECOMP_BACKEDGE();
    365     goto L_46028258; /* 0x46028CE2: jmp 0x46028258 */
    366     { RECOMP_REGS_OUT(); return; } /* end of function */
    367   _ljump:
    368     switch (_itail_tgt) {
    369       case 0x46028258u: goto L_46028258;
    370       case 0x46028CDDu: goto L_46028CDD;
    371       case 0x46028CE2u: goto L_46028CE2;
    372       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    373     }
    374     RECOMP_REGS_OUT();
    375 }
    376 
    377 void sub_46028CE7(void) {
    378     int _fpu_cmp = 0;
    379     uint32_t _cf = 0;
    380     int _df = 1;
    381     uint32_t _flag_k = FK_NONE;
    382     uint32_t _flag_a = 0, _flag_b = 0;
    383     uint32_t _itail_tgt = 0;
    384     RECOMP_REGS_LOCALS
    385     RECOMP_ENTER(0x46028CE7u);
    386 
    387     goto L_46028CE7;
    388 L_46002DA4:
    389     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
    390     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
    391 L_46002DC7:
    392     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    393     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    394     RECOMP_FLAGS_IN();
    395     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    396     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    397     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    398     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    399     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    400     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    401     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    402     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    403     _cf = 0;
    404     _flag_k = FK_TEST;
    405     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    406     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    407     _cf = 0;
    408     _flag_k = FK_TEST;
    409     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    410 L_46002DE9:
    411     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    412     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    413     _flag_k = FK_NARROW(FK_DEC, 24);
    414     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    415     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    416     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    418     _flag_k = FK_NARROW(FK_CMP, 24);
    419     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    420 L_46002DFB:
    421     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    422     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    423     RECOMP_FLAGS_IN();
    424     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    425     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    426     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    427     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    428     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    429 L_46002E10:
    430     ecx = esi; /* 0x46002E10: mov ecx, esi */
    431     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    432     RECOMP_FLAGS_IN();
    433     RECOMP_BACKEDGE();
    434     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    435 L_46028CE7:
    436     eax = MEM32(ebp + (-0x10)); /* 0x46028CE7: mov eax, dword ptr [ebp - 0x10] */
    437     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    438     eax = eax & 1; /* 0x46028CEA: and eax, 1 */
    439     _cf = 0;
    440     _flag_k = FK_TEST;
    441     /* test eax, eax */ /* 0x46028CED: test eax, eax */
    442     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    443     _cf = 0;
    444     _flag_k = FK_TEST;
    445     if (TEST_Z(_flag_a, _flag_b)) goto L_46028CFC; /* 0x46028CEF: je 0x46028cfc */
    446 L_46028CF1:
    447     ecx = MEM32(ebp + (-0x14)); /* 0x46028CF1: mov ecx, dword ptr [ebp - 0x14] */
    448     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
    449     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    450     ecx = ecx + 4; /* 0x46028CF4: add ecx, 4 */
    451     _flag_k = FK_ADD;
    452     RECOMP_BACKEDGE();
    453     goto L_46002DA4; /* 0x46028CF7: jmp 0x46002da4 */
    454 L_46028CFC:
    455     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028CFC: ret  */
    456     RECOMP_REGS_OUT();
    457 }
    458 
    459 void sub_46028CFD(void) {
    460     int _fpu_cmp = 0;
    461     uint32_t _cf = 0;
    462     int _df = 1;
    463     uint32_t _flag_k = FK_NONE;
    464     uint32_t _flag_a = 0, _flag_b = 0;
    465     uint32_t _itail_tgt = 0;
    466     RECOMP_REGS_LOCALS
    467     RECOMP_ENTER(0x46028CFDu);
    468 
    469     goto L_46028CFD;
    470 L_46028258:
    471     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    472 L_46028CFD:
    473     eax = 0x4602F3D0u; /* 0x46028CFD: mov eax, 0x4602f3d0 */
    474 L_46028D02:
    475     RECOMP_BACKEDGE();
    476     goto L_46028258; /* 0x46028D02: jmp 0x46028258 */
    477     { RECOMP_REGS_OUT(); return; } /* end of function */
    478   _ljump:
    479     switch (_itail_tgt) {
    480       case 0x46028258u: goto L_46028258;
    481       case 0x46028CFDu: goto L_46028CFD;
    482       case 0x46028D02u: goto L_46028D02;
    483       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    484     }
    485     RECOMP_REGS_OUT();
    486 }
    487 
    488 void sub_46028D07(void) {
    489     int _fpu_cmp = 0;
    490     uint32_t _cf = 0;
    491     int _df = 1;
    492     uint32_t _flag_k = FK_NONE;
    493     uint32_t _flag_a = 0, _flag_b = 0;
    494     uint32_t _itail_tgt = 0;
    495     RECOMP_REGS_LOCALS
    496     RECOMP_ENTER(0x46028D07u);
    497 
    498     goto L_46028D07;
    499 L_46002DA4:
    500     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
    501     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
    502 L_46002DC7:
    503     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
    504     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
    505     RECOMP_FLAGS_IN();
    506     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
    507     PUSH32(esp, esi); /* 0x46002DD2: push esi */
    508     esi = ecx; /* 0x46002DD3: mov esi, ecx */
    509     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
    510     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
    511     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
    512     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
    513     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
    514     _cf = 0;
    515     _flag_k = FK_TEST;
    516     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
    517     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    518     _cf = 0;
    519     _flag_k = FK_TEST;
    520     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
    521 L_46002DE9:
    522     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
    523     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
    524     _flag_k = FK_NARROW(FK_DEC, 24);
    525     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
    526     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
    527     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
    528     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    529     _flag_k = FK_NARROW(FK_CMP, 24);
    530     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
    531 L_46002DFB:
    532     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
    533     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
    534     RECOMP_FLAGS_IN();
    535     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
    536     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
    537     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
    538     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
    539     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
    540 L_46002E10:
    541     ecx = esi; /* 0x46002E10: mov ecx, esi */
    542     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
    543     RECOMP_FLAGS_IN();
    544     RECOMP_BACKEDGE();
    545     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
    546 L_46028D07:
    547     eax = MEM32(ebp + (-0x10)); /* 0x46028D07: mov eax, dword ptr [ebp - 0x10] */
    548     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    549     eax = eax & 1; /* 0x46028D0A: and eax, 1 */
    550     _cf = 0;
    551     _flag_k = FK_TEST;
    552     /* test eax, eax */ /* 0x46028D0D: test eax, eax */
    553     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    554     _cf = 0;
    555     _flag_k = FK_TEST;
    556     if (TEST_Z(_flag_a, _flag_b)) goto L_46028D1C; /* 0x46028D0F: je 0x46028d1c */
    557 L_46028D11:
    558     ecx = MEM32(ebp + (-0x14)); /* 0x46028D11: mov ecx, dword ptr [ebp - 0x14] */
    559     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
    560     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    561     ecx = ecx + 4; /* 0x46028D14: add ecx, 4 */
    562     _flag_k = FK_ADD;
    563     RECOMP_BACKEDGE();
    564     goto L_46002DA4; /* 0x46028D17: jmp 0x46002da4 */
    565 L_46028D1C:
    566     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028D1C: ret  */
    567     RECOMP_REGS_OUT();
    568 }
    569 
    570 void sub_46028D1D(void) {
    571     int _fpu_cmp = 0;
    572     uint32_t _cf = 0;
    573     int _df = 1;
    574     uint32_t _flag_k = FK_NONE;
    575     uint32_t _flag_a = 0, _flag_b = 0;
    576     uint32_t _itail_tgt = 0;
    577     RECOMP_REGS_LOCALS
    578     RECOMP_ENTER(0x46028D1Du);
    579 
    580     goto L_46028D1D;
    581 L_46028258:
    582     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    583 L_46028D1D:
    584     eax = 0x4602F3F8u; /* 0x46028D1D: mov eax, 0x4602f3f8 */
    585 L_46028D22:
    586     RECOMP_BACKEDGE();
    587     goto L_46028258; /* 0x46028D22: jmp 0x46028258 */
    588     { RECOMP_REGS_OUT(); return; } /* end of function */
    589   _ljump:
    590     switch (_itail_tgt) {
    591       case 0x46028258u: goto L_46028258;
    592       case 0x46028D1Du: goto L_46028D1D;
    593       case 0x46028D22u: goto L_46028D22;
    594       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    595     }
    596     RECOMP_REGS_OUT();
    597 }
    598 
    599 void sub_46028D27(void) {
    600     int _fpu_cmp = 0;
    601     uint32_t _cf = 0;
    602     int _df = 1;
    603     uint32_t _flag_k = FK_NONE;
    604     uint32_t _flag_a = 0, _flag_b = 0;
    605     uint32_t _itail_tgt = 0;
    606     RECOMP_REGS_LOCALS
    607     RECOMP_ENTER(0x46028D27u);
    608 
    609     goto L_46028D27;
    610 L_46002BA8:
    611     PUSH32(esp, esi); /* 0x46002BA8: push esi */
    612     esi = ecx; /* 0x46002BA9: mov esi, ecx */
    613     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
    614     RECOMP_FLAGS_IN();
    615     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
    616     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    617     _cf = 0;
    618     _flag_k = FK_NARROW(FK_TEST, 24);
    619     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
    620 L_46002BB4:
    621     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
    622     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
    623     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
    624     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
    625     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    626     _cf = 0;
    627     _flag_k = FK_NARROW(FK_TEST, 24);
    628     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
    629 L_46002BC7:
    630     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
    631     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
    632 L_4601C408:
    633     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
    634     RECOMP_FLAGS_IN();
    635     RECOMP_BACKEDGE();
    636     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
    637 L_46028D27:
    638     ecx = ebp + (-0x28); /* 0x46028D27: lea ecx, [ebp - 0x28] */
    639     RECOMP_BACKEDGE();
    640     goto L_46002BA8; /* 0x46028D2A: jmp 0x46002ba8 */
    641     { RECOMP_REGS_OUT(); return; } /* end of function */
    642     RECOMP_REGS_OUT();
    643 }
    644 
    645 void sub_46028D2F(void) {
    646     int _fpu_cmp = 0;
    647     uint32_t _cf = 0;
    648     int _df = 1;
    649     uint32_t _flag_k = FK_NONE;
    650     uint32_t _flag_a = 0, _flag_b = 0;
    651     uint32_t _itail_tgt = 0;
    652     RECOMP_REGS_LOCALS
    653     RECOMP_ENTER(0x46028D2Fu);
    654 
    655     goto L_46028D2F;
    656 L_46001C9F:
    657     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
    658     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
    659     ecx = eax; /* 0x46001CA3: mov ecx, eax */
    660     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
    661     RECOMP_FLAGS_IN();
    662     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
    663 L_46001CAE:
    664     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
    665     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
    666     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    667     _cf = 0;
    668     _flag_k = FK_TEST;
    669     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
    670 L_46001CB4:
    671     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
    672     RECOMP_FLAGS_IN();
    673     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
    674     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    675     _cf = 0;
    676     _flag_k = FK_TEST;
    677     RECOMP_BACKEDGE();
    678     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
    679 L_46001CBD:
    680     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
    681 L_46028D2F:
    682     ecx = ebp + (-0x1C); /* 0x46028D2F: lea ecx, [ebp - 0x1c] */
    683     RECOMP_BACKEDGE();
    684     goto L_46001CAE; /* 0x46028D32: jmp 0x46001cae */
    685     { RECOMP_REGS_OUT(); return; } /* end of function */
    686     RECOMP_REGS_OUT();
    687 }
    688 
    689 void sub_46028D37(void) {
    690     int _fpu_cmp = 0;
    691     uint32_t _cf = 0;
    692     int _df = 1;
    693     uint32_t _flag_k = FK_NONE;
    694     uint32_t _flag_a = 0, _flag_b = 0;
    695     uint32_t _itail_tgt = 0;
    696     RECOMP_REGS_LOCALS
    697     RECOMP_ENTER(0x46028D37u);
    698 
    699     goto L_46028D37;
    700 L_46028258:
    701     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    702 L_46028D37:
    703     eax = 0x4602F420u; /* 0x46028D37: mov eax, 0x4602f420 */
    704 L_46028D3C:
    705     RECOMP_BACKEDGE();
    706     goto L_46028258; /* 0x46028D3C: jmp 0x46028258 */
    707     { RECOMP_REGS_OUT(); return; } /* end of function */
    708   _ljump:
    709     switch (_itail_tgt) {
    710       case 0x46028258u: goto L_46028258;
    711       case 0x46028D37u: goto L_46028D37;
    712       case 0x46028D3Cu: goto L_46028D3C;
    713       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    714     }
    715     RECOMP_REGS_OUT();
    716 }
    717 
    718 void sub_46028D41(void) {
    719     int _fpu_cmp = 0;
    720     uint32_t _cf = 0;
    721     int _df = 1;
    722     uint32_t _flag_k = FK_NONE;
    723     uint32_t _flag_a = 0, _flag_b = 0;
    724     uint32_t _itail_tgt = 0;
    725     RECOMP_REGS_LOCALS
    726     RECOMP_ENTER(0x46028D41u);
    727 
    728     goto L_46028D41;
    729 L_46002BA8:
    730     PUSH32(esp, esi); /* 0x46002BA8: push esi */
    731     esi = ecx; /* 0x46002BA9: mov esi, ecx */
    732     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
    733     RECOMP_FLAGS_IN();
    734     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
    735     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    736     _cf = 0;
    737     _flag_k = FK_NARROW(FK_TEST, 24);
    738     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
    739 L_46002BB4:
    740     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
    741     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
    742     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
    743     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
    744     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    745     _cf = 0;
    746     _flag_k = FK_NARROW(FK_TEST, 24);
    747     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
    748 L_46002BC7:
    749     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
    750     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
    751 L_4601C408:
    752     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
    753     RECOMP_FLAGS_IN();
    754     RECOMP_BACKEDGE();
    755     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
    756 L_46028D41:
    757     ecx = ebp + (-0x28); /* 0x46028D41: lea ecx, [ebp - 0x28] */
    758     RECOMP_BACKEDGE();
    759     goto L_46002BA8; /* 0x46028D44: jmp 0x46002ba8 */
    760     { RECOMP_REGS_OUT(); return; } /* end of function */
    761     RECOMP_REGS_OUT();
    762 }
    763 
    764 void sub_46028D49(void) {
    765     int _fpu_cmp = 0;
    766     uint32_t _cf = 0;
    767     int _df = 1;
    768     uint32_t _flag_k = FK_NONE;
    769     uint32_t _flag_a = 0, _flag_b = 0;
    770     uint32_t _itail_tgt = 0;
    771     RECOMP_REGS_LOCALS
    772     RECOMP_ENTER(0x46028D49u);
    773 
    774     goto L_46028D49;
    775 L_46001C9F:
    776     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
    777     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
    778     ecx = eax; /* 0x46001CA3: mov ecx, eax */
    779     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
    780     RECOMP_FLAGS_IN();
    781     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
    782 L_46001CAE:
    783     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
    784     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
    785     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    786     _cf = 0;
    787     _flag_k = FK_TEST;
    788     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
    789 L_46001CB4:
    790     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
    791     RECOMP_FLAGS_IN();
    792     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
    793     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    794     _cf = 0;
    795     _flag_k = FK_TEST;
    796     RECOMP_BACKEDGE();
    797     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
    798 L_46001CBD:
    799     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
    800 L_46028D49:
    801     ecx = ebp + (-0x1C); /* 0x46028D49: lea ecx, [ebp - 0x1c] */
    802     RECOMP_BACKEDGE();
    803     goto L_46001CAE; /* 0x46028D4C: jmp 0x46001cae */
    804     { RECOMP_REGS_OUT(); return; } /* end of function */
    805     RECOMP_REGS_OUT();
    806 }
    807 
    808 void sub_46028D51(void) {
    809     int _fpu_cmp = 0;
    810     uint32_t _cf = 0;
    811     int _df = 1;
    812     uint32_t _flag_k = FK_NONE;
    813     uint32_t _flag_a = 0, _flag_b = 0;
    814     uint32_t _itail_tgt = 0;
    815     RECOMP_REGS_LOCALS
    816     RECOMP_ENTER(0x46028D51u);
    817 
    818     goto L_46028D51;
    819 L_46028258:
    820     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    821 L_46028D51:
    822     eax = 0x4602F488u; /* 0x46028D51: mov eax, 0x4602f488 */
    823 L_46028D56:
    824     RECOMP_BACKEDGE();
    825     goto L_46028258; /* 0x46028D56: jmp 0x46028258 */
    826     { RECOMP_REGS_OUT(); return; } /* end of function */
    827   _ljump:
    828     switch (_itail_tgt) {
    829       case 0x46028258u: goto L_46028258;
    830       case 0x46028D51u: goto L_46028D51;
    831       case 0x46028D56u: goto L_46028D56;
    832       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    833     }
    834     RECOMP_REGS_OUT();
    835 }
    836 
    837 void sub_46028D5B(void) {
    838     int _fpu_cmp = 0;
    839     uint32_t _cf = 0;
    840     int _df = 1;
    841     uint32_t _flag_k = FK_NONE;
    842     uint32_t _flag_a = 0, _flag_b = 0;
    843     uint32_t _itail_tgt = 0;
    844     RECOMP_REGS_LOCALS
    845     RECOMP_ENTER(0x46028D5Bu);
    846 
    847     goto L_46028D5B;
    848 L_46002BA8:
    849     PUSH32(esp, esi); /* 0x46002BA8: push esi */
    850     esi = ecx; /* 0x46002BA9: mov esi, ecx */
    851     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
    852     RECOMP_FLAGS_IN();
    853     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
    854     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    855     _cf = 0;
    856     _flag_k = FK_NARROW(FK_TEST, 24);
    857     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
    858 L_46002BB4:
    859     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
    860     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
    861     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
    862     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
    863     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    864     _cf = 0;
    865     _flag_k = FK_NARROW(FK_TEST, 24);
    866     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
    867 L_46002BC7:
    868     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
    869     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
    870 L_4601C408:
    871     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
    872     RECOMP_FLAGS_IN();
    873     RECOMP_BACKEDGE();
    874     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
    875 L_46028D5B:
    876     ecx = ebp + (-0x2C); /* 0x46028D5B: lea ecx, [ebp - 0x2c] */
    877     RECOMP_BACKEDGE();
    878     goto L_46002BA8; /* 0x46028D5E: jmp 0x46002ba8 */
    879     { RECOMP_REGS_OUT(); return; } /* end of function */
    880     RECOMP_REGS_OUT();
    881 }
    882 
    883 void sub_46028D63(void) {
    884     int _fpu_cmp = 0;
    885     uint32_t _cf = 0;
    886     int _df = 1;
    887     uint32_t _flag_k = FK_NONE;
    888     uint32_t _flag_a = 0, _flag_b = 0;
    889     uint32_t _itail_tgt = 0;
    890     RECOMP_REGS_LOCALS
    891     RECOMP_ENTER(0x46028D63u);
    892 
    893     goto L_46028D63;
    894 L_46001C9F:
    895     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
    896     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
    897     ecx = eax; /* 0x46001CA3: mov ecx, eax */
    898     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
    899     RECOMP_FLAGS_IN();
    900     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
    901 L_46001CAE:
    902     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
    903     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
    904     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    905     _cf = 0;
    906     _flag_k = FK_TEST;
    907     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
    908 L_46001CB4:
    909     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
    910     RECOMP_FLAGS_IN();
    911     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
    912     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    913     _cf = 0;
    914     _flag_k = FK_TEST;
    915     RECOMP_BACKEDGE();
    916     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
    917 L_46001CBD:
    918     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
    919 L_46028D63:
    920     ecx = ebp + (-0x20); /* 0x46028D63: lea ecx, [ebp - 0x20] */
    921     RECOMP_BACKEDGE();
    922     goto L_46001CAE; /* 0x46028D66: jmp 0x46001cae */
    923     { RECOMP_REGS_OUT(); return; } /* end of function */
    924     RECOMP_REGS_OUT();
    925 }
    926 
    927 void sub_46028D6B(void) {
    928     int _fpu_cmp = 0;
    929     uint32_t _cf = 0;
    930     int _df = 1;
    931     uint32_t _flag_k = FK_NONE;
    932     uint32_t _flag_a = 0, _flag_b = 0;
    933     uint32_t _itail_tgt = 0;
    934     RECOMP_REGS_LOCALS
    935     RECOMP_ENTER(0x46028D6Bu);
    936 
    937     goto L_46028D6B;
    938 L_46028258:
    939     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
    940 L_46028D6B:
    941     eax = 0x4602F4F0u; /* 0x46028D6B: mov eax, 0x4602f4f0 */
    942 L_46028D70:
    943     RECOMP_BACKEDGE();
    944     goto L_46028258; /* 0x46028D70: jmp 0x46028258 */
    945     { RECOMP_REGS_OUT(); return; } /* end of function */
    946   _ljump:
    947     switch (_itail_tgt) {
    948       case 0x46028258u: goto L_46028258;
    949       case 0x46028D6Bu: goto L_46028D6B;
    950       case 0x46028D70u: goto L_46028D70;
    951       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    952     }
    953     RECOMP_REGS_OUT();
    954 }
    955 
    956 void sub_46028D75(void) {
    957     int _fpu_cmp = 0;
    958     uint32_t _cf = 0;
    959     int _df = 1;
    960     uint32_t _flag_k = FK_NONE;
    961     uint32_t _flag_a = 0, _flag_b = 0;
    962     uint32_t _itail_tgt = 0;
    963     RECOMP_REGS_LOCALS
    964     RECOMP_ENTER(0x46028D75u);
    965 
    966     goto L_46028D75;
    967 L_46002BA8:
    968     PUSH32(esp, esi); /* 0x46002BA8: push esi */
    969     esi = ecx; /* 0x46002BA9: mov esi, ecx */
    970     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
    971     RECOMP_FLAGS_IN();
    972     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
    973     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    974     _cf = 0;
    975     _flag_k = FK_NARROW(FK_TEST, 24);
    976     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
    977 L_46002BB4:
    978     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
    979     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
    980     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
    981     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
    982     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
    983     _cf = 0;
    984     _flag_k = FK_NARROW(FK_TEST, 24);
    985     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
    986 L_46002BC7:
    987     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
    988     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
    989 L_4601C408:
    990     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
    991     RECOMP_FLAGS_IN();
    992     RECOMP_BACKEDGE();
    993     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
    994 L_46028D75:
    995     ecx = ebp + (-0x30); /* 0x46028D75: lea ecx, [ebp - 0x30] */
    996     RECOMP_BACKEDGE();
    997     goto L_46002BA8; /* 0x46028D78: jmp 0x46002ba8 */
    998     { RECOMP_REGS_OUT(); return; } /* end of function */
    999     RECOMP_REGS_OUT();
   1000 }
   1001 
   1002 void sub_46028D7D(void) {
   1003     int _fpu_cmp = 0;
   1004     uint32_t _cf = 0;
   1005     int _df = 1;
   1006     uint32_t _flag_k = FK_NONE;
   1007     uint32_t _flag_a = 0, _flag_b = 0;
   1008     uint32_t _itail_tgt = 0;
   1009     RECOMP_REGS_LOCALS
   1010     RECOMP_ENTER(0x46028D7Du);
   1011 
   1012     goto L_46028D7D;
   1013 L_46001C9F:
   1014     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1015     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1016     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1017     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1018     RECOMP_FLAGS_IN();
   1019     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1020 L_46001CAE:
   1021     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1022     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1023     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1024     _cf = 0;
   1025     _flag_k = FK_TEST;
   1026     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1027 L_46001CB4:
   1028     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1029     RECOMP_FLAGS_IN();
   1030     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1031     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1032     _cf = 0;
   1033     _flag_k = FK_TEST;
   1034     RECOMP_BACKEDGE();
   1035     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1036 L_46001CBD:
   1037     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1038 L_46028D7D:
   1039     ecx = ebp + (-0x1C); /* 0x46028D7D: lea ecx, [ebp - 0x1c] */
   1040     RECOMP_BACKEDGE();
   1041     goto L_46001CAE; /* 0x46028D80: jmp 0x46001cae */
   1042     { RECOMP_REGS_OUT(); return; } /* end of function */
   1043     RECOMP_REGS_OUT();
   1044 }
   1045 
   1046 void sub_46028D85(void) {
   1047     int _fpu_cmp = 0;
   1048     uint32_t _cf = 0;
   1049     int _df = 1;
   1050     uint32_t _flag_k = FK_NONE;
   1051     uint32_t _flag_a = 0, _flag_b = 0;
   1052     uint32_t _itail_tgt = 0;
   1053     RECOMP_REGS_LOCALS
   1054     RECOMP_ENTER(0x46028D85u);
   1055 
   1056     goto L_46028D85;
   1057 L_46028258:
   1058     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1059 L_46028D85:
   1060     eax = 0x4602F558u; /* 0x46028D85: mov eax, 0x4602f558 */
   1061 L_46028D8A:
   1062     RECOMP_BACKEDGE();
   1063     goto L_46028258; /* 0x46028D8A: jmp 0x46028258 */
   1064     { RECOMP_REGS_OUT(); return; } /* end of function */
   1065   _ljump:
   1066     switch (_itail_tgt) {
   1067       case 0x46028258u: goto L_46028258;
   1068       case 0x46028D85u: goto L_46028D85;
   1069       case 0x46028D8Au: goto L_46028D8A;
   1070       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1071     }
   1072     RECOMP_REGS_OUT();
   1073 }
   1074 
   1075 void sub_46028D8F(void) {
   1076     int _fpu_cmp = 0;
   1077     uint32_t _cf = 0;
   1078     int _df = 1;
   1079     uint32_t _flag_k = FK_NONE;
   1080     uint32_t _flag_a = 0, _flag_b = 0;
   1081     uint32_t _itail_tgt = 0;
   1082     RECOMP_REGS_LOCALS
   1083     RECOMP_ENTER(0x46028D8Fu);
   1084 
   1085     goto L_46028D8F;
   1086 L_46002BA8:
   1087     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1088     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1089     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1090     RECOMP_FLAGS_IN();
   1091     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1092     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1093     _cf = 0;
   1094     _flag_k = FK_NARROW(FK_TEST, 24);
   1095     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1096 L_46002BB4:
   1097     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1098     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1099     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1100     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1101     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1102     _cf = 0;
   1103     _flag_k = FK_NARROW(FK_TEST, 24);
   1104     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1105 L_46002BC7:
   1106     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1107     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1108 L_4601C408:
   1109     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1110     RECOMP_FLAGS_IN();
   1111     RECOMP_BACKEDGE();
   1112     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1113 L_46028D8F:
   1114     ecx = ebp + (-0x28); /* 0x46028D8F: lea ecx, [ebp - 0x28] */
   1115     RECOMP_BACKEDGE();
   1116     goto L_46002BA8; /* 0x46028D92: jmp 0x46002ba8 */
   1117     { RECOMP_REGS_OUT(); return; } /* end of function */
   1118     RECOMP_REGS_OUT();
   1119 }
   1120 
   1121 void sub_46028D97(void) {
   1122     int _fpu_cmp = 0;
   1123     uint32_t _cf = 0;
   1124     int _df = 1;
   1125     uint32_t _flag_k = FK_NONE;
   1126     uint32_t _flag_a = 0, _flag_b = 0;
   1127     uint32_t _itail_tgt = 0;
   1128     RECOMP_REGS_LOCALS
   1129     RECOMP_ENTER(0x46028D97u);
   1130 
   1131     goto L_46028D97;
   1132 L_46001C9F:
   1133     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1134     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1135     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1136     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1137     RECOMP_FLAGS_IN();
   1138     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1139 L_46001CAE:
   1140     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1141     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1142     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1143     _cf = 0;
   1144     _flag_k = FK_TEST;
   1145     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1146 L_46001CB4:
   1147     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1148     RECOMP_FLAGS_IN();
   1149     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1151     _cf = 0;
   1152     _flag_k = FK_TEST;
   1153     RECOMP_BACKEDGE();
   1154     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1155 L_46001CBD:
   1156     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1157 L_46028D97:
   1158     ecx = ebp + (-0x1C); /* 0x46028D97: lea ecx, [ebp - 0x1c] */
   1159     RECOMP_BACKEDGE();
   1160     goto L_46001CAE; /* 0x46028D9A: jmp 0x46001cae */
   1161     { RECOMP_REGS_OUT(); return; } /* end of function */
   1162     RECOMP_REGS_OUT();
   1163 }
   1164 
   1165 void sub_46028D9F(void) {
   1166     int _fpu_cmp = 0;
   1167     uint32_t _cf = 0;
   1168     int _df = 1;
   1169     uint32_t _flag_k = FK_NONE;
   1170     uint32_t _flag_a = 0, _flag_b = 0;
   1171     uint32_t _itail_tgt = 0;
   1172     RECOMP_REGS_LOCALS
   1173     RECOMP_ENTER(0x46028D9Fu);
   1174 
   1175     goto L_46028D9F;
   1176 L_46028258:
   1177     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1178 L_46028D9F:
   1179     eax = 0x4602F5C0u; /* 0x46028D9F: mov eax, 0x4602f5c0 */
   1180 L_46028DA4:
   1181     RECOMP_BACKEDGE();
   1182     goto L_46028258; /* 0x46028DA4: jmp 0x46028258 */
   1183     { RECOMP_REGS_OUT(); return; } /* end of function */
   1184   _ljump:
   1185     switch (_itail_tgt) {
   1186       case 0x46028258u: goto L_46028258;
   1187       case 0x46028D9Fu: goto L_46028D9F;
   1188       case 0x46028DA4u: goto L_46028DA4;
   1189       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1190     }
   1191     RECOMP_REGS_OUT();
   1192 }
   1193 
   1194 void sub_46028DA9(void) {
   1195     int _fpu_cmp = 0;
   1196     uint32_t _cf = 0;
   1197     int _df = 1;
   1198     uint32_t _flag_k = FK_NONE;
   1199     uint32_t _flag_a = 0, _flag_b = 0;
   1200     uint32_t _itail_tgt = 0;
   1201     RECOMP_REGS_LOCALS
   1202     RECOMP_ENTER(0x46028DA9u);
   1203 
   1204     goto L_46028DA9;
   1205 L_46002BA8:
   1206     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1207     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1208     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1209     RECOMP_FLAGS_IN();
   1210     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1211     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1212     _cf = 0;
   1213     _flag_k = FK_NARROW(FK_TEST, 24);
   1214     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1215 L_46002BB4:
   1216     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1217     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1218     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1219     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1220     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1221     _cf = 0;
   1222     _flag_k = FK_NARROW(FK_TEST, 24);
   1223     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1224 L_46002BC7:
   1225     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1226     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1227 L_4601C408:
   1228     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1229     RECOMP_FLAGS_IN();
   1230     RECOMP_BACKEDGE();
   1231     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1232 L_46028DA9:
   1233     ecx = ebp + (-0x28); /* 0x46028DA9: lea ecx, [ebp - 0x28] */
   1234     RECOMP_BACKEDGE();
   1235     goto L_46002BA8; /* 0x46028DAC: jmp 0x46002ba8 */
   1236     { RECOMP_REGS_OUT(); return; } /* end of function */
   1237     RECOMP_REGS_OUT();
   1238 }
   1239 
   1240 void sub_46028DB1(void) {
   1241     int _fpu_cmp = 0;
   1242     uint32_t _cf = 0;
   1243     int _df = 1;
   1244     uint32_t _flag_k = FK_NONE;
   1245     uint32_t _flag_a = 0, _flag_b = 0;
   1246     uint32_t _itail_tgt = 0;
   1247     RECOMP_REGS_LOCALS
   1248     RECOMP_ENTER(0x46028DB1u);
   1249 
   1250     goto L_46028DB1;
   1251 L_46001C9F:
   1252     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1253     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1254     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1255     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1256     RECOMP_FLAGS_IN();
   1257     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1258 L_46001CAE:
   1259     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1260     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1261     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1262     _cf = 0;
   1263     _flag_k = FK_TEST;
   1264     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1265 L_46001CB4:
   1266     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1267     RECOMP_FLAGS_IN();
   1268     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1269     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1270     _cf = 0;
   1271     _flag_k = FK_TEST;
   1272     RECOMP_BACKEDGE();
   1273     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1274 L_46001CBD:
   1275     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1276 L_46028DB1:
   1277     ecx = ebp + (-0x1C); /* 0x46028DB1: lea ecx, [ebp - 0x1c] */
   1278     RECOMP_BACKEDGE();
   1279     goto L_46001CAE; /* 0x46028DB4: jmp 0x46001cae */
   1280     { RECOMP_REGS_OUT(); return; } /* end of function */
   1281     RECOMP_REGS_OUT();
   1282 }
   1283 
   1284 void sub_46028DB9(void) {
   1285     int _fpu_cmp = 0;
   1286     uint32_t _cf = 0;
   1287     int _df = 1;
   1288     uint32_t _flag_k = FK_NONE;
   1289     uint32_t _flag_a = 0, _flag_b = 0;
   1290     uint32_t _itail_tgt = 0;
   1291     RECOMP_REGS_LOCALS
   1292     RECOMP_ENTER(0x46028DB9u);
   1293 
   1294     goto L_46028DB9;
   1295 L_46028258:
   1296     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1297 L_46028DB9:
   1298     eax = 0x4602F628u; /* 0x46028DB9: mov eax, 0x4602f628 */
   1299 L_46028DBE:
   1300     RECOMP_BACKEDGE();
   1301     goto L_46028258; /* 0x46028DBE: jmp 0x46028258 */
   1302     { RECOMP_REGS_OUT(); return; } /* end of function */
   1303   _ljump:
   1304     switch (_itail_tgt) {
   1305       case 0x46028258u: goto L_46028258;
   1306       case 0x46028DB9u: goto L_46028DB9;
   1307       case 0x46028DBEu: goto L_46028DBE;
   1308       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1309     }
   1310     RECOMP_REGS_OUT();
   1311 }
   1312 
   1313 void sub_46028DC3(void) {
   1314     int _fpu_cmp = 0;
   1315     uint32_t _cf = 0;
   1316     int _df = 1;
   1317     uint32_t _flag_k = FK_NONE;
   1318     uint32_t _flag_a = 0, _flag_b = 0;
   1319     uint32_t _itail_tgt = 0;
   1320     RECOMP_REGS_LOCALS
   1321     RECOMP_ENTER(0x46028DC3u);
   1322 
   1323     goto L_46028DC3;
   1324 L_46002BA8:
   1325     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1326     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1327     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1328     RECOMP_FLAGS_IN();
   1329     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1330     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1331     _cf = 0;
   1332     _flag_k = FK_NARROW(FK_TEST, 24);
   1333     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1334 L_46002BB4:
   1335     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1336     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1337     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1338     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1339     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1340     _cf = 0;
   1341     _flag_k = FK_NARROW(FK_TEST, 24);
   1342     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1343 L_46002BC7:
   1344     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1345     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1346 L_4601C408:
   1347     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1348     RECOMP_FLAGS_IN();
   1349     RECOMP_BACKEDGE();
   1350     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1351 L_46028DC3:
   1352     ecx = ebp + (-0x28); /* 0x46028DC3: lea ecx, [ebp - 0x28] */
   1353     RECOMP_BACKEDGE();
   1354     goto L_46002BA8; /* 0x46028DC6: jmp 0x46002ba8 */
   1355     { RECOMP_REGS_OUT(); return; } /* end of function */
   1356     RECOMP_REGS_OUT();
   1357 }
   1358 
   1359 void sub_46028DCB(void) {
   1360     int _fpu_cmp = 0;
   1361     uint32_t _cf = 0;
   1362     int _df = 1;
   1363     uint32_t _flag_k = FK_NONE;
   1364     uint32_t _flag_a = 0, _flag_b = 0;
   1365     uint32_t _itail_tgt = 0;
   1366     RECOMP_REGS_LOCALS
   1367     RECOMP_ENTER(0x46028DCBu);
   1368 
   1369     goto L_46028DCB;
   1370 L_46001C9F:
   1371     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1372     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1373     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1374     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1375     RECOMP_FLAGS_IN();
   1376     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1377 L_46001CAE:
   1378     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1379     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1380     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1381     _cf = 0;
   1382     _flag_k = FK_TEST;
   1383     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1384 L_46001CB4:
   1385     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1386     RECOMP_FLAGS_IN();
   1387     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1388     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1389     _cf = 0;
   1390     _flag_k = FK_TEST;
   1391     RECOMP_BACKEDGE();
   1392     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1393 L_46001CBD:
   1394     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1395 L_46028DCB:
   1396     ecx = ebp + (-0x1C); /* 0x46028DCB: lea ecx, [ebp - 0x1c] */
   1397     RECOMP_BACKEDGE();
   1398     goto L_46001CAE; /* 0x46028DCE: jmp 0x46001cae */
   1399     { RECOMP_REGS_OUT(); return; } /* end of function */
   1400     RECOMP_REGS_OUT();
   1401 }
   1402 
   1403 void sub_46028DD3(void) {
   1404     int _fpu_cmp = 0;
   1405     uint32_t _cf = 0;
   1406     int _df = 1;
   1407     uint32_t _flag_k = FK_NONE;
   1408     uint32_t _flag_a = 0, _flag_b = 0;
   1409     uint32_t _itail_tgt = 0;
   1410     RECOMP_REGS_LOCALS
   1411     RECOMP_ENTER(0x46028DD3u);
   1412 
   1413     goto L_46028DD3;
   1414 L_46028258:
   1415     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1416 L_46028DD3:
   1417     eax = 0x4602F690u; /* 0x46028DD3: mov eax, 0x4602f690 */
   1418 L_46028DD8:
   1419     RECOMP_BACKEDGE();
   1420     goto L_46028258; /* 0x46028DD8: jmp 0x46028258 */
   1421     { RECOMP_REGS_OUT(); return; } /* end of function */
   1422   _ljump:
   1423     switch (_itail_tgt) {
   1424       case 0x46028258u: goto L_46028258;
   1425       case 0x46028DD3u: goto L_46028DD3;
   1426       case 0x46028DD8u: goto L_46028DD8;
   1427       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1428     }
   1429     RECOMP_REGS_OUT();
   1430 }
   1431 
   1432 void sub_46028DDD(void) {
   1433     int _fpu_cmp = 0;
   1434     uint32_t _cf = 0;
   1435     int _df = 1;
   1436     uint32_t _flag_k = FK_NONE;
   1437     uint32_t _flag_a = 0, _flag_b = 0;
   1438     uint32_t _itail_tgt = 0;
   1439     RECOMP_REGS_LOCALS
   1440     RECOMP_ENTER(0x46028DDDu);
   1441 
   1442     goto L_46028DDD;
   1443 L_46002BA8:
   1444     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1445     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1446     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1447     RECOMP_FLAGS_IN();
   1448     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1449     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1450     _cf = 0;
   1451     _flag_k = FK_NARROW(FK_TEST, 24);
   1452     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1453 L_46002BB4:
   1454     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1455     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1456     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1457     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1458     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1459     _cf = 0;
   1460     _flag_k = FK_NARROW(FK_TEST, 24);
   1461     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1462 L_46002BC7:
   1463     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1464     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1465 L_4601C408:
   1466     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1467     RECOMP_FLAGS_IN();
   1468     RECOMP_BACKEDGE();
   1469     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1470 L_46028DDD:
   1471     ecx = ebp + (-0x28); /* 0x46028DDD: lea ecx, [ebp - 0x28] */
   1472     RECOMP_BACKEDGE();
   1473     goto L_46002BA8; /* 0x46028DE0: jmp 0x46002ba8 */
   1474     { RECOMP_REGS_OUT(); return; } /* end of function */
   1475     RECOMP_REGS_OUT();
   1476 }
   1477 
   1478 void sub_46028DE5(void) {
   1479     int _fpu_cmp = 0;
   1480     uint32_t _cf = 0;
   1481     int _df = 1;
   1482     uint32_t _flag_k = FK_NONE;
   1483     uint32_t _flag_a = 0, _flag_b = 0;
   1484     uint32_t _itail_tgt = 0;
   1485     RECOMP_REGS_LOCALS
   1486     RECOMP_ENTER(0x46028DE5u);
   1487 
   1488     goto L_46028DE5;
   1489 L_46001C9F:
   1490     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1491     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1492     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1493     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1494     RECOMP_FLAGS_IN();
   1495     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1496 L_46001CAE:
   1497     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1498     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1499     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1500     _cf = 0;
   1501     _flag_k = FK_TEST;
   1502     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1503 L_46001CB4:
   1504     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1505     RECOMP_FLAGS_IN();
   1506     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1507     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1508     _cf = 0;
   1509     _flag_k = FK_TEST;
   1510     RECOMP_BACKEDGE();
   1511     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1512 L_46001CBD:
   1513     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1514 L_46028DE5:
   1515     ecx = ebp + (-0x1C); /* 0x46028DE5: lea ecx, [ebp - 0x1c] */
   1516     RECOMP_BACKEDGE();
   1517     goto L_46001CAE; /* 0x46028DE8: jmp 0x46001cae */
   1518     { RECOMP_REGS_OUT(); return; } /* end of function */
   1519     RECOMP_REGS_OUT();
   1520 }
   1521 
   1522 void sub_46028DED(void) {
   1523     int _fpu_cmp = 0;
   1524     uint32_t _cf = 0;
   1525     int _df = 1;
   1526     uint32_t _flag_k = FK_NONE;
   1527     uint32_t _flag_a = 0, _flag_b = 0;
   1528     uint32_t _itail_tgt = 0;
   1529     RECOMP_REGS_LOCALS
   1530     RECOMP_ENTER(0x46028DEDu);
   1531 
   1532     goto L_46028DED;
   1533 L_46028258:
   1534     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1535 L_46028DED:
   1536     eax = 0x4602F6F8u; /* 0x46028DED: mov eax, 0x4602f6f8 */
   1537 L_46028DF2:
   1538     RECOMP_BACKEDGE();
   1539     goto L_46028258; /* 0x46028DF2: jmp 0x46028258 */
   1540     { RECOMP_REGS_OUT(); return; } /* end of function */
   1541   _ljump:
   1542     switch (_itail_tgt) {
   1543       case 0x46028258u: goto L_46028258;
   1544       case 0x46028DEDu: goto L_46028DED;
   1545       case 0x46028DF2u: goto L_46028DF2;
   1546       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1547     }
   1548     RECOMP_REGS_OUT();
   1549 }
   1550 
   1551 void sub_46028DF7(void) {
   1552     int _fpu_cmp = 0;
   1553     uint32_t _cf = 0;
   1554     int _df = 1;
   1555     uint32_t _flag_k = FK_NONE;
   1556     uint32_t _flag_a = 0, _flag_b = 0;
   1557     uint32_t _itail_tgt = 0;
   1558     RECOMP_REGS_LOCALS
   1559     RECOMP_ENTER(0x46028DF7u);
   1560 
   1561     goto L_46028DF7;
   1562 L_46002BA8:
   1563     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1564     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1565     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1566     RECOMP_FLAGS_IN();
   1567     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1568     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1569     _cf = 0;
   1570     _flag_k = FK_NARROW(FK_TEST, 24);
   1571     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1572 L_46002BB4:
   1573     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1574     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1575     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1576     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1577     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1578     _cf = 0;
   1579     _flag_k = FK_NARROW(FK_TEST, 24);
   1580     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1581 L_46002BC7:
   1582     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1583     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1584 L_4601C408:
   1585     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1586     RECOMP_FLAGS_IN();
   1587     RECOMP_BACKEDGE();
   1588     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1589 L_46028DF7:
   1590     ecx = ebp + (-0x24); /* 0x46028DF7: lea ecx, [ebp - 0x24] */
   1591     RECOMP_BACKEDGE();
   1592     goto L_46002BA8; /* 0x46028DFA: jmp 0x46002ba8 */
   1593     { RECOMP_REGS_OUT(); return; } /* end of function */
   1594     RECOMP_REGS_OUT();
   1595 }
   1596 
   1597 void sub_46028DFF(void) {
   1598     int _fpu_cmp = 0;
   1599     uint32_t _cf = 0;
   1600     int _df = 1;
   1601     uint32_t _flag_k = FK_NONE;
   1602     uint32_t _flag_a = 0, _flag_b = 0;
   1603     uint32_t _itail_tgt = 0;
   1604     RECOMP_REGS_LOCALS
   1605     RECOMP_ENTER(0x46028DFFu);
   1606 
   1607     goto L_46028DFF;
   1608 L_46001C9F:
   1609     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1610     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1611     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1612     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1613     RECOMP_FLAGS_IN();
   1614     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1615 L_46001CAE:
   1616     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1617     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1618     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1619     _cf = 0;
   1620     _flag_k = FK_TEST;
   1621     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1622 L_46001CB4:
   1623     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1624     RECOMP_FLAGS_IN();
   1625     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1626     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1627     _cf = 0;
   1628     _flag_k = FK_TEST;
   1629     RECOMP_BACKEDGE();
   1630     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1631 L_46001CBD:
   1632     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1633 L_46028DFF:
   1634     ecx = ebp + (-0x1C); /* 0x46028DFF: lea ecx, [ebp - 0x1c] */
   1635     RECOMP_BACKEDGE();
   1636     goto L_46001CAE; /* 0x46028E02: jmp 0x46001cae */
   1637     { RECOMP_REGS_OUT(); return; } /* end of function */
   1638     RECOMP_REGS_OUT();
   1639 }
   1640 
   1641 void sub_46028E07(void) {
   1642     int _fpu_cmp = 0;
   1643     uint32_t _cf = 0;
   1644     int _df = 1;
   1645     uint32_t _flag_k = FK_NONE;
   1646     uint32_t _flag_a = 0, _flag_b = 0;
   1647     uint32_t _itail_tgt = 0;
   1648     RECOMP_REGS_LOCALS
   1649     RECOMP_ENTER(0x46028E07u);
   1650 
   1651     goto L_46028E07;
   1652 L_46028258:
   1653     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1654 L_46028E07:
   1655     eax = 0x4602F760u; /* 0x46028E07: mov eax, 0x4602f760 */
   1656 L_46028E0C:
   1657     RECOMP_BACKEDGE();
   1658     goto L_46028258; /* 0x46028E0C: jmp 0x46028258 */
   1659     { RECOMP_REGS_OUT(); return; } /* end of function */
   1660   _ljump:
   1661     switch (_itail_tgt) {
   1662       case 0x46028258u: goto L_46028258;
   1663       case 0x46028E07u: goto L_46028E07;
   1664       case 0x46028E0Cu: goto L_46028E0C;
   1665       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1666     }
   1667     RECOMP_REGS_OUT();
   1668 }
   1669 
   1670 void sub_46028E11(void) {
   1671     int _fpu_cmp = 0;
   1672     uint32_t _cf = 0;
   1673     int _df = 1;
   1674     uint32_t _flag_k = FK_NONE;
   1675     uint32_t _flag_a = 0, _flag_b = 0;
   1676     uint32_t _itail_tgt = 0;
   1677     RECOMP_REGS_LOCALS
   1678     RECOMP_ENTER(0x46028E11u);
   1679 
   1680     goto L_46028E11;
   1681 L_46002BA8:
   1682     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1683     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1684     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1685     RECOMP_FLAGS_IN();
   1686     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1687     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1688     _cf = 0;
   1689     _flag_k = FK_NARROW(FK_TEST, 24);
   1690     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1691 L_46002BB4:
   1692     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1693     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1694     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1695     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1696     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1697     _cf = 0;
   1698     _flag_k = FK_NARROW(FK_TEST, 24);
   1699     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1700 L_46002BC7:
   1701     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1702     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1703 L_4601C408:
   1704     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1705     RECOMP_FLAGS_IN();
   1706     RECOMP_BACKEDGE();
   1707     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1708 L_46028E11:
   1709     ecx = ebp + (-0x24); /* 0x46028E11: lea ecx, [ebp - 0x24] */
   1710     RECOMP_BACKEDGE();
   1711     goto L_46002BA8; /* 0x46028E14: jmp 0x46002ba8 */
   1712     { RECOMP_REGS_OUT(); return; } /* end of function */
   1713     RECOMP_REGS_OUT();
   1714 }
   1715 
   1716 void sub_46028E19(void) {
   1717     int _fpu_cmp = 0;
   1718     uint32_t _cf = 0;
   1719     int _df = 1;
   1720     uint32_t _flag_k = FK_NONE;
   1721     uint32_t _flag_a = 0, _flag_b = 0;
   1722     uint32_t _itail_tgt = 0;
   1723     RECOMP_REGS_LOCALS
   1724     RECOMP_ENTER(0x46028E19u);
   1725 
   1726     goto L_46028E19;
   1727 L_46001C9F:
   1728     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1729     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1730     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1731     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1732     RECOMP_FLAGS_IN();
   1733     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1734 L_46001CAE:
   1735     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1736     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1737     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1738     _cf = 0;
   1739     _flag_k = FK_TEST;
   1740     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1741 L_46001CB4:
   1742     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1743     RECOMP_FLAGS_IN();
   1744     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1745     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1746     _cf = 0;
   1747     _flag_k = FK_TEST;
   1748     RECOMP_BACKEDGE();
   1749     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1750 L_46001CBD:
   1751     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1752 L_46028E19:
   1753     ecx = ebp + (-0x1C); /* 0x46028E19: lea ecx, [ebp - 0x1c] */
   1754     RECOMP_BACKEDGE();
   1755     goto L_46001CAE; /* 0x46028E1C: jmp 0x46001cae */
   1756     { RECOMP_REGS_OUT(); return; } /* end of function */
   1757     RECOMP_REGS_OUT();
   1758 }
   1759 
   1760 void sub_46028E21(void) {
   1761     int _fpu_cmp = 0;
   1762     uint32_t _cf = 0;
   1763     int _df = 1;
   1764     uint32_t _flag_k = FK_NONE;
   1765     uint32_t _flag_a = 0, _flag_b = 0;
   1766     uint32_t _itail_tgt = 0;
   1767     RECOMP_REGS_LOCALS
   1768     RECOMP_ENTER(0x46028E21u);
   1769 
   1770     goto L_46028E21;
   1771 L_46028258:
   1772     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1773 L_46028E21:
   1774     eax = 0x4602F7C8u; /* 0x46028E21: mov eax, 0x4602f7c8 */
   1775 L_46028E26:
   1776     RECOMP_BACKEDGE();
   1777     goto L_46028258; /* 0x46028E26: jmp 0x46028258 */
   1778     { RECOMP_REGS_OUT(); return; } /* end of function */
   1779   _ljump:
   1780     switch (_itail_tgt) {
   1781       case 0x46028258u: goto L_46028258;
   1782       case 0x46028E21u: goto L_46028E21;
   1783       case 0x46028E26u: goto L_46028E26;
   1784       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1785     }
   1786     RECOMP_REGS_OUT();
   1787 }
   1788 
   1789 void sub_46028E2B(void) {
   1790     int _fpu_cmp = 0;
   1791     uint32_t _cf = 0;
   1792     int _df = 1;
   1793     uint32_t _flag_k = FK_NONE;
   1794     uint32_t _flag_a = 0, _flag_b = 0;
   1795     uint32_t _itail_tgt = 0;
   1796     RECOMP_REGS_LOCALS
   1797     RECOMP_ENTER(0x46028E2Bu);
   1798 
   1799     goto L_46028E2B;
   1800 L_46002BA8:
   1801     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1802     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1803     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1804     RECOMP_FLAGS_IN();
   1805     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1806     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1807     _cf = 0;
   1808     _flag_k = FK_NARROW(FK_TEST, 24);
   1809     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1810 L_46002BB4:
   1811     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1812     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1813     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1814     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1815     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1816     _cf = 0;
   1817     _flag_k = FK_NARROW(FK_TEST, 24);
   1818     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1819 L_46002BC7:
   1820     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1821     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1822 L_4601C408:
   1823     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1824     RECOMP_FLAGS_IN();
   1825     RECOMP_BACKEDGE();
   1826     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1827 L_46028E2B:
   1828     ecx = ebp + (-0x28); /* 0x46028E2B: lea ecx, [ebp - 0x28] */
   1829     RECOMP_BACKEDGE();
   1830     goto L_46002BA8; /* 0x46028E2E: jmp 0x46002ba8 */
   1831     { RECOMP_REGS_OUT(); return; } /* end of function */
   1832     RECOMP_REGS_OUT();
   1833 }
   1834 
   1835 void sub_46028E33(void) {
   1836     int _fpu_cmp = 0;
   1837     uint32_t _cf = 0;
   1838     int _df = 1;
   1839     uint32_t _flag_k = FK_NONE;
   1840     uint32_t _flag_a = 0, _flag_b = 0;
   1841     uint32_t _itail_tgt = 0;
   1842     RECOMP_REGS_LOCALS
   1843     RECOMP_ENTER(0x46028E33u);
   1844 
   1845     goto L_46028E33;
   1846 L_46001C9F:
   1847     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   1848     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   1849     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   1850     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   1851     RECOMP_FLAGS_IN();
   1852     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   1853 L_46001CAE:
   1854     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   1855     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   1856     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1857     _cf = 0;
   1858     _flag_k = FK_TEST;
   1859     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   1860 L_46001CB4:
   1861     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   1862     RECOMP_FLAGS_IN();
   1863     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   1864     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1865     _cf = 0;
   1866     _flag_k = FK_TEST;
   1867     RECOMP_BACKEDGE();
   1868     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   1869 L_46001CBD:
   1870     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   1871 L_46028E33:
   1872     ecx = ebp + (-0x1C); /* 0x46028E33: lea ecx, [ebp - 0x1c] */
   1873     RECOMP_BACKEDGE();
   1874     goto L_46001CAE; /* 0x46028E36: jmp 0x46001cae */
   1875     { RECOMP_REGS_OUT(); return; } /* end of function */
   1876     RECOMP_REGS_OUT();
   1877 }
   1878 
   1879 void sub_46028E3B(void) {
   1880     int _fpu_cmp = 0;
   1881     uint32_t _cf = 0;
   1882     int _df = 1;
   1883     uint32_t _flag_k = FK_NONE;
   1884     uint32_t _flag_a = 0, _flag_b = 0;
   1885     uint32_t _itail_tgt = 0;
   1886     RECOMP_REGS_LOCALS
   1887     RECOMP_ENTER(0x46028E3Bu);
   1888 
   1889     goto L_46028E3B;
   1890 L_46028258:
   1891     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1892 L_46028E3B:
   1893     eax = 0x4602F830u; /* 0x46028E3B: mov eax, 0x4602f830 */
   1894 L_46028E40:
   1895     RECOMP_BACKEDGE();
   1896     goto L_46028258; /* 0x46028E40: jmp 0x46028258 */
   1897     { RECOMP_REGS_OUT(); return; } /* end of function */
   1898   _ljump:
   1899     switch (_itail_tgt) {
   1900       case 0x46028258u: goto L_46028258;
   1901       case 0x46028E3Bu: goto L_46028E3B;
   1902       case 0x46028E40u: goto L_46028E40;
   1903       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1904     }
   1905     RECOMP_REGS_OUT();
   1906 }
   1907 
   1908 void sub_46028E45(void) {
   1909     int _fpu_cmp = 0;
   1910     uint32_t _cf = 0;
   1911     int _df = 1;
   1912     uint32_t _flag_k = FK_NONE;
   1913     uint32_t _flag_a = 0, _flag_b = 0;
   1914     uint32_t _itail_tgt = 0;
   1915     RECOMP_REGS_LOCALS
   1916     RECOMP_ENTER(0x46028E45u);
   1917 
   1918     goto L_46028E45;
   1919 L_46002BA8:
   1920     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1921     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1922     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1923     RECOMP_FLAGS_IN();
   1924     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   1925     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1926     _cf = 0;
   1927     _flag_k = FK_NARROW(FK_TEST, 24);
   1928     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   1929 L_46002BB4:
   1930     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   1931     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   1932     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   1933     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   1934     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   1935     _cf = 0;
   1936     _flag_k = FK_NARROW(FK_TEST, 24);
   1937     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   1938 L_46002BC7:
   1939     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   1940     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   1941 L_4601C408:
   1942     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   1943     RECOMP_FLAGS_IN();
   1944     RECOMP_BACKEDGE();
   1945     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   1946 L_46028E45:
   1947     ecx = ebp + (-0x28); /* 0x46028E45: lea ecx, [ebp - 0x28] */
   1948     RECOMP_BACKEDGE();
   1949     goto L_46002BA8; /* 0x46028E48: jmp 0x46002ba8 */
   1950     { RECOMP_REGS_OUT(); return; } /* end of function */
   1951     RECOMP_REGS_OUT();
   1952 }
   1953 
   1954 void sub_46028E4D(void) {
   1955     int _fpu_cmp = 0;
   1956     uint32_t _cf = 0;
   1957     int _df = 1;
   1958     uint32_t _flag_k = FK_NONE;
   1959     uint32_t _flag_a = 0, _flag_b = 0;
   1960     uint32_t _itail_tgt = 0;
   1961     RECOMP_REGS_LOCALS
   1962     RECOMP_ENTER(0x46028E4Du);
   1963 
   1964     goto L_46028E4D;
   1965 L_46028258:
   1966     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   1967 L_46028E4D:
   1968     eax = 0x4602F898u; /* 0x46028E4D: mov eax, 0x4602f898 */
   1969 L_46028E52:
   1970     RECOMP_BACKEDGE();
   1971     goto L_46028258; /* 0x46028E52: jmp 0x46028258 */
   1972     { RECOMP_REGS_OUT(); return; } /* end of function */
   1973   _ljump:
   1974     switch (_itail_tgt) {
   1975       case 0x46028258u: goto L_46028258;
   1976       case 0x46028E4Du: goto L_46028E4D;
   1977       case 0x46028E52u: goto L_46028E52;
   1978       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1979     }
   1980     RECOMP_REGS_OUT();
   1981 }
   1982 
   1983 void sub_46028E57(void) {
   1984     int _fpu_cmp = 0;
   1985     uint32_t _cf = 0;
   1986     int _df = 1;
   1987     uint32_t _flag_k = FK_NONE;
   1988     uint32_t _flag_a = 0, _flag_b = 0;
   1989     uint32_t _itail_tgt = 0;
   1990     RECOMP_REGS_LOCALS
   1991     RECOMP_ENTER(0x46028E57u);
   1992 
   1993     goto L_46028E57;
   1994 L_46002BA8:
   1995     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   1996     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   1997     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   1998     RECOMP_FLAGS_IN();
   1999     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   2000     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2001     _cf = 0;
   2002     _flag_k = FK_NARROW(FK_TEST, 24);
   2003     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   2004 L_46002BB4:
   2005     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   2006     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   2007     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   2008     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   2009     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   2010     _cf = 0;
   2011     _flag_k = FK_NARROW(FK_TEST, 24);
   2012     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   2013 L_46002BC7:
   2014     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   2015     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   2016 L_4601C408:
   2017     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   2018     RECOMP_FLAGS_IN();
   2019     RECOMP_BACKEDGE();
   2020     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   2021 L_46028E57:
   2022     ecx = ebp + (-0x20); /* 0x46028E57: lea ecx, [ebp - 0x20] */
   2023     RECOMP_BACKEDGE();
   2024     goto L_46002BA8; /* 0x46028E5A: jmp 0x46002ba8 */
   2025     { RECOMP_REGS_OUT(); return; } /* end of function */
   2026     RECOMP_REGS_OUT();
   2027 }
   2028 
   2029 void sub_46028E5F(void) {
   2030     int _fpu_cmp = 0;
   2031     uint32_t _cf = 0;
   2032     int _df = 1;
   2033     uint32_t _flag_k = FK_NONE;
   2034     uint32_t _flag_a = 0, _flag_b = 0;
   2035     uint32_t _itail_tgt = 0;
   2036     RECOMP_REGS_LOCALS
   2037     RECOMP_ENTER(0x46028E5Fu);
   2038 
   2039     goto L_46028E5F;
   2040 L_46028258:
   2041     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2042 L_46028E5F:
   2043     eax = 0x4602F928u; /* 0x46028E5F: mov eax, 0x4602f928 */
   2044 L_46028E64:
   2045     RECOMP_BACKEDGE();
   2046     goto L_46028258; /* 0x46028E64: jmp 0x46028258 */
   2047     { RECOMP_REGS_OUT(); return; } /* end of function */
   2048   _ljump:
   2049     switch (_itail_tgt) {
   2050       case 0x46028258u: goto L_46028258;
   2051       case 0x46028E5Fu: goto L_46028E5F;
   2052       case 0x46028E64u: goto L_46028E64;
   2053       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2054     }
   2055     RECOMP_REGS_OUT();
   2056 }
   2057 
   2058 void sub_46028E69(void) {
   2059     int _fpu_cmp = 0;
   2060     uint32_t _cf = 0;
   2061     int _df = 1;
   2062     uint32_t _flag_k = FK_NONE;
   2063     uint32_t _flag_a = 0, _flag_b = 0;
   2064     uint32_t _itail_tgt = 0;
   2065     RECOMP_REGS_LOCALS
   2066     RECOMP_ENTER(0x46028E69u);
   2067 
   2068     goto L_46028E69;
   2069 L_46002BA8:
   2070     PUSH32(esp, esi); /* 0x46002BA8: push esi */
   2071     esi = ecx; /* 0x46002BA9: mov esi, ecx */
   2072     RECOMP_ICALL(0x460028A7u); /* 0x46002BAB: call 0x460028a7 */ /* not lifted */
   2073     RECOMP_FLAGS_IN();
   2074     /* test LO8(eax), LO8(eax) */ /* 0x46002BB0: test al, al */
   2075     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2076     _cf = 0;
   2077     _flag_k = FK_NARROW(FK_TEST, 24);
   2078     if (TEST_NZ(_flag_a, _flag_b)) goto L_46002BC7; /* 0x46002BB2: jne 0x46002bc7 */
   2079 L_46002BB4:
   2080     ecx = MEM32(esi + 0x4); /* 0x46002BB4: mov ecx, dword ptr [esi + 4] */
   2081     eax = MEM32(ecx); /* 0x46002BB7: mov eax, dword ptr [ecx] */
   2082     eax = MEM32(eax + 0x4); /* 0x46002BB9: mov eax, dword ptr [eax + 4] */
   2083     /* test MEM8(eax + ecx + 0xC), 2 */ /* 0x46002BBC: test byte ptr [eax + ecx + 0xc], 2 */
   2084     _flag_a = (uint32_t)(MEM8(eax + ecx + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24;
   2085     _cf = 0;
   2086     _flag_k = FK_NARROW(FK_TEST, 24);
   2087     if (TEST_NZ(_flag_a, _flag_b)) goto L_4601C408; /* 0x46002BC1: jne 0x4601c408 */
   2088 L_46002BC7:
   2089     esi = POP32_VAL(esp); /* 0x46002BC7: pop esi */
   2090     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002BC8: ret  */
   2091 L_4601C408:
   2092     RECOMP_ICALL(0x46002C88u); /* 0x4601C408: call 0x46002c88 */ /* not lifted */
   2093     RECOMP_FLAGS_IN();
   2094     RECOMP_BACKEDGE();
   2095     goto L_46002BC7; /* 0x4601C40D: jmp 0x46002bc7 */
   2096 L_46028E69:
   2097     ecx = ebp + (-0x20); /* 0x46028E69: lea ecx, [ebp - 0x20] */
   2098     RECOMP_BACKEDGE();
   2099     goto L_46002BA8; /* 0x46028E6C: jmp 0x46002ba8 */
   2100     { RECOMP_REGS_OUT(); return; } /* end of function */
   2101     RECOMP_REGS_OUT();
   2102 }
   2103 
   2104 void sub_46028E71(void) {
   2105     int _fpu_cmp = 0;
   2106     uint32_t _cf = 0;
   2107     int _df = 1;
   2108     uint32_t _flag_k = FK_NONE;
   2109     uint32_t _flag_a = 0, _flag_b = 0;
   2110     uint32_t _itail_tgt = 0;
   2111     RECOMP_REGS_LOCALS
   2112     RECOMP_ENTER(0x46028E71u);
   2113 
   2114     goto L_46028E71;
   2115 L_46028258:
   2116     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2117 L_46028E71:
   2118     eax = 0x4602F988u; /* 0x46028E71: mov eax, 0x4602f988 */
   2119 L_46028E76:
   2120     RECOMP_BACKEDGE();
   2121     goto L_46028258; /* 0x46028E76: jmp 0x46028258 */
   2122     { RECOMP_REGS_OUT(); return; } /* end of function */
   2123   _ljump:
   2124     switch (_itail_tgt) {
   2125       case 0x46028258u: goto L_46028258;
   2126       case 0x46028E71u: goto L_46028E71;
   2127       case 0x46028E76u: goto L_46028E76;
   2128       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2129     }
   2130     RECOMP_REGS_OUT();
   2131 }
   2132 
   2133 void sub_46028E7B(void) {
   2134     int _fpu_cmp = 0;
   2135     uint32_t _cf = 0;
   2136     int _df = 1;
   2137     uint32_t _flag_k = FK_NONE;
   2138     uint32_t _flag_a = 0, _flag_b = 0;
   2139     uint32_t _itail_tgt = 0;
   2140     RECOMP_REGS_LOCALS
   2141     RECOMP_ENTER(0x46028E7Bu);
   2142 
   2143     goto L_46028E7B;
   2144 L_46002DC1:
   2145     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
   2146     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   2147     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   2148     RECOMP_FLAGS_IN();
   2149     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   2150     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   2151     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   2152     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   2153     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   2154     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   2155     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   2156     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   2157     _cf = 0;
   2158     _flag_k = FK_TEST;
   2159     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   2160     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2161     _cf = 0;
   2162     _flag_k = FK_TEST;
   2163     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   2164 L_46002DE9:
   2165     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   2166     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   2167     _flag_k = FK_NARROW(FK_DEC, 24);
   2168     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   2169     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   2170     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   2171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2172     _flag_k = FK_NARROW(FK_CMP, 24);
   2173     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   2174 L_46002DFB:
   2175     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   2176     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   2177     RECOMP_FLAGS_IN();
   2178     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   2179     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   2180     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   2181     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   2182     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   2183 L_46002E10:
   2184     ecx = esi; /* 0x46002E10: mov ecx, esi */
   2185     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   2186     RECOMP_FLAGS_IN();
   2187     RECOMP_BACKEDGE();
   2188     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   2189 L_46028E7B:
   2190     eax = MEM32(ebp + (-0x10)); /* 0x46028E7B: mov eax, dword ptr [ebp - 0x10] */
   2191     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2192     eax = eax & 1; /* 0x46028E7E: and eax, 1 */
   2193     _cf = 0;
   2194     _flag_k = FK_TEST;
   2195     /* test eax, eax */ /* 0x46028E81: test eax, eax */
   2196     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2197     _cf = 0;
   2198     _flag_k = FK_TEST;
   2199     if (TEST_Z(_flag_a, _flag_b)) goto L_46028E90; /* 0x46028E83: je 0x46028e90 */
   2200 L_46028E85:
   2201     ecx = MEM32(ebp + (-0x14)); /* 0x46028E85: mov ecx, dword ptr [ebp - 0x14] */
   2202     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   2203     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2204     ecx = ecx + 8; /* 0x46028E88: add ecx, 8 */
   2205     _flag_k = FK_ADD;
   2206     RECOMP_BACKEDGE();
   2207     goto L_46002DC1; /* 0x46028E8B: jmp 0x46002dc1 */
   2208 L_46028E90:
   2209     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028E90: ret  */
   2210     RECOMP_REGS_OUT();
   2211 }
   2212 
   2213 void sub_46028E91(void) {
   2214     int _fpu_cmp = 0;
   2215     uint32_t _cf = 0;
   2216     int _df = 1;
   2217     uint32_t _flag_k = FK_NONE;
   2218     uint32_t _flag_a = 0, _flag_b = 0;
   2219     uint32_t _itail_tgt = 0;
   2220     RECOMP_REGS_LOCALS
   2221     RECOMP_ENTER(0x46028E91u);
   2222 
   2223     goto L_46028E91;
   2224 L_46028258:
   2225     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2226 L_46028E91:
   2227     eax = 0x4602F9E8u; /* 0x46028E91: mov eax, 0x4602f9e8 */
   2228 L_46028E96:
   2229     RECOMP_BACKEDGE();
   2230     goto L_46028258; /* 0x46028E96: jmp 0x46028258 */
   2231     { RECOMP_REGS_OUT(); return; } /* end of function */
   2232   _ljump:
   2233     switch (_itail_tgt) {
   2234       case 0x46028258u: goto L_46028258;
   2235       case 0x46028E91u: goto L_46028E91;
   2236       case 0x46028E96u: goto L_46028E96;
   2237       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2238     }
   2239     RECOMP_REGS_OUT();
   2240 }
   2241 
   2242 void sub_46028E9B(void) {
   2243     int _fpu_cmp = 0;
   2244     uint32_t _cf = 0;
   2245     int _df = 1;
   2246     uint32_t _flag_k = FK_NONE;
   2247     uint32_t _flag_a = 0, _flag_b = 0;
   2248     uint32_t _itail_tgt = 0;
   2249     RECOMP_REGS_LOCALS
   2250     RECOMP_ENTER(0x46028E9Bu);
   2251 
   2252     goto L_46028E9B;
   2253 L_46002DC1:
   2254     MEM32(ecx) = 0x4602B268u; /* 0x46002DC1: mov dword ptr [ecx], 0x4602b268 */
   2255     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   2256     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   2257     RECOMP_FLAGS_IN();
   2258     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   2259     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   2260     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   2261     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   2262     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   2263     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   2264     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   2265     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   2266     _cf = 0;
   2267     _flag_k = FK_TEST;
   2268     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   2269     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2270     _cf = 0;
   2271     _flag_k = FK_TEST;
   2272     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   2273 L_46002DE9:
   2274     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   2275     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   2276     _flag_k = FK_NARROW(FK_DEC, 24);
   2277     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   2278     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   2279     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   2280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2281     _flag_k = FK_NARROW(FK_CMP, 24);
   2282     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   2283 L_46002DFB:
   2284     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   2285     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   2286     RECOMP_FLAGS_IN();
   2287     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   2288     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   2289     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   2290     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   2291     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   2292 L_46002E10:
   2293     ecx = esi; /* 0x46002E10: mov ecx, esi */
   2294     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   2295     RECOMP_FLAGS_IN();
   2296     RECOMP_BACKEDGE();
   2297     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   2298 L_46028E9B:
   2299     eax = MEM32(ebp + (-0x10)); /* 0x46028E9B: mov eax, dword ptr [ebp - 0x10] */
   2300     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2301     eax = eax & 1; /* 0x46028E9E: and eax, 1 */
   2302     _cf = 0;
   2303     _flag_k = FK_TEST;
   2304     /* test eax, eax */ /* 0x46028EA1: test eax, eax */
   2305     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2306     _cf = 0;
   2307     _flag_k = FK_TEST;
   2308     if (TEST_Z(_flag_a, _flag_b)) goto L_46028EB0; /* 0x46028EA3: je 0x46028eb0 */
   2309 L_46028EA5:
   2310     ecx = MEM32(ebp + (-0x14)); /* 0x46028EA5: mov ecx, dword ptr [ebp - 0x14] */
   2311     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   2312     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2313     ecx = ecx + 8; /* 0x46028EA8: add ecx, 8 */
   2314     _flag_k = FK_ADD;
   2315     RECOMP_BACKEDGE();
   2316     goto L_46002DC1; /* 0x46028EAB: jmp 0x46002dc1 */
   2317 L_46028EB0:
   2318     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46028EB0: ret  */
   2319     RECOMP_REGS_OUT();
   2320 }
   2321 
   2322 void sub_46028EB1(void) {
   2323     int _fpu_cmp = 0;
   2324     uint32_t _cf = 0;
   2325     int _df = 1;
   2326     uint32_t _flag_k = FK_NONE;
   2327     uint32_t _flag_a = 0, _flag_b = 0;
   2328     uint32_t _itail_tgt = 0;
   2329     RECOMP_REGS_LOCALS
   2330     RECOMP_ENTER(0x46028EB1u);
   2331 
   2332     goto L_46028EB1;
   2333 L_46028258:
   2334     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2335 L_46028EB1:
   2336     eax = 0x4602FA10u; /* 0x46028EB1: mov eax, 0x4602fa10 */
   2337 L_46028EB6:
   2338     RECOMP_BACKEDGE();
   2339     goto L_46028258; /* 0x46028EB6: jmp 0x46028258 */
   2340     { RECOMP_REGS_OUT(); return; } /* end of function */
   2341   _ljump:
   2342     switch (_itail_tgt) {
   2343       case 0x46028258u: goto L_46028258;
   2344       case 0x46028EB1u: goto L_46028EB1;
   2345       case 0x46028EB6u: goto L_46028EB6;
   2346       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2347     }
   2348     RECOMP_REGS_OUT();
   2349 }
   2350 
   2351 void sub_46028EBB(void) {
   2352     int _fpu_cmp = 0;
   2353     uint32_t _cf = 0;
   2354     int _df = 1;
   2355     uint32_t _flag_k = FK_NONE;
   2356     uint32_t _flag_a = 0, _flag_b = 0;
   2357     uint32_t _itail_tgt = 0;
   2358     RECOMP_REGS_LOCALS
   2359     RECOMP_ENTER(0x46028EBBu);
   2360 
   2361     goto L_46028EBB;
   2362 L_46001C9F:
   2363     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2364     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2365     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2366     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2367     RECOMP_FLAGS_IN();
   2368     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2369 L_46001CAE:
   2370     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2371     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2372     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2373     _cf = 0;
   2374     _flag_k = FK_TEST;
   2375     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2376 L_46001CB4:
   2377     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2378     RECOMP_FLAGS_IN();
   2379     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2381     _cf = 0;
   2382     _flag_k = FK_TEST;
   2383     RECOMP_BACKEDGE();
   2384     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2385 L_46001CBD:
   2386     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2387 L_46028EBB:
   2388     ecx = ebp + 0x8; /* 0x46028EBB: lea ecx, [ebp + 8] */
   2389     RECOMP_BACKEDGE();
   2390     goto L_46001CAE; /* 0x46028EBE: jmp 0x46001cae */
   2391     { RECOMP_REGS_OUT(); return; } /* end of function */
   2392     RECOMP_REGS_OUT();
   2393 }
   2394 
   2395 void sub_46028EC3(void) {
   2396     int _fpu_cmp = 0;
   2397     uint32_t _cf = 0;
   2398     int _df = 1;
   2399     uint32_t _flag_k = FK_NONE;
   2400     uint32_t _flag_a = 0, _flag_b = 0;
   2401     uint32_t _itail_tgt = 0;
   2402     RECOMP_REGS_LOCALS
   2403     RECOMP_ENTER(0x46028EC3u);
   2404 
   2405     goto L_46028EC3;
   2406 L_46028258:
   2407     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2408 L_46028EC3:
   2409     eax = 0x4602FA38u; /* 0x46028EC3: mov eax, 0x4602fa38 */
   2410 L_46028EC8:
   2411     RECOMP_BACKEDGE();
   2412     goto L_46028258; /* 0x46028EC8: jmp 0x46028258 */
   2413     { RECOMP_REGS_OUT(); return; } /* end of function */
   2414   _ljump:
   2415     switch (_itail_tgt) {
   2416       case 0x46028258u: goto L_46028258;
   2417       case 0x46028EC3u: goto L_46028EC3;
   2418       case 0x46028EC8u: goto L_46028EC8;
   2419       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2420     }
   2421     RECOMP_REGS_OUT();
   2422 }
   2423 
   2424 void sub_46028ECD(void) {
   2425     int _fpu_cmp = 0;
   2426     uint32_t _cf = 0;
   2427     int _df = 1;
   2428     uint32_t _flag_k = FK_NONE;
   2429     uint32_t _flag_a = 0, _flag_b = 0;
   2430     uint32_t _itail_tgt = 0;
   2431     RECOMP_REGS_LOCALS
   2432     RECOMP_ENTER(0x46028ECDu);
   2433 
   2434     goto L_46028ECD;
   2435 L_46001C9F:
   2436     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2437     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2438     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2439     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2440     RECOMP_FLAGS_IN();
   2441     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2442 L_46001CAE:
   2443     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2444     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2445     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2446     _cf = 0;
   2447     _flag_k = FK_TEST;
   2448     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2449 L_46001CB4:
   2450     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2451     RECOMP_FLAGS_IN();
   2452     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2453     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2454     _cf = 0;
   2455     _flag_k = FK_TEST;
   2456     RECOMP_BACKEDGE();
   2457     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2458 L_46001CBD:
   2459     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2460 L_46028ECD:
   2461     ecx = ebp + (-0x1C); /* 0x46028ECD: lea ecx, [ebp - 0x1c] */
   2462     RECOMP_BACKEDGE();
   2463     goto L_46001CAE; /* 0x46028ED0: jmp 0x46001cae */
   2464     { RECOMP_REGS_OUT(); return; } /* end of function */
   2465     RECOMP_REGS_OUT();
   2466 }
   2467 
   2468 void sub_46028ED5(void) {
   2469     int _fpu_cmp = 0;
   2470     uint32_t _cf = 0;
   2471     int _df = 1;
   2472     uint32_t _flag_k = FK_NONE;
   2473     uint32_t _flag_a = 0, _flag_b = 0;
   2474     uint32_t _itail_tgt = 0;
   2475     RECOMP_REGS_LOCALS
   2476     RECOMP_ENTER(0x46028ED5u);
   2477 
   2478     goto L_46028ED5;
   2479 L_46028258:
   2480     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2481 L_46028ED5:
   2482     eax = 0x4602FA98u; /* 0x46028ED5: mov eax, 0x4602fa98 */
   2483 L_46028EDA:
   2484     RECOMP_BACKEDGE();
   2485     goto L_46028258; /* 0x46028EDA: jmp 0x46028258 */
   2486     { RECOMP_REGS_OUT(); return; } /* end of function */
   2487   _ljump:
   2488     switch (_itail_tgt) {
   2489       case 0x46028258u: goto L_46028258;
   2490       case 0x46028ED5u: goto L_46028ED5;
   2491       case 0x46028EDAu: goto L_46028EDA;
   2492       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2493     }
   2494     RECOMP_REGS_OUT();
   2495 }
   2496 
   2497 void sub_46028EDF(void) {
   2498     int _fpu_cmp = 0;
   2499     uint32_t _cf = 0;
   2500     int _df = 1;
   2501     uint32_t _flag_k = FK_NONE;
   2502     uint32_t _flag_a = 0, _flag_b = 0;
   2503     uint32_t _itail_tgt = 0;
   2504     RECOMP_REGS_LOCALS
   2505     RECOMP_ENTER(0x46028EDFu);
   2506 
   2507     goto L_46028EDF;
   2508 L_46001C9F:
   2509     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2510     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2511     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2512     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2513     RECOMP_FLAGS_IN();
   2514     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2515 L_46001CAE:
   2516     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2517     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2518     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2519     _cf = 0;
   2520     _flag_k = FK_TEST;
   2521     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2522 L_46001CB4:
   2523     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2524     RECOMP_FLAGS_IN();
   2525     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2526     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2527     _cf = 0;
   2528     _flag_k = FK_TEST;
   2529     RECOMP_BACKEDGE();
   2530     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2531 L_46001CBD:
   2532     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2533 L_46028EDF:
   2534     ecx = ebp + (-0x1C); /* 0x46028EDF: lea ecx, [ebp - 0x1c] */
   2535     RECOMP_BACKEDGE();
   2536     goto L_46001CAE; /* 0x46028EE2: jmp 0x46001cae */
   2537     { RECOMP_REGS_OUT(); return; } /* end of function */
   2538     RECOMP_REGS_OUT();
   2539 }
   2540 
   2541 void sub_46028EE7(void) {
   2542     int _fpu_cmp = 0;
   2543     uint32_t _cf = 0;
   2544     int _df = 1;
   2545     uint32_t _flag_k = FK_NONE;
   2546     uint32_t _flag_a = 0, _flag_b = 0;
   2547     uint32_t _itail_tgt = 0;
   2548     RECOMP_REGS_LOCALS
   2549     RECOMP_ENTER(0x46028EE7u);
   2550 
   2551     goto L_46028EE7;
   2552 L_46028258:
   2553     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2554 L_46028EE7:
   2555     eax = 0x4602FAF8u; /* 0x46028EE7: mov eax, 0x4602faf8 */
   2556 L_46028EEC:
   2557     RECOMP_BACKEDGE();
   2558     goto L_46028258; /* 0x46028EEC: jmp 0x46028258 */
   2559     { RECOMP_REGS_OUT(); return; } /* end of function */
   2560   _ljump:
   2561     switch (_itail_tgt) {
   2562       case 0x46028258u: goto L_46028258;
   2563       case 0x46028EE7u: goto L_46028EE7;
   2564       case 0x46028EECu: goto L_46028EEC;
   2565       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2566     }
   2567     RECOMP_REGS_OUT();
   2568 }
   2569 
   2570 void sub_46028EF1(void) {
   2571     int _fpu_cmp = 0;
   2572     uint32_t _cf = 0;
   2573     int _df = 1;
   2574     uint32_t _flag_k = FK_NONE;
   2575     uint32_t _flag_a = 0, _flag_b = 0;
   2576     uint32_t _itail_tgt = 0;
   2577     RECOMP_REGS_LOCALS
   2578     RECOMP_ENTER(0x46028EF1u);
   2579 
   2580     goto L_46028EF1;
   2581 L_46001C9F:
   2582     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2583     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2584     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2585     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2586     RECOMP_FLAGS_IN();
   2587     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2588 L_46001CAE:
   2589     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2590     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2591     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2592     _cf = 0;
   2593     _flag_k = FK_TEST;
   2594     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2595 L_46001CB4:
   2596     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2597     RECOMP_FLAGS_IN();
   2598     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2599     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2600     _cf = 0;
   2601     _flag_k = FK_TEST;
   2602     RECOMP_BACKEDGE();
   2603     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2604 L_46001CBD:
   2605     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2606 L_46028EF1:
   2607     ecx = ebp + (-0x1C); /* 0x46028EF1: lea ecx, [ebp - 0x1c] */
   2608     RECOMP_BACKEDGE();
   2609     goto L_46001CAE; /* 0x46028EF4: jmp 0x46001cae */
   2610     { RECOMP_REGS_OUT(); return; } /* end of function */
   2611     RECOMP_REGS_OUT();
   2612 }
   2613 
   2614 void sub_46028EF9(void) {
   2615     int _fpu_cmp = 0;
   2616     uint32_t _cf = 0;
   2617     int _df = 1;
   2618     uint32_t _flag_k = FK_NONE;
   2619     uint32_t _flag_a = 0, _flag_b = 0;
   2620     uint32_t _itail_tgt = 0;
   2621     RECOMP_REGS_LOCALS
   2622     RECOMP_ENTER(0x46028EF9u);
   2623 
   2624     goto L_46028EF9;
   2625 L_46028258:
   2626     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2627 L_46028EF9:
   2628     eax = 0x4602FB58u; /* 0x46028EF9: mov eax, 0x4602fb58 */
   2629 L_46028EFE:
   2630     RECOMP_BACKEDGE();
   2631     goto L_46028258; /* 0x46028EFE: jmp 0x46028258 */
   2632     { RECOMP_REGS_OUT(); return; } /* end of function */
   2633   _ljump:
   2634     switch (_itail_tgt) {
   2635       case 0x46028258u: goto L_46028258;
   2636       case 0x46028EF9u: goto L_46028EF9;
   2637       case 0x46028EFEu: goto L_46028EFE;
   2638       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2639     }
   2640     RECOMP_REGS_OUT();
   2641 }
   2642 
   2643 void sub_46028F03(void) {
   2644     int _fpu_cmp = 0;
   2645     uint32_t _cf = 0;
   2646     int _df = 1;
   2647     uint32_t _flag_k = FK_NONE;
   2648     uint32_t _flag_a = 0, _flag_b = 0;
   2649     uint32_t _itail_tgt = 0;
   2650     RECOMP_REGS_LOCALS
   2651     RECOMP_ENTER(0x46028F03u);
   2652 
   2653     goto L_46028F03;
   2654 L_46001C9F:
   2655     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2656     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2657     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2658     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2659     RECOMP_FLAGS_IN();
   2660     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2661 L_46001CAE:
   2662     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2663     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2664     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2665     _cf = 0;
   2666     _flag_k = FK_TEST;
   2667     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2668 L_46001CB4:
   2669     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2670     RECOMP_FLAGS_IN();
   2671     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2672     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2673     _cf = 0;
   2674     _flag_k = FK_TEST;
   2675     RECOMP_BACKEDGE();
   2676     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2677 L_46001CBD:
   2678     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2679 L_46028F03:
   2680     ecx = ebp + (-0x1C); /* 0x46028F03: lea ecx, [ebp - 0x1c] */
   2681     RECOMP_BACKEDGE();
   2682     goto L_46001CAE; /* 0x46028F06: jmp 0x46001cae */
   2683     { RECOMP_REGS_OUT(); return; } /* end of function */
   2684     RECOMP_REGS_OUT();
   2685 }
   2686 
   2687 void sub_46028F0B(void) {
   2688     int _fpu_cmp = 0;
   2689     uint32_t _cf = 0;
   2690     int _df = 1;
   2691     uint32_t _flag_k = FK_NONE;
   2692     uint32_t _flag_a = 0, _flag_b = 0;
   2693     uint32_t _itail_tgt = 0;
   2694     RECOMP_REGS_LOCALS
   2695     RECOMP_ENTER(0x46028F0Bu);
   2696 
   2697     goto L_46028F0B;
   2698 L_46028258:
   2699     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2700 L_46028F0B:
   2701     eax = 0x4602FBB8u; /* 0x46028F0B: mov eax, 0x4602fbb8 */
   2702 L_46028F10:
   2703     RECOMP_BACKEDGE();
   2704     goto L_46028258; /* 0x46028F10: jmp 0x46028258 */
   2705     { RECOMP_REGS_OUT(); return; } /* end of function */
   2706   _ljump:
   2707     switch (_itail_tgt) {
   2708       case 0x46028258u: goto L_46028258;
   2709       case 0x46028F0Bu: goto L_46028F0B;
   2710       case 0x46028F10u: goto L_46028F10;
   2711       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2712     }
   2713     RECOMP_REGS_OUT();
   2714 }
   2715 
   2716 void sub_46028F15(void) {
   2717     int _fpu_cmp = 0;
   2718     uint32_t _cf = 0;
   2719     int _df = 1;
   2720     uint32_t _flag_k = FK_NONE;
   2721     uint32_t _flag_a = 0, _flag_b = 0;
   2722     uint32_t _itail_tgt = 0;
   2723     RECOMP_REGS_LOCALS
   2724     RECOMP_ENTER(0x46028F15u);
   2725 
   2726     goto L_46028F15;
   2727 L_46001C9F:
   2728     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2729     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2730     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2731     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2732     RECOMP_FLAGS_IN();
   2733     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2734 L_46001CAE:
   2735     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2736     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2737     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2738     _cf = 0;
   2739     _flag_k = FK_TEST;
   2740     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2741 L_46001CB4:
   2742     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2743     RECOMP_FLAGS_IN();
   2744     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2745     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2746     _cf = 0;
   2747     _flag_k = FK_TEST;
   2748     RECOMP_BACKEDGE();
   2749     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2750 L_46001CBD:
   2751     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2752 L_46028F15:
   2753     ecx = ebp + (-0x1C); /* 0x46028F15: lea ecx, [ebp - 0x1c] */
   2754     RECOMP_BACKEDGE();
   2755     goto L_46001CAE; /* 0x46028F18: jmp 0x46001cae */
   2756     { RECOMP_REGS_OUT(); return; } /* end of function */
   2757     RECOMP_REGS_OUT();
   2758 }
   2759 
   2760 void sub_46028F1D(void) {
   2761     int _fpu_cmp = 0;
   2762     uint32_t _cf = 0;
   2763     int _df = 1;
   2764     uint32_t _flag_k = FK_NONE;
   2765     uint32_t _flag_a = 0, _flag_b = 0;
   2766     uint32_t _itail_tgt = 0;
   2767     RECOMP_REGS_LOCALS
   2768     RECOMP_ENTER(0x46028F1Du);
   2769 
   2770     goto L_46028F1D;
   2771 L_46028258:
   2772     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2773 L_46028F1D:
   2774     eax = 0x4602FC18u; /* 0x46028F1D: mov eax, 0x4602fc18 */
   2775 L_46028F22:
   2776     RECOMP_BACKEDGE();
   2777     goto L_46028258; /* 0x46028F22: jmp 0x46028258 */
   2778     { RECOMP_REGS_OUT(); return; } /* end of function */
   2779   _ljump:
   2780     switch (_itail_tgt) {
   2781       case 0x46028258u: goto L_46028258;
   2782       case 0x46028F1Du: goto L_46028F1D;
   2783       case 0x46028F22u: goto L_46028F22;
   2784       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2785     }
   2786     RECOMP_REGS_OUT();
   2787 }
   2788 
   2789 void sub_46028F27(void) {
   2790     int _fpu_cmp = 0;
   2791     uint32_t _cf = 0;
   2792     int _df = 1;
   2793     uint32_t _flag_k = FK_NONE;
   2794     uint32_t _flag_a = 0, _flag_b = 0;
   2795     uint32_t _itail_tgt = 0;
   2796     RECOMP_REGS_LOCALS
   2797     RECOMP_ENTER(0x46028F27u);
   2798 
   2799     goto L_46028F27;
   2800 L_46001C9F:
   2801     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2802     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2803     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2804     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2805     RECOMP_FLAGS_IN();
   2806     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2807 L_46001CAE:
   2808     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2809     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2810     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2811     _cf = 0;
   2812     _flag_k = FK_TEST;
   2813     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2814 L_46001CB4:
   2815     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2816     RECOMP_FLAGS_IN();
   2817     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2818     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2819     _cf = 0;
   2820     _flag_k = FK_TEST;
   2821     RECOMP_BACKEDGE();
   2822     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2823 L_46001CBD:
   2824     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2825 L_46028F27:
   2826     ecx = ebp + (-0x1C); /* 0x46028F27: lea ecx, [ebp - 0x1c] */
   2827     RECOMP_BACKEDGE();
   2828     goto L_46001CAE; /* 0x46028F2A: jmp 0x46001cae */
   2829     { RECOMP_REGS_OUT(); return; } /* end of function */
   2830     RECOMP_REGS_OUT();
   2831 }
   2832 
   2833 void sub_46028F2F(void) {
   2834     int _fpu_cmp = 0;
   2835     uint32_t _cf = 0;
   2836     int _df = 1;
   2837     uint32_t _flag_k = FK_NONE;
   2838     uint32_t _flag_a = 0, _flag_b = 0;
   2839     uint32_t _itail_tgt = 0;
   2840     RECOMP_REGS_LOCALS
   2841     RECOMP_ENTER(0x46028F2Fu);
   2842 
   2843     goto L_46028F2F;
   2844 L_46028258:
   2845     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2846 L_46028F2F:
   2847     eax = 0x4602FC78u; /* 0x46028F2F: mov eax, 0x4602fc78 */
   2848 L_46028F34:
   2849     RECOMP_BACKEDGE();
   2850     goto L_46028258; /* 0x46028F34: jmp 0x46028258 */
   2851     { RECOMP_REGS_OUT(); return; } /* end of function */
   2852   _ljump:
   2853     switch (_itail_tgt) {
   2854       case 0x46028258u: goto L_46028258;
   2855       case 0x46028F2Fu: goto L_46028F2F;
   2856       case 0x46028F34u: goto L_46028F34;
   2857       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2858     }
   2859     RECOMP_REGS_OUT();
   2860 }
   2861 
   2862 void sub_46028F39(void) {
   2863     int _fpu_cmp = 0;
   2864     uint32_t _cf = 0;
   2865     int _df = 1;
   2866     uint32_t _flag_k = FK_NONE;
   2867     uint32_t _flag_a = 0, _flag_b = 0;
   2868     uint32_t _itail_tgt = 0;
   2869     RECOMP_REGS_LOCALS
   2870     RECOMP_ENTER(0x46028F39u);
   2871 
   2872     goto L_46028F39;
   2873 L_46001C9F:
   2874     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2875     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2876     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2877     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2878     RECOMP_FLAGS_IN();
   2879     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2880 L_46001CAE:
   2881     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2882     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2883     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2884     _cf = 0;
   2885     _flag_k = FK_TEST;
   2886     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2887 L_46001CB4:
   2888     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2889     RECOMP_FLAGS_IN();
   2890     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2891     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2892     _cf = 0;
   2893     _flag_k = FK_TEST;
   2894     RECOMP_BACKEDGE();
   2895     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2896 L_46001CBD:
   2897     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2898 L_46028F39:
   2899     ecx = ebp + (-0x1C); /* 0x46028F39: lea ecx, [ebp - 0x1c] */
   2900     RECOMP_BACKEDGE();
   2901     goto L_46001CAE; /* 0x46028F3C: jmp 0x46001cae */
   2902     { RECOMP_REGS_OUT(); return; } /* end of function */
   2903     RECOMP_REGS_OUT();
   2904 }
   2905 
   2906 void sub_46028F41(void) {
   2907     int _fpu_cmp = 0;
   2908     uint32_t _cf = 0;
   2909     int _df = 1;
   2910     uint32_t _flag_k = FK_NONE;
   2911     uint32_t _flag_a = 0, _flag_b = 0;
   2912     uint32_t _itail_tgt = 0;
   2913     RECOMP_REGS_LOCALS
   2914     RECOMP_ENTER(0x46028F41u);
   2915 
   2916     goto L_46028F41;
   2917 L_46028258:
   2918     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2919 L_46028F41:
   2920     eax = 0x4602FCD8u; /* 0x46028F41: mov eax, 0x4602fcd8 */
   2921 L_46028F46:
   2922     RECOMP_BACKEDGE();
   2923     goto L_46028258; /* 0x46028F46: jmp 0x46028258 */
   2924     { RECOMP_REGS_OUT(); return; } /* end of function */
   2925   _ljump:
   2926     switch (_itail_tgt) {
   2927       case 0x46028258u: goto L_46028258;
   2928       case 0x46028F41u: goto L_46028F41;
   2929       case 0x46028F46u: goto L_46028F46;
   2930       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2931     }
   2932     RECOMP_REGS_OUT();
   2933 }
   2934 
   2935 void sub_46028F4B(void) {
   2936     int _fpu_cmp = 0;
   2937     uint32_t _cf = 0;
   2938     int _df = 1;
   2939     uint32_t _flag_k = FK_NONE;
   2940     uint32_t _flag_a = 0, _flag_b = 0;
   2941     uint32_t _itail_tgt = 0;
   2942     RECOMP_REGS_LOCALS
   2943     RECOMP_ENTER(0x46028F4Bu);
   2944 
   2945     goto L_46028F4B;
   2946 L_46001C9F:
   2947     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   2948     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   2949     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   2950     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   2951     RECOMP_FLAGS_IN();
   2952     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   2953 L_46001CAE:
   2954     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   2955     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   2956     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2957     _cf = 0;
   2958     _flag_k = FK_TEST;
   2959     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   2960 L_46001CB4:
   2961     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   2962     RECOMP_FLAGS_IN();
   2963     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   2964     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2965     _cf = 0;
   2966     _flag_k = FK_TEST;
   2967     RECOMP_BACKEDGE();
   2968     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   2969 L_46001CBD:
   2970     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   2971 L_46028F4B:
   2972     ecx = ebp + (-0x1C); /* 0x46028F4B: lea ecx, [ebp - 0x1c] */
   2973     RECOMP_BACKEDGE();
   2974     goto L_46001CAE; /* 0x46028F4E: jmp 0x46001cae */
   2975     { RECOMP_REGS_OUT(); return; } /* end of function */
   2976     RECOMP_REGS_OUT();
   2977 }
   2978 
   2979 void sub_46028F53(void) {
   2980     int _fpu_cmp = 0;
   2981     uint32_t _cf = 0;
   2982     int _df = 1;
   2983     uint32_t _flag_k = FK_NONE;
   2984     uint32_t _flag_a = 0, _flag_b = 0;
   2985     uint32_t _itail_tgt = 0;
   2986     RECOMP_REGS_LOCALS
   2987     RECOMP_ENTER(0x46028F53u);
   2988 
   2989     goto L_46028F53;
   2990 L_46028258:
   2991     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   2992 L_46028F53:
   2993     eax = 0x4602FD38u; /* 0x46028F53: mov eax, 0x4602fd38 */
   2994 L_46028F58:
   2995     RECOMP_BACKEDGE();
   2996     goto L_46028258; /* 0x46028F58: jmp 0x46028258 */
   2997     { RECOMP_REGS_OUT(); return; } /* end of function */
   2998   _ljump:
   2999     switch (_itail_tgt) {
   3000       case 0x46028258u: goto L_46028258;
   3001       case 0x46028F53u: goto L_46028F53;
   3002       case 0x46028F58u: goto L_46028F58;
   3003       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3004     }
   3005     RECOMP_REGS_OUT();
   3006 }
   3007 
   3008 void sub_46028F5D(void) {
   3009     int _fpu_cmp = 0;
   3010     uint32_t _cf = 0;
   3011     int _df = 1;
   3012     uint32_t _flag_k = FK_NONE;
   3013     uint32_t _flag_a = 0, _flag_b = 0;
   3014     uint32_t _itail_tgt = 0;
   3015     RECOMP_REGS_LOCALS
   3016     RECOMP_ENTER(0x46028F5Du);
   3017 
   3018     goto L_46028F5D;
   3019 L_46001C9F:
   3020     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3021     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3022     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3023     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3024     RECOMP_FLAGS_IN();
   3025     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3026 L_46001CAE:
   3027     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3028     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3029     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3030     _cf = 0;
   3031     _flag_k = FK_TEST;
   3032     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3033 L_46001CB4:
   3034     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3035     RECOMP_FLAGS_IN();
   3036     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3037     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3038     _cf = 0;
   3039     _flag_k = FK_TEST;
   3040     RECOMP_BACKEDGE();
   3041     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3042 L_46001CBD:
   3043     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3044 L_46028F5D:
   3045     ecx = ebp + (-0x1C); /* 0x46028F5D: lea ecx, [ebp - 0x1c] */
   3046     RECOMP_BACKEDGE();
   3047     goto L_46001CAE; /* 0x46028F60: jmp 0x46001cae */
   3048     { RECOMP_REGS_OUT(); return; } /* end of function */
   3049     RECOMP_REGS_OUT();
   3050 }
   3051 
   3052 void sub_46028F65(void) {
   3053     int _fpu_cmp = 0;
   3054     uint32_t _cf = 0;
   3055     int _df = 1;
   3056     uint32_t _flag_k = FK_NONE;
   3057     uint32_t _flag_a = 0, _flag_b = 0;
   3058     uint32_t _itail_tgt = 0;
   3059     RECOMP_REGS_LOCALS
   3060     RECOMP_ENTER(0x46028F65u);
   3061 
   3062     goto L_46028F65;
   3063 L_46028258:
   3064     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3065 L_46028F65:
   3066     eax = 0x4602FD98u; /* 0x46028F65: mov eax, 0x4602fd98 */
   3067 L_46028F6A:
   3068     RECOMP_BACKEDGE();
   3069     goto L_46028258; /* 0x46028F6A: jmp 0x46028258 */
   3070     { RECOMP_REGS_OUT(); return; } /* end of function */
   3071   _ljump:
   3072     switch (_itail_tgt) {
   3073       case 0x46028258u: goto L_46028258;
   3074       case 0x46028F65u: goto L_46028F65;
   3075       case 0x46028F6Au: goto L_46028F6A;
   3076       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3077     }
   3078     RECOMP_REGS_OUT();
   3079 }
   3080 
   3081 void sub_46028F6F(void) {
   3082     int _fpu_cmp = 0;
   3083     uint32_t _cf = 0;
   3084     int _df = 1;
   3085     uint32_t _flag_k = FK_NONE;
   3086     uint32_t _flag_a = 0, _flag_b = 0;
   3087     uint32_t _itail_tgt = 0;
   3088     RECOMP_REGS_LOCALS
   3089     RECOMP_ENTER(0x46028F6Fu);
   3090 
   3091     goto L_46028F6F;
   3092 L_46001C9F:
   3093     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3094     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3095     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3096     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3097     RECOMP_FLAGS_IN();
   3098     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3099 L_46001CAE:
   3100     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3101     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3102     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3103     _cf = 0;
   3104     _flag_k = FK_TEST;
   3105     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3106 L_46001CB4:
   3107     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3108     RECOMP_FLAGS_IN();
   3109     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3110     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3111     _cf = 0;
   3112     _flag_k = FK_TEST;
   3113     RECOMP_BACKEDGE();
   3114     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3115 L_46001CBD:
   3116     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3117 L_46028F6F:
   3118     ecx = ebp + (-0x1C); /* 0x46028F6F: lea ecx, [ebp - 0x1c] */
   3119     RECOMP_BACKEDGE();
   3120     goto L_46001CAE; /* 0x46028F72: jmp 0x46001cae */
   3121     { RECOMP_REGS_OUT(); return; } /* end of function */
   3122     RECOMP_REGS_OUT();
   3123 }
   3124 
   3125 void sub_46028F77(void) {
   3126     int _fpu_cmp = 0;
   3127     uint32_t _cf = 0;
   3128     int _df = 1;
   3129     uint32_t _flag_k = FK_NONE;
   3130     uint32_t _flag_a = 0, _flag_b = 0;
   3131     uint32_t _itail_tgt = 0;
   3132     RECOMP_REGS_LOCALS
   3133     RECOMP_ENTER(0x46028F77u);
   3134 
   3135     goto L_46028F77;
   3136 L_46028258:
   3137     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3138 L_46028F77:
   3139     eax = 0x4602FDF8u; /* 0x46028F77: mov eax, 0x4602fdf8 */
   3140 L_46028F7C:
   3141     RECOMP_BACKEDGE();
   3142     goto L_46028258; /* 0x46028F7C: jmp 0x46028258 */
   3143     { RECOMP_REGS_OUT(); return; } /* end of function */
   3144   _ljump:
   3145     switch (_itail_tgt) {
   3146       case 0x46028258u: goto L_46028258;
   3147       case 0x46028F77u: goto L_46028F77;
   3148       case 0x46028F7Cu: goto L_46028F7C;
   3149       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3150     }
   3151     RECOMP_REGS_OUT();
   3152 }
   3153 
   3154 void sub_46028F81(void) {
   3155     int _fpu_cmp = 0;
   3156     uint32_t _cf = 0;
   3157     int _df = 1;
   3158     uint32_t _flag_k = FK_NONE;
   3159     uint32_t _flag_a = 0, _flag_b = 0;
   3160     uint32_t _itail_tgt = 0;
   3161     RECOMP_REGS_LOCALS
   3162     RECOMP_ENTER(0x46028F81u);
   3163 
   3164     goto L_46028F81;
   3165 L_46001C9F:
   3166     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3167     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3168     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3169     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3170     RECOMP_FLAGS_IN();
   3171     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3172 L_46001CAE:
   3173     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3174     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3175     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3176     _cf = 0;
   3177     _flag_k = FK_TEST;
   3178     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3179 L_46001CB4:
   3180     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3181     RECOMP_FLAGS_IN();
   3182     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3183     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3184     _cf = 0;
   3185     _flag_k = FK_TEST;
   3186     RECOMP_BACKEDGE();
   3187     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3188 L_46001CBD:
   3189     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3190 L_46028F81:
   3191     ecx = ebp + (-0x1C); /* 0x46028F81: lea ecx, [ebp - 0x1c] */
   3192     RECOMP_BACKEDGE();
   3193     goto L_46001CAE; /* 0x46028F84: jmp 0x46001cae */
   3194     { RECOMP_REGS_OUT(); return; } /* end of function */
   3195     RECOMP_REGS_OUT();
   3196 }
   3197 
   3198 void sub_46028F89(void) {
   3199     int _fpu_cmp = 0;
   3200     uint32_t _cf = 0;
   3201     int _df = 1;
   3202     uint32_t _flag_k = FK_NONE;
   3203     uint32_t _flag_a = 0, _flag_b = 0;
   3204     uint32_t _itail_tgt = 0;
   3205     RECOMP_REGS_LOCALS
   3206     RECOMP_ENTER(0x46028F89u);
   3207 
   3208     goto L_46028F89;
   3209 L_46028258:
   3210     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3211 L_46028F89:
   3212     eax = 0x4602FE58u; /* 0x46028F89: mov eax, 0x4602fe58 */
   3213 L_46028F8E:
   3214     RECOMP_BACKEDGE();
   3215     goto L_46028258; /* 0x46028F8E: jmp 0x46028258 */
   3216     { RECOMP_REGS_OUT(); return; } /* end of function */
   3217   _ljump:
   3218     switch (_itail_tgt) {
   3219       case 0x46028258u: goto L_46028258;
   3220       case 0x46028F89u: goto L_46028F89;
   3221       case 0x46028F8Eu: goto L_46028F8E;
   3222       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3223     }
   3224     RECOMP_REGS_OUT();
   3225 }
   3226 
   3227 void sub_46028F93(void) {
   3228     int _fpu_cmp = 0;
   3229     uint32_t _cf = 0;
   3230     int _df = 1;
   3231     uint32_t _flag_k = FK_NONE;
   3232     uint32_t _flag_a = 0, _flag_b = 0;
   3233     uint32_t _itail_tgt = 0;
   3234     RECOMP_REGS_LOCALS
   3235     RECOMP_ENTER(0x46028F93u);
   3236 
   3237     goto L_46028F93;
   3238 L_46028258:
   3239     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3240 L_46028F93:
   3241     eax = 0x4602FEB8u; /* 0x46028F93: mov eax, 0x4602feb8 */
   3242 L_46028F98:
   3243     RECOMP_BACKEDGE();
   3244     goto L_46028258; /* 0x46028F98: jmp 0x46028258 */
   3245     { RECOMP_REGS_OUT(); return; } /* end of function */
   3246   _ljump:
   3247     switch (_itail_tgt) {
   3248       case 0x46028258u: goto L_46028258;
   3249       case 0x46028F93u: goto L_46028F93;
   3250       case 0x46028F98u: goto L_46028F98;
   3251       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3252     }
   3253     RECOMP_REGS_OUT();
   3254 }
   3255 
   3256 void sub_46028F9D(void) {
   3257     int _fpu_cmp = 0;
   3258     uint32_t _cf = 0;
   3259     int _df = 1;
   3260     uint32_t _flag_k = FK_NONE;
   3261     uint32_t _flag_a = 0, _flag_b = 0;
   3262     uint32_t _itail_tgt = 0;
   3263     RECOMP_REGS_LOCALS
   3264     RECOMP_ENTER(0x46028F9Du);
   3265 
   3266     goto L_46028F9D;
   3267 L_46028258:
   3268     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3269 L_46028F9D:
   3270     eax = 0x4602FF40u; /* 0x46028F9D: mov eax, 0x4602ff40 */
   3271 L_46028FA2:
   3272     RECOMP_BACKEDGE();
   3273     goto L_46028258; /* 0x46028FA2: jmp 0x46028258 */
   3274     { RECOMP_REGS_OUT(); return; } /* end of function */
   3275   _ljump:
   3276     switch (_itail_tgt) {
   3277       case 0x46028258u: goto L_46028258;
   3278       case 0x46028F9Du: goto L_46028F9D;
   3279       case 0x46028FA2u: goto L_46028FA2;
   3280       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3281     }
   3282     RECOMP_REGS_OUT();
   3283 }
   3284 
   3285 void sub_46028FA7(void) {
   3286     int _fpu_cmp = 0;
   3287     uint32_t _cf = 0;
   3288     int _df = 1;
   3289     uint32_t _flag_k = FK_NONE;
   3290     uint32_t _flag_a = 0, _flag_b = 0;
   3291     uint32_t _itail_tgt = 0;
   3292     RECOMP_REGS_LOCALS
   3293     RECOMP_ENTER(0x46028FA7u);
   3294 
   3295     goto L_46028FA7;
   3296 L_46028258:
   3297     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3298 L_46028FA7:
   3299     eax = 0x4602FF98u; /* 0x46028FA7: mov eax, 0x4602ff98 */
   3300 L_46028FAC:
   3301     RECOMP_BACKEDGE();
   3302     goto L_46028258; /* 0x46028FAC: jmp 0x46028258 */
   3303     { RECOMP_REGS_OUT(); return; } /* end of function */
   3304   _ljump:
   3305     switch (_itail_tgt) {
   3306       case 0x46028258u: goto L_46028258;
   3307       case 0x46028FA7u: goto L_46028FA7;
   3308       case 0x46028FACu: goto L_46028FAC;
   3309       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3310     }
   3311     RECOMP_REGS_OUT();
   3312 }
   3313 
   3314 void sub_46028FB1(void) {
   3315     int _fpu_cmp = 0;
   3316     uint32_t _cf = 0;
   3317     int _df = 1;
   3318     uint32_t _flag_k = FK_NONE;
   3319     uint32_t _flag_a = 0, _flag_b = 0;
   3320     uint32_t _itail_tgt = 0;
   3321     RECOMP_REGS_LOCALS
   3322     RECOMP_ENTER(0x46028FB1u);
   3323 
   3324     goto L_46028FB1;
   3325 L_46028258:
   3326     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3327 L_46028FB1:
   3328     eax = 0x4602FFF0u; /* 0x46028FB1: mov eax, 0x4602fff0 */
   3329 L_46028FB6:
   3330     RECOMP_BACKEDGE();
   3331     goto L_46028258; /* 0x46028FB6: jmp 0x46028258 */
   3332     { RECOMP_REGS_OUT(); return; } /* end of function */
   3333   _ljump:
   3334     switch (_itail_tgt) {
   3335       case 0x46028258u: goto L_46028258;
   3336       case 0x46028FB1u: goto L_46028FB1;
   3337       case 0x46028FB6u: goto L_46028FB6;
   3338       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3339     }
   3340     RECOMP_REGS_OUT();
   3341 }
   3342 
   3343 void sub_46028FBB(void) {
   3344     int _fpu_cmp = 0;
   3345     uint32_t _cf = 0;
   3346     int _df = 1;
   3347     uint32_t _flag_k = FK_NONE;
   3348     uint32_t _flag_a = 0, _flag_b = 0;
   3349     uint32_t _itail_tgt = 0;
   3350     RECOMP_REGS_LOCALS
   3351     RECOMP_ENTER(0x46028FBBu);
   3352 
   3353     goto L_46028FBB;
   3354 L_46028258:
   3355     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3356 L_46028FBB:
   3357     eax = 0x46030078u; /* 0x46028FBB: mov eax, 0x46030078 */
   3358 L_46028FC0:
   3359     RECOMP_BACKEDGE();
   3360     goto L_46028258; /* 0x46028FC0: jmp 0x46028258 */
   3361     { RECOMP_REGS_OUT(); return; } /* end of function */
   3362   _ljump:
   3363     switch (_itail_tgt) {
   3364       case 0x46028258u: goto L_46028258;
   3365       case 0x46028FBBu: goto L_46028FBB;
   3366       case 0x46028FC0u: goto L_46028FC0;
   3367       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3368     }
   3369     RECOMP_REGS_OUT();
   3370 }
   3371 
   3372 void sub_46028FC5(void) {
   3373     int _fpu_cmp = 0;
   3374     uint32_t _cf = 0;
   3375     int _df = 1;
   3376     uint32_t _flag_k = FK_NONE;
   3377     uint32_t _flag_a = 0, _flag_b = 0;
   3378     uint32_t _itail_tgt = 0;
   3379     RECOMP_REGS_LOCALS
   3380     RECOMP_ENTER(0x46028FC5u);
   3381 
   3382     goto L_46028FC5;
   3383 L_46028258:
   3384     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3385 L_46028FC5:
   3386     eax = 0x460300D0u; /* 0x46028FC5: mov eax, 0x460300d0 */
   3387 L_46028FCA:
   3388     RECOMP_BACKEDGE();
   3389     goto L_46028258; /* 0x46028FCA: jmp 0x46028258 */
   3390     { RECOMP_REGS_OUT(); return; } /* end of function */
   3391   _ljump:
   3392     switch (_itail_tgt) {
   3393       case 0x46028258u: goto L_46028258;
   3394       case 0x46028FC5u: goto L_46028FC5;
   3395       case 0x46028FCAu: goto L_46028FCA;
   3396       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3397     }
   3398     RECOMP_REGS_OUT();
   3399 }
   3400 
   3401 void sub_46028FCF(void) {
   3402     int _fpu_cmp = 0;
   3403     uint32_t _cf = 0;
   3404     int _df = 1;
   3405     uint32_t _flag_k = FK_NONE;
   3406     uint32_t _flag_a = 0, _flag_b = 0;
   3407     uint32_t _itail_tgt = 0;
   3408     RECOMP_REGS_LOCALS
   3409     RECOMP_ENTER(0x46028FCFu);
   3410 
   3411     goto L_46028FCF;
   3412 L_46028258:
   3413     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3414 L_46028FCF:
   3415     eax = 0x46030128u; /* 0x46028FCF: mov eax, 0x46030128 */
   3416 L_46028FD4:
   3417     RECOMP_BACKEDGE();
   3418     goto L_46028258; /* 0x46028FD4: jmp 0x46028258 */
   3419     { RECOMP_REGS_OUT(); return; } /* end of function */
   3420   _ljump:
   3421     switch (_itail_tgt) {
   3422       case 0x46028258u: goto L_46028258;
   3423       case 0x46028FCFu: goto L_46028FCF;
   3424       case 0x46028FD4u: goto L_46028FD4;
   3425       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3426     }
   3427     RECOMP_REGS_OUT();
   3428 }
   3429 
   3430 void sub_46028FD9(void) {
   3431     int _fpu_cmp = 0;
   3432     uint32_t _cf = 0;
   3433     int _df = 1;
   3434     uint32_t _flag_k = FK_NONE;
   3435     uint32_t _flag_a = 0, _flag_b = 0;
   3436     uint32_t _itail_tgt = 0;
   3437     RECOMP_REGS_LOCALS
   3438     RECOMP_ENTER(0x46028FD9u);
   3439 
   3440     goto L_46028FD9;
   3441 L_46028258:
   3442     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3443 L_46028FD9:
   3444     eax = 0x46030180u; /* 0x46028FD9: mov eax, 0x46030180 */
   3445 L_46028FDE:
   3446     RECOMP_BACKEDGE();
   3447     goto L_46028258; /* 0x46028FDE: jmp 0x46028258 */
   3448     { RECOMP_REGS_OUT(); return; } /* end of function */
   3449   _ljump:
   3450     switch (_itail_tgt) {
   3451       case 0x46028258u: goto L_46028258;
   3452       case 0x46028FD9u: goto L_46028FD9;
   3453       case 0x46028FDEu: goto L_46028FDE;
   3454       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3455     }
   3456     RECOMP_REGS_OUT();
   3457 }
   3458 
   3459 void sub_46028FE3(void) {
   3460     int _fpu_cmp = 0;
   3461     uint32_t _cf = 0;
   3462     int _df = 1;
   3463     uint32_t _flag_k = FK_NONE;
   3464     uint32_t _flag_a = 0, _flag_b = 0;
   3465     uint32_t _itail_tgt = 0;
   3466     RECOMP_REGS_LOCALS
   3467     RECOMP_ENTER(0x46028FE3u);
   3468 
   3469     goto L_46028FE3;
   3470 L_46028258:
   3471     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3472 L_46028FE3:
   3473     eax = 0x460301D8u; /* 0x46028FE3: mov eax, 0x460301d8 */
   3474 L_46028FE8:
   3475     RECOMP_BACKEDGE();
   3476     goto L_46028258; /* 0x46028FE8: jmp 0x46028258 */
   3477     { RECOMP_REGS_OUT(); return; } /* end of function */
   3478   _ljump:
   3479     switch (_itail_tgt) {
   3480       case 0x46028258u: goto L_46028258;
   3481       case 0x46028FE3u: goto L_46028FE3;
   3482       case 0x46028FE8u: goto L_46028FE8;
   3483       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3484     }
   3485     RECOMP_REGS_OUT();
   3486 }
   3487 
   3488 void sub_46028FED(void) {
   3489     int _fpu_cmp = 0;
   3490     uint32_t _cf = 0;
   3491     int _df = 1;
   3492     uint32_t _flag_k = FK_NONE;
   3493     uint32_t _flag_a = 0, _flag_b = 0;
   3494     uint32_t _itail_tgt = 0;
   3495     RECOMP_REGS_LOCALS
   3496     RECOMP_ENTER(0x46028FEDu);
   3497 
   3498     goto L_46028FED;
   3499 L_46028258:
   3500     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3501 L_46028FED:
   3502     eax = 0x46030230u; /* 0x46028FED: mov eax, 0x46030230 */
   3503 L_46028FF2:
   3504     RECOMP_BACKEDGE();
   3505     goto L_46028258; /* 0x46028FF2: jmp 0x46028258 */
   3506     { RECOMP_REGS_OUT(); return; } /* end of function */
   3507   _ljump:
   3508     switch (_itail_tgt) {
   3509       case 0x46028258u: goto L_46028258;
   3510       case 0x46028FEDu: goto L_46028FED;
   3511       case 0x46028FF2u: goto L_46028FF2;
   3512       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3513     }
   3514     RECOMP_REGS_OUT();
   3515 }
   3516 
   3517 void sub_46028FF7(void) {
   3518     int _fpu_cmp = 0;
   3519     uint32_t _cf = 0;
   3520     int _df = 1;
   3521     uint32_t _flag_k = FK_NONE;
   3522     uint32_t _flag_a = 0, _flag_b = 0;
   3523     uint32_t _itail_tgt = 0;
   3524     RECOMP_REGS_LOCALS
   3525     RECOMP_ENTER(0x46028FF7u);
   3526 
   3527     goto L_46028FF7;
   3528 L_46002DA4:
   3529     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
   3530     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
   3531 L_46002DC7:
   3532     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   3533     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   3534     RECOMP_FLAGS_IN();
   3535     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   3536     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   3537     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   3538     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   3539     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   3540     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   3541     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   3542     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   3543     _cf = 0;
   3544     _flag_k = FK_TEST;
   3545     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   3546     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3547     _cf = 0;
   3548     _flag_k = FK_TEST;
   3549     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   3550 L_46002DE9:
   3551     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   3552     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   3553     _flag_k = FK_NARROW(FK_DEC, 24);
   3554     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   3555     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   3556     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   3557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3558     _flag_k = FK_NARROW(FK_CMP, 24);
   3559     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   3560 L_46002DFB:
   3561     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   3562     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   3563     RECOMP_FLAGS_IN();
   3564     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   3565     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   3566     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   3567     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   3568     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   3569 L_46002E10:
   3570     ecx = esi; /* 0x46002E10: mov ecx, esi */
   3571     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   3572     RECOMP_FLAGS_IN();
   3573     RECOMP_BACKEDGE();
   3574     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   3575 L_46028FF7:
   3576     eax = MEM32(ebp + (-0x10)); /* 0x46028FF7: mov eax, dword ptr [ebp - 0x10] */
   3577     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3578     eax = eax & 1; /* 0x46028FFA: and eax, 1 */
   3579     _cf = 0;
   3580     _flag_k = FK_TEST;
   3581     /* test eax, eax */ /* 0x46028FFD: test eax, eax */
   3582     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3583     _cf = 0;
   3584     _flag_k = FK_TEST;
   3585     if (TEST_Z(_flag_a, _flag_b)) goto L_4602900C; /* 0x46028FFF: je 0x4602900c */
   3586 L_46029001:
   3587     ecx = MEM32(ebp + (-0x14)); /* 0x46029001: mov ecx, dword ptr [ebp - 0x14] */
   3588     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3589     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3590     ecx = ecx + 8; /* 0x46029004: add ecx, 8 */
   3591     _flag_k = FK_ADD;
   3592     RECOMP_BACKEDGE();
   3593     goto L_46002DA4; /* 0x46029007: jmp 0x46002da4 */
   3594 L_4602900C:
   3595     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602900C: ret  */
   3596     RECOMP_REGS_OUT();
   3597 }
   3598 
   3599 void sub_4602900D(void) {
   3600     int _fpu_cmp = 0;
   3601     uint32_t _cf = 0;
   3602     int _df = 1;
   3603     uint32_t _flag_k = FK_NONE;
   3604     uint32_t _flag_a = 0, _flag_b = 0;
   3605     uint32_t _itail_tgt = 0;
   3606     RECOMP_REGS_LOCALS
   3607     RECOMP_ENTER(0x4602900Du);
   3608 
   3609     goto L_4602900D;
   3610 L_46028258:
   3611     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3612 L_4602900D:
   3613     eax = 0x46030288u; /* 0x4602900D: mov eax, 0x46030288 */
   3614 L_46029012:
   3615     RECOMP_BACKEDGE();
   3616     goto L_46028258; /* 0x46029012: jmp 0x46028258 */
   3617     { RECOMP_REGS_OUT(); return; } /* end of function */
   3618   _ljump:
   3619     switch (_itail_tgt) {
   3620       case 0x46028258u: goto L_46028258;
   3621       case 0x4602900Du: goto L_4602900D;
   3622       case 0x46029012u: goto L_46029012;
   3623       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3624     }
   3625     RECOMP_REGS_OUT();
   3626 }
   3627 
   3628 void sub_46029017(void) {
   3629     int _fpu_cmp = 0;
   3630     uint32_t _cf = 0;
   3631     int _df = 1;
   3632     uint32_t _flag_k = FK_NONE;
   3633     uint32_t _flag_a = 0, _flag_b = 0;
   3634     uint32_t _itail_tgt = 0;
   3635     RECOMP_REGS_LOCALS
   3636     RECOMP_ENTER(0x46029017u);
   3637 
   3638     goto L_46029017;
   3639 L_46002DA4:
   3640     MEM32(ecx) = 0x4602B5E8u; /* 0x46002DA4: mov dword ptr [ecx], 0x4602b5e8 */
   3641     goto L_46002DC7; /* 0x46002DAA: jmp 0x46002dc7 */
   3642 L_46002DC7:
   3643     eax = 0x4602A7C7u; /* 0x46002DC7: mov eax, 0x4602a7c7 */
   3644     RECOMP_ICALL(0x46001535u); /* 0x46002DCC: call 0x46001535 */ /* not lifted */
   3645     RECOMP_FLAGS_IN();
   3646     PUSH32(esp, ecx); /* 0x46002DD1: push ecx */
   3647     PUSH32(esp, esi); /* 0x46002DD2: push esi */
   3648     esi = ecx; /* 0x46002DD3: mov esi, ecx */
   3649     MEM32(ebp + (-0x10)) = esi; /* 0x46002DD5: mov dword ptr [ebp - 0x10], esi */
   3650     MEM32(esi) = 0x4602B708u; /* 0x46002DD8: mov dword ptr [esi], 0x4602b708 */
   3651     eax = MEM32(esi + 0x24); /* 0x46002DDE: mov eax, dword ptr [esi + 0x24] */
   3652     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   3653     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x46002DE1: and dword ptr [ebp - 4], 0 */
   3654     _cf = 0;
   3655     _flag_k = FK_TEST;
   3656     /* test eax, eax */ /* 0x46002DE5: test eax, eax */
   3657     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3658     _cf = 0;
   3659     _flag_k = FK_TEST;
   3660     if (TEST_Z(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DE7: jbe 0x46002e10 */
   3661 L_46002DE9:
   3662     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(1) << 24;
   3663     MEM8(eax + 0x4605B2C0) = (uint8_t)(MEM8(eax + 0x4605B2C0) - 1); /* 0x46002DE9: dec byte ptr [eax + 0x4605b2c0] */
   3664     _flag_k = FK_NARROW(FK_DEC, 24);
   3665     eax = MEM32(esi + 0x24); /* 0x46002DEF: mov eax, dword ptr [esi + 0x24] */
   3666     /* cmp MEM8(eax + 0x4605B2C0), 0 */ /* 0x46002DF2: cmp byte ptr [eax + 0x4605b2c0], 0 */
   3667     _flag_a = (uint32_t)(MEM8(eax + 0x4605B2C0)) << 24; _flag_b = (uint32_t)(0) << 24;
   3668     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3669     _flag_k = FK_NARROW(FK_CMP, 24);
   3670     if (CMP_LE(_flag_a, _flag_b)) goto L_46002E10; /* 0x46002DF9: jle 0x46002e10 */
   3671 L_46002DFB:
   3672     ecx = esi + 0x20; /* 0x46002DFB: lea ecx, [esi + 0x20] */
   3673     RECOMP_ICALL(0x46001CAEu); /* 0x46002DFE: call 0x46001cae */ /* not lifted */
   3674     RECOMP_FLAGS_IN();
   3675     ecx = MEM32(ebp + (-0xC)); /* 0x46002E03: mov ecx, dword ptr [ebp - 0xc] */
   3676     esi = POP32_VAL(esp); /* 0x46002E06: pop esi */
   3677     MEM32(FS_BASE + (0)) = ecx; /* 0x46002E07: mov dword ptr fs:[0], ecx */
   3678     esp = ebp; ebp = POP32_VAL(esp); /* 0x46002E0E: leave  */
   3679     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46002E0F: ret  */
   3680 L_46002E10:
   3681     ecx = esi; /* 0x46002E10: mov ecx, esi */
   3682     RECOMP_ICALL(0x46002F83u); /* 0x46002E12: call 0x46002f83 */ /* not lifted */
   3683     RECOMP_FLAGS_IN();
   3684     RECOMP_BACKEDGE();
   3685     goto L_46002DFB; /* 0x46002E17: jmp 0x46002dfb */
   3686 L_46029017:
   3687     eax = MEM32(ebp + (-0x10)); /* 0x46029017: mov eax, dword ptr [ebp - 0x10] */
   3688     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3689     eax = eax & 1; /* 0x4602901A: and eax, 1 */
   3690     _cf = 0;
   3691     _flag_k = FK_TEST;
   3692     /* test eax, eax */ /* 0x4602901D: test eax, eax */
   3693     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3694     _cf = 0;
   3695     _flag_k = FK_TEST;
   3696     if (TEST_Z(_flag_a, _flag_b)) goto L_4602902C; /* 0x4602901F: je 0x4602902c */
   3697 L_46029021:
   3698     ecx = MEM32(ebp + (-0x14)); /* 0x46029021: mov ecx, dword ptr [ebp - 0x14] */
   3699     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3700     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3701     ecx = ecx + 8; /* 0x46029024: add ecx, 8 */
   3702     _flag_k = FK_ADD;
   3703     RECOMP_BACKEDGE();
   3704     goto L_46002DA4; /* 0x46029027: jmp 0x46002da4 */
   3705 L_4602902C:
   3706     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4602902C: ret  */
   3707     RECOMP_REGS_OUT();
   3708 }
   3709 
   3710 void sub_4602902D(void) {
   3711     int _fpu_cmp = 0;
   3712     uint32_t _cf = 0;
   3713     int _df = 1;
   3714     uint32_t _flag_k = FK_NONE;
   3715     uint32_t _flag_a = 0, _flag_b = 0;
   3716     uint32_t _itail_tgt = 0;
   3717     RECOMP_REGS_LOCALS
   3718     RECOMP_ENTER(0x4602902Du);
   3719 
   3720     goto L_4602902D;
   3721 L_46028258:
   3722     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3723 L_4602902D:
   3724     eax = 0x460302B0u; /* 0x4602902D: mov eax, 0x460302b0 */
   3725 L_46029032:
   3726     RECOMP_BACKEDGE();
   3727     goto L_46028258; /* 0x46029032: jmp 0x46028258 */
   3728     { RECOMP_REGS_OUT(); return; } /* end of function */
   3729   _ljump:
   3730     switch (_itail_tgt) {
   3731       case 0x46028258u: goto L_46028258;
   3732       case 0x4602902Du: goto L_4602902D;
   3733       case 0x46029032u: goto L_46029032;
   3734       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3735     }
   3736     RECOMP_REGS_OUT();
   3737 }
   3738 
   3739 void sub_46029037(void) {
   3740     int _fpu_cmp = 0;
   3741     uint32_t _cf = 0;
   3742     int _df = 1;
   3743     uint32_t _flag_k = FK_NONE;
   3744     uint32_t _flag_a = 0, _flag_b = 0;
   3745     uint32_t _itail_tgt = 0;
   3746     RECOMP_REGS_LOCALS
   3747     RECOMP_ENTER(0x46029037u);
   3748 
   3749     goto L_46029037;
   3750 L_46001C9F:
   3751     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3752     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3753     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3754     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3755     RECOMP_FLAGS_IN();
   3756     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3757 L_46001CAE:
   3758     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3759     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3760     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3761     _cf = 0;
   3762     _flag_k = FK_TEST;
   3763     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3764 L_46001CB4:
   3765     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3766     RECOMP_FLAGS_IN();
   3767     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3768     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3769     _cf = 0;
   3770     _flag_k = FK_TEST;
   3771     RECOMP_BACKEDGE();
   3772     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3773 L_46001CBD:
   3774     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3775 L_46029037:
   3776     ecx = ebp + 0x8; /* 0x46029037: lea ecx, [ebp + 8] */
   3777     RECOMP_BACKEDGE();
   3778     goto L_46001CAE; /* 0x4602903A: jmp 0x46001cae */
   3779     { RECOMP_REGS_OUT(); return; } /* end of function */
   3780     RECOMP_REGS_OUT();
   3781 }
   3782 
   3783 void sub_4602903F(void) {
   3784     int _fpu_cmp = 0;
   3785     uint32_t _cf = 0;
   3786     int _df = 1;
   3787     uint32_t _flag_k = FK_NONE;
   3788     uint32_t _flag_a = 0, _flag_b = 0;
   3789     uint32_t _itail_tgt = 0;
   3790     RECOMP_REGS_LOCALS
   3791     RECOMP_ENTER(0x4602903Fu);
   3792 
   3793     goto L_4602903F;
   3794 L_46028258:
   3795     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3796 L_4602903F:
   3797     eax = 0x460302D8u; /* 0x4602903F: mov eax, 0x460302d8 */
   3798 L_46029044:
   3799     RECOMP_BACKEDGE();
   3800     goto L_46028258; /* 0x46029044: jmp 0x46028258 */
   3801     { RECOMP_REGS_OUT(); return; } /* end of function */
   3802   _ljump:
   3803     switch (_itail_tgt) {
   3804       case 0x46028258u: goto L_46028258;
   3805       case 0x4602903Fu: goto L_4602903F;
   3806       case 0x46029044u: goto L_46029044;
   3807       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3808     }
   3809     RECOMP_REGS_OUT();
   3810 }
   3811 
   3812 void sub_46029049(void) {
   3813     int _fpu_cmp = 0;
   3814     uint32_t _cf = 0;
   3815     int _df = 1;
   3816     uint32_t _flag_k = FK_NONE;
   3817     uint32_t _flag_a = 0, _flag_b = 0;
   3818     uint32_t _itail_tgt = 0;
   3819     RECOMP_REGS_LOCALS
   3820     RECOMP_ENTER(0x46029049u);
   3821 
   3822     goto L_46029049;
   3823 L_46001C9F:
   3824     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3825     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3826     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3827     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3828     RECOMP_FLAGS_IN();
   3829     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3830 L_46001CAE:
   3831     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3832     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3833     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3834     _cf = 0;
   3835     _flag_k = FK_TEST;
   3836     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3837 L_46001CB4:
   3838     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3839     RECOMP_FLAGS_IN();
   3840     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3841     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3842     _cf = 0;
   3843     _flag_k = FK_TEST;
   3844     RECOMP_BACKEDGE();
   3845     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3846 L_46001CBD:
   3847     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3848 L_46029049:
   3849     ecx = ebp + (-0x1C); /* 0x46029049: lea ecx, [ebp - 0x1c] */
   3850     RECOMP_BACKEDGE();
   3851     goto L_46001CAE; /* 0x4602904C: jmp 0x46001cae */
   3852     { RECOMP_REGS_OUT(); return; } /* end of function */
   3853     RECOMP_REGS_OUT();
   3854 }
   3855 
   3856 void sub_46029051(void) {
   3857     int _fpu_cmp = 0;
   3858     uint32_t _cf = 0;
   3859     int _df = 1;
   3860     uint32_t _flag_k = FK_NONE;
   3861     uint32_t _flag_a = 0, _flag_b = 0;
   3862     uint32_t _itail_tgt = 0;
   3863     RECOMP_REGS_LOCALS
   3864     RECOMP_ENTER(0x46029051u);
   3865 
   3866     goto L_46029051;
   3867 L_46028258:
   3868     { _itail_tgt = (uint32_t)(MEM32(0x4602B004)); goto _ljump; }
   3869 L_46029051:
   3870     eax = 0x46030338u; /* 0x46029051: mov eax, 0x46030338 */
   3871 L_46029056:
   3872     RECOMP_BACKEDGE();
   3873     goto L_46028258; /* 0x46029056: jmp 0x46028258 */
   3874     { RECOMP_REGS_OUT(); return; } /* end of function */
   3875   _ljump:
   3876     switch (_itail_tgt) {
   3877       case 0x46028258u: goto L_46028258;
   3878       case 0x46029051u: goto L_46029051;
   3879       case 0x46029056u: goto L_46029056;
   3880       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3881     }
   3882     RECOMP_REGS_OUT();
   3883 }
   3884 
   3885 void sub_4602905B(void) {
   3886     int _fpu_cmp = 0;
   3887     uint32_t _cf = 0;
   3888     int _df = 1;
   3889     uint32_t _flag_k = FK_NONE;
   3890     uint32_t _flag_a = 0, _flag_b = 0;
   3891     uint32_t _itail_tgt = 0;
   3892     RECOMP_REGS_LOCALS
   3893     RECOMP_ENTER(0x4602905Bu);
   3894 
   3895     goto L_4602905B;
   3896 L_46001C9F:
   3897     edx = MEM32(eax); /* 0x46001C9F: mov edx, dword ptr [eax] */
   3898     PUSH32(esp, 1); /* 0x46001CA1: push 1 */
   3899     ecx = eax; /* 0x46001CA3: mov ecx, eax */
   3900     RECOMP_ICALL(MEM32(edx)); /* 0x46001CA5: call dword ptr [edx] */
   3901     RECOMP_FLAGS_IN();
   3902     goto L_46001CBD; /* 0x46001CA7: jmp 0x46001cbd */
   3903 L_46001CAE:
   3904     ecx = MEM32(ecx); /* 0x46001CAE: mov ecx, dword ptr [ecx] */
   3905     /* test ecx, ecx */ /* 0x46001CB0: test ecx, ecx */
   3906     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3907     _cf = 0;
   3908     _flag_k = FK_TEST;
   3909     if (TEST_Z(_flag_a, _flag_b)) goto L_46001CBD; /* 0x46001CB2: je 0x46001cbd */
   3910 L_46001CB4:
   3911     RECOMP_ICALL(0x46001CBEu); /* 0x46001CB4: call 0x46001cbe */ /* not lifted */
   3912     RECOMP_FLAGS_IN();
   3913     /* test eax, eax */ /* 0x46001CB9: test eax, eax */
   3914     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3915     _cf = 0;
   3916     _flag_k = FK_TEST;
   3917     RECOMP_BACKEDGE();
   3918     if (TEST_NZ(_flag_a, _flag_b)) goto L_46001C9F; /* 0x46001CBB: jne 0x46001c9f */
   3919 L_46001CBD:
   3920     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x46001CBD: ret  */
   3921 L_4602905B:
   3922     ecx = ebp + (-0x1C); /* 0x4602905B: lea ecx, [ebp - 0x1c] */
   3923     RECOMP_BACKEDGE();
   3924     goto L_46001CAE; /* 0x4602905E: jmp 0x46001cae */
   3925     { RECOMP_REGS_OUT(); return; } /* end of function */
   3926     RECOMP_REGS_OUT();
   3927 }