aorecomp

Anarchy Online classic in the browser

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


client/vendor/ace/source/lifted-0028.c (263970B)


      1 #define RECOMP_GENERATED_CODE
      2 #include "recomp_types.h"
      3 
      4 void sub_4703BBA0(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(0x4703BBA0u);
     13 
     14 L_4703BBA0:
     15     ecx = 0x4710E52Du; /* 0x4703BBA0: mov ecx, 0x4710e52d */
     16 L_4703BBA5:
     17     { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; }
     18     { RECOMP_REGS_OUT(); return; } /* end of function */
     19   _ljump:
     20     switch (_itail_tgt) {
     21       case 0x4703BBA0u: goto L_4703BBA0;
     22       case 0x4703BBA5u: goto L_4703BBA5;
     23       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     24     }
     25     RECOMP_REGS_OUT();
     26 }
     27 
     28 void sub_4703BBB0(void) {
     29     int _fpu_cmp = 0;
     30     uint32_t _cf = 0;
     31     int _df = 1;
     32     uint32_t _flag_k = FK_NONE;
     33     uint32_t _flag_a = 0, _flag_b = 0;
     34     uint32_t _itail_tgt = 0;
     35     RECOMP_REGS_LOCALS
     36     RECOMP_ENTER(0x4703BBB0u);
     37 
     38 L_4703BBB0:
     39     ecx = 0x4710E52Cu; /* 0x4703BBB0: mov ecx, 0x4710e52c */
     40     RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4703BBB5: call dword ptr [0x470ac1c4] */
     41     RECOMP_FLAGS_IN();
     42     PUSH32(esp, 0x4703BBD0u); /* 0x4703BBBB: push 0x4703bbd0 */
     43     RECOMP_ICALL(0x470A32D9u); /* 0x4703BBC0: call 0x470a32d9 */ /* not lifted */
     44     RECOMP_FLAGS_IN();
     45     ecx = POP32_VAL(esp); /* 0x4703BBC5: pop ecx */
     46     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BBC6: ret  */
     47     RECOMP_REGS_OUT();
     48 }
     49 
     50 void sub_4703BBD0(void) {
     51     int _fpu_cmp = 0;
     52     uint32_t _cf = 0;
     53     int _df = 1;
     54     uint32_t _flag_k = FK_NONE;
     55     uint32_t _flag_a = 0, _flag_b = 0;
     56     uint32_t _itail_tgt = 0;
     57     RECOMP_REGS_LOCALS
     58     RECOMP_ENTER(0x4703BBD0u);
     59 
     60 L_4703BBD0:
     61     ecx = 0x4710E52Cu; /* 0x4703BBD0: mov ecx, 0x4710e52c */
     62 L_4703BBD5:
     63     { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; }
     64     { RECOMP_REGS_OUT(); return; } /* end of function */
     65   _ljump:
     66     switch (_itail_tgt) {
     67       case 0x4703BBD0u: goto L_4703BBD0;
     68       case 0x4703BBD5u: goto L_4703BBD5;
     69       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     70     }
     71     RECOMP_REGS_OUT();
     72 }
     73 
     74 void sub_4703BBE0(void) {
     75     int _fpu_cmp = 0;
     76     uint32_t _cf = 0;
     77     int _df = 1;
     78     uint32_t _flag_k = FK_NONE;
     79     uint32_t _flag_a = 0, _flag_b = 0;
     80     uint32_t _itail_tgt = 0;
     81     RECOMP_REGS_LOCALS
     82     RECOMP_ENTER(0x4703BBE0u);
     83 
     84 L_4703BBE0:
     85     MEM32(0x4710E524) = 0x47104A3Cu; /* 0x4703BBE0: mov dword ptr [0x4710e524], 0x47104a3c */
     86     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BBEA: ret  */
     87     RECOMP_REGS_OUT();
     88 }
     89 
     90 void sub_4703BBF0(void) {
     91     int _fpu_cmp = 0;
     92     uint32_t _cf = 0;
     93     int _df = 1;
     94     uint32_t _flag_k = FK_NONE;
     95     uint32_t _flag_a = 0, _flag_b = 0;
     96     uint32_t _itail_tgt = 0;
     97     RECOMP_REGS_LOCALS
     98     RECOMP_ENTER(0x4703BBF0u);
     99 
    100 L_4703BBF0:
    101     MEM32(0x4710E538) = 0x47104A00u; /* 0x4703BBF0: mov dword ptr [0x4710e538], 0x47104a00 */
    102     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BBFA: ret  */
    103     RECOMP_REGS_OUT();
    104 }
    105 
    106 void sub_4703BC00(void) {
    107     int _fpu_cmp = 0;
    108     uint32_t _cf = 0;
    109     int _df = 1;
    110     uint32_t _flag_k = FK_NONE;
    111     uint32_t _flag_a = 0, _flag_b = 0;
    112     uint32_t _itail_tgt = 0;
    113     RECOMP_REGS_LOCALS
    114     RECOMP_ENTER(0x4703BC00u);
    115 
    116 L_4703BC00:
    117     MEM32(0x4710E530) = 0x47104A70u; /* 0x4703BC00: mov dword ptr [0x4710e530], 0x47104a70 */
    118     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BC0A: ret  */
    119     RECOMP_REGS_OUT();
    120 }
    121 
    122 void sub_4703BC10(void) {
    123     int _fpu_cmp = 0;
    124     uint32_t _cf = 0;
    125     int _df = 1;
    126     uint32_t _flag_k = FK_NONE;
    127     uint32_t _flag_a = 0, _flag_b = 0;
    128     uint32_t _itail_tgt = 0;
    129     RECOMP_REGS_LOCALS
    130     RECOMP_ENTER(0x4703BC10u);
    131 
    132 L_4703BC10:
    133     MEM32(0x4710E540) = 0x47104B6Cu; /* 0x4703BC10: mov dword ptr [0x4710e540], 0x47104b6c */
    134     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BC1A: ret  */
    135     RECOMP_REGS_OUT();
    136 }
    137 
    138 void sub_4703BC20(void) {
    139     int _fpu_cmp = 0;
    140     uint32_t _cf = 0;
    141     int _df = 1;
    142     uint32_t _flag_k = FK_NONE;
    143     uint32_t _flag_a = 0, _flag_b = 0;
    144     uint32_t _itail_tgt = 0;
    145     RECOMP_REGS_LOCALS
    146     RECOMP_ENTER(0x4703BC20u);
    147 
    148 L_4703BC20:
    149     MEM32(0x4710E528) = 0x47104BA0u; /* 0x4703BC20: mov dword ptr [0x4710e528], 0x47104ba0 */
    150     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BC2A: ret  */
    151     RECOMP_REGS_OUT();
    152 }
    153 
    154 void sub_4703BC30(void) {
    155     int _fpu_cmp = 0;
    156     uint32_t _cf = 0;
    157     int _df = 1;
    158     uint32_t _flag_k = FK_NONE;
    159     uint32_t _flag_a = 0, _flag_b = 0;
    160     uint32_t _itail_tgt = 0;
    161     RECOMP_REGS_LOCALS
    162     RECOMP_ENTER(0x4703BC30u);
    163 
    164 L_4703BC30:
    165     MEM32(0x4710E53C) = 0x47104BD4u; /* 0x4703BC30: mov dword ptr [0x4710e53c], 0x47104bd4 */
    166     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BC3A: ret  */
    167     RECOMP_REGS_OUT();
    168 }
    169 
    170 void sub_4703BC40(void) {
    171     int _fpu_cmp = 0;
    172     uint32_t _cf = 0;
    173     int _df = 1;
    174     uint32_t _flag_k = FK_NONE;
    175     uint32_t _flag_a = 0, _flag_b = 0;
    176     uint32_t _itail_tgt = 0;
    177     RECOMP_REGS_LOCALS
    178     RECOMP_ENTER(0x4703BC40u);
    179 
    180 L_4703BC40:
    181     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703BC40: push -1 */
    182     PUSH32(esp, 0x470A5FF8u); /* 0x4703BC42: push 0x470a5ff8 */
    183     eax = MEM32(FS_BASE + (0)); /* 0x4703BC47: mov eax, dword ptr fs:[0] */
    184     PUSH32(esp, eax); /* 0x4703BC4D: push eax */
    185     MEM32(FS_BASE + (0)) = esp; /* 0x4703BC4E: mov dword ptr fs:[0], esp */
    186     PUSH32(esp, ecx); /* 0x4703BC55: push ecx */
    187     PUSH32(esp, ebx); /* 0x4703BC56: push ebx */
    188     ebx = MEM32(esp + 0x18); /* 0x4703BC57: mov ebx, dword ptr [esp + 0x18] */
    189     eax = MEM32(ebx); /* 0x4703BC5B: mov eax, dword ptr [ebx] */
    190     PUSH32(esp, esi); /* 0x4703BC5D: push esi */
    191     esi = ecx; /* 0x4703BC5E: mov esi, ecx */
    192     PUSH32(esp, edi); /* 0x4703BC60: push edi */
    193     MEM32(esp + 0xC) = esi; /* 0x4703BC61: mov dword ptr [esp + 0xc], esi */
    194     MEM32(esi) = eax; /* 0x4703BC65: mov dword ptr [esi], eax */
    195     MEM32(esi + 0x4) = 0; /* 0x4703BC67: mov dword ptr [esi + 4], 0 */
    196     MEM32(esi + 0x8) = 0; /* 0x4703BC6E: mov dword ptr [esi + 8], 0 */
    197     eax = MEM32(ebx + 0xC); /* 0x4703BC75: mov eax, dword ptr [ebx + 0xc] */
    198     /* test eax, eax */ /* 0x4703BC78: test eax, eax */
    199     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    200     _cf = 0;
    201     _flag_k = FK_TEST;
    202     MEM32(esp + 0x18) = 0; /* 0x4703BC7A: mov dword ptr [esp + 0x18], 0 */
    203     MEM32(esi + 0xC) = eax; /* 0x4703BC82: mov dword ptr [esi + 0xc], eax */
    204     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703BC8F; /* 0x4703BC85: jne 0x4703bc8f */
    205 L_4703BC87:
    206     RECOMP_ICALL(0x4703DAC0u); /* 0x4703BC87: call 0x4703dac0 */ /* not lifted */
    207     RECOMP_FLAGS_IN();
    208     MEM32(esi + 0xC) = eax; /* 0x4703BC8C: mov dword ptr [esi + 0xc], eax */
    209 L_4703BC8F:
    210     ecx = MEM32(esi + 0xC); /* 0x4703BC8F: mov ecx, dword ptr [esi + 0xc] */
    211     edx = MEM32(ecx); /* 0x4703BC92: mov edx, dword ptr [ecx] */
    212     PUSH32(esp, 8); /* 0x4703BC94: push 8 */
    213     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703BC96: call dword ptr [edx + 4] */
    214     RECOMP_FLAGS_IN();
    215     /* test eax, eax */ /* 0x4703BC99: test eax, eax */
    216     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    217     _cf = 0;
    218     _flag_k = FK_TEST;
    219     MEM32(esi + 0x4) = eax; /* 0x4703BC9B: mov dword ptr [esi + 4], eax */
    220     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BCD4; /* 0x4703BC9E: je 0x4703bcd4 */
    221 L_4703BCA0:
    222     MEM32(eax) = 0; /* 0x4703BCA0: mov dword ptr [eax], 0 */
    223     eax = MEM32(esi + 0x4); /* 0x4703BCA6: mov eax, dword ptr [esi + 4] */
    224     MEM32(eax) = eax; /* 0x4703BCA9: mov dword ptr [eax], eax */
    225     eax = MEM32(ebx + 0x4); /* 0x4703BCAB: mov eax, dword ptr [ebx + 4] */
    226     edi = MEM32(eax); /* 0x4703BCAE: mov edi, dword ptr [eax] */
    227     /* cmp edi, eax */ /* 0x4703BCB0: cmp edi, eax */
    228     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    229     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    230     _flag_k = FK_CMP;
    231     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703BD02; /* 0x4703BCB2: je 0x4703bd02 */
    232 L_4703BCB4:
    233     ecx = MEM32(edi + 0x4); /* 0x4703BCB4: mov ecx, dword ptr [edi + 4] */
    234     eax = MEM32(esi + 0x4); /* 0x4703BCB7: mov eax, dword ptr [esi + 4] */
    235     MEM32(eax + 0x4) = ecx; /* 0x4703BCBA: mov dword ptr [eax + 4], ecx */
    236     ecx = MEM32(esi + 0xC); /* 0x4703BCBD: mov ecx, dword ptr [esi + 0xc] */
    237     edx = MEM32(ecx); /* 0x4703BCC0: mov edx, dword ptr [ecx] */
    238     PUSH32(esp, 8); /* 0x4703BCC2: push 8 */
    239     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703BCC4: call dword ptr [edx + 4] */
    240     RECOMP_FLAGS_IN();
    241     /* test eax, eax */ /* 0x4703BCC7: test eax, eax */
    242     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    243     _cf = 0;
    244     _flag_k = FK_TEST;
    245     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BCE2; /* 0x4703BCC9: je 0x4703bce2 */
    246 L_4703BCCB:
    247     ecx = MEM32(esi + 0x4); /* 0x4703BCCB: mov ecx, dword ptr [esi + 4] */
    248     edx = MEM32(ecx); /* 0x4703BCCE: mov edx, dword ptr [ecx] */
    249     MEM32(eax) = edx; /* 0x4703BCD0: mov dword ptr [eax], edx */
    250     goto L_4703BCF0; /* 0x4703BCD2: jmp 0x4703bcf0 */
    251 L_4703BCD4:
    252     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703BCD4: call dword ptr [0x470ac3c8] */
    253     RECOMP_FLAGS_IN();
    254     MEM32(eax) = 0xCu; /* 0x4703BCDA: mov dword ptr [eax], 0xc */
    255     goto L_4703BD02; /* 0x4703BCE0: jmp 0x4703bd02 */
    256 L_4703BCE2:
    257     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703BCE2: call dword ptr [0x470ac3c8] */
    258     RECOMP_FLAGS_IN();
    259     MEM32(eax) = 0xCu; /* 0x4703BCE8: mov dword ptr [eax], 0xc */
    260     goto L_4703BCFB; /* 0x4703BCEE: jmp 0x4703bcfb */
    261 L_4703BCF0:
    262     ecx = MEM32(esi + 0x4); /* 0x4703BCF0: mov ecx, dword ptr [esi + 4] */
    263     MEM32(ecx) = eax; /* 0x4703BCF3: mov dword ptr [ecx], eax */
    264     MEM32(esi + 0x4) = eax; /* 0x4703BCF5: mov dword ptr [esi + 4], eax */
    265     _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(1);
    266     MEM32(esi + 0x8) = MEM32(esi + 0x8) + 1; /* 0x4703BCF8: inc dword ptr [esi + 8] */
    267     _flag_k = FK_INC;
    268 L_4703BCFB:
    269     edi = MEM32(edi); /* 0x4703BCFB: mov edi, dword ptr [edi] */
    270     /* cmp edi, MEM32(ebx + 0x4) */ /* 0x4703BCFD: cmp edi, dword ptr [ebx + 4] */
    271     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x4));
    272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    273     _flag_k = FK_CMP;
    274     RECOMP_BACKEDGE();
    275     if (CMP_NE(_flag_a, _flag_b)) goto L_4703BCB4; /* 0x4703BD00: jne 0x4703bcb4 */
    276 L_4703BD02:
    277     ecx = MEM32(esp + 0x10); /* 0x4703BD02: mov ecx, dword ptr [esp + 0x10] */
    278     edi = POP32_VAL(esp); /* 0x4703BD06: pop edi */
    279     eax = esi; /* 0x4703BD07: mov eax, esi */
    280     esi = POP32_VAL(esp); /* 0x4703BD09: pop esi */
    281     ebx = POP32_VAL(esp); /* 0x4703BD0A: pop ebx */
    282     MEM32(FS_BASE + (0)) = ecx; /* 0x4703BD0B: mov dword ptr fs:[0], ecx */
    283     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    284     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    285     esp = esp + 0x10u; /* 0x4703BD12: add esp, 0x10 */
    286     _flag_k = FK_ADD;
    287     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703BD15: ret 4 */
    288     RECOMP_REGS_OUT();
    289 }
    290 
    291 void sub_4703BD20(void) {
    292     int _fpu_cmp = 0;
    293     uint32_t _cf = 0;
    294     int _df = 1;
    295     uint32_t _flag_k = FK_NONE;
    296     uint32_t _flag_a = 0, _flag_b = 0;
    297     uint32_t _itail_tgt = 0;
    298     RECOMP_REGS_LOCALS
    299     RECOMP_ENTER(0x4703BD20u);
    300 
    301 L_4703BD20:
    302     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703BD20: push -1 */
    303     PUSH32(esp, 0x470A6018u); /* 0x4703BD22: push 0x470a6018 */
    304     eax = MEM32(FS_BASE + (0)); /* 0x4703BD27: mov eax, dword ptr fs:[0] */
    305     PUSH32(esp, eax); /* 0x4703BD2D: push eax */
    306     MEM32(FS_BASE + (0)) = esp; /* 0x4703BD2E: mov dword ptr fs:[0], esp */
    307     PUSH32(esp, ecx); /* 0x4703BD35: push ecx */
    308     PUSH32(esp, esi); /* 0x4703BD36: push esi */
    309     esi = ecx; /* 0x4703BD37: mov esi, ecx */
    310     PUSH32(esp, edi); /* 0x4703BD39: push edi */
    311     MEM32(esp + 0x8) = esi; /* 0x4703BD3A: mov dword ptr [esp + 8], esi */
    312     eax = MEM32(esi + 0x4); /* 0x4703BD3E: mov eax, dword ptr [esi + 4] */
    313     edi = MEM32(eax); /* 0x4703BD41: mov edi, dword ptr [eax] */
    314     /* cmp edi, eax */ /* 0x4703BD43: cmp edi, eax */
    315     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    317     _flag_k = FK_CMP;
    318     MEM32(esp + 0x14) = 0; /* 0x4703BD45: mov dword ptr [esp + 0x14], 0 */
    319     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703BD6E; /* 0x4703BD4D: je 0x4703bd6e */
    320 L_4703BD4F:
    321     eax = edi; /* 0x4703BD4F: mov eax, edi */
    322     /* test eax, eax */ /* 0x4703BD51: test eax, eax */
    323     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    324     _cf = 0;
    325     _flag_k = FK_TEST;
    326     edi = MEM32(edi); /* 0x4703BD53: mov edi, dword ptr [edi] */
    327     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BD60; /* 0x4703BD55: je 0x4703bd60 */
    328 L_4703BD57:
    329     ecx = MEM32(esi + 0xC); /* 0x4703BD57: mov ecx, dword ptr [esi + 0xc] */
    330     edx = MEM32(ecx); /* 0x4703BD5A: mov edx, dword ptr [ecx] */
    331     PUSH32(esp, eax); /* 0x4703BD5C: push eax */
    332     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x4703BD5D: call dword ptr [edx + 0xc] */
    333     RECOMP_FLAGS_IN();
    334 L_4703BD60:
    335     ecx = MEM32(esi + 0x8); /* 0x4703BD60: mov ecx, dword ptr [esi + 8] */
    336     eax = MEM32(esi + 0x4); /* 0x4703BD63: mov eax, dword ptr [esi + 4] */
    337     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    338     ecx = ecx - 1; /* 0x4703BD66: dec ecx */
    339     _flag_k = FK_DEC;
    340     /* cmp edi, eax */ /* 0x4703BD67: cmp edi, eax */
    341     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    343     _flag_k = FK_CMP;
    344     MEM32(esi + 0x8) = ecx; /* 0x4703BD69: mov dword ptr [esi + 8], ecx */
    345     RECOMP_BACKEDGE();
    346     if (CMP_NE(_flag_a, _flag_b)) goto L_4703BD4F; /* 0x4703BD6C: jne 0x4703bd4f */
    347 L_4703BD6E:
    348     eax = MEM32(esi + 0x4); /* 0x4703BD6E: mov eax, dword ptr [esi + 4] */
    349     MEM32(eax) = eax; /* 0x4703BD71: mov dword ptr [eax], eax */
    350     eax = MEM32(esi + 0x4); /* 0x4703BD73: mov eax, dword ptr [esi + 4] */
    351     /* test eax, eax */ /* 0x4703BD76: test eax, eax */
    352     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    353     _cf = 0;
    354     _flag_k = FK_TEST;
    355     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BD83; /* 0x4703BD78: je 0x4703bd83 */
    356 L_4703BD7A:
    357     ecx = MEM32(esi + 0xC); /* 0x4703BD7A: mov ecx, dword ptr [esi + 0xc] */
    358     edx = MEM32(ecx); /* 0x4703BD7D: mov edx, dword ptr [ecx] */
    359     PUSH32(esp, eax); /* 0x4703BD7F: push eax */
    360     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x4703BD80: call dword ptr [edx + 0xc] */
    361     RECOMP_FLAGS_IN();
    362 L_4703BD83:
    363     ecx = MEM32(esp + 0xC); /* 0x4703BD83: mov ecx, dword ptr [esp + 0xc] */
    364     MEM32(esi + 0x4) = 0; /* 0x4703BD87: mov dword ptr [esi + 4], 0 */
    365     edi = POP32_VAL(esp); /* 0x4703BD8E: pop edi */
    366     esi = POP32_VAL(esp); /* 0x4703BD8F: pop esi */
    367     MEM32(FS_BASE + (0)) = ecx; /* 0x4703BD90: mov dword ptr fs:[0], ecx */
    368     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    369     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    370     esp = esp + 0x10u; /* 0x4703BD97: add esp, 0x10 */
    371     _flag_k = FK_ADD;
    372     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BD9A: ret  */
    373     RECOMP_REGS_OUT();
    374 }
    375 
    376 void sub_4703BDA0(void) {
    377     int _fpu_cmp = 0;
    378     uint32_t _cf = 0;
    379     int _df = 1;
    380     uint32_t _flag_k = FK_NONE;
    381     uint32_t _flag_a = 0, _flag_b = 0;
    382     uint32_t _itail_tgt = 0;
    383     RECOMP_REGS_LOCALS
    384     RECOMP_ENTER(0x4703BDA0u);
    385 
    386 L_4703BDA0:
    387     MEM32(0x4710E534) = 0x47107670u; /* 0x4703BDA0: mov dword ptr [0x4710e534], 0x47107670 */
    388     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BDAA: ret  */
    389     RECOMP_REGS_OUT();
    390 }
    391 
    392 void sub_4703BDB0(void) {
    393     int _fpu_cmp = 0;
    394     uint32_t _cf = 0;
    395     int _df = 1;
    396     uint32_t _flag_k = FK_NONE;
    397     uint32_t _flag_a = 0, _flag_b = 0;
    398     uint32_t _itail_tgt = 0;
    399     RECOMP_REGS_LOCALS
    400     RECOMP_ENTER(0x4703BDB0u);
    401 
    402 L_4703BDB0:
    403     ecx = 0x4710E54Du; /* 0x4703BDB0: mov ecx, 0x4710e54d */
    404     RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4703BDB5: call dword ptr [0x470ac1c8] */
    405     RECOMP_FLAGS_IN();
    406     PUSH32(esp, 0x4703BDD0u); /* 0x4703BDBB: push 0x4703bdd0 */
    407     RECOMP_ICALL(0x470A32D9u); /* 0x4703BDC0: call 0x470a32d9 */ /* not lifted */
    408     RECOMP_FLAGS_IN();
    409     ecx = POP32_VAL(esp); /* 0x4703BDC5: pop ecx */
    410     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BDC6: ret  */
    411     RECOMP_REGS_OUT();
    412 }
    413 
    414 void sub_4703BDD0(void) {
    415     int _fpu_cmp = 0;
    416     uint32_t _cf = 0;
    417     int _df = 1;
    418     uint32_t _flag_k = FK_NONE;
    419     uint32_t _flag_a = 0, _flag_b = 0;
    420     uint32_t _itail_tgt = 0;
    421     RECOMP_REGS_LOCALS
    422     RECOMP_ENTER(0x4703BDD0u);
    423 
    424 L_4703BDD0:
    425     ecx = 0x4710E54Du; /* 0x4703BDD0: mov ecx, 0x4710e54d */
    426 L_4703BDD5:
    427     { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; }
    428     { RECOMP_REGS_OUT(); return; } /* end of function */
    429   _ljump:
    430     switch (_itail_tgt) {
    431       case 0x4703BDD0u: goto L_4703BDD0;
    432       case 0x4703BDD5u: goto L_4703BDD5;
    433       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    434     }
    435     RECOMP_REGS_OUT();
    436 }
    437 
    438 void sub_4703BDE0(void) {
    439     int _fpu_cmp = 0;
    440     uint32_t _cf = 0;
    441     int _df = 1;
    442     uint32_t _flag_k = FK_NONE;
    443     uint32_t _flag_a = 0, _flag_b = 0;
    444     uint32_t _itail_tgt = 0;
    445     RECOMP_REGS_LOCALS
    446     RECOMP_ENTER(0x4703BDE0u);
    447 
    448 L_4703BDE0:
    449     ecx = 0x4710E54Cu; /* 0x4703BDE0: mov ecx, 0x4710e54c */
    450     RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4703BDE5: call dword ptr [0x470ac1c4] */
    451     RECOMP_FLAGS_IN();
    452     PUSH32(esp, 0x4703BE00u); /* 0x4703BDEB: push 0x4703be00 */
    453     RECOMP_ICALL(0x470A32D9u); /* 0x4703BDF0: call 0x470a32d9 */ /* not lifted */
    454     RECOMP_FLAGS_IN();
    455     ecx = POP32_VAL(esp); /* 0x4703BDF5: pop ecx */
    456     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BDF6: ret  */
    457     RECOMP_REGS_OUT();
    458 }
    459 
    460 void sub_4703BE00(void) {
    461     int _fpu_cmp = 0;
    462     uint32_t _cf = 0;
    463     int _df = 1;
    464     uint32_t _flag_k = FK_NONE;
    465     uint32_t _flag_a = 0, _flag_b = 0;
    466     uint32_t _itail_tgt = 0;
    467     RECOMP_REGS_LOCALS
    468     RECOMP_ENTER(0x4703BE00u);
    469 
    470 L_4703BE00:
    471     ecx = 0x4710E54Cu; /* 0x4703BE00: mov ecx, 0x4710e54c */
    472 L_4703BE05:
    473     { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; }
    474     { RECOMP_REGS_OUT(); return; } /* end of function */
    475   _ljump:
    476     switch (_itail_tgt) {
    477       case 0x4703BE00u: goto L_4703BE00;
    478       case 0x4703BE05u: goto L_4703BE05;
    479       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    480     }
    481     RECOMP_REGS_OUT();
    482 }
    483 
    484 void sub_4703BE10(void) {
    485     int _fpu_cmp = 0;
    486     uint32_t _cf = 0;
    487     int _df = 1;
    488     uint32_t _flag_k = FK_NONE;
    489     uint32_t _flag_a = 0, _flag_b = 0;
    490     uint32_t _itail_tgt = 0;
    491     RECOMP_REGS_LOCALS
    492     RECOMP_ENTER(0x4703BE10u);
    493 
    494 L_4703BE10:
    495     MEM32(0x4710E544) = 0x47104A3Cu; /* 0x4703BE10: mov dword ptr [0x4710e544], 0x47104a3c */
    496     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BE1A: ret  */
    497     RECOMP_REGS_OUT();
    498 }
    499 
    500 void sub_4703BE20(void) {
    501     int _fpu_cmp = 0;
    502     uint32_t _cf = 0;
    503     int _df = 1;
    504     uint32_t _flag_k = FK_NONE;
    505     uint32_t _flag_a = 0, _flag_b = 0;
    506     uint32_t _itail_tgt = 0;
    507     RECOMP_REGS_LOCALS
    508     RECOMP_ENTER(0x4703BE20u);
    509 
    510 L_4703BE20:
    511     MEM32(0x4710E554) = 0x47104A00u; /* 0x4703BE20: mov dword ptr [0x4710e554], 0x47104a00 */
    512     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BE2A: ret  */
    513     RECOMP_REGS_OUT();
    514 }
    515 
    516 void sub_4703BE30(void) {
    517     int _fpu_cmp = 0;
    518     uint32_t _cf = 0;
    519     int _df = 1;
    520     uint32_t _flag_k = FK_NONE;
    521     uint32_t _flag_a = 0, _flag_b = 0;
    522     uint32_t _itail_tgt = 0;
    523     RECOMP_REGS_LOCALS
    524     RECOMP_ENTER(0x4703BE30u);
    525 
    526 L_4703BE30:
    527     MEM32(0x4710E550) = 0x47104A70u; /* 0x4703BE30: mov dword ptr [0x4710e550], 0x47104a70 */
    528     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BE3A: ret  */
    529     RECOMP_REGS_OUT();
    530 }
    531 
    532 void sub_4703BE40(void) {
    533     int _fpu_cmp = 0;
    534     uint32_t _cf = 0;
    535     int _df = 1;
    536     uint32_t _flag_k = FK_NONE;
    537     uint32_t _flag_a = 0, _flag_b = 0;
    538     uint32_t _itail_tgt = 0;
    539     RECOMP_REGS_LOCALS
    540     RECOMP_ENTER(0x4703BE40u);
    541 
    542 L_4703BE40:
    543     MEM32(0x4710E560) = 0x47104B6Cu; /* 0x4703BE40: mov dword ptr [0x4710e560], 0x47104b6c */
    544     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BE4A: ret  */
    545     RECOMP_REGS_OUT();
    546 }
    547 
    548 void sub_4703BE50(void) {
    549     int _fpu_cmp = 0;
    550     uint32_t _cf = 0;
    551     int _df = 1;
    552     uint32_t _flag_k = FK_NONE;
    553     uint32_t _flag_a = 0, _flag_b = 0;
    554     uint32_t _itail_tgt = 0;
    555     RECOMP_REGS_LOCALS
    556     RECOMP_ENTER(0x4703BE50u);
    557 
    558 L_4703BE50:
    559     MEM32(0x4710E548) = 0x47104BA0u; /* 0x4703BE50: mov dword ptr [0x4710e548], 0x47104ba0 */
    560     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BE5A: ret  */
    561     RECOMP_REGS_OUT();
    562 }
    563 
    564 void sub_4703BE60(void) {
    565     int _fpu_cmp = 0;
    566     uint32_t _cf = 0;
    567     int _df = 1;
    568     uint32_t _flag_k = FK_NONE;
    569     uint32_t _flag_a = 0, _flag_b = 0;
    570     uint32_t _itail_tgt = 0;
    571     RECOMP_REGS_LOCALS
    572     RECOMP_ENTER(0x4703BE60u);
    573 
    574 L_4703BE60:
    575     MEM32(0x4710E558) = 0x47104BD4u; /* 0x4703BE60: mov dword ptr [0x4710e558], 0x47104bd4 */
    576     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BE6A: ret  */
    577     RECOMP_REGS_OUT();
    578 }
    579 
    580 void sub_4703BE70(void) {
    581     int _fpu_cmp = 0;
    582     uint32_t _cf = 0;
    583     int _df = 1;
    584     uint32_t _flag_k = FK_NONE;
    585     uint32_t _flag_a = 0, _flag_b = 0;
    586     uint32_t _itail_tgt = 0;
    587     RECOMP_REGS_LOCALS
    588     RECOMP_ENTER(0x4703BE70u);
    589 
    590 L_4703BE70:
    591     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703BE70: push -1 */
    592     PUSH32(esp, 0x470A6038u); /* 0x4703BE72: push 0x470a6038 */
    593     eax = MEM32(FS_BASE + (0)); /* 0x4703BE77: mov eax, dword ptr fs:[0] */
    594     PUSH32(esp, eax); /* 0x4703BE7D: push eax */
    595     MEM32(FS_BASE + (0)) = esp; /* 0x4703BE7E: mov dword ptr fs:[0], esp */
    596     PUSH32(esp, ecx); /* 0x4703BE85: push ecx */
    597     PUSH32(esp, ebx); /* 0x4703BE86: push ebx */
    598     ebx = MEM32(esp + 0x18); /* 0x4703BE87: mov ebx, dword ptr [esp + 0x18] */
    599     eax = MEM32(ebx); /* 0x4703BE8B: mov eax, dword ptr [ebx] */
    600     PUSH32(esp, esi); /* 0x4703BE8D: push esi */
    601     esi = ecx; /* 0x4703BE8E: mov esi, ecx */
    602     PUSH32(esp, edi); /* 0x4703BE90: push edi */
    603     MEM32(esp + 0xC) = esi; /* 0x4703BE91: mov dword ptr [esp + 0xc], esi */
    604     MEM32(esi) = eax; /* 0x4703BE95: mov dword ptr [esi], eax */
    605     MEM32(esi + 0x4) = 0; /* 0x4703BE97: mov dword ptr [esi + 4], 0 */
    606     MEM32(esi + 0x8) = 0; /* 0x4703BE9E: mov dword ptr [esi + 8], 0 */
    607     eax = MEM32(ebx + 0xC); /* 0x4703BEA5: mov eax, dword ptr [ebx + 0xc] */
    608     /* test eax, eax */ /* 0x4703BEA8: test eax, eax */
    609     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    610     _cf = 0;
    611     _flag_k = FK_TEST;
    612     MEM32(esp + 0x18) = 0; /* 0x4703BEAA: mov dword ptr [esp + 0x18], 0 */
    613     MEM32(esi + 0xC) = eax; /* 0x4703BEB2: mov dword ptr [esi + 0xc], eax */
    614     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703BEBF; /* 0x4703BEB5: jne 0x4703bebf */
    615 L_4703BEB7:
    616     RECOMP_ICALL(0x4703DAC0u); /* 0x4703BEB7: call 0x4703dac0 */ /* not lifted */
    617     RECOMP_FLAGS_IN();
    618     MEM32(esi + 0xC) = eax; /* 0x4703BEBC: mov dword ptr [esi + 0xc], eax */
    619 L_4703BEBF:
    620     ecx = MEM32(esi + 0xC); /* 0x4703BEBF: mov ecx, dword ptr [esi + 0xc] */
    621     edx = MEM32(ecx); /* 0x4703BEC2: mov edx, dword ptr [ecx] */
    622     PUSH32(esp, 8); /* 0x4703BEC4: push 8 */
    623     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703BEC6: call dword ptr [edx + 4] */
    624     RECOMP_FLAGS_IN();
    625     /* test eax, eax */ /* 0x4703BEC9: test eax, eax */
    626     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    627     _cf = 0;
    628     _flag_k = FK_TEST;
    629     MEM32(esi + 0x4) = eax; /* 0x4703BECB: mov dword ptr [esi + 4], eax */
    630     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BF04; /* 0x4703BECE: je 0x4703bf04 */
    631 L_4703BED0:
    632     MEM32(eax) = 0; /* 0x4703BED0: mov dword ptr [eax], 0 */
    633     eax = MEM32(esi + 0x4); /* 0x4703BED6: mov eax, dword ptr [esi + 4] */
    634     MEM32(eax) = eax; /* 0x4703BED9: mov dword ptr [eax], eax */
    635     eax = MEM32(ebx + 0x4); /* 0x4703BEDB: mov eax, dword ptr [ebx + 4] */
    636     edi = MEM32(eax); /* 0x4703BEDE: mov edi, dword ptr [eax] */
    637     /* cmp edi, eax */ /* 0x4703BEE0: cmp edi, eax */
    638     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    639     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    640     _flag_k = FK_CMP;
    641     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703BF32; /* 0x4703BEE2: je 0x4703bf32 */
    642 L_4703BEE4:
    643     ecx = MEM32(edi + 0x4); /* 0x4703BEE4: mov ecx, dword ptr [edi + 4] */
    644     eax = MEM32(esi + 0x4); /* 0x4703BEE7: mov eax, dword ptr [esi + 4] */
    645     MEM32(eax + 0x4) = ecx; /* 0x4703BEEA: mov dword ptr [eax + 4], ecx */
    646     ecx = MEM32(esi + 0xC); /* 0x4703BEED: mov ecx, dword ptr [esi + 0xc] */
    647     edx = MEM32(ecx); /* 0x4703BEF0: mov edx, dword ptr [ecx] */
    648     PUSH32(esp, 8); /* 0x4703BEF2: push 8 */
    649     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703BEF4: call dword ptr [edx + 4] */
    650     RECOMP_FLAGS_IN();
    651     /* test eax, eax */ /* 0x4703BEF7: test eax, eax */
    652     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    653     _cf = 0;
    654     _flag_k = FK_TEST;
    655     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BF12; /* 0x4703BEF9: je 0x4703bf12 */
    656 L_4703BEFB:
    657     ecx = MEM32(esi + 0x4); /* 0x4703BEFB: mov ecx, dword ptr [esi + 4] */
    658     edx = MEM32(ecx); /* 0x4703BEFE: mov edx, dword ptr [ecx] */
    659     MEM32(eax) = edx; /* 0x4703BF00: mov dword ptr [eax], edx */
    660     goto L_4703BF20; /* 0x4703BF02: jmp 0x4703bf20 */
    661 L_4703BF04:
    662     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703BF04: call dword ptr [0x470ac3c8] */
    663     RECOMP_FLAGS_IN();
    664     MEM32(eax) = 0xCu; /* 0x4703BF0A: mov dword ptr [eax], 0xc */
    665     goto L_4703BF32; /* 0x4703BF10: jmp 0x4703bf32 */
    666 L_4703BF12:
    667     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703BF12: call dword ptr [0x470ac3c8] */
    668     RECOMP_FLAGS_IN();
    669     MEM32(eax) = 0xCu; /* 0x4703BF18: mov dword ptr [eax], 0xc */
    670     goto L_4703BF2B; /* 0x4703BF1E: jmp 0x4703bf2b */
    671 L_4703BF20:
    672     ecx = MEM32(esi + 0x4); /* 0x4703BF20: mov ecx, dword ptr [esi + 4] */
    673     MEM32(ecx) = eax; /* 0x4703BF23: mov dword ptr [ecx], eax */
    674     MEM32(esi + 0x4) = eax; /* 0x4703BF25: mov dword ptr [esi + 4], eax */
    675     _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(1);
    676     MEM32(esi + 0x8) = MEM32(esi + 0x8) + 1; /* 0x4703BF28: inc dword ptr [esi + 8] */
    677     _flag_k = FK_INC;
    678 L_4703BF2B:
    679     edi = MEM32(edi); /* 0x4703BF2B: mov edi, dword ptr [edi] */
    680     /* cmp edi, MEM32(ebx + 0x4) */ /* 0x4703BF2D: cmp edi, dword ptr [ebx + 4] */
    681     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x4));
    682     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    683     _flag_k = FK_CMP;
    684     RECOMP_BACKEDGE();
    685     if (CMP_NE(_flag_a, _flag_b)) goto L_4703BEE4; /* 0x4703BF30: jne 0x4703bee4 */
    686 L_4703BF32:
    687     ecx = MEM32(esp + 0x10); /* 0x4703BF32: mov ecx, dword ptr [esp + 0x10] */
    688     edi = POP32_VAL(esp); /* 0x4703BF36: pop edi */
    689     eax = esi; /* 0x4703BF37: mov eax, esi */
    690     esi = POP32_VAL(esp); /* 0x4703BF39: pop esi */
    691     ebx = POP32_VAL(esp); /* 0x4703BF3A: pop ebx */
    692     MEM32(FS_BASE + (0)) = ecx; /* 0x4703BF3B: mov dword ptr fs:[0], ecx */
    693     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    694     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    695     esp = esp + 0x10u; /* 0x4703BF42: add esp, 0x10 */
    696     _flag_k = FK_ADD;
    697     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703BF45: ret 4 */
    698     RECOMP_REGS_OUT();
    699 }
    700 
    701 void sub_4703BF50(void) {
    702     int _fpu_cmp = 0;
    703     uint32_t _cf = 0;
    704     int _df = 1;
    705     uint32_t _flag_k = FK_NONE;
    706     uint32_t _flag_a = 0, _flag_b = 0;
    707     uint32_t _itail_tgt = 0;
    708     RECOMP_REGS_LOCALS
    709     RECOMP_ENTER(0x4703BF50u);
    710 
    711 L_4703BF50:
    712     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703BF50: push -1 */
    713     PUSH32(esp, 0x470A6058u); /* 0x4703BF52: push 0x470a6058 */
    714     eax = MEM32(FS_BASE + (0)); /* 0x4703BF57: mov eax, dword ptr fs:[0] */
    715     PUSH32(esp, eax); /* 0x4703BF5D: push eax */
    716     MEM32(FS_BASE + (0)) = esp; /* 0x4703BF5E: mov dword ptr fs:[0], esp */
    717     PUSH32(esp, ecx); /* 0x4703BF65: push ecx */
    718     PUSH32(esp, esi); /* 0x4703BF66: push esi */
    719     esi = ecx; /* 0x4703BF67: mov esi, ecx */
    720     PUSH32(esp, edi); /* 0x4703BF69: push edi */
    721     MEM32(esp + 0x8) = esi; /* 0x4703BF6A: mov dword ptr [esp + 8], esi */
    722     eax = MEM32(esi + 0x4); /* 0x4703BF6E: mov eax, dword ptr [esi + 4] */
    723     edi = MEM32(eax); /* 0x4703BF71: mov edi, dword ptr [eax] */
    724     /* cmp edi, eax */ /* 0x4703BF73: cmp edi, eax */
    725     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    727     _flag_k = FK_CMP;
    728     MEM32(esp + 0x14) = 0; /* 0x4703BF75: mov dword ptr [esp + 0x14], 0 */
    729     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703BF9E; /* 0x4703BF7D: je 0x4703bf9e */
    730 L_4703BF7F:
    731     eax = edi; /* 0x4703BF7F: mov eax, edi */
    732     /* test eax, eax */ /* 0x4703BF81: test eax, eax */
    733     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    734     _cf = 0;
    735     _flag_k = FK_TEST;
    736     edi = MEM32(edi); /* 0x4703BF83: mov edi, dword ptr [edi] */
    737     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BF90; /* 0x4703BF85: je 0x4703bf90 */
    738 L_4703BF87:
    739     ecx = MEM32(esi + 0xC); /* 0x4703BF87: mov ecx, dword ptr [esi + 0xc] */
    740     edx = MEM32(ecx); /* 0x4703BF8A: mov edx, dword ptr [ecx] */
    741     PUSH32(esp, eax); /* 0x4703BF8C: push eax */
    742     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x4703BF8D: call dword ptr [edx + 0xc] */
    743     RECOMP_FLAGS_IN();
    744 L_4703BF90:
    745     ecx = MEM32(esi + 0x8); /* 0x4703BF90: mov ecx, dword ptr [esi + 8] */
    746     eax = MEM32(esi + 0x4); /* 0x4703BF93: mov eax, dword ptr [esi + 4] */
    747     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    748     ecx = ecx - 1; /* 0x4703BF96: dec ecx */
    749     _flag_k = FK_DEC;
    750     /* cmp edi, eax */ /* 0x4703BF97: cmp edi, eax */
    751     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
    752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    753     _flag_k = FK_CMP;
    754     MEM32(esi + 0x8) = ecx; /* 0x4703BF99: mov dword ptr [esi + 8], ecx */
    755     RECOMP_BACKEDGE();
    756     if (CMP_NE(_flag_a, _flag_b)) goto L_4703BF7F; /* 0x4703BF9C: jne 0x4703bf7f */
    757 L_4703BF9E:
    758     eax = MEM32(esi + 0x4); /* 0x4703BF9E: mov eax, dword ptr [esi + 4] */
    759     MEM32(eax) = eax; /* 0x4703BFA1: mov dword ptr [eax], eax */
    760     eax = MEM32(esi + 0x4); /* 0x4703BFA3: mov eax, dword ptr [esi + 4] */
    761     /* test eax, eax */ /* 0x4703BFA6: test eax, eax */
    762     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    763     _cf = 0;
    764     _flag_k = FK_TEST;
    765     if (TEST_Z(_flag_a, _flag_b)) goto L_4703BFB3; /* 0x4703BFA8: je 0x4703bfb3 */
    766 L_4703BFAA:
    767     ecx = MEM32(esi + 0xC); /* 0x4703BFAA: mov ecx, dword ptr [esi + 0xc] */
    768     edx = MEM32(ecx); /* 0x4703BFAD: mov edx, dword ptr [ecx] */
    769     PUSH32(esp, eax); /* 0x4703BFAF: push eax */
    770     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x4703BFB0: call dword ptr [edx + 0xc] */
    771     RECOMP_FLAGS_IN();
    772 L_4703BFB3:
    773     ecx = MEM32(esp + 0xC); /* 0x4703BFB3: mov ecx, dword ptr [esp + 0xc] */
    774     MEM32(esi + 0x4) = 0; /* 0x4703BFB7: mov dword ptr [esi + 4], 0 */
    775     edi = POP32_VAL(esp); /* 0x4703BFBE: pop edi */
    776     esi = POP32_VAL(esp); /* 0x4703BFBF: pop esi */
    777     MEM32(FS_BASE + (0)) = ecx; /* 0x4703BFC0: mov dword ptr fs:[0], ecx */
    778     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    779     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    780     esp = esp + 0x10u; /* 0x4703BFC7: add esp, 0x10 */
    781     _flag_k = FK_ADD;
    782     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BFCA: ret  */
    783     RECOMP_REGS_OUT();
    784 }
    785 
    786 void sub_4703BFD0(void) {
    787     int _fpu_cmp = 0;
    788     uint32_t _cf = 0;
    789     int _df = 1;
    790     uint32_t _flag_k = FK_NONE;
    791     uint32_t _flag_a = 0, _flag_b = 0;
    792     uint32_t _itail_tgt = 0;
    793     RECOMP_REGS_LOCALS
    794     RECOMP_ENTER(0x4703BFD0u);
    795 
    796 L_4703BFD0:
    797     MEM32(0x4710E55C) = 0x471076ACu; /* 0x4703BFD0: mov dword ptr [0x4710e55c], 0x471076ac */
    798     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BFDA: ret  */
    799     RECOMP_REGS_OUT();
    800 }
    801 
    802 void sub_4703BFE0(void) {
    803     int _fpu_cmp = 0;
    804     uint32_t _cf = 0;
    805     int _df = 1;
    806     uint32_t _flag_k = FK_NONE;
    807     uint32_t _flag_a = 0, _flag_b = 0;
    808     uint32_t _itail_tgt = 0;
    809     RECOMP_REGS_LOCALS
    810     RECOMP_ENTER(0x4703BFE0u);
    811 
    812 L_4703BFE0:
    813     ecx = 0x4710E56Du; /* 0x4703BFE0: mov ecx, 0x4710e56d */
    814     RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4703BFE5: call dword ptr [0x470ac1c8] */
    815     RECOMP_FLAGS_IN();
    816     PUSH32(esp, 0x4703C000u); /* 0x4703BFEB: push 0x4703c000 */
    817     RECOMP_ICALL(0x470A32D9u); /* 0x4703BFF0: call 0x470a32d9 */ /* not lifted */
    818     RECOMP_FLAGS_IN();
    819     ecx = POP32_VAL(esp); /* 0x4703BFF5: pop ecx */
    820     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703BFF6: ret  */
    821     RECOMP_REGS_OUT();
    822 }
    823 
    824 void sub_4703C000(void) {
    825     int _fpu_cmp = 0;
    826     uint32_t _cf = 0;
    827     int _df = 1;
    828     uint32_t _flag_k = FK_NONE;
    829     uint32_t _flag_a = 0, _flag_b = 0;
    830     uint32_t _itail_tgt = 0;
    831     RECOMP_REGS_LOCALS
    832     RECOMP_ENTER(0x4703C000u);
    833 
    834 L_4703C000:
    835     ecx = 0x4710E56Du; /* 0x4703C000: mov ecx, 0x4710e56d */
    836 L_4703C005:
    837     { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; }
    838     { RECOMP_REGS_OUT(); return; } /* end of function */
    839   _ljump:
    840     switch (_itail_tgt) {
    841       case 0x4703C000u: goto L_4703C000;
    842       case 0x4703C005u: goto L_4703C005;
    843       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    844     }
    845     RECOMP_REGS_OUT();
    846 }
    847 
    848 void sub_4703C010(void) {
    849     int _fpu_cmp = 0;
    850     uint32_t _cf = 0;
    851     int _df = 1;
    852     uint32_t _flag_k = FK_NONE;
    853     uint32_t _flag_a = 0, _flag_b = 0;
    854     uint32_t _itail_tgt = 0;
    855     RECOMP_REGS_LOCALS
    856     RECOMP_ENTER(0x4703C010u);
    857 
    858 L_4703C010:
    859     ecx = 0x4710E56Cu; /* 0x4703C010: mov ecx, 0x4710e56c */
    860     RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4703C015: call dword ptr [0x470ac1c4] */
    861     RECOMP_FLAGS_IN();
    862     PUSH32(esp, 0x4703C030u); /* 0x4703C01B: push 0x4703c030 */
    863     RECOMP_ICALL(0x470A32D9u); /* 0x4703C020: call 0x470a32d9 */ /* not lifted */
    864     RECOMP_FLAGS_IN();
    865     ecx = POP32_VAL(esp); /* 0x4703C025: pop ecx */
    866     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C026: ret  */
    867     RECOMP_REGS_OUT();
    868 }
    869 
    870 void sub_4703C030(void) {
    871     int _fpu_cmp = 0;
    872     uint32_t _cf = 0;
    873     int _df = 1;
    874     uint32_t _flag_k = FK_NONE;
    875     uint32_t _flag_a = 0, _flag_b = 0;
    876     uint32_t _itail_tgt = 0;
    877     RECOMP_REGS_LOCALS
    878     RECOMP_ENTER(0x4703C030u);
    879 
    880 L_4703C030:
    881     ecx = 0x4710E56Cu; /* 0x4703C030: mov ecx, 0x4710e56c */
    882 L_4703C035:
    883     { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; }
    884     { RECOMP_REGS_OUT(); return; } /* end of function */
    885   _ljump:
    886     switch (_itail_tgt) {
    887       case 0x4703C030u: goto L_4703C030;
    888       case 0x4703C035u: goto L_4703C035;
    889       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    890     }
    891     RECOMP_REGS_OUT();
    892 }
    893 
    894 void sub_4703C040(void) {
    895     int _fpu_cmp = 0;
    896     uint32_t _cf = 0;
    897     int _df = 1;
    898     uint32_t _flag_k = FK_NONE;
    899     uint32_t _flag_a = 0, _flag_b = 0;
    900     uint32_t _itail_tgt = 0;
    901     RECOMP_REGS_LOCALS
    902     RECOMP_ENTER(0x4703C040u);
    903 
    904 L_4703C040:
    905     MEM32(0x4710E564) = 0x47104A3Cu; /* 0x4703C040: mov dword ptr [0x4710e564], 0x47104a3c */
    906     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C04A: ret  */
    907     RECOMP_REGS_OUT();
    908 }
    909 
    910 void sub_4703C050(void) {
    911     int _fpu_cmp = 0;
    912     uint32_t _cf = 0;
    913     int _df = 1;
    914     uint32_t _flag_k = FK_NONE;
    915     uint32_t _flag_a = 0, _flag_b = 0;
    916     uint32_t _itail_tgt = 0;
    917     RECOMP_REGS_LOCALS
    918     RECOMP_ENTER(0x4703C050u);
    919 
    920 L_4703C050:
    921     MEM32(0x4710E574) = 0x47104A00u; /* 0x4703C050: mov dword ptr [0x4710e574], 0x47104a00 */
    922     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C05A: ret  */
    923     RECOMP_REGS_OUT();
    924 }
    925 
    926 void sub_4703C060(void) {
    927     int _fpu_cmp = 0;
    928     uint32_t _cf = 0;
    929     int _df = 1;
    930     uint32_t _flag_k = FK_NONE;
    931     uint32_t _flag_a = 0, _flag_b = 0;
    932     uint32_t _itail_tgt = 0;
    933     RECOMP_REGS_LOCALS
    934     RECOMP_ENTER(0x4703C060u);
    935 
    936 L_4703C060:
    937     MEM32(0x4710E570) = 0x47104A70u; /* 0x4703C060: mov dword ptr [0x4710e570], 0x47104a70 */
    938     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C06A: ret  */
    939     RECOMP_REGS_OUT();
    940 }
    941 
    942 void sub_4703C070(void) {
    943     int _fpu_cmp = 0;
    944     uint32_t _cf = 0;
    945     int _df = 1;
    946     uint32_t _flag_k = FK_NONE;
    947     uint32_t _flag_a = 0, _flag_b = 0;
    948     uint32_t _itail_tgt = 0;
    949     RECOMP_REGS_LOCALS
    950     RECOMP_ENTER(0x4703C070u);
    951 
    952 L_4703C070:
    953     MEM32(0x4710E57C) = 0x47104B6Cu; /* 0x4703C070: mov dword ptr [0x4710e57c], 0x47104b6c */
    954     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C07A: ret  */
    955     RECOMP_REGS_OUT();
    956 }
    957 
    958 void sub_4703C080(void) {
    959     int _fpu_cmp = 0;
    960     uint32_t _cf = 0;
    961     int _df = 1;
    962     uint32_t _flag_k = FK_NONE;
    963     uint32_t _flag_a = 0, _flag_b = 0;
    964     uint32_t _itail_tgt = 0;
    965     RECOMP_REGS_LOCALS
    966     RECOMP_ENTER(0x4703C080u);
    967 
    968 L_4703C080:
    969     MEM32(0x4710E568) = 0x47104BA0u; /* 0x4703C080: mov dword ptr [0x4710e568], 0x47104ba0 */
    970     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C08A: ret  */
    971     RECOMP_REGS_OUT();
    972 }
    973 
    974 void sub_4703C090(void) {
    975     int _fpu_cmp = 0;
    976     uint32_t _cf = 0;
    977     int _df = 1;
    978     uint32_t _flag_k = FK_NONE;
    979     uint32_t _flag_a = 0, _flag_b = 0;
    980     uint32_t _itail_tgt = 0;
    981     RECOMP_REGS_LOCALS
    982     RECOMP_ENTER(0x4703C090u);
    983 
    984 L_4703C090:
    985     MEM32(0x4710E578) = 0x47104BD4u; /* 0x4703C090: mov dword ptr [0x4710e578], 0x47104bd4 */
    986     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C09A: ret  */
    987     RECOMP_REGS_OUT();
    988 }
    989 
    990 void sub_4703C0A0(void) {
    991     int _fpu_cmp = 0;
    992     uint32_t _cf = 0;
    993     int _df = 1;
    994     uint32_t _flag_k = FK_NONE;
    995     uint32_t _flag_a = 0, _flag_b = 0;
    996     uint32_t _itail_tgt = 0;
    997     RECOMP_REGS_LOCALS
    998     RECOMP_ENTER(0x4703C0A0u);
    999 
   1000 L_4703C0A0:
   1001     MEM32(0x4710E580) = 0x471076E4u; /* 0x4703C0A0: mov dword ptr [0x4710e580], 0x471076e4 */
   1002     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C0AA: ret  */
   1003     RECOMP_REGS_OUT();
   1004 }
   1005 
   1006 void sub_4703C0B0(void) {
   1007     int _fpu_cmp = 0;
   1008     uint32_t _cf = 0;
   1009     int _df = 1;
   1010     uint32_t _flag_k = FK_NONE;
   1011     uint32_t _flag_a = 0, _flag_b = 0;
   1012     uint32_t _itail_tgt = 0;
   1013     RECOMP_REGS_LOCALS
   1014     RECOMP_ENTER(0x4703C0B0u);
   1015 
   1016 L_4703C0B0:
   1017     ecx = 0x4710E591u; /* 0x4703C0B0: mov ecx, 0x4710e591 */
   1018     RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4703C0B5: call dword ptr [0x470ac1c8] */
   1019     RECOMP_FLAGS_IN();
   1020     PUSH32(esp, 0x4703C0D0u); /* 0x4703C0BB: push 0x4703c0d0 */
   1021     RECOMP_ICALL(0x470A32D9u); /* 0x4703C0C0: call 0x470a32d9 */ /* not lifted */
   1022     RECOMP_FLAGS_IN();
   1023     ecx = POP32_VAL(esp); /* 0x4703C0C5: pop ecx */
   1024     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C0C6: ret  */
   1025     RECOMP_REGS_OUT();
   1026 }
   1027 
   1028 void sub_4703C0D0(void) {
   1029     int _fpu_cmp = 0;
   1030     uint32_t _cf = 0;
   1031     int _df = 1;
   1032     uint32_t _flag_k = FK_NONE;
   1033     uint32_t _flag_a = 0, _flag_b = 0;
   1034     uint32_t _itail_tgt = 0;
   1035     RECOMP_REGS_LOCALS
   1036     RECOMP_ENTER(0x4703C0D0u);
   1037 
   1038 L_4703C0D0:
   1039     ecx = 0x4710E591u; /* 0x4703C0D0: mov ecx, 0x4710e591 */
   1040 L_4703C0D5:
   1041     { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; }
   1042     { RECOMP_REGS_OUT(); return; } /* end of function */
   1043   _ljump:
   1044     switch (_itail_tgt) {
   1045       case 0x4703C0D0u: goto L_4703C0D0;
   1046       case 0x4703C0D5u: goto L_4703C0D5;
   1047       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1048     }
   1049     RECOMP_REGS_OUT();
   1050 }
   1051 
   1052 void sub_4703C0E0(void) {
   1053     int _fpu_cmp = 0;
   1054     uint32_t _cf = 0;
   1055     int _df = 1;
   1056     uint32_t _flag_k = FK_NONE;
   1057     uint32_t _flag_a = 0, _flag_b = 0;
   1058     uint32_t _itail_tgt = 0;
   1059     RECOMP_REGS_LOCALS
   1060     RECOMP_ENTER(0x4703C0E0u);
   1061 
   1062 L_4703C0E0:
   1063     ecx = 0x4710E590u; /* 0x4703C0E0: mov ecx, 0x4710e590 */
   1064     RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4703C0E5: call dword ptr [0x470ac1c4] */
   1065     RECOMP_FLAGS_IN();
   1066     PUSH32(esp, 0x4703C100u); /* 0x4703C0EB: push 0x4703c100 */
   1067     RECOMP_ICALL(0x470A32D9u); /* 0x4703C0F0: call 0x470a32d9 */ /* not lifted */
   1068     RECOMP_FLAGS_IN();
   1069     ecx = POP32_VAL(esp); /* 0x4703C0F5: pop ecx */
   1070     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C0F6: ret  */
   1071     RECOMP_REGS_OUT();
   1072 }
   1073 
   1074 void sub_4703C100(void) {
   1075     int _fpu_cmp = 0;
   1076     uint32_t _cf = 0;
   1077     int _df = 1;
   1078     uint32_t _flag_k = FK_NONE;
   1079     uint32_t _flag_a = 0, _flag_b = 0;
   1080     uint32_t _itail_tgt = 0;
   1081     RECOMP_REGS_LOCALS
   1082     RECOMP_ENTER(0x4703C100u);
   1083 
   1084 L_4703C100:
   1085     ecx = 0x4710E590u; /* 0x4703C100: mov ecx, 0x4710e590 */
   1086 L_4703C105:
   1087     { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; }
   1088     { RECOMP_REGS_OUT(); return; } /* end of function */
   1089   _ljump:
   1090     switch (_itail_tgt) {
   1091       case 0x4703C100u: goto L_4703C100;
   1092       case 0x4703C105u: goto L_4703C105;
   1093       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1094     }
   1095     RECOMP_REGS_OUT();
   1096 }
   1097 
   1098 void sub_4703C110(void) {
   1099     int _fpu_cmp = 0;
   1100     uint32_t _cf = 0;
   1101     int _df = 1;
   1102     uint32_t _flag_k = FK_NONE;
   1103     uint32_t _flag_a = 0, _flag_b = 0;
   1104     uint32_t _itail_tgt = 0;
   1105     RECOMP_REGS_LOCALS
   1106     RECOMP_ENTER(0x4703C110u);
   1107 
   1108 L_4703C110:
   1109     MEM32(0x4710E584) = 0x47104A3Cu; /* 0x4703C110: mov dword ptr [0x4710e584], 0x47104a3c */
   1110     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C11A: ret  */
   1111     RECOMP_REGS_OUT();
   1112 }
   1113 
   1114 void sub_4703C120(void) {
   1115     int _fpu_cmp = 0;
   1116     uint32_t _cf = 0;
   1117     int _df = 1;
   1118     uint32_t _flag_k = FK_NONE;
   1119     uint32_t _flag_a = 0, _flag_b = 0;
   1120     uint32_t _itail_tgt = 0;
   1121     RECOMP_REGS_LOCALS
   1122     RECOMP_ENTER(0x4703C120u);
   1123 
   1124 L_4703C120:
   1125     MEM32(0x4710E598) = 0x47104A00u; /* 0x4703C120: mov dword ptr [0x4710e598], 0x47104a00 */
   1126     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C12A: ret  */
   1127     RECOMP_REGS_OUT();
   1128 }
   1129 
   1130 void sub_4703C130(void) {
   1131     int _fpu_cmp = 0;
   1132     uint32_t _cf = 0;
   1133     int _df = 1;
   1134     uint32_t _flag_k = FK_NONE;
   1135     uint32_t _flag_a = 0, _flag_b = 0;
   1136     uint32_t _itail_tgt = 0;
   1137     RECOMP_REGS_LOCALS
   1138     RECOMP_ENTER(0x4703C130u);
   1139 
   1140 L_4703C130:
   1141     MEM32(0x4710E594) = 0x47104A70u; /* 0x4703C130: mov dword ptr [0x4710e594], 0x47104a70 */
   1142     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C13A: ret  */
   1143     RECOMP_REGS_OUT();
   1144 }
   1145 
   1146 void sub_4703C140(void) {
   1147     int _fpu_cmp = 0;
   1148     uint32_t _cf = 0;
   1149     int _df = 1;
   1150     uint32_t _flag_k = FK_NONE;
   1151     uint32_t _flag_a = 0, _flag_b = 0;
   1152     uint32_t _itail_tgt = 0;
   1153     RECOMP_REGS_LOCALS
   1154     RECOMP_ENTER(0x4703C140u);
   1155 
   1156 L_4703C140:
   1157     MEM32(0x4710E5A0) = 0x47104B6Cu; /* 0x4703C140: mov dword ptr [0x4710e5a0], 0x47104b6c */
   1158     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C14A: ret  */
   1159     RECOMP_REGS_OUT();
   1160 }
   1161 
   1162 void sub_4703C150(void) {
   1163     int _fpu_cmp = 0;
   1164     uint32_t _cf = 0;
   1165     int _df = 1;
   1166     uint32_t _flag_k = FK_NONE;
   1167     uint32_t _flag_a = 0, _flag_b = 0;
   1168     uint32_t _itail_tgt = 0;
   1169     RECOMP_REGS_LOCALS
   1170     RECOMP_ENTER(0x4703C150u);
   1171 
   1172 L_4703C150:
   1173     MEM32(0x4710E58C) = 0x47104BA0u; /* 0x4703C150: mov dword ptr [0x4710e58c], 0x47104ba0 */
   1174     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C15A: ret  */
   1175     RECOMP_REGS_OUT();
   1176 }
   1177 
   1178 void sub_4703C160(void) {
   1179     int _fpu_cmp = 0;
   1180     uint32_t _cf = 0;
   1181     int _df = 1;
   1182     uint32_t _flag_k = FK_NONE;
   1183     uint32_t _flag_a = 0, _flag_b = 0;
   1184     uint32_t _itail_tgt = 0;
   1185     RECOMP_REGS_LOCALS
   1186     RECOMP_ENTER(0x4703C160u);
   1187 
   1188 L_4703C160:
   1189     MEM32(0x4710E59C) = 0x47104BD4u; /* 0x4703C160: mov dword ptr [0x4710e59c], 0x47104bd4 */
   1190     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C16A: ret  */
   1191     RECOMP_REGS_OUT();
   1192 }
   1193 
   1194 void sub_4703C170(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(0x4703C170u);
   1203 
   1204 L_4703C170:
   1205     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703C170: push -1 */
   1206     PUSH32(esp, 0x470A6078u); /* 0x4703C172: push 0x470a6078 */
   1207     eax = MEM32(FS_BASE + (0)); /* 0x4703C177: mov eax, dword ptr fs:[0] */
   1208     PUSH32(esp, eax); /* 0x4703C17D: push eax */
   1209     MEM32(FS_BASE + (0)) = esp; /* 0x4703C17E: mov dword ptr fs:[0], esp */
   1210     PUSH32(esp, ecx); /* 0x4703C185: push ecx */
   1211     PUSH32(esp, ebx); /* 0x4703C186: push ebx */
   1212     ebx = MEM32(esp + 0x18); /* 0x4703C187: mov ebx, dword ptr [esp + 0x18] */
   1213     eax = MEM32(ebx); /* 0x4703C18B: mov eax, dword ptr [ebx] */
   1214     PUSH32(esp, esi); /* 0x4703C18D: push esi */
   1215     esi = ecx; /* 0x4703C18E: mov esi, ecx */
   1216     PUSH32(esp, edi); /* 0x4703C190: push edi */
   1217     MEM32(esp + 0xC) = esi; /* 0x4703C191: mov dword ptr [esp + 0xc], esi */
   1218     MEM32(esi) = eax; /* 0x4703C195: mov dword ptr [esi], eax */
   1219     MEM32(esi + 0x4) = 0; /* 0x4703C197: mov dword ptr [esi + 4], 0 */
   1220     MEM32(esi + 0x8) = 0; /* 0x4703C19E: mov dword ptr [esi + 8], 0 */
   1221     eax = MEM32(ebx + 0xC); /* 0x4703C1A5: mov eax, dword ptr [ebx + 0xc] */
   1222     /* test eax, eax */ /* 0x4703C1A8: test eax, eax */
   1223     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1224     _cf = 0;
   1225     _flag_k = FK_TEST;
   1226     MEM32(esp + 0x18) = 0; /* 0x4703C1AA: mov dword ptr [esp + 0x18], 0 */
   1227     MEM32(esi + 0xC) = eax; /* 0x4703C1B2: mov dword ptr [esi + 0xc], eax */
   1228     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703C1BF; /* 0x4703C1B5: jne 0x4703c1bf */
   1229 L_4703C1B7:
   1230     RECOMP_ICALL(0x4703DAC0u); /* 0x4703C1B7: call 0x4703dac0 */ /* not lifted */
   1231     RECOMP_FLAGS_IN();
   1232     MEM32(esi + 0xC) = eax; /* 0x4703C1BC: mov dword ptr [esi + 0xc], eax */
   1233 L_4703C1BF:
   1234     ecx = MEM32(esi + 0xC); /* 0x4703C1BF: mov ecx, dword ptr [esi + 0xc] */
   1235     edx = MEM32(ecx); /* 0x4703C1C2: mov edx, dword ptr [ecx] */
   1236     PUSH32(esp, 8); /* 0x4703C1C4: push 8 */
   1237     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703C1C6: call dword ptr [edx + 4] */
   1238     RECOMP_FLAGS_IN();
   1239     /* test eax, eax */ /* 0x4703C1C9: test eax, eax */
   1240     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1241     _cf = 0;
   1242     _flag_k = FK_TEST;
   1243     MEM32(esi + 0x4) = eax; /* 0x4703C1CB: mov dword ptr [esi + 4], eax */
   1244     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C204; /* 0x4703C1CE: je 0x4703c204 */
   1245 L_4703C1D0:
   1246     MEM32(eax) = 0; /* 0x4703C1D0: mov dword ptr [eax], 0 */
   1247     eax = MEM32(esi + 0x4); /* 0x4703C1D6: mov eax, dword ptr [esi + 4] */
   1248     MEM32(eax) = eax; /* 0x4703C1D9: mov dword ptr [eax], eax */
   1249     eax = MEM32(ebx + 0x4); /* 0x4703C1DB: mov eax, dword ptr [ebx + 4] */
   1250     edi = MEM32(eax); /* 0x4703C1DE: mov edi, dword ptr [eax] */
   1251     /* cmp edi, eax */ /* 0x4703C1E0: cmp edi, eax */
   1252     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1253     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1254     _flag_k = FK_CMP;
   1255     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703C232; /* 0x4703C1E2: je 0x4703c232 */
   1256 L_4703C1E4:
   1257     ecx = MEM32(edi + 0x4); /* 0x4703C1E4: mov ecx, dword ptr [edi + 4] */
   1258     eax = MEM32(esi + 0x4); /* 0x4703C1E7: mov eax, dword ptr [esi + 4] */
   1259     MEM32(eax + 0x4) = ecx; /* 0x4703C1EA: mov dword ptr [eax + 4], ecx */
   1260     ecx = MEM32(esi + 0xC); /* 0x4703C1ED: mov ecx, dword ptr [esi + 0xc] */
   1261     edx = MEM32(ecx); /* 0x4703C1F0: mov edx, dword ptr [ecx] */
   1262     PUSH32(esp, 8); /* 0x4703C1F2: push 8 */
   1263     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703C1F4: call dword ptr [edx + 4] */
   1264     RECOMP_FLAGS_IN();
   1265     /* test eax, eax */ /* 0x4703C1F7: test eax, eax */
   1266     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1267     _cf = 0;
   1268     _flag_k = FK_TEST;
   1269     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C212; /* 0x4703C1F9: je 0x4703c212 */
   1270 L_4703C1FB:
   1271     ecx = MEM32(esi + 0x4); /* 0x4703C1FB: mov ecx, dword ptr [esi + 4] */
   1272     edx = MEM32(ecx); /* 0x4703C1FE: mov edx, dword ptr [ecx] */
   1273     MEM32(eax) = edx; /* 0x4703C200: mov dword ptr [eax], edx */
   1274     goto L_4703C220; /* 0x4703C202: jmp 0x4703c220 */
   1275 L_4703C204:
   1276     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703C204: call dword ptr [0x470ac3c8] */
   1277     RECOMP_FLAGS_IN();
   1278     MEM32(eax) = 0xCu; /* 0x4703C20A: mov dword ptr [eax], 0xc */
   1279     goto L_4703C232; /* 0x4703C210: jmp 0x4703c232 */
   1280 L_4703C212:
   1281     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703C212: call dword ptr [0x470ac3c8] */
   1282     RECOMP_FLAGS_IN();
   1283     MEM32(eax) = 0xCu; /* 0x4703C218: mov dword ptr [eax], 0xc */
   1284     goto L_4703C22B; /* 0x4703C21E: jmp 0x4703c22b */
   1285 L_4703C220:
   1286     ecx = MEM32(esi + 0x4); /* 0x4703C220: mov ecx, dword ptr [esi + 4] */
   1287     MEM32(ecx) = eax; /* 0x4703C223: mov dword ptr [ecx], eax */
   1288     MEM32(esi + 0x4) = eax; /* 0x4703C225: mov dword ptr [esi + 4], eax */
   1289     _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(1);
   1290     MEM32(esi + 0x8) = MEM32(esi + 0x8) + 1; /* 0x4703C228: inc dword ptr [esi + 8] */
   1291     _flag_k = FK_INC;
   1292 L_4703C22B:
   1293     edi = MEM32(edi); /* 0x4703C22B: mov edi, dword ptr [edi] */
   1294     /* cmp edi, MEM32(ebx + 0x4) */ /* 0x4703C22D: cmp edi, dword ptr [ebx + 4] */
   1295     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x4));
   1296     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1297     _flag_k = FK_CMP;
   1298     RECOMP_BACKEDGE();
   1299     if (CMP_NE(_flag_a, _flag_b)) goto L_4703C1E4; /* 0x4703C230: jne 0x4703c1e4 */
   1300 L_4703C232:
   1301     ecx = MEM32(esp + 0x10); /* 0x4703C232: mov ecx, dword ptr [esp + 0x10] */
   1302     edi = POP32_VAL(esp); /* 0x4703C236: pop edi */
   1303     eax = esi; /* 0x4703C237: mov eax, esi */
   1304     esi = POP32_VAL(esp); /* 0x4703C239: pop esi */
   1305     ebx = POP32_VAL(esp); /* 0x4703C23A: pop ebx */
   1306     MEM32(FS_BASE + (0)) = ecx; /* 0x4703C23B: mov dword ptr fs:[0], ecx */
   1307     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1308     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1309     esp = esp + 0x10u; /* 0x4703C242: add esp, 0x10 */
   1310     _flag_k = FK_ADD;
   1311     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703C245: ret 4 */
   1312     RECOMP_REGS_OUT();
   1313 }
   1314 
   1315 void sub_4703C250(void) {
   1316     int _fpu_cmp = 0;
   1317     uint32_t _cf = 0;
   1318     int _df = 1;
   1319     uint32_t _flag_k = FK_NONE;
   1320     uint32_t _flag_a = 0, _flag_b = 0;
   1321     uint32_t _itail_tgt = 0;
   1322     RECOMP_REGS_LOCALS
   1323     RECOMP_ENTER(0x4703C250u);
   1324 
   1325 L_4703C250:
   1326     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703C250: push -1 */
   1327     PUSH32(esp, 0x470A6098u); /* 0x4703C252: push 0x470a6098 */
   1328     eax = MEM32(FS_BASE + (0)); /* 0x4703C257: mov eax, dword ptr fs:[0] */
   1329     PUSH32(esp, eax); /* 0x4703C25D: push eax */
   1330     MEM32(FS_BASE + (0)) = esp; /* 0x4703C25E: mov dword ptr fs:[0], esp */
   1331     PUSH32(esp, ecx); /* 0x4703C265: push ecx */
   1332     PUSH32(esp, esi); /* 0x4703C266: push esi */
   1333     esi = ecx; /* 0x4703C267: mov esi, ecx */
   1334     PUSH32(esp, edi); /* 0x4703C269: push edi */
   1335     MEM32(esp + 0x8) = esi; /* 0x4703C26A: mov dword ptr [esp + 8], esi */
   1336     eax = MEM32(esi + 0x4); /* 0x4703C26E: mov eax, dword ptr [esi + 4] */
   1337     edi = MEM32(eax); /* 0x4703C271: mov edi, dword ptr [eax] */
   1338     /* cmp edi, eax */ /* 0x4703C273: cmp edi, eax */
   1339     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1340     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1341     _flag_k = FK_CMP;
   1342     MEM32(esp + 0x14) = 0; /* 0x4703C275: mov dword ptr [esp + 0x14], 0 */
   1343     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703C29E; /* 0x4703C27D: je 0x4703c29e */
   1344 L_4703C27F:
   1345     eax = edi; /* 0x4703C27F: mov eax, edi */
   1346     /* test eax, eax */ /* 0x4703C281: test eax, eax */
   1347     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1348     _cf = 0;
   1349     _flag_k = FK_TEST;
   1350     edi = MEM32(edi); /* 0x4703C283: mov edi, dword ptr [edi] */
   1351     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C290; /* 0x4703C285: je 0x4703c290 */
   1352 L_4703C287:
   1353     ecx = MEM32(esi + 0xC); /* 0x4703C287: mov ecx, dword ptr [esi + 0xc] */
   1354     edx = MEM32(ecx); /* 0x4703C28A: mov edx, dword ptr [ecx] */
   1355     PUSH32(esp, eax); /* 0x4703C28C: push eax */
   1356     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x4703C28D: call dword ptr [edx + 0xc] */
   1357     RECOMP_FLAGS_IN();
   1358 L_4703C290:
   1359     ecx = MEM32(esi + 0x8); /* 0x4703C290: mov ecx, dword ptr [esi + 8] */
   1360     eax = MEM32(esi + 0x4); /* 0x4703C293: mov eax, dword ptr [esi + 4] */
   1361     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1362     ecx = ecx - 1; /* 0x4703C296: dec ecx */
   1363     _flag_k = FK_DEC;
   1364     /* cmp edi, eax */ /* 0x4703C297: cmp edi, eax */
   1365     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1367     _flag_k = FK_CMP;
   1368     MEM32(esi + 0x8) = ecx; /* 0x4703C299: mov dword ptr [esi + 8], ecx */
   1369     RECOMP_BACKEDGE();
   1370     if (CMP_NE(_flag_a, _flag_b)) goto L_4703C27F; /* 0x4703C29C: jne 0x4703c27f */
   1371 L_4703C29E:
   1372     eax = MEM32(esi + 0x4); /* 0x4703C29E: mov eax, dword ptr [esi + 4] */
   1373     MEM32(eax) = eax; /* 0x4703C2A1: mov dword ptr [eax], eax */
   1374     eax = MEM32(esi + 0x4); /* 0x4703C2A3: mov eax, dword ptr [esi + 4] */
   1375     /* test eax, eax */ /* 0x4703C2A6: test eax, eax */
   1376     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1377     _cf = 0;
   1378     _flag_k = FK_TEST;
   1379     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C2B3; /* 0x4703C2A8: je 0x4703c2b3 */
   1380 L_4703C2AA:
   1381     ecx = MEM32(esi + 0xC); /* 0x4703C2AA: mov ecx, dword ptr [esi + 0xc] */
   1382     edx = MEM32(ecx); /* 0x4703C2AD: mov edx, dword ptr [ecx] */
   1383     PUSH32(esp, eax); /* 0x4703C2AF: push eax */
   1384     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x4703C2B0: call dword ptr [edx + 0xc] */
   1385     RECOMP_FLAGS_IN();
   1386 L_4703C2B3:
   1387     ecx = MEM32(esp + 0xC); /* 0x4703C2B3: mov ecx, dword ptr [esp + 0xc] */
   1388     MEM32(esi + 0x4) = 0; /* 0x4703C2B7: mov dword ptr [esi + 4], 0 */
   1389     edi = POP32_VAL(esp); /* 0x4703C2BE: pop edi */
   1390     esi = POP32_VAL(esp); /* 0x4703C2BF: pop esi */
   1391     MEM32(FS_BASE + (0)) = ecx; /* 0x4703C2C0: mov dword ptr fs:[0], ecx */
   1392     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1393     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1394     esp = esp + 0x10u; /* 0x4703C2C7: add esp, 0x10 */
   1395     _flag_k = FK_ADD;
   1396     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C2CA: ret  */
   1397     RECOMP_REGS_OUT();
   1398 }
   1399 
   1400 void sub_4703C2D0(void) {
   1401     int _fpu_cmp = 0;
   1402     uint32_t _cf = 0;
   1403     int _df = 1;
   1404     uint32_t _flag_k = FK_NONE;
   1405     uint32_t _flag_a = 0, _flag_b = 0;
   1406     uint32_t _itail_tgt = 0;
   1407     RECOMP_REGS_LOCALS
   1408     RECOMP_ENTER(0x4703C2D0u);
   1409 
   1410 L_4703C2D0:
   1411     PUSH32(esp, ebx); /* 0x4703C2D0: push ebx */
   1412     PUSH32(esp, ebp); /* 0x4703C2D1: push ebp */
   1413     PUSH32(esp, esi); /* 0x4703C2D2: push esi */
   1414     esi = MEM32(esp + 0x18); /* 0x4703C2D3: mov esi, dword ptr [esp + 0x18] */
   1415     eax = MEM32(esi); /* 0x4703C2D7: mov eax, dword ptr [esi] */
   1416     PUSH32(esp, edi); /* 0x4703C2D9: push edi */
   1417     edi = ecx; /* 0x4703C2DA: mov edi, ecx */
   1418     ecx = esi; /* 0x4703C2DC: mov ecx, esi */
   1419     RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x4703C2DE: call dword ptr [eax + 4] */
   1420     RECOMP_FLAGS_IN();
   1421     ebx = MEM32(esp + 0x20); /* 0x4703C2E1: mov ebx, dword ptr [esp + 0x20] */
   1422     ebp = MEM32(esp + 0x18); /* 0x4703C2E5: mov ebp, dword ptr [esp + 0x18] */
   1423     edi = MEM32(edi); /* 0x4703C2E9: mov edi, dword ptr [edi] */
   1424     ecx = MEM32(esi + 0x8); /* 0x4703C2EB: mov ecx, dword ptr [esi + 8] */
   1425     edx = esp + 0x1C; /* 0x4703C2EE: lea edx, [esp + 0x1c] */
   1426     PUSH32(esp, edx); /* 0x4703C2F2: push edx */
   1427     PUSH32(esp, eax); /* 0x4703C2F3: push eax */
   1428     eax = MEM32(esp + 0x1C); /* 0x4703C2F4: mov eax, dword ptr [esp + 0x1c] */
   1429     PUSH32(esp, ebx); /* 0x4703C2F8: push ebx */
   1430     PUSH32(esp, ebp); /* 0x4703C2F9: push ebp */
   1431     PUSH32(esp, eax); /* 0x4703C2FA: push eax */
   1432     PUSH32(esp, edi); /* 0x4703C2FB: push edi */
   1433     MEM32(esp + 0x34) = ecx; /* 0x4703C2FC: mov dword ptr [esp + 0x34], ecx */
   1434     RECOMP_ICALL(MEM32(0x470AC470)); /* 0x4703C300: call dword ptr [0x470ac470] */
   1435     RECOMP_FLAGS_IN();
   1436     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703C306: cmp eax, -1 */
   1437     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1439     _flag_k = FK_CMP;
   1440     if (CMP_NE(_flag_a, _flag_b)) goto L_4703C353; /* 0x4703C309: jne 0x4703c353 */
   1441 L_4703C30B:
   1442     edi = MEM32(0x470AC3C8); /* 0x4703C30B: mov edi, dword ptr [0x470ac3c8] */
   1443     RECOMP_ICALL(edi); /* 0x4703C311: call edi */
   1444     RECOMP_FLAGS_IN();
   1445     MEM32(esp + 0x20) = eax; /* 0x4703C313: mov dword ptr [esp + 0x20], eax */
   1446     RECOMP_ICALL(MEM32(0x470AC4A4)); /* 0x4703C317: call dword ptr [0x470ac4a4] */
   1447     RECOMP_FLAGS_IN();
   1448     ecx = MEM32(esp + 0x20); /* 0x4703C31D: mov ecx, dword ptr [esp + 0x20] */
   1449     MEM32(ecx) = eax; /* 0x4703C321: mov dword ptr [ecx], eax */
   1450     RECOMP_ICALL(edi); /* 0x4703C323: call edi */
   1451     RECOMP_FLAGS_IN();
   1452     /* cmp MEM32(eax), 0x2738u */ /* 0x4703C325: cmp dword ptr [eax], 0x2738 */
   1453     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0x2738u);
   1454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1455     _flag_k = FK_CMP;
   1456     if (CMP_NE(_flag_a, _flag_b)) goto L_4703C342; /* 0x4703C32B: jne 0x4703c342 */
   1457 L_4703C32D:
   1458     /* test LO8(ebx), 2 */ /* 0x4703C32D: test bl, 2 */
   1459     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   1460     _cf = 0;
   1461     _flag_k = FK_NARROW(FK_TEST, 24);
   1462     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C342; /* 0x4703C330: je 0x4703c342 */
   1463 L_4703C332:
   1464     edx = MEM32(esp + 0x1C); /* 0x4703C332: mov edx, dword ptr [esp + 0x1c] */
   1465     edi = POP32_VAL(esp); /* 0x4703C336: pop edi */
   1466     MEM32(esi + 0x8) = edx; /* 0x4703C337: mov dword ptr [esi + 8], edx */
   1467     esi = POP32_VAL(esp); /* 0x4703C33A: pop esi */
   1468     eax = ebp; /* 0x4703C33B: mov eax, ebp */
   1469     ebp = POP32_VAL(esp); /* 0x4703C33D: pop ebp */
   1470     ebx = POP32_VAL(esp); /* 0x4703C33E: pop ebx */
   1471     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4703C33F: ret 0x10 */
   1472 L_4703C342:
   1473     ecx = MEM32(esp + 0x1C); /* 0x4703C342: mov ecx, dword ptr [esp + 0x1c] */
   1474     edi = POP32_VAL(esp); /* 0x4703C346: pop edi */
   1475     MEM32(esi + 0x8) = ecx; /* 0x4703C347: mov dword ptr [esi + 8], ecx */
   1476     esi = POP32_VAL(esp); /* 0x4703C34A: pop esi */
   1477     ebp = POP32_VAL(esp); /* 0x4703C34B: pop ebp */
   1478     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   1479     eax = eax | 0xFFFFFFFFu; /* 0x4703C34C: or eax, 0xffffffff */
   1480     _cf = 0;
   1481     _flag_k = FK_TEST;
   1482     ebx = POP32_VAL(esp); /* 0x4703C34F: pop ebx */
   1483     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4703C350: ret 0x10 */
   1484 L_4703C353:
   1485     edx = MEM32(esp + 0x1C); /* 0x4703C353: mov edx, dword ptr [esp + 0x1c] */
   1486     edi = POP32_VAL(esp); /* 0x4703C357: pop edi */
   1487     MEM32(esi + 0x8) = edx; /* 0x4703C358: mov dword ptr [esi + 8], edx */
   1488     esi = POP32_VAL(esp); /* 0x4703C35B: pop esi */
   1489     ebp = POP32_VAL(esp); /* 0x4703C35C: pop ebp */
   1490     ebx = POP32_VAL(esp); /* 0x4703C35D: pop ebx */
   1491     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4703C35E: ret 0x10 */
   1492     RECOMP_REGS_OUT();
   1493 }
   1494 
   1495 void sub_4703C370(void) {
   1496     int _fpu_cmp = 0;
   1497     uint32_t _cf = 0;
   1498     int _df = 1;
   1499     uint32_t _flag_k = FK_NONE;
   1500     uint32_t _flag_a = 0, _flag_b = 0;
   1501     uint32_t _itail_tgt = 0;
   1502     RECOMP_REGS_LOCALS
   1503     RECOMP_ENTER(0x4703C370u);
   1504 
   1505 L_4703C370:
   1506     PUSH32(esp, esi); /* 0x4703C370: push esi */
   1507     esi = MEM32(esp + 0x18); /* 0x4703C371: mov esi, dword ptr [esp + 0x18] */
   1508     eax = MEM32(esi); /* 0x4703C375: mov eax, dword ptr [esi] */
   1509     PUSH32(esp, edi); /* 0x4703C377: push edi */
   1510     edi = ecx; /* 0x4703C378: mov edi, ecx */
   1511     ecx = esi; /* 0x4703C37A: mov ecx, esi */
   1512     RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x4703C37C: call dword ptr [eax + 4] */
   1513     RECOMP_FLAGS_IN();
   1514     ecx = MEM32(esp + 0x24); /* 0x4703C37F: mov ecx, dword ptr [esp + 0x24] */
   1515     edx = MEM32(esp + 0x20); /* 0x4703C383: mov edx, dword ptr [esp + 0x20] */
   1516     esi = MEM32(esi + 0x8); /* 0x4703C387: mov esi, dword ptr [esi + 8] */
   1517     edi = MEM32(edi); /* 0x4703C38A: mov edi, dword ptr [edi] */
   1518     PUSH32(esp, ecx); /* 0x4703C38C: push ecx */
   1519     PUSH32(esp, edx); /* 0x4703C38D: push edx */
   1520     edx = MEM32(esp + 0x18); /* 0x4703C38E: mov edx, dword ptr [esp + 0x18] */
   1521     PUSH32(esp, esi); /* 0x4703C392: push esi */
   1522     PUSH32(esp, eax); /* 0x4703C393: push eax */
   1523     eax = MEM32(esp + 0x28); /* 0x4703C394: mov eax, dword ptr [esp + 0x28] */
   1524     PUSH32(esp, eax); /* 0x4703C398: push eax */
   1525     eax = MEM32(esp + 0x20); /* 0x4703C399: mov eax, dword ptr [esp + 0x20] */
   1526     ecx = esp + 0x30; /* 0x4703C39D: lea ecx, [esp + 0x30] */
   1527     PUSH32(esp, ecx); /* 0x4703C3A1: push ecx */
   1528     PUSH32(esp, edx); /* 0x4703C3A2: push edx */
   1529     PUSH32(esp, eax); /* 0x4703C3A3: push eax */
   1530     PUSH32(esp, edi); /* 0x4703C3A4: push edi */
   1531     RECOMP_ICALL(MEM32(0x470AC4D4)); /* 0x4703C3A5: call dword ptr [0x470ac4d4] */
   1532     RECOMP_FLAGS_IN();
   1533     ecx = MEM32(esp + 0x14); /* 0x4703C3AB: mov ecx, dword ptr [esp + 0x14] */
   1534     edx = MEM32(esp + 0x1C); /* 0x4703C3AF: mov edx, dword ptr [esp + 0x1c] */
   1535     edi = POP32_VAL(esp); /* 0x4703C3B3: pop edi */
   1536     MEM32(ecx) = edx; /* 0x4703C3B4: mov dword ptr [ecx], edx */
   1537     esi = POP32_VAL(esp); /* 0x4703C3B6: pop esi */
   1538     RECOMP_FLAGS_OUT(); esp += 32; { RECOMP_REGS_OUT(); return; } /* 0x4703C3B7: ret 0x1c */
   1539     RECOMP_REGS_OUT();
   1540 }
   1541 
   1542 void sub_4703C3C0(void) {
   1543     int _fpu_cmp = 0;
   1544     uint32_t _cf = 0;
   1545     int _df = 1;
   1546     uint32_t _flag_k = FK_NONE;
   1547     uint32_t _flag_a = 0, _flag_b = 0;
   1548     uint32_t _itail_tgt = 0;
   1549     RECOMP_REGS_LOCALS
   1550     RECOMP_ENTER(0x4703C3C0u);
   1551 
   1552 L_4703C3C0:
   1553     PUSH32(esp, ecx); /* 0x4703C3C0: push ecx */
   1554     PUSH32(esp, ebx); /* 0x4703C3C1: push ebx */
   1555     PUSH32(esp, esi); /* 0x4703C3C2: push esi */
   1556     esi = MEM32(esp + 0x20); /* 0x4703C3C3: mov esi, dword ptr [esp + 0x20] */
   1557     eax = MEM32(esi); /* 0x4703C3C7: mov eax, dword ptr [esi] */
   1558     PUSH32(esp, edi); /* 0x4703C3C9: push edi */
   1559     edi = ecx; /* 0x4703C3CA: mov edi, ecx */
   1560     ecx = esi; /* 0x4703C3CC: mov ecx, esi */
   1561     RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x4703C3CE: call dword ptr [eax + 4] */
   1562     RECOMP_FLAGS_IN();
   1563     ecx = MEM32(esi + 0x8); /* 0x4703C3D1: mov ecx, dword ptr [esi + 8] */
   1564     ebx = MEM32(esp + 0x20); /* 0x4703C3D4: mov ebx, dword ptr [esp + 0x20] */
   1565     edx = MEM32(ebx); /* 0x4703C3D8: mov edx, dword ptr [ebx] */
   1566     edi = MEM32(edi); /* 0x4703C3DA: mov edi, dword ptr [edi] */
   1567     MEM32(esp + 0xC) = ecx; /* 0x4703C3DC: mov dword ptr [esp + 0xc], ecx */
   1568     ecx = MEM32(esp + 0x2C); /* 0x4703C3E0: mov ecx, dword ptr [esp + 0x2c] */
   1569     PUSH32(esp, ecx); /* 0x4703C3E4: push ecx */
   1570     MEM32(esp + 0x28) = edx; /* 0x4703C3E5: mov dword ptr [esp + 0x28], edx */
   1571     edx = MEM32(esp + 0x2C); /* 0x4703C3E9: mov edx, dword ptr [esp + 0x2c] */
   1572     PUSH32(esp, edx); /* 0x4703C3ED: push edx */
   1573     ecx = esp + 0x14; /* 0x4703C3EE: lea ecx, [esp + 0x14] */
   1574     PUSH32(esp, ecx); /* 0x4703C3F2: push ecx */
   1575     ecx = MEM32(esp + 0x24); /* 0x4703C3F3: mov ecx, dword ptr [esp + 0x24] */
   1576     PUSH32(esp, eax); /* 0x4703C3F7: push eax */
   1577     edx = esp + 0x34; /* 0x4703C3F8: lea edx, [esp + 0x34] */
   1578     PUSH32(esp, edx); /* 0x4703C3FC: push edx */
   1579     edx = MEM32(esp + 0x28); /* 0x4703C3FD: mov edx, dword ptr [esp + 0x28] */
   1580     eax = esp + 0x34; /* 0x4703C401: lea eax, [esp + 0x34] */
   1581     PUSH32(esp, eax); /* 0x4703C405: push eax */
   1582     PUSH32(esp, ecx); /* 0x4703C406: push ecx */
   1583     PUSH32(esp, edx); /* 0x4703C407: push edx */
   1584     PUSH32(esp, edi); /* 0x4703C408: push edi */
   1585     RECOMP_ICALL(MEM32(0x470AC4B4)); /* 0x4703C409: call dword ptr [0x470ac4b4] */
   1586     RECOMP_FLAGS_IN();
   1587     ecx = MEM32(esp + 0x24); /* 0x4703C40F: mov ecx, dword ptr [esp + 0x24] */
   1588     edx = MEM32(esp + 0x1C); /* 0x4703C413: mov edx, dword ptr [esp + 0x1c] */
   1589     MEM32(ebx) = ecx; /* 0x4703C417: mov dword ptr [ebx], ecx */
   1590     ecx = MEM32(esp + 0x20); /* 0x4703C419: mov ecx, dword ptr [esp + 0x20] */
   1591     MEM32(edx) = ecx; /* 0x4703C41D: mov dword ptr [edx], ecx */
   1592     edx = MEM32(esp + 0xC); /* 0x4703C41F: mov edx, dword ptr [esp + 0xc] */
   1593     edi = POP32_VAL(esp); /* 0x4703C423: pop edi */
   1594     MEM32(esi + 0x8) = edx; /* 0x4703C424: mov dword ptr [esi + 8], edx */
   1595     esi = POP32_VAL(esp); /* 0x4703C427: pop esi */
   1596     ebx = POP32_VAL(esp); /* 0x4703C428: pop ebx */
   1597     ecx = POP32_VAL(esp); /* 0x4703C429: pop ecx */
   1598     RECOMP_FLAGS_OUT(); esp += 32; { RECOMP_REGS_OUT(); return; } /* 0x4703C42A: ret 0x1c */
   1599     RECOMP_REGS_OUT();
   1600 }
   1601 
   1602 void sub_4703C430(void) {
   1603     int _fpu_cmp = 0;
   1604     uint32_t _cf = 0;
   1605     int _df = 1;
   1606     uint32_t _flag_k = FK_NONE;
   1607     uint32_t _flag_a = 0, _flag_b = 0;
   1608     uint32_t _itail_tgt = 0;
   1609     RECOMP_REGS_LOCALS
   1610     RECOMP_ENTER(0x4703C430u);
   1611 
   1612 L_4703C430:
   1613     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1614     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1615     esp = esp - 8; /* 0x4703C430: sub esp, 8 */
   1616     _flag_k = FK_CMP;
   1617     eax = MEM32(esp + 0x10); /* 0x4703C433: mov eax, dword ptr [esp + 0x10] */
   1618     PUSH32(esp, esi); /* 0x4703C437: push esi */
   1619     esi = MEM32(esp + 0x18); /* 0x4703C438: mov esi, dword ptr [esp + 0x18] */
   1620     edx = MEM32(esi); /* 0x4703C43C: mov edx, dword ptr [esi] */
   1621     PUSH32(esp, edi); /* 0x4703C43E: push edi */
   1622     edi = ecx; /* 0x4703C43F: mov edi, ecx */
   1623     ecx = MEM32(esp + 0x14); /* 0x4703C441: mov ecx, dword ptr [esp + 0x14] */
   1624     MEM32(esp + 0xC) = ecx; /* 0x4703C445: mov dword ptr [esp + 0xc], ecx */
   1625     ecx = esi; /* 0x4703C449: mov ecx, esi */
   1626     MEM32(esp + 0x8) = eax; /* 0x4703C44B: mov dword ptr [esp + 8], eax */
   1627     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x4703C44F: call dword ptr [edx + 4] */
   1628     RECOMP_FLAGS_IN();
   1629     ecx = MEM32(esi + 0x8); /* 0x4703C452: mov ecx, dword ptr [esi + 8] */
   1630     edx = MEM32(esp + 0x20); /* 0x4703C455: mov edx, dword ptr [esp + 0x20] */
   1631     edi = MEM32(edi); /* 0x4703C459: mov edi, dword ptr [edi] */
   1632     MEM32(esp + 0x18) = ecx; /* 0x4703C45B: mov dword ptr [esp + 0x18], ecx */
   1633     ecx = MEM32(esp + 0x28); /* 0x4703C45F: mov ecx, dword ptr [esp + 0x28] */
   1634     PUSH32(esp, ecx); /* 0x4703C463: push ecx */
   1635     MEM32(esp + 0x18) = edx; /* 0x4703C464: mov dword ptr [esp + 0x18], edx */
   1636     edx = MEM32(esp + 0x28); /* 0x4703C468: mov edx, dword ptr [esp + 0x28] */
   1637     PUSH32(esp, edx); /* 0x4703C46C: push edx */
   1638     ecx = esp + 0x20; /* 0x4703C46D: lea ecx, [esp + 0x20] */
   1639     PUSH32(esp, ecx); /* 0x4703C471: push ecx */
   1640     PUSH32(esp, eax); /* 0x4703C472: push eax */
   1641     edx = esp + 0x24; /* 0x4703C473: lea edx, [esp + 0x24] */
   1642     PUSH32(esp, edx); /* 0x4703C477: push edx */
   1643     eax = esp + 0x30; /* 0x4703C478: lea eax, [esp + 0x30] */
   1644     PUSH32(esp, eax); /* 0x4703C47C: push eax */
   1645     PUSH32(esp, 1); /* 0x4703C47D: push 1 */
   1646     ecx = esp + 0x24; /* 0x4703C47F: lea ecx, [esp + 0x24] */
   1647     PUSH32(esp, ecx); /* 0x4703C483: push ecx */
   1648     PUSH32(esp, edi); /* 0x4703C484: push edi */
   1649     RECOMP_ICALL(MEM32(0x470AC4B4)); /* 0x4703C485: call dword ptr [0x470ac4b4] */
   1650     RECOMP_FLAGS_IN();
   1651     edx = MEM32(esp + 0x18); /* 0x4703C48B: mov edx, dword ptr [esp + 0x18] */
   1652     edi = POP32_VAL(esp); /* 0x4703C48F: pop edi */
   1653     MEM32(esi + 0x8) = edx; /* 0x4703C490: mov dword ptr [esi + 8], edx */
   1654     esi = POP32_VAL(esp); /* 0x4703C493: pop esi */
   1655     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1656     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1657     esp = esp + 8; /* 0x4703C494: add esp, 8 */
   1658     _flag_k = FK_ADD;
   1659     RECOMP_FLAGS_OUT(); esp += 28; { RECOMP_REGS_OUT(); return; } /* 0x4703C497: ret 0x18 */
   1660     RECOMP_REGS_OUT();
   1661 }
   1662 
   1663 void sub_4703C4A0(void) {
   1664     int _fpu_cmp = 0;
   1665     uint32_t _cf = 0;
   1666     int _df = 1;
   1667     uint32_t _flag_k = FK_NONE;
   1668     uint32_t _flag_a = 0, _flag_b = 0;
   1669     uint32_t _itail_tgt = 0;
   1670     RECOMP_REGS_LOCALS
   1671     RECOMP_ENTER(0x4703C4A0u);
   1672 
   1673 L_4703C4A0:
   1674     MEM32(0x4710E588) = 0x47107720u; /* 0x4703C4A0: mov dword ptr [0x4710e588], 0x47107720 */
   1675     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C4AA: ret  */
   1676     RECOMP_REGS_OUT();
   1677 }
   1678 
   1679 void sub_4703C4B0(void) {
   1680     int _fpu_cmp = 0;
   1681     uint32_t _cf = 0;
   1682     int _df = 1;
   1683     uint32_t _flag_k = FK_NONE;
   1684     uint32_t _flag_a = 0, _flag_b = 0;
   1685     uint32_t _itail_tgt = 0;
   1686     RECOMP_REGS_LOCALS
   1687     RECOMP_ENTER(0x4703C4B0u);
   1688 
   1689 L_4703C4B0:
   1690     ecx = 0x4710E5ADu; /* 0x4703C4B0: mov ecx, 0x4710e5ad */
   1691     RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4703C4B5: call dword ptr [0x470ac1c8] */
   1692     RECOMP_FLAGS_IN();
   1693     PUSH32(esp, 0x4703C4D0u); /* 0x4703C4BB: push 0x4703c4d0 */
   1694     RECOMP_ICALL(0x470A32D9u); /* 0x4703C4C0: call 0x470a32d9 */ /* not lifted */
   1695     RECOMP_FLAGS_IN();
   1696     ecx = POP32_VAL(esp); /* 0x4703C4C5: pop ecx */
   1697     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C4C6: ret  */
   1698     RECOMP_REGS_OUT();
   1699 }
   1700 
   1701 void sub_4703C4D0(void) {
   1702     int _fpu_cmp = 0;
   1703     uint32_t _cf = 0;
   1704     int _df = 1;
   1705     uint32_t _flag_k = FK_NONE;
   1706     uint32_t _flag_a = 0, _flag_b = 0;
   1707     uint32_t _itail_tgt = 0;
   1708     RECOMP_REGS_LOCALS
   1709     RECOMP_ENTER(0x4703C4D0u);
   1710 
   1711 L_4703C4D0:
   1712     ecx = 0x4710E5ADu; /* 0x4703C4D0: mov ecx, 0x4710e5ad */
   1713 L_4703C4D5:
   1714     { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; }
   1715     { RECOMP_REGS_OUT(); return; } /* end of function */
   1716   _ljump:
   1717     switch (_itail_tgt) {
   1718       case 0x4703C4D0u: goto L_4703C4D0;
   1719       case 0x4703C4D5u: goto L_4703C4D5;
   1720       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1721     }
   1722     RECOMP_REGS_OUT();
   1723 }
   1724 
   1725 void sub_4703C4E0(void) {
   1726     int _fpu_cmp = 0;
   1727     uint32_t _cf = 0;
   1728     int _df = 1;
   1729     uint32_t _flag_k = FK_NONE;
   1730     uint32_t _flag_a = 0, _flag_b = 0;
   1731     uint32_t _itail_tgt = 0;
   1732     RECOMP_REGS_LOCALS
   1733     RECOMP_ENTER(0x4703C4E0u);
   1734 
   1735 L_4703C4E0:
   1736     ecx = 0x4710E5ACu; /* 0x4703C4E0: mov ecx, 0x4710e5ac */
   1737     RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4703C4E5: call dword ptr [0x470ac1c4] */
   1738     RECOMP_FLAGS_IN();
   1739     PUSH32(esp, 0x4703C500u); /* 0x4703C4EB: push 0x4703c500 */
   1740     RECOMP_ICALL(0x470A32D9u); /* 0x4703C4F0: call 0x470a32d9 */ /* not lifted */
   1741     RECOMP_FLAGS_IN();
   1742     ecx = POP32_VAL(esp); /* 0x4703C4F5: pop ecx */
   1743     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C4F6: ret  */
   1744     RECOMP_REGS_OUT();
   1745 }
   1746 
   1747 void sub_4703C500(void) {
   1748     int _fpu_cmp = 0;
   1749     uint32_t _cf = 0;
   1750     int _df = 1;
   1751     uint32_t _flag_k = FK_NONE;
   1752     uint32_t _flag_a = 0, _flag_b = 0;
   1753     uint32_t _itail_tgt = 0;
   1754     RECOMP_REGS_LOCALS
   1755     RECOMP_ENTER(0x4703C500u);
   1756 
   1757 L_4703C500:
   1758     ecx = 0x4710E5ACu; /* 0x4703C500: mov ecx, 0x4710e5ac */
   1759 L_4703C505:
   1760     { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; }
   1761     { RECOMP_REGS_OUT(); return; } /* end of function */
   1762   _ljump:
   1763     switch (_itail_tgt) {
   1764       case 0x4703C500u: goto L_4703C500;
   1765       case 0x4703C505u: goto L_4703C505;
   1766       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1767     }
   1768     RECOMP_REGS_OUT();
   1769 }
   1770 
   1771 void sub_4703C510(void) {
   1772     int _fpu_cmp = 0;
   1773     uint32_t _cf = 0;
   1774     int _df = 1;
   1775     uint32_t _flag_k = FK_NONE;
   1776     uint32_t _flag_a = 0, _flag_b = 0;
   1777     uint32_t _itail_tgt = 0;
   1778     RECOMP_REGS_LOCALS
   1779     RECOMP_ENTER(0x4703C510u);
   1780 
   1781 L_4703C510:
   1782     MEM32(0x4710E5A4) = 0x47104A3Cu; /* 0x4703C510: mov dword ptr [0x4710e5a4], 0x47104a3c */
   1783     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C51A: ret  */
   1784     RECOMP_REGS_OUT();
   1785 }
   1786 
   1787 void sub_4703C520(void) {
   1788     int _fpu_cmp = 0;
   1789     uint32_t _cf = 0;
   1790     int _df = 1;
   1791     uint32_t _flag_k = FK_NONE;
   1792     uint32_t _flag_a = 0, _flag_b = 0;
   1793     uint32_t _itail_tgt = 0;
   1794     RECOMP_REGS_LOCALS
   1795     RECOMP_ENTER(0x4703C520u);
   1796 
   1797 L_4703C520:
   1798     MEM32(0x4710E5B4) = 0x47104A00u; /* 0x4703C520: mov dword ptr [0x4710e5b4], 0x47104a00 */
   1799     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C52A: ret  */
   1800     RECOMP_REGS_OUT();
   1801 }
   1802 
   1803 void sub_4703C530(void) {
   1804     int _fpu_cmp = 0;
   1805     uint32_t _cf = 0;
   1806     int _df = 1;
   1807     uint32_t _flag_k = FK_NONE;
   1808     uint32_t _flag_a = 0, _flag_b = 0;
   1809     uint32_t _itail_tgt = 0;
   1810     RECOMP_REGS_LOCALS
   1811     RECOMP_ENTER(0x4703C530u);
   1812 
   1813 L_4703C530:
   1814     MEM32(0x4710E5B0) = 0x47104A70u; /* 0x4703C530: mov dword ptr [0x4710e5b0], 0x47104a70 */
   1815     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C53A: ret  */
   1816     RECOMP_REGS_OUT();
   1817 }
   1818 
   1819 void sub_4703C540(void) {
   1820     int _fpu_cmp = 0;
   1821     uint32_t _cf = 0;
   1822     int _df = 1;
   1823     uint32_t _flag_k = FK_NONE;
   1824     uint32_t _flag_a = 0, _flag_b = 0;
   1825     uint32_t _itail_tgt = 0;
   1826     RECOMP_REGS_LOCALS
   1827     RECOMP_ENTER(0x4703C540u);
   1828 
   1829 L_4703C540:
   1830     MEM32(0x4710E5C0) = 0x47104B6Cu; /* 0x4703C540: mov dword ptr [0x4710e5c0], 0x47104b6c */
   1831     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C54A: ret  */
   1832     RECOMP_REGS_OUT();
   1833 }
   1834 
   1835 void sub_4703C550(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(0x4703C550u);
   1844 
   1845 L_4703C550:
   1846     MEM32(0x4710E5A8) = 0x47104BA0u; /* 0x4703C550: mov dword ptr [0x4710e5a8], 0x47104ba0 */
   1847     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C55A: ret  */
   1848     RECOMP_REGS_OUT();
   1849 }
   1850 
   1851 void sub_4703C560(void) {
   1852     int _fpu_cmp = 0;
   1853     uint32_t _cf = 0;
   1854     int _df = 1;
   1855     uint32_t _flag_k = FK_NONE;
   1856     uint32_t _flag_a = 0, _flag_b = 0;
   1857     uint32_t _itail_tgt = 0;
   1858     RECOMP_REGS_LOCALS
   1859     RECOMP_ENTER(0x4703C560u);
   1860 
   1861 L_4703C560:
   1862     MEM32(0x4710E5BC) = 0x47104BD4u; /* 0x4703C560: mov dword ptr [0x4710e5bc], 0x47104bd4 */
   1863     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C56A: ret  */
   1864     RECOMP_REGS_OUT();
   1865 }
   1866 
   1867 void sub_4703C570(void) {
   1868     int _fpu_cmp = 0;
   1869     uint32_t _cf = 0;
   1870     int _df = 1;
   1871     uint32_t _flag_k = FK_NONE;
   1872     uint32_t _flag_a = 0, _flag_b = 0;
   1873     uint32_t _itail_tgt = 0;
   1874     RECOMP_REGS_LOCALS
   1875     RECOMP_ENTER(0x4703C570u);
   1876 
   1877 L_4703C570:
   1878     MEM32(0x4710E5B8) = 0x47107754u; /* 0x4703C570: mov dword ptr [0x4710e5b8], 0x47107754 */
   1879     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C57A: ret  */
   1880     RECOMP_REGS_OUT();
   1881 }
   1882 
   1883 void sub_4703C580(void) {
   1884     int _fpu_cmp = 0;
   1885     uint32_t _cf = 0;
   1886     int _df = 1;
   1887     uint32_t _flag_k = FK_NONE;
   1888     uint32_t _flag_a = 0, _flag_b = 0;
   1889     uint32_t _itail_tgt = 0;
   1890     RECOMP_REGS_LOCALS
   1891     RECOMP_ENTER(0x4703C580u);
   1892 
   1893 L_4703C580:
   1894     ecx = 0x4710E5CDu; /* 0x4703C580: mov ecx, 0x4710e5cd */
   1895     RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4703C585: call dword ptr [0x470ac1c8] */
   1896     RECOMP_FLAGS_IN();
   1897     PUSH32(esp, 0x4703C5A0u); /* 0x4703C58B: push 0x4703c5a0 */
   1898     RECOMP_ICALL(0x470A32D9u); /* 0x4703C590: call 0x470a32d9 */ /* not lifted */
   1899     RECOMP_FLAGS_IN();
   1900     ecx = POP32_VAL(esp); /* 0x4703C595: pop ecx */
   1901     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C596: ret  */
   1902     RECOMP_REGS_OUT();
   1903 }
   1904 
   1905 void sub_4703C5A0(void) {
   1906     int _fpu_cmp = 0;
   1907     uint32_t _cf = 0;
   1908     int _df = 1;
   1909     uint32_t _flag_k = FK_NONE;
   1910     uint32_t _flag_a = 0, _flag_b = 0;
   1911     uint32_t _itail_tgt = 0;
   1912     RECOMP_REGS_LOCALS
   1913     RECOMP_ENTER(0x4703C5A0u);
   1914 
   1915 L_4703C5A0:
   1916     ecx = 0x4710E5CDu; /* 0x4703C5A0: mov ecx, 0x4710e5cd */
   1917 L_4703C5A5:
   1918     { _itail_tgt = (uint32_t)(MEM32(0x470AC1BC)); goto _ljump; }
   1919     { RECOMP_REGS_OUT(); return; } /* end of function */
   1920   _ljump:
   1921     switch (_itail_tgt) {
   1922       case 0x4703C5A0u: goto L_4703C5A0;
   1923       case 0x4703C5A5u: goto L_4703C5A5;
   1924       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1925     }
   1926     RECOMP_REGS_OUT();
   1927 }
   1928 
   1929 void sub_4703C5B0(void) {
   1930     int _fpu_cmp = 0;
   1931     uint32_t _cf = 0;
   1932     int _df = 1;
   1933     uint32_t _flag_k = FK_NONE;
   1934     uint32_t _flag_a = 0, _flag_b = 0;
   1935     uint32_t _itail_tgt = 0;
   1936     RECOMP_REGS_LOCALS
   1937     RECOMP_ENTER(0x4703C5B0u);
   1938 
   1939 L_4703C5B0:
   1940     ecx = 0x4710E5CCu; /* 0x4703C5B0: mov ecx, 0x4710e5cc */
   1941     RECOMP_ICALL(MEM32(0x470AC1C4)); /* 0x4703C5B5: call dword ptr [0x470ac1c4] */
   1942     RECOMP_FLAGS_IN();
   1943     PUSH32(esp, 0x4703C5D0u); /* 0x4703C5BB: push 0x4703c5d0 */
   1944     RECOMP_ICALL(0x470A32D9u); /* 0x4703C5C0: call 0x470a32d9 */ /* not lifted */
   1945     RECOMP_FLAGS_IN();
   1946     ecx = POP32_VAL(esp); /* 0x4703C5C5: pop ecx */
   1947     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C5C6: ret  */
   1948     RECOMP_REGS_OUT();
   1949 }
   1950 
   1951 void sub_4703C5D0(void) {
   1952     int _fpu_cmp = 0;
   1953     uint32_t _cf = 0;
   1954     int _df = 1;
   1955     uint32_t _flag_k = FK_NONE;
   1956     uint32_t _flag_a = 0, _flag_b = 0;
   1957     uint32_t _itail_tgt = 0;
   1958     RECOMP_REGS_LOCALS
   1959     RECOMP_ENTER(0x4703C5D0u);
   1960 
   1961 L_4703C5D0:
   1962     ecx = 0x4710E5CCu; /* 0x4703C5D0: mov ecx, 0x4710e5cc */
   1963 L_4703C5D5:
   1964     { _itail_tgt = (uint32_t)(MEM32(0x470AC1C0)); goto _ljump; }
   1965     { RECOMP_REGS_OUT(); return; } /* end of function */
   1966   _ljump:
   1967     switch (_itail_tgt) {
   1968       case 0x4703C5D0u: goto L_4703C5D0;
   1969       case 0x4703C5D5u: goto L_4703C5D5;
   1970       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1971     }
   1972     RECOMP_REGS_OUT();
   1973 }
   1974 
   1975 void sub_4703C5E0(void) {
   1976     int _fpu_cmp = 0;
   1977     uint32_t _cf = 0;
   1978     int _df = 1;
   1979     uint32_t _flag_k = FK_NONE;
   1980     uint32_t _flag_a = 0, _flag_b = 0;
   1981     uint32_t _itail_tgt = 0;
   1982     RECOMP_REGS_LOCALS
   1983     RECOMP_ENTER(0x4703C5E0u);
   1984 
   1985 L_4703C5E0:
   1986     MEM32(0x4710E5C4) = 0x47104A3Cu; /* 0x4703C5E0: mov dword ptr [0x4710e5c4], 0x47104a3c */
   1987     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C5EA: ret  */
   1988     RECOMP_REGS_OUT();
   1989 }
   1990 
   1991 void sub_4703C5F0(void) {
   1992     int _fpu_cmp = 0;
   1993     uint32_t _cf = 0;
   1994     int _df = 1;
   1995     uint32_t _flag_k = FK_NONE;
   1996     uint32_t _flag_a = 0, _flag_b = 0;
   1997     uint32_t _itail_tgt = 0;
   1998     RECOMP_REGS_LOCALS
   1999     RECOMP_ENTER(0x4703C5F0u);
   2000 
   2001 L_4703C5F0:
   2002     MEM32(0x4710E5D4) = 0x47104A00u; /* 0x4703C5F0: mov dword ptr [0x4710e5d4], 0x47104a00 */
   2003     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C5FA: ret  */
   2004     RECOMP_REGS_OUT();
   2005 }
   2006 
   2007 void sub_4703C600(void) {
   2008     int _fpu_cmp = 0;
   2009     uint32_t _cf = 0;
   2010     int _df = 1;
   2011     uint32_t _flag_k = FK_NONE;
   2012     uint32_t _flag_a = 0, _flag_b = 0;
   2013     uint32_t _itail_tgt = 0;
   2014     RECOMP_REGS_LOCALS
   2015     RECOMP_ENTER(0x4703C600u);
   2016 
   2017 L_4703C600:
   2018     MEM32(0x4710E5D0) = 0x47104A70u; /* 0x4703C600: mov dword ptr [0x4710e5d0], 0x47104a70 */
   2019     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C60A: ret  */
   2020     RECOMP_REGS_OUT();
   2021 }
   2022 
   2023 void sub_4703C610(void) {
   2024     int _fpu_cmp = 0;
   2025     uint32_t _cf = 0;
   2026     int _df = 1;
   2027     uint32_t _flag_k = FK_NONE;
   2028     uint32_t _flag_a = 0, _flag_b = 0;
   2029     uint32_t _itail_tgt = 0;
   2030     RECOMP_REGS_LOCALS
   2031     RECOMP_ENTER(0x4703C610u);
   2032 
   2033 L_4703C610:
   2034     MEM32(0x4710E5E0) = 0x47104B6Cu; /* 0x4703C610: mov dword ptr [0x4710e5e0], 0x47104b6c */
   2035     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C61A: ret  */
   2036     RECOMP_REGS_OUT();
   2037 }
   2038 
   2039 void sub_4703C620(void) {
   2040     int _fpu_cmp = 0;
   2041     uint32_t _cf = 0;
   2042     int _df = 1;
   2043     uint32_t _flag_k = FK_NONE;
   2044     uint32_t _flag_a = 0, _flag_b = 0;
   2045     uint32_t _itail_tgt = 0;
   2046     RECOMP_REGS_LOCALS
   2047     RECOMP_ENTER(0x4703C620u);
   2048 
   2049 L_4703C620:
   2050     MEM32(0x4710E5C8) = 0x47104BA0u; /* 0x4703C620: mov dword ptr [0x4710e5c8], 0x47104ba0 */
   2051     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C62A: ret  */
   2052     RECOMP_REGS_OUT();
   2053 }
   2054 
   2055 void sub_4703C630(void) {
   2056     int _fpu_cmp = 0;
   2057     uint32_t _cf = 0;
   2058     int _df = 1;
   2059     uint32_t _flag_k = FK_NONE;
   2060     uint32_t _flag_a = 0, _flag_b = 0;
   2061     uint32_t _itail_tgt = 0;
   2062     RECOMP_REGS_LOCALS
   2063     RECOMP_ENTER(0x4703C630u);
   2064 
   2065 L_4703C630:
   2066     MEM32(0x4710E5D8) = 0x47104BD4u; /* 0x4703C630: mov dword ptr [0x4710e5d8], 0x47104bd4 */
   2067     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C63A: ret  */
   2068     RECOMP_REGS_OUT();
   2069 }
   2070 
   2071 void sub_4703C640(void) {
   2072     int _fpu_cmp = 0;
   2073     uint32_t _cf = 0;
   2074     int _df = 1;
   2075     uint32_t _flag_k = FK_NONE;
   2076     uint32_t _flag_a = 0, _flag_b = 0;
   2077     uint32_t _itail_tgt = 0;
   2078     RECOMP_REGS_LOCALS
   2079     RECOMP_ENTER(0x4703C640u);
   2080 
   2081 L_4703C640:
   2082     MEM32(0x4710E5DC) = 0x4710778Cu; /* 0x4703C640: mov dword ptr [0x4710e5dc], 0x4710778c */
   2083     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C64A: ret  */
   2084     RECOMP_REGS_OUT();
   2085 }
   2086 
   2087 void sub_4703C650(void) {
   2088     int _fpu_cmp = 0;
   2089     uint32_t _cf = 0;
   2090     int _df = 1;
   2091     uint32_t _flag_k = FK_NONE;
   2092     uint32_t _flag_a = 0, _flag_b = 0;
   2093     uint32_t _itail_tgt = 0;
   2094     RECOMP_REGS_LOCALS
   2095     RECOMP_ENTER(0x4703C650u);
   2096 
   2097 L_4703C650:
   2098     PUSH32(esp, ecx); /* 0x4703C650: push ecx */
   2099     PUSH32(esp, ebx); /* 0x4703C651: push ebx */
   2100     ebx = MEM32(0x470AC150); /* 0x4703C652: mov ebx, dword ptr [0x470ac150] */
   2101     PUSH32(esp, ebp); /* 0x4703C658: push ebp */
   2102     PUSH32(esp, esi); /* 0x4703C659: push esi */
   2103     PUSH32(esp, edi); /* 0x4703C65A: push edi */
   2104     edi = ecx; /* 0x4703C65B: mov edi, ecx */
   2105     RECOMP_ICALL(ebx); /* 0x4703C65D: call ebx */
   2106     RECOMP_FLAGS_IN();
   2107     ebp = MEM32(0x470AC3C8); /* 0x4703C65F: mov ebp, dword ptr [0x470ac3c8] */
   2108     esi = eax; /* 0x4703C665: mov esi, eax */
   2109     RECOMP_ICALL(ebp); /* 0x4703C667: call ebp */
   2110     RECOMP_FLAGS_IN();
   2111     eax = MEM32(eax); /* 0x4703C669: mov eax, dword ptr [eax] */
   2112     /* test eax, eax */ /* 0x4703C66B: test eax, eax */
   2113     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2114     _cf = 0;
   2115     _flag_k = FK_TEST;
   2116     MEM32(esp + 0x10) = esi; /* 0x4703C66D: mov dword ptr [esp + 0x10], esi */
   2117     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C677; /* 0x4703C671: je 0x4703c677 */
   2118 L_4703C673:
   2119     MEM32(esp + 0x10) = eax; /* 0x4703C673: mov dword ptr [esp + 0x10], eax */
   2120 L_4703C677:
   2121     RECOMP_ICALL(0x47039020u); /* 0x4703C677: call 0x47039020 */ /* not lifted */
   2122     RECOMP_FLAGS_IN();
   2123     esi = eax; /* 0x4703C67C: mov esi, eax */
   2124     ecx = esi; /* 0x4703C67E: mov ecx, esi */
   2125     RECOMP_ICALL(0x4703B210u); /* 0x4703C680: call 0x4703b210 */ /* not lifted */
   2126     RECOMP_FLAGS_IN();
   2127     PUSH32(esp, eax); /* 0x4703C685: push eax */
   2128     ecx = esi; /* 0x4703C686: mov ecx, esi */
   2129     RECOMP_ICALL(0x4703B240u); /* 0x4703C688: call 0x4703b240 */ /* not lifted */
   2130     RECOMP_FLAGS_IN();
   2131     PUSH32(esp, eax); /* 0x4703C68D: push eax */
   2132     ecx = esi; /* 0x4703C68E: mov ecx, esi */
   2133     RECOMP_ICALL(0x4703B080u); /* 0x4703C690: call 0x4703b080 */ /* not lifted */
   2134     RECOMP_FLAGS_IN();
   2135     PUSH32(esp, eax); /* 0x4703C695: push eax */
   2136     eax = MEM32(esp + 0x1C); /* 0x4703C696: mov eax, dword ptr [esp + 0x1c] */
   2137     PUSH32(esp, eax); /* 0x4703C69A: push eax */
   2138     PUSH32(esp, 0); /* 0x4703C69B: push 0 */
   2139     PUSH32(esp, 0x1Fu); /* 0x4703C69D: push 0x1f */
   2140     PUSH32(esp, 0x471077E0u); /* 0x4703C69F: push 0x471077e0 */
   2141     ecx = esi; /* 0x4703C6A4: mov ecx, esi */
   2142     RECOMP_ICALL(0x4703A340u); /* 0x4703C6A6: call 0x4703a340 */ /* not lifted */
   2143     RECOMP_FLAGS_IN();
   2144     PUSH32(esp, edi); /* 0x4703C6AB: push edi */
   2145     PUSH32(esp, 0x471052CCu); /* 0x4703C6AC: push 0x471052cc */
   2146     PUSH32(esp, 4); /* 0x4703C6B1: push 4 */
   2147     PUSH32(esp, esi); /* 0x4703C6B3: push esi */
   2148     RECOMP_ICALL(0x47039830u); /* 0x4703C6B4: call 0x47039830 */ /* not lifted */
   2149     RECOMP_FLAGS_IN();
   2150     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2151     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2152     esp = esp + 0x10u; /* 0x4703C6B9: add esp, 0x10 */
   2153     _flag_k = FK_ADD;
   2154     RECOMP_ICALL(ebx); /* 0x4703C6BC: call ebx */
   2155     RECOMP_FLAGS_IN();
   2156     esi = eax; /* 0x4703C6BE: mov esi, eax */
   2157     RECOMP_ICALL(ebp); /* 0x4703C6C0: call ebp */
   2158     RECOMP_FLAGS_IN();
   2159     eax = MEM32(eax); /* 0x4703C6C2: mov eax, dword ptr [eax] */
   2160     /* test eax, eax */ /* 0x4703C6C4: test eax, eax */
   2161     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2162     _cf = 0;
   2163     _flag_k = FK_TEST;
   2164     MEM32(esp + 0x10) = esi; /* 0x4703C6C6: mov dword ptr [esp + 0x10], esi */
   2165     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C6D0; /* 0x4703C6CA: je 0x4703c6d0 */
   2166 L_4703C6CC:
   2167     MEM32(esp + 0x10) = eax; /* 0x4703C6CC: mov dword ptr [esp + 0x10], eax */
   2168 L_4703C6D0:
   2169     RECOMP_ICALL(0x47039020u); /* 0x4703C6D0: call 0x47039020 */ /* not lifted */
   2170     RECOMP_FLAGS_IN();
   2171     esi = eax; /* 0x4703C6D5: mov esi, eax */
   2172     ecx = esi; /* 0x4703C6D7: mov ecx, esi */
   2173     RECOMP_ICALL(0x4703B210u); /* 0x4703C6D9: call 0x4703b210 */ /* not lifted */
   2174     RECOMP_FLAGS_IN();
   2175     PUSH32(esp, eax); /* 0x4703C6DE: push eax */
   2176     ecx = esi; /* 0x4703C6DF: mov ecx, esi */
   2177     RECOMP_ICALL(0x4703B240u); /* 0x4703C6E1: call 0x4703b240 */ /* not lifted */
   2178     RECOMP_FLAGS_IN();
   2179     PUSH32(esp, eax); /* 0x4703C6E6: push eax */
   2180     ecx = esi; /* 0x4703C6E7: mov ecx, esi */
   2181     RECOMP_ICALL(0x4703B080u); /* 0x4703C6E9: call 0x4703b080 */ /* not lifted */
   2182     RECOMP_FLAGS_IN();
   2183     ecx = MEM32(esp + 0x18); /* 0x4703C6EE: mov ecx, dword ptr [esp + 0x18] */
   2184     PUSH32(esp, eax); /* 0x4703C6F2: push eax */
   2185     PUSH32(esp, ecx); /* 0x4703C6F3: push ecx */
   2186     PUSH32(esp, 0); /* 0x4703C6F4: push 0 */
   2187     PUSH32(esp, 0x20u); /* 0x4703C6F6: push 0x20 */
   2188     PUSH32(esp, 0x471077E0u); /* 0x4703C6F8: push 0x471077e0 */
   2189     ecx = esi; /* 0x4703C6FD: mov ecx, esi */
   2190     RECOMP_ICALL(0x4703A340u); /* 0x4703C6FF: call 0x4703a340 */ /* not lifted */
   2191     RECOMP_FLAGS_IN();
   2192     edx = MEM32(edi); /* 0x4703C704: mov edx, dword ptr [edi] */
   2193     PUSH32(esp, edx); /* 0x4703C706: push edx */
   2194     PUSH32(esp, 0x471077CCu); /* 0x4703C707: push 0x471077cc */
   2195     PUSH32(esp, 4); /* 0x4703C70C: push 4 */
   2196     PUSH32(esp, esi); /* 0x4703C70E: push esi */
   2197     RECOMP_ICALL(0x47039830u); /* 0x4703C70F: call 0x47039830 */ /* not lifted */
   2198     RECOMP_FLAGS_IN();
   2199     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2200     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2201     esp = esp + 0x10u; /* 0x4703C714: add esp, 0x10 */
   2202     _flag_k = FK_ADD;
   2203     RECOMP_ICALL(ebx); /* 0x4703C717: call ebx */
   2204     RECOMP_FLAGS_IN();
   2205     esi = eax; /* 0x4703C719: mov esi, eax */
   2206     RECOMP_ICALL(ebp); /* 0x4703C71B: call ebp */
   2207     RECOMP_FLAGS_IN();
   2208     eax = MEM32(eax); /* 0x4703C71D: mov eax, dword ptr [eax] */
   2209     /* test eax, eax */ /* 0x4703C71F: test eax, eax */
   2210     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2211     _cf = 0;
   2212     _flag_k = FK_TEST;
   2213     MEM32(esp + 0x10) = esi; /* 0x4703C721: mov dword ptr [esp + 0x10], esi */
   2214     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C72B; /* 0x4703C725: je 0x4703c72b */
   2215 L_4703C727:
   2216     MEM32(esp + 0x10) = eax; /* 0x4703C727: mov dword ptr [esp + 0x10], eax */
   2217 L_4703C72B:
   2218     RECOMP_ICALL(0x47039020u); /* 0x4703C72B: call 0x47039020 */ /* not lifted */
   2219     RECOMP_FLAGS_IN();
   2220     esi = eax; /* 0x4703C730: mov esi, eax */
   2221     ecx = esi; /* 0x4703C732: mov ecx, esi */
   2222     RECOMP_ICALL(0x4703B210u); /* 0x4703C734: call 0x4703b210 */ /* not lifted */
   2223     RECOMP_FLAGS_IN();
   2224     PUSH32(esp, eax); /* 0x4703C739: push eax */
   2225     ecx = esi; /* 0x4703C73A: mov ecx, esi */
   2226     RECOMP_ICALL(0x4703B240u); /* 0x4703C73C: call 0x4703b240 */ /* not lifted */
   2227     RECOMP_FLAGS_IN();
   2228     PUSH32(esp, eax); /* 0x4703C741: push eax */
   2229     ecx = esi; /* 0x4703C742: mov ecx, esi */
   2230     RECOMP_ICALL(0x4703B080u); /* 0x4703C744: call 0x4703b080 */ /* not lifted */
   2231     RECOMP_FLAGS_IN();
   2232     PUSH32(esp, eax); /* 0x4703C749: push eax */
   2233     eax = MEM32(esp + 0x1C); /* 0x4703C74A: mov eax, dword ptr [esp + 0x1c] */
   2234     PUSH32(esp, eax); /* 0x4703C74E: push eax */
   2235     PUSH32(esp, 0); /* 0x4703C74F: push 0 */
   2236     PUSH32(esp, 0x21u); /* 0x4703C751: push 0x21 */
   2237     PUSH32(esp, 0x471077E0u); /* 0x4703C753: push 0x471077e0 */
   2238     ecx = esi; /* 0x4703C758: mov ecx, esi */
   2239     RECOMP_ICALL(0x4703A340u); /* 0x4703C75A: call 0x4703a340 */ /* not lifted */
   2240     RECOMP_FLAGS_IN();
   2241     ecx = MEM32(edi + 0x4); /* 0x4703C75F: mov ecx, dword ptr [edi + 4] */
   2242     PUSH32(esp, ecx); /* 0x4703C762: push ecx */
   2243     PUSH32(esp, 0x471077C0u); /* 0x4703C763: push 0x471077c0 */
   2244     PUSH32(esp, 4); /* 0x4703C768: push 4 */
   2245     PUSH32(esp, esi); /* 0x4703C76A: push esi */
   2246     RECOMP_ICALL(0x47039830u); /* 0x4703C76B: call 0x47039830 */ /* not lifted */
   2247     RECOMP_FLAGS_IN();
   2248     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2249     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2250     esp = esp + 0x10u; /* 0x4703C770: add esp, 0x10 */
   2251     _flag_k = FK_ADD;
   2252     RECOMP_ICALL(ebx); /* 0x4703C773: call ebx */
   2253     RECOMP_FLAGS_IN();
   2254     esi = eax; /* 0x4703C775: mov esi, eax */
   2255     RECOMP_ICALL(ebp); /* 0x4703C777: call ebp */
   2256     RECOMP_FLAGS_IN();
   2257     eax = MEM32(eax); /* 0x4703C779: mov eax, dword ptr [eax] */
   2258     /* test eax, eax */ /* 0x4703C77B: test eax, eax */
   2259     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2260     _cf = 0;
   2261     _flag_k = FK_TEST;
   2262     edi = esi; /* 0x4703C77D: mov edi, esi */
   2263     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C783; /* 0x4703C77F: je 0x4703c783 */
   2264 L_4703C781:
   2265     edi = eax; /* 0x4703C781: mov edi, eax */
   2266 L_4703C783:
   2267     RECOMP_ICALL(0x47039020u); /* 0x4703C783: call 0x47039020 */ /* not lifted */
   2268     RECOMP_FLAGS_IN();
   2269     esi = eax; /* 0x4703C788: mov esi, eax */
   2270     ecx = esi; /* 0x4703C78A: mov ecx, esi */
   2271     RECOMP_ICALL(0x4703B210u); /* 0x4703C78C: call 0x4703b210 */ /* not lifted */
   2272     RECOMP_FLAGS_IN();
   2273     PUSH32(esp, eax); /* 0x4703C791: push eax */
   2274     ecx = esi; /* 0x4703C792: mov ecx, esi */
   2275     RECOMP_ICALL(0x4703B240u); /* 0x4703C794: call 0x4703b240 */ /* not lifted */
   2276     RECOMP_FLAGS_IN();
   2277     PUSH32(esp, eax); /* 0x4703C799: push eax */
   2278     ecx = esi; /* 0x4703C79A: mov ecx, esi */
   2279     RECOMP_ICALL(0x4703B080u); /* 0x4703C79C: call 0x4703b080 */ /* not lifted */
   2280     RECOMP_FLAGS_IN();
   2281     PUSH32(esp, eax); /* 0x4703C7A1: push eax */
   2282     PUSH32(esp, edi); /* 0x4703C7A2: push edi */
   2283     PUSH32(esp, 0); /* 0x4703C7A3: push 0 */
   2284     PUSH32(esp, 0x22u); /* 0x4703C7A5: push 0x22 */
   2285     PUSH32(esp, 0x471077E0u); /* 0x4703C7A7: push 0x471077e0 */
   2286     ecx = esi; /* 0x4703C7AC: mov ecx, esi */
   2287     RECOMP_ICALL(0x4703A340u); /* 0x4703C7AE: call 0x4703a340 */ /* not lifted */
   2288     RECOMP_FLAGS_IN();
   2289     PUSH32(esp, 0x4710529Cu); /* 0x4703C7B3: push 0x4710529c */
   2290     PUSH32(esp, 4); /* 0x4703C7B8: push 4 */
   2291     PUSH32(esp, esi); /* 0x4703C7BA: push esi */
   2292     RECOMP_ICALL(0x47039830u); /* 0x4703C7BB: call 0x47039830 */ /* not lifted */
   2293     RECOMP_FLAGS_IN();
   2294     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2295     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2296     esp = esp + 0xCu; /* 0x4703C7C0: add esp, 0xc */
   2297     _flag_k = FK_ADD;
   2298     edi = POP32_VAL(esp); /* 0x4703C7C3: pop edi */
   2299     esi = POP32_VAL(esp); /* 0x4703C7C4: pop esi */
   2300     ebp = POP32_VAL(esp); /* 0x4703C7C5: pop ebp */
   2301     ebx = POP32_VAL(esp); /* 0x4703C7C6: pop ebx */
   2302     ecx = POP32_VAL(esp); /* 0x4703C7C7: pop ecx */
   2303     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C7C8: ret  */
   2304     RECOMP_REGS_OUT();
   2305 }
   2306 
   2307 void sub_4703C7D0(void) {
   2308     int _fpu_cmp = 0;
   2309     uint32_t _cf = 0;
   2310     int _df = 1;
   2311     uint32_t _flag_k = FK_NONE;
   2312     uint32_t _flag_a = 0, _flag_b = 0;
   2313     uint32_t _itail_tgt = 0;
   2314     RECOMP_REGS_LOCALS
   2315     RECOMP_ENTER(0x4703C7D0u);
   2316 
   2317 L_4703C7D0:
   2318     PUSH32(esp, ebx); /* 0x4703C7D0: push ebx */
   2319     PUSH32(esp, ebp); /* 0x4703C7D1: push ebp */
   2320     PUSH32(esp, esi); /* 0x4703C7D2: push esi */
   2321     PUSH32(esp, edi); /* 0x4703C7D3: push edi */
   2322     edi = MEM32(0x470AC150); /* 0x4703C7D4: mov edi, dword ptr [0x470ac150] */
   2323     RECOMP_ICALL(edi); /* 0x4703C7DA: call edi */
   2324     RECOMP_FLAGS_IN();
   2325     ebx = MEM32(0x470AC3C8); /* 0x4703C7DC: mov ebx, dword ptr [0x470ac3c8] */
   2326     ebp = eax; /* 0x4703C7E2: mov ebp, eax */
   2327     RECOMP_ICALL(ebx); /* 0x4703C7E4: call ebx */
   2328     RECOMP_FLAGS_IN();
   2329     eax = MEM32(eax); /* 0x4703C7E6: mov eax, dword ptr [eax] */
   2330     /* test eax, eax */ /* 0x4703C7E8: test eax, eax */
   2331     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2332     _cf = 0;
   2333     _flag_k = FK_TEST;
   2334     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C7EE; /* 0x4703C7EA: je 0x4703c7ee */
   2335 L_4703C7EC:
   2336     ebp = eax; /* 0x4703C7EC: mov ebp, eax */
   2337 L_4703C7EE:
   2338     RECOMP_ICALL(0x47039020u); /* 0x4703C7EE: call 0x47039020 */ /* not lifted */
   2339     RECOMP_FLAGS_IN();
   2340     esi = eax; /* 0x4703C7F3: mov esi, eax */
   2341     ecx = esi; /* 0x4703C7F5: mov ecx, esi */
   2342     RECOMP_ICALL(0x4703B210u); /* 0x4703C7F7: call 0x4703b210 */ /* not lifted */
   2343     RECOMP_FLAGS_IN();
   2344     PUSH32(esp, eax); /* 0x4703C7FC: push eax */
   2345     ecx = esi; /* 0x4703C7FD: mov ecx, esi */
   2346     RECOMP_ICALL(0x4703B240u); /* 0x4703C7FF: call 0x4703b240 */ /* not lifted */
   2347     RECOMP_FLAGS_IN();
   2348     PUSH32(esp, eax); /* 0x4703C804: push eax */
   2349     ecx = esi; /* 0x4703C805: mov ecx, esi */
   2350     RECOMP_ICALL(0x4703B080u); /* 0x4703C807: call 0x4703b080 */ /* not lifted */
   2351     RECOMP_FLAGS_IN();
   2352     PUSH32(esp, eax); /* 0x4703C80C: push eax */
   2353     PUSH32(esp, ebp); /* 0x4703C80D: push ebp */
   2354     PUSH32(esp, 0); /* 0x4703C80E: push 0 */
   2355     PUSH32(esp, 0x29u); /* 0x4703C810: push 0x29 */
   2356     PUSH32(esp, 0x471077E0u); /* 0x4703C812: push 0x471077e0 */
   2357     ecx = esi; /* 0x4703C817: mov ecx, esi */
   2358     RECOMP_ICALL(0x4703A340u); /* 0x4703C819: call 0x4703a340 */ /* not lifted */
   2359     RECOMP_FLAGS_IN();
   2360     PUSH32(esp, 0x47107990u); /* 0x4703C81E: push 0x47107990 */
   2361     PUSH32(esp, 4); /* 0x4703C823: push 4 */
   2362     PUSH32(esp, esi); /* 0x4703C825: push esi */
   2363     RECOMP_ICALL(0x47039830u); /* 0x4703C826: call 0x47039830 */ /* not lifted */
   2364     RECOMP_FLAGS_IN();
   2365     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2366     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2367     esp = esp + 0xCu; /* 0x4703C82B: add esp, 0xc */
   2368     _flag_k = FK_ADD;
   2369     RECOMP_ICALL(edi); /* 0x4703C82E: call edi */
   2370     RECOMP_FLAGS_IN();
   2371     ebp = eax; /* 0x4703C830: mov ebp, eax */
   2372     RECOMP_ICALL(ebx); /* 0x4703C832: call ebx */
   2373     RECOMP_FLAGS_IN();
   2374     eax = MEM32(eax); /* 0x4703C834: mov eax, dword ptr [eax] */
   2375     /* test eax, eax */ /* 0x4703C836: test eax, eax */
   2376     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2377     _cf = 0;
   2378     _flag_k = FK_TEST;
   2379     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C83C; /* 0x4703C838: je 0x4703c83c */
   2380 L_4703C83A:
   2381     ebp = eax; /* 0x4703C83A: mov ebp, eax */
   2382 L_4703C83C:
   2383     RECOMP_ICALL(0x47039020u); /* 0x4703C83C: call 0x47039020 */ /* not lifted */
   2384     RECOMP_FLAGS_IN();
   2385     esi = eax; /* 0x4703C841: mov esi, eax */
   2386     ecx = esi; /* 0x4703C843: mov ecx, esi */
   2387     RECOMP_ICALL(0x4703B210u); /* 0x4703C845: call 0x4703b210 */ /* not lifted */
   2388     RECOMP_FLAGS_IN();
   2389     PUSH32(esp, eax); /* 0x4703C84A: push eax */
   2390     ecx = esi; /* 0x4703C84B: mov ecx, esi */
   2391     RECOMP_ICALL(0x4703B240u); /* 0x4703C84D: call 0x4703b240 */ /* not lifted */
   2392     RECOMP_FLAGS_IN();
   2393     PUSH32(esp, eax); /* 0x4703C852: push eax */
   2394     ecx = esi; /* 0x4703C853: mov ecx, esi */
   2395     RECOMP_ICALL(0x4703B080u); /* 0x4703C855: call 0x4703b080 */ /* not lifted */
   2396     RECOMP_FLAGS_IN();
   2397     PUSH32(esp, eax); /* 0x4703C85A: push eax */
   2398     PUSH32(esp, ebp); /* 0x4703C85B: push ebp */
   2399     PUSH32(esp, 0); /* 0x4703C85C: push 0 */
   2400     PUSH32(esp, 0x43u); /* 0x4703C85E: push 0x43 */
   2401     PUSH32(esp, 0x471077E0u); /* 0x4703C860: push 0x471077e0 */
   2402     ecx = esi; /* 0x4703C865: mov ecx, esi */
   2403     RECOMP_ICALL(0x4703A340u); /* 0x4703C867: call 0x4703a340 */ /* not lifted */
   2404     RECOMP_FLAGS_IN();
   2405     PUSH32(esp, 0x11Cu); /* 0x4703C86C: push 0x11c */
   2406     PUSH32(esp, 0xCu); /* 0x4703C871: push 0xc */
   2407     PUSH32(esp, 1); /* 0x4703C873: push 1 */
   2408     PUSH32(esp, 0x10Cu); /* 0x4703C875: push 0x10c */
   2409     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703C87A: push -1 */
   2410     PUSH32(esp, 4); /* 0x4703C87C: push 4 */
   2411     PUSH32(esp, 1); /* 0x4703C87E: push 1 */
   2412     PUSH32(esp, 4); /* 0x4703C880: push 4 */
   2413     PUSH32(esp, 8); /* 0x4703C882: push 8 */
   2414     PUSH32(esp, 4); /* 0x4703C884: push 4 */
   2415     PUSH32(esp, 4); /* 0x4703C886: push 4 */
   2416     PUSH32(esp, 4); /* 0x4703C888: push 4 */
   2417     PUSH32(esp, 0x4710784Cu); /* 0x4703C88A: push 0x4710784c */
   2418     PUSH32(esp, 4); /* 0x4703C88F: push 4 */
   2419     PUSH32(esp, esi); /* 0x4703C891: push esi */
   2420     RECOMP_ICALL(0x47039830u); /* 0x4703C892: call 0x47039830 */ /* not lifted */
   2421     RECOMP_FLAGS_IN();
   2422     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu);
   2423     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2424     esp = esp + 0x3Cu; /* 0x4703C897: add esp, 0x3c */
   2425     _flag_k = FK_ADD;
   2426     RECOMP_ICALL(edi); /* 0x4703C89A: call edi */
   2427     RECOMP_FLAGS_IN();
   2428     esi = eax; /* 0x4703C89C: mov esi, eax */
   2429     RECOMP_ICALL(ebx); /* 0x4703C89E: call ebx */
   2430     RECOMP_FLAGS_IN();
   2431     eax = MEM32(eax); /* 0x4703C8A0: mov eax, dword ptr [eax] */
   2432     /* test eax, eax */ /* 0x4703C8A2: test eax, eax */
   2433     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2434     _cf = 0;
   2435     _flag_k = FK_TEST;
   2436     edi = esi; /* 0x4703C8A4: mov edi, esi */
   2437     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C8AA; /* 0x4703C8A6: je 0x4703c8aa */
   2438 L_4703C8A8:
   2439     edi = eax; /* 0x4703C8A8: mov edi, eax */
   2440 L_4703C8AA:
   2441     RECOMP_ICALL(0x47039020u); /* 0x4703C8AA: call 0x47039020 */ /* not lifted */
   2442     RECOMP_FLAGS_IN();
   2443     esi = eax; /* 0x4703C8AF: mov esi, eax */
   2444     ecx = esi; /* 0x4703C8B1: mov ecx, esi */
   2445     RECOMP_ICALL(0x4703B210u); /* 0x4703C8B3: call 0x4703b210 */ /* not lifted */
   2446     RECOMP_FLAGS_IN();
   2447     PUSH32(esp, eax); /* 0x4703C8B8: push eax */
   2448     ecx = esi; /* 0x4703C8B9: mov ecx, esi */
   2449     RECOMP_ICALL(0x4703B240u); /* 0x4703C8BB: call 0x4703b240 */ /* not lifted */
   2450     RECOMP_FLAGS_IN();
   2451     PUSH32(esp, eax); /* 0x4703C8C0: push eax */
   2452     ecx = esi; /* 0x4703C8C1: mov ecx, esi */
   2453     RECOMP_ICALL(0x4703B080u); /* 0x4703C8C3: call 0x4703b080 */ /* not lifted */
   2454     RECOMP_FLAGS_IN();
   2455     PUSH32(esp, eax); /* 0x4703C8C8: push eax */
   2456     PUSH32(esp, edi); /* 0x4703C8C9: push edi */
   2457     PUSH32(esp, 0); /* 0x4703C8CA: push 0 */
   2458     PUSH32(esp, 0x44u); /* 0x4703C8CC: push 0x44 */
   2459     PUSH32(esp, 0x471077E0u); /* 0x4703C8CE: push 0x471077e0 */
   2460     ecx = esi; /* 0x4703C8D3: mov ecx, esi */
   2461     RECOMP_ICALL(0x4703A340u); /* 0x4703C8D5: call 0x4703a340 */ /* not lifted */
   2462     RECOMP_FLAGS_IN();
   2463     PUSH32(esp, 0x47107818u); /* 0x4703C8DA: push 0x47107818 */
   2464     PUSH32(esp, 4); /* 0x4703C8DF: push 4 */
   2465     PUSH32(esp, esi); /* 0x4703C8E1: push esi */
   2466     RECOMP_ICALL(0x47039830u); /* 0x4703C8E2: call 0x47039830 */ /* not lifted */
   2467     RECOMP_FLAGS_IN();
   2468     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2469     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2470     esp = esp + 0xCu; /* 0x4703C8E7: add esp, 0xc */
   2471     _flag_k = FK_ADD;
   2472     edi = POP32_VAL(esp); /* 0x4703C8EA: pop edi */
   2473     esi = POP32_VAL(esp); /* 0x4703C8EB: pop esi */
   2474     ebp = POP32_VAL(esp); /* 0x4703C8EC: pop ebp */
   2475     ebx = POP32_VAL(esp); /* 0x4703C8ED: pop ebx */
   2476     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703C8EE: ret  */
   2477     RECOMP_REGS_OUT();
   2478 }
   2479 
   2480 void sub_4703C8F0(void) {
   2481     int _fpu_cmp = 0;
   2482     uint32_t _cf = 0;
   2483     int _df = 1;
   2484     uint32_t _flag_k = FK_NONE;
   2485     uint32_t _flag_a = 0, _flag_b = 0;
   2486     uint32_t _itail_tgt = 0;
   2487     RECOMP_REGS_LOCALS
   2488     RECOMP_ENTER(0x4703C8F0u);
   2489 
   2490 L_4703C8F0:
   2491     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2493     esp = esp - 8; /* 0x4703C8F0: sub esp, 8 */
   2494     _flag_k = FK_CMP;
   2495     PUSH32(esp, ebx); /* 0x4703C8F3: push ebx */
   2496     ebx = MEM32(0x470AC150); /* 0x4703C8F4: mov ebx, dword ptr [0x470ac150] */
   2497     PUSH32(esp, ebp); /* 0x4703C8FA: push ebp */
   2498     PUSH32(esp, esi); /* 0x4703C8FB: push esi */
   2499     PUSH32(esp, edi); /* 0x4703C8FC: push edi */
   2500     edi = ecx; /* 0x4703C8FD: mov edi, ecx */
   2501     RECOMP_ICALL(ebx); /* 0x4703C8FF: call ebx */
   2502     RECOMP_FLAGS_IN();
   2503     ebp = MEM32(0x470AC3C8); /* 0x4703C901: mov ebp, dword ptr [0x470ac3c8] */
   2504     esi = eax; /* 0x4703C907: mov esi, eax */
   2505     RECOMP_ICALL(ebp); /* 0x4703C909: call ebp */
   2506     RECOMP_FLAGS_IN();
   2507     eax = MEM32(eax); /* 0x4703C90B: mov eax, dword ptr [eax] */
   2508     /* test eax, eax */ /* 0x4703C90D: test eax, eax */
   2509     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2510     _cf = 0;
   2511     _flag_k = FK_TEST;
   2512     MEM32(esp + 0x10) = esi; /* 0x4703C90F: mov dword ptr [esp + 0x10], esi */
   2513     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C919; /* 0x4703C913: je 0x4703c919 */
   2514 L_4703C915:
   2515     MEM32(esp + 0x10) = eax; /* 0x4703C915: mov dword ptr [esp + 0x10], eax */
   2516 L_4703C919:
   2517     RECOMP_ICALL(0x47039020u); /* 0x4703C919: call 0x47039020 */ /* not lifted */
   2518     RECOMP_FLAGS_IN();
   2519     esi = eax; /* 0x4703C91E: mov esi, eax */
   2520     ecx = esi; /* 0x4703C920: mov ecx, esi */
   2521     RECOMP_ICALL(0x4703B210u); /* 0x4703C922: call 0x4703b210 */ /* not lifted */
   2522     RECOMP_FLAGS_IN();
   2523     PUSH32(esp, eax); /* 0x4703C927: push eax */
   2524     ecx = esi; /* 0x4703C928: mov ecx, esi */
   2525     RECOMP_ICALL(0x4703B240u); /* 0x4703C92A: call 0x4703b240 */ /* not lifted */
   2526     RECOMP_FLAGS_IN();
   2527     PUSH32(esp, eax); /* 0x4703C92F: push eax */
   2528     ecx = esi; /* 0x4703C930: mov ecx, esi */
   2529     RECOMP_ICALL(0x4703B080u); /* 0x4703C932: call 0x4703b080 */ /* not lifted */
   2530     RECOMP_FLAGS_IN();
   2531     PUSH32(esp, eax); /* 0x4703C937: push eax */
   2532     eax = MEM32(esp + 0x1C); /* 0x4703C938: mov eax, dword ptr [esp + 0x1c] */
   2533     PUSH32(esp, eax); /* 0x4703C93C: push eax */
   2534     PUSH32(esp, 0); /* 0x4703C93D: push 0 */
   2535     PUSH32(esp, 0x4Cu); /* 0x4703C93F: push 0x4c */
   2536     PUSH32(esp, 0x471077E0u); /* 0x4703C941: push 0x471077e0 */
   2537     ecx = esi; /* 0x4703C946: mov ecx, esi */
   2538     RECOMP_ICALL(0x4703A340u); /* 0x4703C948: call 0x4703a340 */ /* not lifted */
   2539     RECOMP_FLAGS_IN();
   2540     PUSH32(esp, edi); /* 0x4703C94D: push edi */
   2541     PUSH32(esp, 0x471052CCu); /* 0x4703C94E: push 0x471052cc */
   2542     PUSH32(esp, 4); /* 0x4703C953: push 4 */
   2543     PUSH32(esp, esi); /* 0x4703C955: push esi */
   2544     RECOMP_ICALL(0x47039830u); /* 0x4703C956: call 0x47039830 */ /* not lifted */
   2545     RECOMP_FLAGS_IN();
   2546     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2547     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2548     esp = esp + 0x10u; /* 0x4703C95B: add esp, 0x10 */
   2549     _flag_k = FK_ADD;
   2550     RECOMP_ICALL(ebx); /* 0x4703C95E: call ebx */
   2551     RECOMP_FLAGS_IN();
   2552     esi = eax; /* 0x4703C960: mov esi, eax */
   2553     RECOMP_ICALL(ebp); /* 0x4703C962: call ebp */
   2554     RECOMP_FLAGS_IN();
   2555     eax = MEM32(eax); /* 0x4703C964: mov eax, dword ptr [eax] */
   2556     /* test eax, eax */ /* 0x4703C966: test eax, eax */
   2557     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2558     _cf = 0;
   2559     _flag_k = FK_TEST;
   2560     MEM32(esp + 0x10) = esi; /* 0x4703C968: mov dword ptr [esp + 0x10], esi */
   2561     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C972; /* 0x4703C96C: je 0x4703c972 */
   2562 L_4703C96E:
   2563     MEM32(esp + 0x10) = eax; /* 0x4703C96E: mov dword ptr [esp + 0x10], eax */
   2564 L_4703C972:
   2565     RECOMP_ICALL(0x47039020u); /* 0x4703C972: call 0x47039020 */ /* not lifted */
   2566     RECOMP_FLAGS_IN();
   2567     esi = eax; /* 0x4703C977: mov esi, eax */
   2568     ecx = esi; /* 0x4703C979: mov ecx, esi */
   2569     RECOMP_ICALL(0x4703B210u); /* 0x4703C97B: call 0x4703b210 */ /* not lifted */
   2570     RECOMP_FLAGS_IN();
   2571     PUSH32(esp, eax); /* 0x4703C980: push eax */
   2572     ecx = esi; /* 0x4703C981: mov ecx, esi */
   2573     RECOMP_ICALL(0x4703B240u); /* 0x4703C983: call 0x4703b240 */ /* not lifted */
   2574     RECOMP_FLAGS_IN();
   2575     PUSH32(esp, eax); /* 0x4703C988: push eax */
   2576     ecx = esi; /* 0x4703C989: mov ecx, esi */
   2577     RECOMP_ICALL(0x4703B080u); /* 0x4703C98B: call 0x4703b080 */ /* not lifted */
   2578     RECOMP_FLAGS_IN();
   2579     ecx = MEM32(esp + 0x18); /* 0x4703C990: mov ecx, dword ptr [esp + 0x18] */
   2580     PUSH32(esp, eax); /* 0x4703C994: push eax */
   2581     PUSH32(esp, ecx); /* 0x4703C995: push ecx */
   2582     PUSH32(esp, 0); /* 0x4703C996: push 0 */
   2583     PUSH32(esp, 0x4Du); /* 0x4703C998: push 0x4d */
   2584     PUSH32(esp, 0x471077E0u); /* 0x4703C99A: push 0x471077e0 */
   2585     ecx = esi; /* 0x4703C99F: mov ecx, esi */
   2586     RECOMP_ICALL(0x4703A340u); /* 0x4703C9A1: call 0x4703a340 */ /* not lifted */
   2587     RECOMP_FLAGS_IN();
   2588     PUSH32(esp, 0x471079E8u); /* 0x4703C9A6: push 0x471079e8 */
   2589     PUSH32(esp, 4); /* 0x4703C9AB: push 4 */
   2590     PUSH32(esp, esi); /* 0x4703C9AD: push esi */
   2591     RECOMP_ICALL(0x47039830u); /* 0x4703C9AE: call 0x47039830 */ /* not lifted */
   2592     RECOMP_FLAGS_IN();
   2593     esi = MEM32(edi); /* 0x4703C9B3: mov esi, dword ptr [edi] */
   2594     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2595     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2596     esp = esp + 0xCu; /* 0x4703C9B5: add esp, 0xc */
   2597     _flag_k = FK_ADD;
   2598     /* test esi, esi */ /* 0x4703C9B8: test esi, esi */
   2599     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2600     _cf = 0;
   2601     _flag_k = FK_TEST;
   2602     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C9CA; /* 0x4703C9BA: je 0x4703c9ca */
   2603 L_4703C9BC:
   2604     ecx = esi; /* 0x4703C9BC: mov ecx, esi */
   2605     RECOMP_ICALL(0x4703CCB0u); /* 0x4703C9BE: call 0x4703ccb0 */ /* not lifted */
   2606     RECOMP_FLAGS_IN();
   2607     esi = MEM32(esi + 0x8); /* 0x4703C9C3: mov esi, dword ptr [esi + 8] */
   2608     /* test esi, esi */ /* 0x4703C9C6: test esi, esi */
   2609     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2610     _cf = 0;
   2611     _flag_k = FK_TEST;
   2612     RECOMP_BACKEDGE();
   2613     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703C9BC; /* 0x4703C9C8: jne 0x4703c9bc */
   2614 L_4703C9CA:
   2615     RECOMP_ICALL(ebx); /* 0x4703C9CA: call ebx */
   2616     RECOMP_FLAGS_IN();
   2617     esi = eax; /* 0x4703C9CC: mov esi, eax */
   2618     RECOMP_ICALL(ebp); /* 0x4703C9CE: call ebp */
   2619     RECOMP_FLAGS_IN();
   2620     eax = MEM32(eax); /* 0x4703C9D0: mov eax, dword ptr [eax] */
   2621     /* test eax, eax */ /* 0x4703C9D2: test eax, eax */
   2622     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2623     _cf = 0;
   2624     _flag_k = FK_TEST;
   2625     MEM32(esp + 0x10) = esi; /* 0x4703C9D4: mov dword ptr [esp + 0x10], esi */
   2626     if (TEST_Z(_flag_a, _flag_b)) goto L_4703C9DE; /* 0x4703C9D8: je 0x4703c9de */
   2627 L_4703C9DA:
   2628     MEM32(esp + 0x10) = eax; /* 0x4703C9DA: mov dword ptr [esp + 0x10], eax */
   2629 L_4703C9DE:
   2630     RECOMP_ICALL(0x47039020u); /* 0x4703C9DE: call 0x47039020 */ /* not lifted */
   2631     RECOMP_FLAGS_IN();
   2632     esi = eax; /* 0x4703C9E3: mov esi, eax */
   2633     ecx = esi; /* 0x4703C9E5: mov ecx, esi */
   2634     RECOMP_ICALL(0x4703B210u); /* 0x4703C9E7: call 0x4703b210 */ /* not lifted */
   2635     RECOMP_FLAGS_IN();
   2636     PUSH32(esp, eax); /* 0x4703C9EC: push eax */
   2637     ecx = esi; /* 0x4703C9ED: mov ecx, esi */
   2638     RECOMP_ICALL(0x4703B240u); /* 0x4703C9EF: call 0x4703b240 */ /* not lifted */
   2639     RECOMP_FLAGS_IN();
   2640     PUSH32(esp, eax); /* 0x4703C9F4: push eax */
   2641     ecx = esi; /* 0x4703C9F5: mov ecx, esi */
   2642     RECOMP_ICALL(0x4703B080u); /* 0x4703C9F7: call 0x4703b080 */ /* not lifted */
   2643     RECOMP_FLAGS_IN();
   2644     edx = MEM32(esp + 0x18); /* 0x4703C9FC: mov edx, dword ptr [esp + 0x18] */
   2645     PUSH32(esp, eax); /* 0x4703CA00: push eax */
   2646     PUSH32(esp, edx); /* 0x4703CA01: push edx */
   2647     PUSH32(esp, 0); /* 0x4703CA02: push 0 */
   2648     PUSH32(esp, 0x53u); /* 0x4703CA04: push 0x53 */
   2649     PUSH32(esp, 0x471077E0u); /* 0x4703CA06: push 0x471077e0 */
   2650     ecx = esi; /* 0x4703CA0B: mov ecx, esi */
   2651     RECOMP_ICALL(0x4703A340u); /* 0x4703CA0D: call 0x4703a340 */ /* not lifted */
   2652     RECOMP_FLAGS_IN();
   2653     eax = MEM32(edi + 0x4); /* 0x4703CA12: mov eax, dword ptr [edi + 4] */
   2654     PUSH32(esp, eax); /* 0x4703CA15: push eax */
   2655     PUSH32(esp, 0x471079DCu); /* 0x4703CA16: push 0x471079dc */
   2656     PUSH32(esp, 4); /* 0x4703CA1B: push 4 */
   2657     PUSH32(esp, esi); /* 0x4703CA1D: push esi */
   2658     RECOMP_ICALL(0x47039830u); /* 0x4703CA1E: call 0x47039830 */ /* not lifted */
   2659     RECOMP_FLAGS_IN();
   2660     ecx = edi + 0x110; /* 0x4703CA23: lea ecx, [edi + 0x110] */
   2661     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2662     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2663     esp = esp + 0x10u; /* 0x4703CA29: add esp, 0x10 */
   2664     _flag_k = FK_ADD;
   2665     MEM32(esp + 0x14) = ecx; /* 0x4703CA2C: mov dword ptr [esp + 0x14], ecx */
   2666     RECOMP_ICALL(0x4703C650u); /* 0x4703CA30: call 0x4703c650 */ /* not lifted */
   2667     RECOMP_FLAGS_IN();
   2668     RECOMP_ICALL(ebx); /* 0x4703CA35: call ebx */
   2669     RECOMP_FLAGS_IN();
   2670     esi = eax; /* 0x4703CA37: mov esi, eax */
   2671     RECOMP_ICALL(ebp); /* 0x4703CA39: call ebp */
   2672     RECOMP_FLAGS_IN();
   2673     eax = MEM32(eax); /* 0x4703CA3B: mov eax, dword ptr [eax] */
   2674     /* test eax, eax */ /* 0x4703CA3D: test eax, eax */
   2675     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2676     _cf = 0;
   2677     _flag_k = FK_TEST;
   2678     MEM32(esp + 0x10) = esi; /* 0x4703CA3F: mov dword ptr [esp + 0x10], esi */
   2679     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CA49; /* 0x4703CA43: je 0x4703ca49 */
   2680 L_4703CA45:
   2681     MEM32(esp + 0x10) = eax; /* 0x4703CA45: mov dword ptr [esp + 0x10], eax */
   2682 L_4703CA49:
   2683     RECOMP_ICALL(0x47039020u); /* 0x4703CA49: call 0x47039020 */ /* not lifted */
   2684     RECOMP_FLAGS_IN();
   2685     esi = eax; /* 0x4703CA4E: mov esi, eax */
   2686     ecx = esi; /* 0x4703CA50: mov ecx, esi */
   2687     RECOMP_ICALL(0x4703B210u); /* 0x4703CA52: call 0x4703b210 */ /* not lifted */
   2688     RECOMP_FLAGS_IN();
   2689     PUSH32(esp, eax); /* 0x4703CA57: push eax */
   2690     ecx = esi; /* 0x4703CA58: mov ecx, esi */
   2691     RECOMP_ICALL(0x4703B240u); /* 0x4703CA5A: call 0x4703b240 */ /* not lifted */
   2692     RECOMP_FLAGS_IN();
   2693     PUSH32(esp, eax); /* 0x4703CA5F: push eax */
   2694     ecx = esi; /* 0x4703CA60: mov ecx, esi */
   2695     RECOMP_ICALL(0x4703B080u); /* 0x4703CA62: call 0x4703b080 */ /* not lifted */
   2696     RECOMP_FLAGS_IN();
   2697     ecx = MEM32(esp + 0x18); /* 0x4703CA67: mov ecx, dword ptr [esp + 0x18] */
   2698     PUSH32(esp, eax); /* 0x4703CA6B: push eax */
   2699     PUSH32(esp, ecx); /* 0x4703CA6C: push ecx */
   2700     PUSH32(esp, 0); /* 0x4703CA6D: push 0 */
   2701     PUSH32(esp, 0x56u); /* 0x4703CA6F: push 0x56 */
   2702     PUSH32(esp, 0x471077E0u); /* 0x4703CA71: push 0x471077e0 */
   2703     ecx = esi; /* 0x4703CA76: mov ecx, esi */
   2704     RECOMP_ICALL(0x4703A340u); /* 0x4703CA78: call 0x4703a340 */ /* not lifted */
   2705     RECOMP_FLAGS_IN();
   2706     PUSH32(esp, 0x471079C8u); /* 0x4703CA7D: push 0x471079c8 */
   2707     PUSH32(esp, 4); /* 0x4703CA82: push 4 */
   2708     PUSH32(esp, esi); /* 0x4703CA84: push esi */
   2709     RECOMP_ICALL(0x47039830u); /* 0x4703CA85: call 0x47039830 */ /* not lifted */
   2710     RECOMP_FLAGS_IN();
   2711     edx = MEM32(edi + 0x4); /* 0x4703CA8A: mov edx, dword ptr [edi + 4] */
   2712     esi = MEM32(edx); /* 0x4703CA8D: mov esi, dword ptr [edx] */
   2713     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2714     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2715     esp = esp + 0xCu; /* 0x4703CA8F: add esp, 0xc */
   2716     _flag_k = FK_ADD;
   2717     /* test esi, esi */ /* 0x4703CA92: test esi, esi */
   2718     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2719     _cf = 0;
   2720     _flag_k = FK_TEST;
   2721     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CAA9; /* 0x4703CA94: je 0x4703caa9 */
   2722 L_4703CA96:
   2723     /* cmp esi, MEM32(esp + 0x14) */ /* 0x4703CA96: cmp esi, dword ptr [esp + 0x14] */
   2724     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(esp + 0x14));
   2725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2726     _flag_k = FK_CMP;
   2727     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703CAA9; /* 0x4703CA9A: je 0x4703caa9 */
   2728 L_4703CA9C:
   2729     ecx = esi; /* 0x4703CA9C: mov ecx, esi */
   2730     RECOMP_ICALL(0x4703C650u); /* 0x4703CA9E: call 0x4703c650 */ /* not lifted */
   2731     RECOMP_FLAGS_IN();
   2732     esi = MEM32(esi); /* 0x4703CAA3: mov esi, dword ptr [esi] */
   2733     /* test esi, esi */ /* 0x4703CAA5: test esi, esi */
   2734     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2735     _cf = 0;
   2736     _flag_k = FK_TEST;
   2737     RECOMP_BACKEDGE();
   2738     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703CA96; /* 0x4703CAA7: jne 0x4703ca96 */
   2739 L_4703CAA9:
   2740     RECOMP_ICALL(ebx); /* 0x4703CAA9: call ebx */
   2741     RECOMP_FLAGS_IN();
   2742     edi = eax; /* 0x4703CAAB: mov edi, eax */
   2743     RECOMP_ICALL(ebp); /* 0x4703CAAD: call ebp */
   2744     RECOMP_FLAGS_IN();
   2745     eax = MEM32(eax); /* 0x4703CAAF: mov eax, dword ptr [eax] */
   2746     /* test eax, eax */ /* 0x4703CAB1: test eax, eax */
   2747     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2748     _cf = 0;
   2749     _flag_k = FK_TEST;
   2750     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CAB7; /* 0x4703CAB3: je 0x4703cab7 */
   2751 L_4703CAB5:
   2752     edi = eax; /* 0x4703CAB5: mov edi, eax */
   2753 L_4703CAB7:
   2754     RECOMP_ICALL(0x47039020u); /* 0x4703CAB7: call 0x47039020 */ /* not lifted */
   2755     RECOMP_FLAGS_IN();
   2756     esi = eax; /* 0x4703CABC: mov esi, eax */
   2757     ecx = esi; /* 0x4703CABE: mov ecx, esi */
   2758     RECOMP_ICALL(0x4703B210u); /* 0x4703CAC0: call 0x4703b210 */ /* not lifted */
   2759     RECOMP_FLAGS_IN();
   2760     PUSH32(esp, eax); /* 0x4703CAC5: push eax */
   2761     ecx = esi; /* 0x4703CAC6: mov ecx, esi */
   2762     RECOMP_ICALL(0x4703B240u); /* 0x4703CAC8: call 0x4703b240 */ /* not lifted */
   2763     RECOMP_FLAGS_IN();
   2764     PUSH32(esp, eax); /* 0x4703CACD: push eax */
   2765     ecx = esi; /* 0x4703CACE: mov ecx, esi */
   2766     RECOMP_ICALL(0x4703B080u); /* 0x4703CAD0: call 0x4703b080 */ /* not lifted */
   2767     RECOMP_FLAGS_IN();
   2768     PUSH32(esp, eax); /* 0x4703CAD5: push eax */
   2769     PUSH32(esp, edi); /* 0x4703CAD6: push edi */
   2770     PUSH32(esp, 0); /* 0x4703CAD7: push 0 */
   2771     PUSH32(esp, 0x5Cu); /* 0x4703CAD9: push 0x5c */
   2772     PUSH32(esp, 0x471077E0u); /* 0x4703CADB: push 0x471077e0 */
   2773     ecx = esi; /* 0x4703CAE0: mov ecx, esi */
   2774     RECOMP_ICALL(0x4703A340u); /* 0x4703CAE2: call 0x4703a340 */ /* not lifted */
   2775     RECOMP_FLAGS_IN();
   2776     PUSH32(esp, 0x47105590u); /* 0x4703CAE7: push 0x47105590 */
   2777     PUSH32(esp, 4); /* 0x4703CAEC: push 4 */
   2778     PUSH32(esp, esi); /* 0x4703CAEE: push esi */
   2779     RECOMP_ICALL(0x47039830u); /* 0x4703CAEF: call 0x47039830 */ /* not lifted */
   2780     RECOMP_FLAGS_IN();
   2781     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2782     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2783     esp = esp + 0xCu; /* 0x4703CAF4: add esp, 0xc */
   2784     _flag_k = FK_ADD;
   2785     RECOMP_ICALL(ebx); /* 0x4703CAF7: call ebx */
   2786     RECOMP_FLAGS_IN();
   2787     esi = eax; /* 0x4703CAF9: mov esi, eax */
   2788     RECOMP_ICALL(ebp); /* 0x4703CAFB: call ebp */
   2789     RECOMP_FLAGS_IN();
   2790     eax = MEM32(eax); /* 0x4703CAFD: mov eax, dword ptr [eax] */
   2791     /* test eax, eax */ /* 0x4703CAFF: test eax, eax */
   2792     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2793     _cf = 0;
   2794     _flag_k = FK_TEST;
   2795     edi = esi; /* 0x4703CB01: mov edi, esi */
   2796     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CB07; /* 0x4703CB03: je 0x4703cb07 */
   2797 L_4703CB05:
   2798     edi = eax; /* 0x4703CB05: mov edi, eax */
   2799 L_4703CB07:
   2800     RECOMP_ICALL(0x47039020u); /* 0x4703CB07: call 0x47039020 */ /* not lifted */
   2801     RECOMP_FLAGS_IN();
   2802     esi = eax; /* 0x4703CB0C: mov esi, eax */
   2803     ecx = esi; /* 0x4703CB0E: mov ecx, esi */
   2804     RECOMP_ICALL(0x4703B210u); /* 0x4703CB10: call 0x4703b210 */ /* not lifted */
   2805     RECOMP_FLAGS_IN();
   2806     PUSH32(esp, eax); /* 0x4703CB15: push eax */
   2807     ecx = esi; /* 0x4703CB16: mov ecx, esi */
   2808     RECOMP_ICALL(0x4703B240u); /* 0x4703CB18: call 0x4703b240 */ /* not lifted */
   2809     RECOMP_FLAGS_IN();
   2810     PUSH32(esp, eax); /* 0x4703CB1D: push eax */
   2811     ecx = esi; /* 0x4703CB1E: mov ecx, esi */
   2812     RECOMP_ICALL(0x4703B080u); /* 0x4703CB20: call 0x4703b080 */ /* not lifted */
   2813     RECOMP_FLAGS_IN();
   2814     PUSH32(esp, eax); /* 0x4703CB25: push eax */
   2815     PUSH32(esp, edi); /* 0x4703CB26: push edi */
   2816     PUSH32(esp, 0); /* 0x4703CB27: push 0 */
   2817     PUSH32(esp, 0x5Du); /* 0x4703CB29: push 0x5d */
   2818     PUSH32(esp, 0x471077E0u); /* 0x4703CB2B: push 0x471077e0 */
   2819     ecx = esi; /* 0x4703CB30: mov ecx, esi */
   2820     RECOMP_ICALL(0x4703A340u); /* 0x4703CB32: call 0x4703a340 */ /* not lifted */
   2821     RECOMP_FLAGS_IN();
   2822     PUSH32(esp, 0x4710529Cu); /* 0x4703CB37: push 0x4710529c */
   2823     PUSH32(esp, 4); /* 0x4703CB3C: push 4 */
   2824     PUSH32(esp, esi); /* 0x4703CB3E: push esi */
   2825     RECOMP_ICALL(0x47039830u); /* 0x4703CB3F: call 0x47039830 */ /* not lifted */
   2826     RECOMP_FLAGS_IN();
   2827     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2828     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2829     esp = esp + 0xCu; /* 0x4703CB44: add esp, 0xc */
   2830     _flag_k = FK_ADD;
   2831     edi = POP32_VAL(esp); /* 0x4703CB47: pop edi */
   2832     esi = POP32_VAL(esp); /* 0x4703CB48: pop esi */
   2833     ebp = POP32_VAL(esp); /* 0x4703CB49: pop ebp */
   2834     ebx = POP32_VAL(esp); /* 0x4703CB4A: pop ebx */
   2835     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2836     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2837     esp = esp + 8; /* 0x4703CB4B: add esp, 8 */
   2838     _flag_k = FK_ADD;
   2839     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703CB4E: ret  */
   2840     RECOMP_REGS_OUT();
   2841 }
   2842 
   2843 void sub_4703CB50(void) {
   2844     int _fpu_cmp = 0;
   2845     uint32_t _cf = 0;
   2846     int _df = 1;
   2847     uint32_t _flag_k = FK_NONE;
   2848     uint32_t _flag_a = 0, _flag_b = 0;
   2849     uint32_t _itail_tgt = 0;
   2850     RECOMP_REGS_LOCALS
   2851     RECOMP_ENTER(0x4703CB50u);
   2852 
   2853 L_4703CB50:
   2854     eax = MEM32(esp + 0xC); /* 0x4703CB50: mov eax, dword ptr [esp + 0xc] */
   2855     edx = ecx; /* 0x4703CB54: mov edx, ecx */
   2856     PUSH32(esp, ebx); /* 0x4703CB56: push ebx */
   2857     ebx = MEM32(esp + 0x14); /* 0x4703CB57: mov ebx, dword ptr [esp + 0x14] */
   2858     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2859     ecx = ecx | 0xFFFFFFFFu; /* 0x4703CB5B: or ecx, 0xffffffff */
   2860     _cf = 0;
   2861     _flag_k = FK_TEST;
   2862     PUSH32(esp, ebp); /* 0x4703CB5E: push ebp */
   2863     ebp = MEM32(esp + 0x10); /* 0x4703CB5F: mov ebp, dword ptr [esp + 0x10] */
   2864     PUSH32(esp, esi); /* 0x4703CB63: push esi */
   2865     PUSH32(esp, edi); /* 0x4703CB64: push edi */
   2866     edi = MEM32(esp + 0x14); /* 0x4703CB65: mov edi, dword ptr [esp + 0x14] */
   2867     MEM32(edx + 0x4) = eax; /* 0x4703CB69: mov dword ptr [edx + 4], eax */
   2868     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2869     eax = 0; /* 0x4703CB6C: xor eax, eax */
   2870     _cf = 0;
   2871     _flag_k = FK_TEST;
   2872     MEM32(edx) = ebp; /* 0x4703CB6E: mov dword ptr [edx], ebp */
   2873     MEM32(edx + 0x8) = ebx; /* 0x4703CB70: mov dword ptr [edx + 8], ebx */
   2874     MEM32(edx + 0xC) = 0; /* 0x4703CB73: mov dword ptr [edx + 0xc], 0 */
   2875     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x4703CB7A: repne scasb al, byte ptr es:[edi] */
   2876     ecx = ~ecx; /* 0x4703CB7C: not ecx */
   2877     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2879     edi = edi - ecx; /* 0x4703CB7E: sub edi, ecx */
   2880     _flag_k = FK_CMP;
   2881     eax = ecx; /* 0x4703CB80: mov eax, ecx */
   2882     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x4703CB82: shr ecx, 2 */
   2883     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2884     ecx = ecx >> 2u; /* 0x4703CB82: shr ecx, 2 */
   2885     esi = edi; /* 0x4703CB85: mov esi, edi */
   2886     edi = ebp; /* 0x4703CB87: mov edi, ebp */
   2887     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x4703CB89: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2888     ecx = eax; /* 0x4703CB8B: mov ecx, eax */
   2889     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2890     ecx = ecx & 3; /* 0x4703CB8D: and ecx, 3 */
   2891     _cf = 0;
   2892     _flag_k = FK_TEST;
   2893     /* test ebx, ebx */ /* 0x4703CB90: test ebx, ebx */
   2894     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   2895     _cf = 0;
   2896     _flag_k = FK_TEST;
   2897     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x4703CB92: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2898     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CB99; /* 0x4703CB94: je 0x4703cb99 */
   2899 L_4703CB96:
   2900     MEM32(ebx + 0xC) = edx; /* 0x4703CB96: mov dword ptr [ebx + 0xc], edx */
   2901 L_4703CB99:
   2902     edi = POP32_VAL(esp); /* 0x4703CB99: pop edi */
   2903     esi = POP32_VAL(esp); /* 0x4703CB9A: pop esi */
   2904     ebp = POP32_VAL(esp); /* 0x4703CB9B: pop ebp */
   2905     eax = edx; /* 0x4703CB9C: mov eax, edx */
   2906     ebx = POP32_VAL(esp); /* 0x4703CB9E: pop ebx */
   2907     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4703CB9F: ret 0x10 */
   2908     RECOMP_REGS_OUT();
   2909 }
   2910 
   2911 void sub_4703CBB0(void) {
   2912     int _fpu_cmp = 0;
   2913     uint32_t _cf = 0;
   2914     int _df = 1;
   2915     uint32_t _flag_k = FK_NONE;
   2916     uint32_t _flag_a = 0, _flag_b = 0;
   2917     uint32_t _itail_tgt = 0;
   2918     RECOMP_REGS_LOCALS
   2919     RECOMP_ENTER(0x4703CBB0u);
   2920 
   2921 L_4703CBB0:
   2922     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2923     eax = 0; /* 0x4703CBB0: xor eax, eax */
   2924     _cf = 0;
   2925     _flag_k = FK_TEST;
   2926     /* cmp eax, 0x47107A0Cu */ /* 0x4703CBB2: cmp eax, 0x47107a0c */
   2927     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x47107A0Cu);
   2928     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2929     _flag_k = FK_CMP;
   2930     PUSH32(esp, ebx); /* 0x4703CBB7: push ebx */
   2931     ebx = ecx; /* 0x4703CBB8: mov ebx, ecx */
   2932     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703CC26; /* 0x4703CBBA: je 0x4703cc26 */
   2933 L_4703CBBC:
   2934     PUSH32(esp, esi); /* 0x4703CBBC: push esi */
   2935     PUSH32(esp, edi); /* 0x4703CBBD: push edi */
   2936     RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4703CBBE: call dword ptr [0x470ac150] */
   2937     RECOMP_FLAGS_IN();
   2938     edi = eax; /* 0x4703CBC4: mov edi, eax */
   2939     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703CBC6: call dword ptr [0x470ac3c8] */
   2940     RECOMP_FLAGS_IN();
   2941     eax = MEM32(eax); /* 0x4703CBCC: mov eax, dword ptr [eax] */
   2942     /* test eax, eax */ /* 0x4703CBCE: test eax, eax */
   2943     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2944     _cf = 0;
   2945     _flag_k = FK_TEST;
   2946     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CBD4; /* 0x4703CBD0: je 0x4703cbd4 */
   2947 L_4703CBD2:
   2948     edi = eax; /* 0x4703CBD2: mov edi, eax */
   2949 L_4703CBD4:
   2950     RECOMP_ICALL(0x47039020u); /* 0x4703CBD4: call 0x47039020 */ /* not lifted */
   2951     RECOMP_FLAGS_IN();
   2952     esi = eax; /* 0x4703CBD9: mov esi, eax */
   2953     ecx = esi; /* 0x4703CBDB: mov ecx, esi */
   2954     RECOMP_ICALL(0x4703B210u); /* 0x4703CBDD: call 0x4703b210 */ /* not lifted */
   2955     RECOMP_FLAGS_IN();
   2956     PUSH32(esp, eax); /* 0x4703CBE2: push eax */
   2957     ecx = esi; /* 0x4703CBE3: mov ecx, esi */
   2958     RECOMP_ICALL(0x4703B240u); /* 0x4703CBE5: call 0x4703b240 */ /* not lifted */
   2959     RECOMP_FLAGS_IN();
   2960     PUSH32(esp, eax); /* 0x4703CBEA: push eax */
   2961     ecx = esi; /* 0x4703CBEB: mov ecx, esi */
   2962     RECOMP_ICALL(0x4703B080u); /* 0x4703CBED: call 0x4703b080 */ /* not lifted */
   2963     RECOMP_FLAGS_IN();
   2964     PUSH32(esp, eax); /* 0x4703CBF2: push eax */
   2965     PUSH32(esp, edi); /* 0x4703CBF3: push edi */
   2966     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703CBF4: push -1 */
   2967     PUSH32(esp, 0x79u); /* 0x4703CBF6: push 0x79 */
   2968     PUSH32(esp, 0x471077E0u); /* 0x4703CBF8: push 0x471077e0 */
   2969     ecx = esi; /* 0x4703CBFD: mov ecx, esi */
   2970     RECOMP_ICALL(0x4703A340u); /* 0x4703CBFF: call 0x4703a340 */ /* not lifted */
   2971     RECOMP_FLAGS_IN();
   2972     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703CC04: push -1 */
   2973     PUSH32(esp, 0x471079F4u); /* 0x4703CC06: push 0x471079f4 */
   2974     PUSH32(esp, 0x47104AA4u); /* 0x4703CC0B: push 0x47104aa4 */
   2975     PUSH32(esp, 0x80u); /* 0x4703CC10: push 0x80 */
   2976     PUSH32(esp, esi); /* 0x4703CC15: push esi */
   2977     RECOMP_ICALL(0x47039830u); /* 0x4703CC16: call 0x47039830 */ /* not lifted */
   2978     RECOMP_FLAGS_IN();
   2979     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   2980     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2981     esp = esp + 0x14u; /* 0x4703CC1B: add esp, 0x14 */
   2982     _flag_k = FK_ADD;
   2983     edi = POP32_VAL(esp); /* 0x4703CC1E: pop edi */
   2984     esi = POP32_VAL(esp); /* 0x4703CC1F: pop esi */
   2985     eax = ebx; /* 0x4703CC20: mov eax, ebx */
   2986     ebx = POP32_VAL(esp); /* 0x4703CC22: pop ebx */
   2987     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703CC23: ret 4 */
   2988 L_4703CC26:
   2989     eax = ebx; /* 0x4703CC26: mov eax, ebx */
   2990     ebx = POP32_VAL(esp); /* 0x4703CC28: pop ebx */
   2991     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703CC29: ret 4 */
   2992     RECOMP_REGS_OUT();
   2993 }
   2994 
   2995 void sub_4703CC30(void) {
   2996     int _fpu_cmp = 0;
   2997     uint32_t _cf = 0;
   2998     int _df = 1;
   2999     uint32_t _flag_k = FK_NONE;
   3000     uint32_t _flag_a = 0, _flag_b = 0;
   3001     uint32_t _itail_tgt = 0;
   3002     RECOMP_REGS_LOCALS
   3003     RECOMP_ENTER(0x4703CC30u);
   3004 
   3005 L_4703CC30:
   3006     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3007     eax = 0; /* 0x4703CC30: xor eax, eax */
   3008     _cf = 0;
   3009     _flag_k = FK_TEST;
   3010     /* cmp eax, 0x47107A0Cu */ /* 0x4703CC32: cmp eax, 0x47107a0c */
   3011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x47107A0Cu);
   3012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3013     _flag_k = FK_CMP;
   3014     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703CCA0; /* 0x4703CC37: je 0x4703cca0 */
   3015 L_4703CC39:
   3016     PUSH32(esp, esi); /* 0x4703CC39: push esi */
   3017     PUSH32(esp, edi); /* 0x4703CC3A: push edi */
   3018     RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4703CC3B: call dword ptr [0x470ac150] */
   3019     RECOMP_FLAGS_IN();
   3020     edi = eax; /* 0x4703CC41: mov edi, eax */
   3021     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703CC43: call dword ptr [0x470ac3c8] */
   3022     RECOMP_FLAGS_IN();
   3023     eax = MEM32(eax); /* 0x4703CC49: mov eax, dword ptr [eax] */
   3024     /* test eax, eax */ /* 0x4703CC4B: test eax, eax */
   3025     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3026     _cf = 0;
   3027     _flag_k = FK_TEST;
   3028     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CC51; /* 0x4703CC4D: je 0x4703cc51 */
   3029 L_4703CC4F:
   3030     edi = eax; /* 0x4703CC4F: mov edi, eax */
   3031 L_4703CC51:
   3032     RECOMP_ICALL(0x47039020u); /* 0x4703CC51: call 0x47039020 */ /* not lifted */
   3033     RECOMP_FLAGS_IN();
   3034     esi = eax; /* 0x4703CC56: mov esi, eax */
   3035     ecx = esi; /* 0x4703CC58: mov ecx, esi */
   3036     RECOMP_ICALL(0x4703B210u); /* 0x4703CC5A: call 0x4703b210 */ /* not lifted */
   3037     RECOMP_FLAGS_IN();
   3038     PUSH32(esp, eax); /* 0x4703CC5F: push eax */
   3039     ecx = esi; /* 0x4703CC60: mov ecx, esi */
   3040     RECOMP_ICALL(0x4703B240u); /* 0x4703CC62: call 0x4703b240 */ /* not lifted */
   3041     RECOMP_FLAGS_IN();
   3042     PUSH32(esp, eax); /* 0x4703CC67: push eax */
   3043     ecx = esi; /* 0x4703CC68: mov ecx, esi */
   3044     RECOMP_ICALL(0x4703B080u); /* 0x4703CC6A: call 0x4703b080 */ /* not lifted */
   3045     RECOMP_FLAGS_IN();
   3046     PUSH32(esp, eax); /* 0x4703CC6F: push eax */
   3047     PUSH32(esp, edi); /* 0x4703CC70: push edi */
   3048     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703CC71: push -1 */
   3049     PUSH32(esp, 0x88u); /* 0x4703CC73: push 0x88 */
   3050     PUSH32(esp, 0x471077E0u); /* 0x4703CC78: push 0x471077e0 */
   3051     ecx = esi; /* 0x4703CC7D: mov ecx, esi */
   3052     RECOMP_ICALL(0x4703A340u); /* 0x4703CC7F: call 0x4703a340 */ /* not lifted */
   3053     RECOMP_FLAGS_IN();
   3054     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703CC84: push -1 */
   3055     PUSH32(esp, 0x471079F4u); /* 0x4703CC86: push 0x471079f4 */
   3056     PUSH32(esp, 0x47104AA4u); /* 0x4703CC8B: push 0x47104aa4 */
   3057     PUSH32(esp, 0x80u); /* 0x4703CC90: push 0x80 */
   3058     PUSH32(esp, esi); /* 0x4703CC95: push esi */
   3059     RECOMP_ICALL(0x47039830u); /* 0x4703CC96: call 0x47039830 */ /* not lifted */
   3060     RECOMP_FLAGS_IN();
   3061     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3062     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3063     esp = esp + 0x14u; /* 0x4703CC9B: add esp, 0x14 */
   3064     _flag_k = FK_ADD;
   3065     edi = POP32_VAL(esp); /* 0x4703CC9E: pop edi */
   3066     esi = POP32_VAL(esp); /* 0x4703CC9F: pop esi */
   3067 L_4703CCA0:
   3068     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703CCA0: ret 4 */
   3069     RECOMP_REGS_OUT();
   3070 }
   3071 
   3072 void sub_4703CCB0(void) {
   3073     int _fpu_cmp = 0;
   3074     uint32_t _cf = 0;
   3075     int _df = 1;
   3076     uint32_t _flag_k = FK_NONE;
   3077     uint32_t _flag_a = 0, _flag_b = 0;
   3078     uint32_t _itail_tgt = 0;
   3079     RECOMP_REGS_LOCALS
   3080     RECOMP_ENTER(0x4703CCB0u);
   3081 
   3082 L_4703CCB0:
   3083     PUSH32(esp, ecx); /* 0x4703CCB0: push ecx */
   3084     PUSH32(esp, ebx); /* 0x4703CCB1: push ebx */
   3085     PUSH32(esp, ebp); /* 0x4703CCB2: push ebp */
   3086     PUSH32(esp, esi); /* 0x4703CCB3: push esi */
   3087     PUSH32(esp, edi); /* 0x4703CCB4: push edi */
   3088     edi = MEM32(0x470AC150); /* 0x4703CCB5: mov edi, dword ptr [0x470ac150] */
   3089     ebp = ecx; /* 0x4703CCBB: mov ebp, ecx */
   3090     RECOMP_ICALL(edi); /* 0x4703CCBD: call edi */
   3091     RECOMP_FLAGS_IN();
   3092     ebx = MEM32(0x470AC3C8); /* 0x4703CCBF: mov ebx, dword ptr [0x470ac3c8] */
   3093     esi = eax; /* 0x4703CCC5: mov esi, eax */
   3094     RECOMP_ICALL(ebx); /* 0x4703CCC7: call ebx */
   3095     RECOMP_FLAGS_IN();
   3096     eax = MEM32(eax); /* 0x4703CCC9: mov eax, dword ptr [eax] */
   3097     /* test eax, eax */ /* 0x4703CCCB: test eax, eax */
   3098     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3099     _cf = 0;
   3100     _flag_k = FK_TEST;
   3101     MEM32(esp + 0x10) = esi; /* 0x4703CCCD: mov dword ptr [esp + 0x10], esi */
   3102     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CCD7; /* 0x4703CCD1: je 0x4703ccd7 */
   3103 L_4703CCD3:
   3104     MEM32(esp + 0x10) = eax; /* 0x4703CCD3: mov dword ptr [esp + 0x10], eax */
   3105 L_4703CCD7:
   3106     RECOMP_ICALL(0x47039020u); /* 0x4703CCD7: call 0x47039020 */ /* not lifted */
   3107     RECOMP_FLAGS_IN();
   3108     esi = eax; /* 0x4703CCDC: mov esi, eax */
   3109     ecx = esi; /* 0x4703CCDE: mov ecx, esi */
   3110     RECOMP_ICALL(0x4703B210u); /* 0x4703CCE0: call 0x4703b210 */ /* not lifted */
   3111     RECOMP_FLAGS_IN();
   3112     PUSH32(esp, eax); /* 0x4703CCE5: push eax */
   3113     ecx = esi; /* 0x4703CCE6: mov ecx, esi */
   3114     RECOMP_ICALL(0x4703B240u); /* 0x4703CCE8: call 0x4703b240 */ /* not lifted */
   3115     RECOMP_FLAGS_IN();
   3116     PUSH32(esp, eax); /* 0x4703CCED: push eax */
   3117     ecx = esi; /* 0x4703CCEE: mov ecx, esi */
   3118     RECOMP_ICALL(0x4703B080u); /* 0x4703CCF0: call 0x4703b080 */ /* not lifted */
   3119     RECOMP_FLAGS_IN();
   3120     PUSH32(esp, eax); /* 0x4703CCF5: push eax */
   3121     eax = MEM32(esp + 0x1C); /* 0x4703CCF6: mov eax, dword ptr [esp + 0x1c] */
   3122     PUSH32(esp, eax); /* 0x4703CCFA: push eax */
   3123     PUSH32(esp, 0); /* 0x4703CCFB: push 0 */
   3124     PUSH32(esp, 0x97u); /* 0x4703CCFD: push 0x97 */
   3125     PUSH32(esp, 0x471077E0u); /* 0x4703CD02: push 0x471077e0 */
   3126     ecx = esi; /* 0x4703CD07: mov ecx, esi */
   3127     RECOMP_ICALL(0x4703A340u); /* 0x4703CD09: call 0x4703a340 */ /* not lifted */
   3128     RECOMP_FLAGS_IN();
   3129     PUSH32(esp, ebp); /* 0x4703CD0E: push ebp */
   3130     PUSH32(esp, 0x471052CCu); /* 0x4703CD0F: push 0x471052cc */
   3131     PUSH32(esp, 4); /* 0x4703CD14: push 4 */
   3132     PUSH32(esp, esi); /* 0x4703CD16: push esi */
   3133     RECOMP_ICALL(0x47039830u); /* 0x4703CD17: call 0x47039830 */ /* not lifted */
   3134     RECOMP_FLAGS_IN();
   3135     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3136     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3137     esp = esp + 0x10u; /* 0x4703CD1C: add esp, 0x10 */
   3138     _flag_k = FK_ADD;
   3139     RECOMP_ICALL(edi); /* 0x4703CD1F: call edi */
   3140     RECOMP_FLAGS_IN();
   3141     esi = eax; /* 0x4703CD21: mov esi, eax */
   3142     RECOMP_ICALL(ebx); /* 0x4703CD23: call ebx */
   3143     RECOMP_FLAGS_IN();
   3144     eax = MEM32(eax); /* 0x4703CD25: mov eax, dword ptr [eax] */
   3145     /* test eax, eax */ /* 0x4703CD27: test eax, eax */
   3146     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3147     _cf = 0;
   3148     _flag_k = FK_TEST;
   3149     MEM32(esp + 0x10) = esi; /* 0x4703CD29: mov dword ptr [esp + 0x10], esi */
   3150     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CD33; /* 0x4703CD2D: je 0x4703cd33 */
   3151 L_4703CD2F:
   3152     MEM32(esp + 0x10) = eax; /* 0x4703CD2F: mov dword ptr [esp + 0x10], eax */
   3153 L_4703CD33:
   3154     RECOMP_ICALL(0x47039020u); /* 0x4703CD33: call 0x47039020 */ /* not lifted */
   3155     RECOMP_FLAGS_IN();
   3156     esi = eax; /* 0x4703CD38: mov esi, eax */
   3157     ecx = esi; /* 0x4703CD3A: mov ecx, esi */
   3158     RECOMP_ICALL(0x4703B210u); /* 0x4703CD3C: call 0x4703b210 */ /* not lifted */
   3159     RECOMP_FLAGS_IN();
   3160     PUSH32(esp, eax); /* 0x4703CD41: push eax */
   3161     ecx = esi; /* 0x4703CD42: mov ecx, esi */
   3162     RECOMP_ICALL(0x4703B240u); /* 0x4703CD44: call 0x4703b240 */ /* not lifted */
   3163     RECOMP_FLAGS_IN();
   3164     PUSH32(esp, eax); /* 0x4703CD49: push eax */
   3165     ecx = esi; /* 0x4703CD4A: mov ecx, esi */
   3166     RECOMP_ICALL(0x4703B080u); /* 0x4703CD4C: call 0x4703b080 */ /* not lifted */
   3167     RECOMP_FLAGS_IN();
   3168     ecx = MEM32(esp + 0x18); /* 0x4703CD51: mov ecx, dword ptr [esp + 0x18] */
   3169     PUSH32(esp, eax); /* 0x4703CD55: push eax */
   3170     PUSH32(esp, ecx); /* 0x4703CD56: push ecx */
   3171     PUSH32(esp, 0); /* 0x4703CD57: push 0 */
   3172     PUSH32(esp, 0x98u); /* 0x4703CD59: push 0x98 */
   3173     PUSH32(esp, 0x471077E0u); /* 0x4703CD5E: push 0x471077e0 */
   3174     ecx = esi; /* 0x4703CD63: mov ecx, esi */
   3175     RECOMP_ICALL(0x4703A340u); /* 0x4703CD65: call 0x4703a340 */ /* not lifted */
   3176     RECOMP_FLAGS_IN();
   3177     edx = MEM32(ebp + 0x4); /* 0x4703CD6A: mov edx, dword ptr [ebp + 4] */
   3178     PUSH32(esp, edx); /* 0x4703CD6D: push edx */
   3179     PUSH32(esp, 0x47107A40u); /* 0x4703CD6E: push 0x47107a40 */
   3180     PUSH32(esp, 4); /* 0x4703CD73: push 4 */
   3181     PUSH32(esp, esi); /* 0x4703CD75: push esi */
   3182     RECOMP_ICALL(0x47039830u); /* 0x4703CD76: call 0x47039830 */ /* not lifted */
   3183     RECOMP_FLAGS_IN();
   3184     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3185     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3186     esp = esp + 0x10u; /* 0x4703CD7B: add esp, 0x10 */
   3187     _flag_k = FK_ADD;
   3188     RECOMP_ICALL(edi); /* 0x4703CD7E: call edi */
   3189     RECOMP_FLAGS_IN();
   3190     esi = eax; /* 0x4703CD80: mov esi, eax */
   3191     RECOMP_ICALL(ebx); /* 0x4703CD82: call ebx */
   3192     RECOMP_FLAGS_IN();
   3193     eax = MEM32(eax); /* 0x4703CD84: mov eax, dword ptr [eax] */
   3194     /* test eax, eax */ /* 0x4703CD86: test eax, eax */
   3195     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3196     _cf = 0;
   3197     _flag_k = FK_TEST;
   3198     MEM32(esp + 0x10) = esi; /* 0x4703CD88: mov dword ptr [esp + 0x10], esi */
   3199     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CD92; /* 0x4703CD8C: je 0x4703cd92 */
   3200 L_4703CD8E:
   3201     MEM32(esp + 0x10) = eax; /* 0x4703CD8E: mov dword ptr [esp + 0x10], eax */
   3202 L_4703CD92:
   3203     RECOMP_ICALL(0x47039020u); /* 0x4703CD92: call 0x47039020 */ /* not lifted */
   3204     RECOMP_FLAGS_IN();
   3205     esi = eax; /* 0x4703CD97: mov esi, eax */
   3206     ecx = esi; /* 0x4703CD99: mov ecx, esi */
   3207     RECOMP_ICALL(0x4703B210u); /* 0x4703CD9B: call 0x4703b210 */ /* not lifted */
   3208     RECOMP_FLAGS_IN();
   3209     PUSH32(esp, eax); /* 0x4703CDA0: push eax */
   3210     ecx = esi; /* 0x4703CDA1: mov ecx, esi */
   3211     RECOMP_ICALL(0x4703B240u); /* 0x4703CDA3: call 0x4703b240 */ /* not lifted */
   3212     RECOMP_FLAGS_IN();
   3213     PUSH32(esp, eax); /* 0x4703CDA8: push eax */
   3214     ecx = esi; /* 0x4703CDA9: mov ecx, esi */
   3215     RECOMP_ICALL(0x4703B080u); /* 0x4703CDAB: call 0x4703b080 */ /* not lifted */
   3216     RECOMP_FLAGS_IN();
   3217     PUSH32(esp, eax); /* 0x4703CDB0: push eax */
   3218     eax = MEM32(esp + 0x1C); /* 0x4703CDB1: mov eax, dword ptr [esp + 0x1c] */
   3219     PUSH32(esp, eax); /* 0x4703CDB5: push eax */
   3220     PUSH32(esp, 0); /* 0x4703CDB6: push 0 */
   3221     PUSH32(esp, 0x99u); /* 0x4703CDB8: push 0x99 */
   3222     PUSH32(esp, 0x471077E0u); /* 0x4703CDBD: push 0x471077e0 */
   3223     ecx = esi; /* 0x4703CDC2: mov ecx, esi */
   3224     RECOMP_ICALL(0x4703A340u); /* 0x4703CDC4: call 0x4703a340 */ /* not lifted */
   3225     RECOMP_FLAGS_IN();
   3226     ecx = MEM32(ebp + 0x8); /* 0x4703CDC9: mov ecx, dword ptr [ebp + 8] */
   3227     PUSH32(esp, ecx); /* 0x4703CDCC: push ecx */
   3228     PUSH32(esp, 0x47107A34u); /* 0x4703CDCD: push 0x47107a34 */
   3229     PUSH32(esp, 4); /* 0x4703CDD2: push 4 */
   3230     PUSH32(esp, esi); /* 0x4703CDD4: push esi */
   3231     RECOMP_ICALL(0x47039830u); /* 0x4703CDD5: call 0x47039830 */ /* not lifted */
   3232     RECOMP_FLAGS_IN();
   3233     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3234     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3235     esp = esp + 0x10u; /* 0x4703CDDA: add esp, 0x10 */
   3236     _flag_k = FK_ADD;
   3237     RECOMP_ICALL(edi); /* 0x4703CDDD: call edi */
   3238     RECOMP_FLAGS_IN();
   3239     esi = eax; /* 0x4703CDDF: mov esi, eax */
   3240     RECOMP_ICALL(ebx); /* 0x4703CDE1: call ebx */
   3241     RECOMP_FLAGS_IN();
   3242     eax = MEM32(eax); /* 0x4703CDE3: mov eax, dword ptr [eax] */
   3243     /* test eax, eax */ /* 0x4703CDE5: test eax, eax */
   3244     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3245     _cf = 0;
   3246     _flag_k = FK_TEST;
   3247     MEM32(esp + 0x10) = esi; /* 0x4703CDE7: mov dword ptr [esp + 0x10], esi */
   3248     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CDF1; /* 0x4703CDEB: je 0x4703cdf1 */
   3249 L_4703CDED:
   3250     MEM32(esp + 0x10) = eax; /* 0x4703CDED: mov dword ptr [esp + 0x10], eax */
   3251 L_4703CDF1:
   3252     RECOMP_ICALL(0x47039020u); /* 0x4703CDF1: call 0x47039020 */ /* not lifted */
   3253     RECOMP_FLAGS_IN();
   3254     esi = eax; /* 0x4703CDF6: mov esi, eax */
   3255     ecx = esi; /* 0x4703CDF8: mov ecx, esi */
   3256     RECOMP_ICALL(0x4703B210u); /* 0x4703CDFA: call 0x4703b210 */ /* not lifted */
   3257     RECOMP_FLAGS_IN();
   3258     PUSH32(esp, eax); /* 0x4703CDFF: push eax */
   3259     ecx = esi; /* 0x4703CE00: mov ecx, esi */
   3260     RECOMP_ICALL(0x4703B240u); /* 0x4703CE02: call 0x4703b240 */ /* not lifted */
   3261     RECOMP_FLAGS_IN();
   3262     PUSH32(esp, eax); /* 0x4703CE07: push eax */
   3263     ecx = esi; /* 0x4703CE08: mov ecx, esi */
   3264     RECOMP_ICALL(0x4703B080u); /* 0x4703CE0A: call 0x4703b080 */ /* not lifted */
   3265     RECOMP_FLAGS_IN();
   3266     edx = MEM32(esp + 0x18); /* 0x4703CE0F: mov edx, dword ptr [esp + 0x18] */
   3267     PUSH32(esp, eax); /* 0x4703CE13: push eax */
   3268     PUSH32(esp, edx); /* 0x4703CE14: push edx */
   3269     PUSH32(esp, 0); /* 0x4703CE15: push 0 */
   3270     PUSH32(esp, 0x9Du); /* 0x4703CE17: push 0x9d */
   3271     PUSH32(esp, 0x471077E0u); /* 0x4703CE1C: push 0x471077e0 */
   3272     ecx = esi; /* 0x4703CE21: mov ecx, esi */
   3273     RECOMP_ICALL(0x4703A340u); /* 0x4703CE23: call 0x4703a340 */ /* not lifted */
   3274     RECOMP_FLAGS_IN();
   3275     ebp = MEM32(ebp); /* 0x4703CE28: mov ebp, dword ptr [ebp] */
   3276     PUSH32(esp, ebp); /* 0x4703CE2B: push ebp */
   3277     PUSH32(esp, ebp); /* 0x4703CE2C: push ebp */
   3278     PUSH32(esp, 0x47107A20u); /* 0x4703CE2D: push 0x47107a20 */
   3279     PUSH32(esp, 4); /* 0x4703CE32: push 4 */
   3280     PUSH32(esp, esi); /* 0x4703CE34: push esi */
   3281     RECOMP_ICALL(0x47039830u); /* 0x4703CE35: call 0x47039830 */ /* not lifted */
   3282     RECOMP_FLAGS_IN();
   3283     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   3284     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3285     esp = esp + 0x14u; /* 0x4703CE3A: add esp, 0x14 */
   3286     _flag_k = FK_ADD;
   3287     RECOMP_ICALL(edi); /* 0x4703CE3D: call edi */
   3288     RECOMP_FLAGS_IN();
   3289     ebp = eax; /* 0x4703CE3F: mov ebp, eax */
   3290     RECOMP_ICALL(ebx); /* 0x4703CE41: call ebx */
   3291     RECOMP_FLAGS_IN();
   3292     eax = MEM32(eax); /* 0x4703CE43: mov eax, dword ptr [eax] */
   3293     /* test eax, eax */ /* 0x4703CE45: test eax, eax */
   3294     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3295     _cf = 0;
   3296     _flag_k = FK_TEST;
   3297     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CE4B; /* 0x4703CE47: je 0x4703ce4b */
   3298 L_4703CE49:
   3299     ebp = eax; /* 0x4703CE49: mov ebp, eax */
   3300 L_4703CE4B:
   3301     RECOMP_ICALL(0x47039020u); /* 0x4703CE4B: call 0x47039020 */ /* not lifted */
   3302     RECOMP_FLAGS_IN();
   3303     esi = eax; /* 0x4703CE50: mov esi, eax */
   3304     ecx = esi; /* 0x4703CE52: mov ecx, esi */
   3305     RECOMP_ICALL(0x4703B210u); /* 0x4703CE54: call 0x4703b210 */ /* not lifted */
   3306     RECOMP_FLAGS_IN();
   3307     PUSH32(esp, eax); /* 0x4703CE59: push eax */
   3308     ecx = esi; /* 0x4703CE5A: mov ecx, esi */
   3309     RECOMP_ICALL(0x4703B240u); /* 0x4703CE5C: call 0x4703b240 */ /* not lifted */
   3310     RECOMP_FLAGS_IN();
   3311     PUSH32(esp, eax); /* 0x4703CE61: push eax */
   3312     ecx = esi; /* 0x4703CE62: mov ecx, esi */
   3313     RECOMP_ICALL(0x4703B080u); /* 0x4703CE64: call 0x4703b080 */ /* not lifted */
   3314     RECOMP_FLAGS_IN();
   3315     PUSH32(esp, eax); /* 0x4703CE69: push eax */
   3316     PUSH32(esp, ebp); /* 0x4703CE6A: push ebp */
   3317     PUSH32(esp, 0); /* 0x4703CE6B: push 0 */
   3318     PUSH32(esp, 0x9Eu); /* 0x4703CE6D: push 0x9e */
   3319     PUSH32(esp, 0x471077E0u); /* 0x4703CE72: push 0x471077e0 */
   3320     ecx = esi; /* 0x4703CE77: mov ecx, esi */
   3321     RECOMP_ICALL(0x4703A340u); /* 0x4703CE79: call 0x4703a340 */ /* not lifted */
   3322     RECOMP_FLAGS_IN();
   3323     PUSH32(esp, 0x47105590u); /* 0x4703CE7E: push 0x47105590 */
   3324     PUSH32(esp, 4); /* 0x4703CE83: push 4 */
   3325     PUSH32(esp, esi); /* 0x4703CE85: push esi */
   3326     RECOMP_ICALL(0x47039830u); /* 0x4703CE86: call 0x47039830 */ /* not lifted */
   3327     RECOMP_FLAGS_IN();
   3328     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3329     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3330     esp = esp + 0xCu; /* 0x4703CE8B: add esp, 0xc */
   3331     _flag_k = FK_ADD;
   3332     RECOMP_ICALL(edi); /* 0x4703CE8E: call edi */
   3333     RECOMP_FLAGS_IN();
   3334     esi = eax; /* 0x4703CE90: mov esi, eax */
   3335     RECOMP_ICALL(ebx); /* 0x4703CE92: call ebx */
   3336     RECOMP_FLAGS_IN();
   3337     eax = MEM32(eax); /* 0x4703CE94: mov eax, dword ptr [eax] */
   3338     /* test eax, eax */ /* 0x4703CE96: test eax, eax */
   3339     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3340     _cf = 0;
   3341     _flag_k = FK_TEST;
   3342     edi = esi; /* 0x4703CE98: mov edi, esi */
   3343     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CE9E; /* 0x4703CE9A: je 0x4703ce9e */
   3344 L_4703CE9C:
   3345     edi = eax; /* 0x4703CE9C: mov edi, eax */
   3346 L_4703CE9E:
   3347     RECOMP_ICALL(0x47039020u); /* 0x4703CE9E: call 0x47039020 */ /* not lifted */
   3348     RECOMP_FLAGS_IN();
   3349     esi = eax; /* 0x4703CEA3: mov esi, eax */
   3350     ecx = esi; /* 0x4703CEA5: mov ecx, esi */
   3351     RECOMP_ICALL(0x4703B210u); /* 0x4703CEA7: call 0x4703b210 */ /* not lifted */
   3352     RECOMP_FLAGS_IN();
   3353     PUSH32(esp, eax); /* 0x4703CEAC: push eax */
   3354     ecx = esi; /* 0x4703CEAD: mov ecx, esi */
   3355     RECOMP_ICALL(0x4703B240u); /* 0x4703CEAF: call 0x4703b240 */ /* not lifted */
   3356     RECOMP_FLAGS_IN();
   3357     PUSH32(esp, eax); /* 0x4703CEB4: push eax */
   3358     ecx = esi; /* 0x4703CEB5: mov ecx, esi */
   3359     RECOMP_ICALL(0x4703B080u); /* 0x4703CEB7: call 0x4703b080 */ /* not lifted */
   3360     RECOMP_FLAGS_IN();
   3361     PUSH32(esp, eax); /* 0x4703CEBC: push eax */
   3362     PUSH32(esp, edi); /* 0x4703CEBD: push edi */
   3363     PUSH32(esp, 0); /* 0x4703CEBE: push 0 */
   3364     PUSH32(esp, 0x9Fu); /* 0x4703CEC0: push 0x9f */
   3365     PUSH32(esp, 0x471077E0u); /* 0x4703CEC5: push 0x471077e0 */
   3366     ecx = esi; /* 0x4703CECA: mov ecx, esi */
   3367     RECOMP_ICALL(0x4703A340u); /* 0x4703CECC: call 0x4703a340 */ /* not lifted */
   3368     RECOMP_FLAGS_IN();
   3369     PUSH32(esp, 0x4710529Cu); /* 0x4703CED1: push 0x4710529c */
   3370     PUSH32(esp, 4); /* 0x4703CED6: push 4 */
   3371     PUSH32(esp, esi); /* 0x4703CED8: push esi */
   3372     RECOMP_ICALL(0x47039830u); /* 0x4703CED9: call 0x47039830 */ /* not lifted */
   3373     RECOMP_FLAGS_IN();
   3374     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3375     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3376     esp = esp + 0xCu; /* 0x4703CEDE: add esp, 0xc */
   3377     _flag_k = FK_ADD;
   3378     edi = POP32_VAL(esp); /* 0x4703CEE1: pop edi */
   3379     esi = POP32_VAL(esp); /* 0x4703CEE2: pop esi */
   3380     ebp = POP32_VAL(esp); /* 0x4703CEE3: pop ebp */
   3381     ebx = POP32_VAL(esp); /* 0x4703CEE4: pop ebx */
   3382     ecx = POP32_VAL(esp); /* 0x4703CEE5: pop ecx */
   3383     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703CEE6: ret  */
   3384     RECOMP_REGS_OUT();
   3385 }
   3386 
   3387 void sub_4703CEF0(void) {
   3388     int _fpu_cmp = 0;
   3389     uint32_t _cf = 0;
   3390     int _df = 1;
   3391     uint32_t _flag_k = FK_NONE;
   3392     uint32_t _flag_a = 0, _flag_b = 0;
   3393     uint32_t _itail_tgt = 0;
   3394     RECOMP_REGS_LOCALS
   3395     RECOMP_ENTER(0x4703CEF0u);
   3396 
   3397 L_4703CEF0:
   3398     PUSH32(esp, ecx); /* 0x4703CEF0: push ecx */
   3399     PUSH32(esp, ebx); /* 0x4703CEF1: push ebx */
   3400     ebx = MEM32(0x470AC150); /* 0x4703CEF2: mov ebx, dword ptr [0x470ac150] */
   3401     PUSH32(esp, ebp); /* 0x4703CEF8: push ebp */
   3402     PUSH32(esp, esi); /* 0x4703CEF9: push esi */
   3403     PUSH32(esp, edi); /* 0x4703CEFA: push edi */
   3404     edi = ecx; /* 0x4703CEFB: mov edi, ecx */
   3405     RECOMP_ICALL(ebx); /* 0x4703CEFD: call ebx */
   3406     RECOMP_FLAGS_IN();
   3407     ebp = MEM32(0x470AC3C8); /* 0x4703CEFF: mov ebp, dword ptr [0x470ac3c8] */
   3408     esi = eax; /* 0x4703CF05: mov esi, eax */
   3409     RECOMP_ICALL(ebp); /* 0x4703CF07: call ebp */
   3410     RECOMP_FLAGS_IN();
   3411     eax = MEM32(eax); /* 0x4703CF09: mov eax, dword ptr [eax] */
   3412     /* test eax, eax */ /* 0x4703CF0B: test eax, eax */
   3413     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3414     _cf = 0;
   3415     _flag_k = FK_TEST;
   3416     MEM32(esp + 0x10) = esi; /* 0x4703CF0D: mov dword ptr [esp + 0x10], esi */
   3417     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CF17; /* 0x4703CF11: je 0x4703cf17 */
   3418 L_4703CF13:
   3419     MEM32(esp + 0x10) = eax; /* 0x4703CF13: mov dword ptr [esp + 0x10], eax */
   3420 L_4703CF17:
   3421     RECOMP_ICALL(0x47039020u); /* 0x4703CF17: call 0x47039020 */ /* not lifted */
   3422     RECOMP_FLAGS_IN();
   3423     esi = eax; /* 0x4703CF1C: mov esi, eax */
   3424     ecx = esi; /* 0x4703CF1E: mov ecx, esi */
   3425     RECOMP_ICALL(0x4703B210u); /* 0x4703CF20: call 0x4703b210 */ /* not lifted */
   3426     RECOMP_FLAGS_IN();
   3427     PUSH32(esp, eax); /* 0x4703CF25: push eax */
   3428     ecx = esi; /* 0x4703CF26: mov ecx, esi */
   3429     RECOMP_ICALL(0x4703B240u); /* 0x4703CF28: call 0x4703b240 */ /* not lifted */
   3430     RECOMP_FLAGS_IN();
   3431     PUSH32(esp, eax); /* 0x4703CF2D: push eax */
   3432     ecx = esi; /* 0x4703CF2E: mov ecx, esi */
   3433     RECOMP_ICALL(0x4703B080u); /* 0x4703CF30: call 0x4703b080 */ /* not lifted */
   3434     RECOMP_FLAGS_IN();
   3435     PUSH32(esp, eax); /* 0x4703CF35: push eax */
   3436     eax = MEM32(esp + 0x1C); /* 0x4703CF36: mov eax, dword ptr [esp + 0x1c] */
   3437     PUSH32(esp, eax); /* 0x4703CF3A: push eax */
   3438     PUSH32(esp, 0); /* 0x4703CF3B: push 0 */
   3439     PUSH32(esp, 0xA8u); /* 0x4703CF3D: push 0xa8 */
   3440     PUSH32(esp, 0x471077E0u); /* 0x4703CF42: push 0x471077e0 */
   3441     ecx = esi; /* 0x4703CF47: mov ecx, esi */
   3442     RECOMP_ICALL(0x4703A340u); /* 0x4703CF49: call 0x4703a340 */ /* not lifted */
   3443     RECOMP_FLAGS_IN();
   3444     PUSH32(esp, edi); /* 0x4703CF4E: push edi */
   3445     PUSH32(esp, 0x471052CCu); /* 0x4703CF4F: push 0x471052cc */
   3446     PUSH32(esp, 4); /* 0x4703CF54: push 4 */
   3447     PUSH32(esp, esi); /* 0x4703CF56: push esi */
   3448     RECOMP_ICALL(0x47039830u); /* 0x4703CF57: call 0x47039830 */ /* not lifted */
   3449     RECOMP_FLAGS_IN();
   3450     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3451     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3452     esp = esp + 0x10u; /* 0x4703CF5C: add esp, 0x10 */
   3453     _flag_k = FK_ADD;
   3454     RECOMP_ICALL(ebx); /* 0x4703CF5F: call ebx */
   3455     RECOMP_FLAGS_IN();
   3456     esi = eax; /* 0x4703CF61: mov esi, eax */
   3457     RECOMP_ICALL(ebp); /* 0x4703CF63: call ebp */
   3458     RECOMP_FLAGS_IN();
   3459     eax = MEM32(eax); /* 0x4703CF65: mov eax, dword ptr [eax] */
   3460     /* test eax, eax */ /* 0x4703CF67: test eax, eax */
   3461     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3462     _cf = 0;
   3463     _flag_k = FK_TEST;
   3464     MEM32(esp + 0x10) = esi; /* 0x4703CF69: mov dword ptr [esp + 0x10], esi */
   3465     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CF73; /* 0x4703CF6D: je 0x4703cf73 */
   3466 L_4703CF6F:
   3467     MEM32(esp + 0x10) = eax; /* 0x4703CF6F: mov dword ptr [esp + 0x10], eax */
   3468 L_4703CF73:
   3469     RECOMP_ICALL(0x47039020u); /* 0x4703CF73: call 0x47039020 */ /* not lifted */
   3470     RECOMP_FLAGS_IN();
   3471     esi = eax; /* 0x4703CF78: mov esi, eax */
   3472     ecx = esi; /* 0x4703CF7A: mov ecx, esi */
   3473     RECOMP_ICALL(0x4703B210u); /* 0x4703CF7C: call 0x4703b210 */ /* not lifted */
   3474     RECOMP_FLAGS_IN();
   3475     PUSH32(esp, eax); /* 0x4703CF81: push eax */
   3476     ecx = esi; /* 0x4703CF82: mov ecx, esi */
   3477     RECOMP_ICALL(0x4703B240u); /* 0x4703CF84: call 0x4703b240 */ /* not lifted */
   3478     RECOMP_FLAGS_IN();
   3479     PUSH32(esp, eax); /* 0x4703CF89: push eax */
   3480     ecx = esi; /* 0x4703CF8A: mov ecx, esi */
   3481     RECOMP_ICALL(0x4703B080u); /* 0x4703CF8C: call 0x4703b080 */ /* not lifted */
   3482     RECOMP_FLAGS_IN();
   3483     ecx = MEM32(esp + 0x18); /* 0x4703CF91: mov ecx, dword ptr [esp + 0x18] */
   3484     PUSH32(esp, eax); /* 0x4703CF95: push eax */
   3485     PUSH32(esp, ecx); /* 0x4703CF96: push ecx */
   3486     PUSH32(esp, 0); /* 0x4703CF97: push 0 */
   3487     PUSH32(esp, 0xA9u); /* 0x4703CF99: push 0xa9 */
   3488     PUSH32(esp, 0x471077E0u); /* 0x4703CF9E: push 0x471077e0 */
   3489     ecx = esi; /* 0x4703CFA3: mov ecx, esi */
   3490     RECOMP_ICALL(0x4703A340u); /* 0x4703CFA5: call 0x4703a340 */ /* not lifted */
   3491     RECOMP_FLAGS_IN();
   3492     eax = MEM32(edi); /* 0x4703CFAA: mov eax, dword ptr [edi] */
   3493     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703CFAC: cmp eax, -1 */
   3494     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   3495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3496     _flag_k = FK_CMP;
   3497     if (CMP_NE(_flag_a, _flag_b)) goto L_4703CFB5; /* 0x4703CFAF: jne 0x4703cfb5 */
   3498 L_4703CFB1:
   3499     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3500     eax = 0; /* 0x4703CFB1: xor eax, eax */
   3501     _cf = 0;
   3502     _flag_k = FK_TEST;
   3503     goto L_4703CFBA; /* 0x4703CFB3: jmp 0x4703cfba */
   3504 L_4703CFB5:
   3505     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3507     eax = eax - MEM32(edi + 0x4); /* 0x4703CFB5: sub eax, dword ptr [edi + 4] */
   3508     _flag_k = FK_CMP;
   3509     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   3510     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3511     eax = eax + edi; /* 0x4703CFB8: add eax, edi */
   3512     _flag_k = FK_ADD;
   3513 L_4703CFBA:
   3514     PUSH32(esp, eax); /* 0x4703CFBA: push eax */
   3515     PUSH32(esp, 0x471077CCu); /* 0x4703CFBB: push 0x471077cc */
   3516     PUSH32(esp, 4); /* 0x4703CFC0: push 4 */
   3517     PUSH32(esp, esi); /* 0x4703CFC2: push esi */
   3518     RECOMP_ICALL(0x47039830u); /* 0x4703CFC3: call 0x47039830 */ /* not lifted */
   3519     RECOMP_FLAGS_IN();
   3520     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3521     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3522     esp = esp + 0x10u; /* 0x4703CFC8: add esp, 0x10 */
   3523     _flag_k = FK_ADD;
   3524     RECOMP_ICALL(ebx); /* 0x4703CFCB: call ebx */
   3525     RECOMP_FLAGS_IN();
   3526     esi = eax; /* 0x4703CFCD: mov esi, eax */
   3527     RECOMP_ICALL(ebp); /* 0x4703CFCF: call ebp */
   3528     RECOMP_FLAGS_IN();
   3529     eax = MEM32(eax); /* 0x4703CFD1: mov eax, dword ptr [eax] */
   3530     /* test eax, eax */ /* 0x4703CFD3: test eax, eax */
   3531     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3532     _cf = 0;
   3533     _flag_k = FK_TEST;
   3534     MEM32(esp + 0x10) = esi; /* 0x4703CFD5: mov dword ptr [esp + 0x10], esi */
   3535     if (TEST_Z(_flag_a, _flag_b)) goto L_4703CFDF; /* 0x4703CFD9: je 0x4703cfdf */
   3536 L_4703CFDB:
   3537     MEM32(esp + 0x10) = eax; /* 0x4703CFDB: mov dword ptr [esp + 0x10], eax */
   3538 L_4703CFDF:
   3539     RECOMP_ICALL(0x47039020u); /* 0x4703CFDF: call 0x47039020 */ /* not lifted */
   3540     RECOMP_FLAGS_IN();
   3541     esi = eax; /* 0x4703CFE4: mov esi, eax */
   3542     ecx = esi; /* 0x4703CFE6: mov ecx, esi */
   3543     RECOMP_ICALL(0x4703B210u); /* 0x4703CFE8: call 0x4703b210 */ /* not lifted */
   3544     RECOMP_FLAGS_IN();
   3545     PUSH32(esp, eax); /* 0x4703CFED: push eax */
   3546     ecx = esi; /* 0x4703CFEE: mov ecx, esi */
   3547     RECOMP_ICALL(0x4703B240u); /* 0x4703CFF0: call 0x4703b240 */ /* not lifted */
   3548     RECOMP_FLAGS_IN();
   3549     PUSH32(esp, eax); /* 0x4703CFF5: push eax */
   3550     ecx = esi; /* 0x4703CFF6: mov ecx, esi */
   3551     RECOMP_ICALL(0x4703B080u); /* 0x4703CFF8: call 0x4703b080 */ /* not lifted */
   3552     RECOMP_FLAGS_IN();
   3553     edx = MEM32(esp + 0x18); /* 0x4703CFFD: mov edx, dword ptr [esp + 0x18] */
   3554     PUSH32(esp, eax); /* 0x4703D001: push eax */
   3555     PUSH32(esp, edx); /* 0x4703D002: push edx */
   3556     PUSH32(esp, 0); /* 0x4703D003: push 0 */
   3557     PUSH32(esp, 0xAAu); /* 0x4703D005: push 0xaa */
   3558     PUSH32(esp, 0x471077E0u); /* 0x4703D00A: push 0x471077e0 */
   3559     ecx = esi; /* 0x4703D00F: mov ecx, esi */
   3560     RECOMP_ICALL(0x4703A340u); /* 0x4703D011: call 0x4703a340 */ /* not lifted */
   3561     RECOMP_FLAGS_IN();
   3562     eax = MEM32(edi + 0x8); /* 0x4703D016: mov eax, dword ptr [edi + 8] */
   3563     PUSH32(esp, eax); /* 0x4703D019: push eax */
   3564     PUSH32(esp, 0x471077C0u); /* 0x4703D01A: push 0x471077c0 */
   3565     PUSH32(esp, 4); /* 0x4703D01F: push 4 */
   3566     PUSH32(esp, esi); /* 0x4703D021: push esi */
   3567     RECOMP_ICALL(0x47039830u); /* 0x4703D022: call 0x47039830 */ /* not lifted */
   3568     RECOMP_FLAGS_IN();
   3569     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3570     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3571     esp = esp + 0x10u; /* 0x4703D027: add esp, 0x10 */
   3572     _flag_k = FK_ADD;
   3573     RECOMP_ICALL(ebx); /* 0x4703D02A: call ebx */
   3574     RECOMP_FLAGS_IN();
   3575     esi = eax; /* 0x4703D02C: mov esi, eax */
   3576     RECOMP_ICALL(ebp); /* 0x4703D02E: call ebp */
   3577     RECOMP_FLAGS_IN();
   3578     eax = MEM32(eax); /* 0x4703D030: mov eax, dword ptr [eax] */
   3579     /* test eax, eax */ /* 0x4703D032: test eax, eax */
   3580     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3581     _cf = 0;
   3582     _flag_k = FK_TEST;
   3583     edi = esi; /* 0x4703D034: mov edi, esi */
   3584     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D03A; /* 0x4703D036: je 0x4703d03a */
   3585 L_4703D038:
   3586     edi = eax; /* 0x4703D038: mov edi, eax */
   3587 L_4703D03A:
   3588     RECOMP_ICALL(0x47039020u); /* 0x4703D03A: call 0x47039020 */ /* not lifted */
   3589     RECOMP_FLAGS_IN();
   3590     esi = eax; /* 0x4703D03F: mov esi, eax */
   3591     ecx = esi; /* 0x4703D041: mov ecx, esi */
   3592     RECOMP_ICALL(0x4703B210u); /* 0x4703D043: call 0x4703b210 */ /* not lifted */
   3593     RECOMP_FLAGS_IN();
   3594     PUSH32(esp, eax); /* 0x4703D048: push eax */
   3595     ecx = esi; /* 0x4703D049: mov ecx, esi */
   3596     RECOMP_ICALL(0x4703B240u); /* 0x4703D04B: call 0x4703b240 */ /* not lifted */
   3597     RECOMP_FLAGS_IN();
   3598     PUSH32(esp, eax); /* 0x4703D050: push eax */
   3599     ecx = esi; /* 0x4703D051: mov ecx, esi */
   3600     RECOMP_ICALL(0x4703B080u); /* 0x4703D053: call 0x4703b080 */ /* not lifted */
   3601     RECOMP_FLAGS_IN();
   3602     PUSH32(esp, eax); /* 0x4703D058: push eax */
   3603     PUSH32(esp, edi); /* 0x4703D059: push edi */
   3604     PUSH32(esp, 0); /* 0x4703D05A: push 0 */
   3605     PUSH32(esp, 0xABu); /* 0x4703D05C: push 0xab */
   3606     PUSH32(esp, 0x471077E0u); /* 0x4703D061: push 0x471077e0 */
   3607     ecx = esi; /* 0x4703D066: mov ecx, esi */
   3608     RECOMP_ICALL(0x4703A340u); /* 0x4703D068: call 0x4703a340 */ /* not lifted */
   3609     RECOMP_FLAGS_IN();
   3610     PUSH32(esp, 0x4710529Cu); /* 0x4703D06D: push 0x4710529c */
   3611     PUSH32(esp, 4); /* 0x4703D072: push 4 */
   3612     PUSH32(esp, esi); /* 0x4703D074: push esi */
   3613     RECOMP_ICALL(0x47039830u); /* 0x4703D075: call 0x47039830 */ /* not lifted */
   3614     RECOMP_FLAGS_IN();
   3615     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3616     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3617     esp = esp + 0xCu; /* 0x4703D07A: add esp, 0xc */
   3618     _flag_k = FK_ADD;
   3619     edi = POP32_VAL(esp); /* 0x4703D07D: pop edi */
   3620     esi = POP32_VAL(esp); /* 0x4703D07E: pop esi */
   3621     ebp = POP32_VAL(esp); /* 0x4703D07F: pop ebp */
   3622     ebx = POP32_VAL(esp); /* 0x4703D080: pop ebx */
   3623     ecx = POP32_VAL(esp); /* 0x4703D081: pop ecx */
   3624     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D082: ret  */
   3625     RECOMP_REGS_OUT();
   3626 }
   3627 
   3628 void sub_4703D090(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(0x4703D090u);
   3637 
   3638 L_4703D090:
   3639     PUSH32(esp, ebx); /* 0x4703D090: push ebx */
   3640     PUSH32(esp, ebp); /* 0x4703D091: push ebp */
   3641     PUSH32(esp, esi); /* 0x4703D092: push esi */
   3642     PUSH32(esp, edi); /* 0x4703D093: push edi */
   3643     edi = MEM32(0x470AC150); /* 0x4703D094: mov edi, dword ptr [0x470ac150] */
   3644     RECOMP_ICALL(edi); /* 0x4703D09A: call edi */
   3645     RECOMP_FLAGS_IN();
   3646     ebx = MEM32(0x470AC3C8); /* 0x4703D09C: mov ebx, dword ptr [0x470ac3c8] */
   3647     ebp = eax; /* 0x4703D0A2: mov ebp, eax */
   3648     RECOMP_ICALL(ebx); /* 0x4703D0A4: call ebx */
   3649     RECOMP_FLAGS_IN();
   3650     eax = MEM32(eax); /* 0x4703D0A6: mov eax, dword ptr [eax] */
   3651     /* test eax, eax */ /* 0x4703D0A8: test eax, eax */
   3652     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3653     _cf = 0;
   3654     _flag_k = FK_TEST;
   3655     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D0AE; /* 0x4703D0AA: je 0x4703d0ae */
   3656 L_4703D0AC:
   3657     ebp = eax; /* 0x4703D0AC: mov ebp, eax */
   3658 L_4703D0AE:
   3659     RECOMP_ICALL(0x47039020u); /* 0x4703D0AE: call 0x47039020 */ /* not lifted */
   3660     RECOMP_FLAGS_IN();
   3661     esi = eax; /* 0x4703D0B3: mov esi, eax */
   3662     ecx = esi; /* 0x4703D0B5: mov ecx, esi */
   3663     RECOMP_ICALL(0x4703B210u); /* 0x4703D0B7: call 0x4703b210 */ /* not lifted */
   3664     RECOMP_FLAGS_IN();
   3665     PUSH32(esp, eax); /* 0x4703D0BC: push eax */
   3666     ecx = esi; /* 0x4703D0BD: mov ecx, esi */
   3667     RECOMP_ICALL(0x4703B240u); /* 0x4703D0BF: call 0x4703b240 */ /* not lifted */
   3668     RECOMP_FLAGS_IN();
   3669     PUSH32(esp, eax); /* 0x4703D0C4: push eax */
   3670     ecx = esi; /* 0x4703D0C5: mov ecx, esi */
   3671     RECOMP_ICALL(0x4703B080u); /* 0x4703D0C7: call 0x4703b080 */ /* not lifted */
   3672     RECOMP_FLAGS_IN();
   3673     PUSH32(esp, eax); /* 0x4703D0CC: push eax */
   3674     PUSH32(esp, ebp); /* 0x4703D0CD: push ebp */
   3675     PUSH32(esp, 0); /* 0x4703D0CE: push 0 */
   3676     PUSH32(esp, 0xB2u); /* 0x4703D0D0: push 0xb2 */
   3677     PUSH32(esp, 0x471077E0u); /* 0x4703D0D5: push 0x471077e0 */
   3678     ecx = esi; /* 0x4703D0DA: mov ecx, esi */
   3679     RECOMP_ICALL(0x4703A340u); /* 0x4703D0DC: call 0x4703a340 */ /* not lifted */
   3680     RECOMP_FLAGS_IN();
   3681     PUSH32(esp, 0x47107BD8u); /* 0x4703D0E1: push 0x47107bd8 */
   3682     PUSH32(esp, 4); /* 0x4703D0E6: push 4 */
   3683     PUSH32(esp, esi); /* 0x4703D0E8: push esi */
   3684     RECOMP_ICALL(0x47039830u); /* 0x4703D0E9: call 0x47039830 */ /* not lifted */
   3685     RECOMP_FLAGS_IN();
   3686     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3687     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3688     esp = esp + 0xCu; /* 0x4703D0EE: add esp, 0xc */
   3689     _flag_k = FK_ADD;
   3690     RECOMP_ICALL(edi); /* 0x4703D0F1: call edi */
   3691     RECOMP_FLAGS_IN();
   3692     ebp = eax; /* 0x4703D0F3: mov ebp, eax */
   3693     RECOMP_ICALL(ebx); /* 0x4703D0F5: call ebx */
   3694     RECOMP_FLAGS_IN();
   3695     eax = MEM32(eax); /* 0x4703D0F7: mov eax, dword ptr [eax] */
   3696     /* test eax, eax */ /* 0x4703D0F9: test eax, eax */
   3697     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3698     _cf = 0;
   3699     _flag_k = FK_TEST;
   3700     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D0FF; /* 0x4703D0FB: je 0x4703d0ff */
   3701 L_4703D0FD:
   3702     ebp = eax; /* 0x4703D0FD: mov ebp, eax */
   3703 L_4703D0FF:
   3704     RECOMP_ICALL(0x47039020u); /* 0x4703D0FF: call 0x47039020 */ /* not lifted */
   3705     RECOMP_FLAGS_IN();
   3706     esi = eax; /* 0x4703D104: mov esi, eax */
   3707     ecx = esi; /* 0x4703D106: mov ecx, esi */
   3708     RECOMP_ICALL(0x4703B210u); /* 0x4703D108: call 0x4703b210 */ /* not lifted */
   3709     RECOMP_FLAGS_IN();
   3710     PUSH32(esp, eax); /* 0x4703D10D: push eax */
   3711     ecx = esi; /* 0x4703D10E: mov ecx, esi */
   3712     RECOMP_ICALL(0x4703B240u); /* 0x4703D110: call 0x4703b240 */ /* not lifted */
   3713     RECOMP_FLAGS_IN();
   3714     PUSH32(esp, eax); /* 0x4703D115: push eax */
   3715     ecx = esi; /* 0x4703D116: mov ecx, esi */
   3716     RECOMP_ICALL(0x4703B080u); /* 0x4703D118: call 0x4703b080 */ /* not lifted */
   3717     RECOMP_FLAGS_IN();
   3718     PUSH32(esp, eax); /* 0x4703D11D: push eax */
   3719     PUSH32(esp, ebp); /* 0x4703D11E: push ebp */
   3720     PUSH32(esp, 0); /* 0x4703D11F: push 0 */
   3721     PUSH32(esp, 0xCCu); /* 0x4703D121: push 0xcc */
   3722     PUSH32(esp, 0x471077E0u); /* 0x4703D126: push 0x471077e0 */
   3723     ecx = esi; /* 0x4703D12B: mov ecx, esi */
   3724     RECOMP_ICALL(0x4703A340u); /* 0x4703D12D: call 0x4703a340 */ /* not lifted */
   3725     RECOMP_FLAGS_IN();
   3726     PUSH32(esp, 0x128u); /* 0x4703D132: push 0x128 */
   3727     PUSH32(esp, 0x10u); /* 0x4703D137: push 0x10 */
   3728     PUSH32(esp, 1); /* 0x4703D139: push 1 */
   3729     PUSH32(esp, 0x114u); /* 0x4703D13B: push 0x114 */
   3730     PUSH32(esp, 0xFFFFFFFEu); /* 0x4703D140: push -2 */
   3731     PUSH32(esp, 4); /* 0x4703D142: push 4 */
   3732     PUSH32(esp, 1); /* 0x4703D144: push 1 */
   3733     PUSH32(esp, 4); /* 0x4703D146: push 4 */
   3734     PUSH32(esp, 8); /* 0x4703D148: push 8 */
   3735     PUSH32(esp, 4); /* 0x4703D14A: push 4 */
   3736     PUSH32(esp, 4); /* 0x4703D14C: push 4 */
   3737     PUSH32(esp, 4); /* 0x4703D14E: push 4 */
   3738     PUSH32(esp, 0x47107A88u); /* 0x4703D150: push 0x47107a88 */
   3739     PUSH32(esp, 4); /* 0x4703D155: push 4 */
   3740     PUSH32(esp, esi); /* 0x4703D157: push esi */
   3741     RECOMP_ICALL(0x47039830u); /* 0x4703D158: call 0x47039830 */ /* not lifted */
   3742     RECOMP_FLAGS_IN();
   3743     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu);
   3744     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3745     esp = esp + 0x3Cu; /* 0x4703D15D: add esp, 0x3c */
   3746     _flag_k = FK_ADD;
   3747     RECOMP_ICALL(edi); /* 0x4703D160: call edi */
   3748     RECOMP_FLAGS_IN();
   3749     esi = eax; /* 0x4703D162: mov esi, eax */
   3750     RECOMP_ICALL(ebx); /* 0x4703D164: call ebx */
   3751     RECOMP_FLAGS_IN();
   3752     eax = MEM32(eax); /* 0x4703D166: mov eax, dword ptr [eax] */
   3753     /* test eax, eax */ /* 0x4703D168: test eax, eax */
   3754     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3755     _cf = 0;
   3756     _flag_k = FK_TEST;
   3757     edi = esi; /* 0x4703D16A: mov edi, esi */
   3758     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D170; /* 0x4703D16C: je 0x4703d170 */
   3759 L_4703D16E:
   3760     edi = eax; /* 0x4703D16E: mov edi, eax */
   3761 L_4703D170:
   3762     RECOMP_ICALL(0x47039020u); /* 0x4703D170: call 0x47039020 */ /* not lifted */
   3763     RECOMP_FLAGS_IN();
   3764     esi = eax; /* 0x4703D175: mov esi, eax */
   3765     ecx = esi; /* 0x4703D177: mov ecx, esi */
   3766     RECOMP_ICALL(0x4703B210u); /* 0x4703D179: call 0x4703b210 */ /* not lifted */
   3767     RECOMP_FLAGS_IN();
   3768     PUSH32(esp, eax); /* 0x4703D17E: push eax */
   3769     ecx = esi; /* 0x4703D17F: mov ecx, esi */
   3770     RECOMP_ICALL(0x4703B240u); /* 0x4703D181: call 0x4703b240 */ /* not lifted */
   3771     RECOMP_FLAGS_IN();
   3772     PUSH32(esp, eax); /* 0x4703D186: push eax */
   3773     ecx = esi; /* 0x4703D187: mov ecx, esi */
   3774     RECOMP_ICALL(0x4703B080u); /* 0x4703D189: call 0x4703b080 */ /* not lifted */
   3775     RECOMP_FLAGS_IN();
   3776     PUSH32(esp, eax); /* 0x4703D18E: push eax */
   3777     PUSH32(esp, edi); /* 0x4703D18F: push edi */
   3778     PUSH32(esp, 0); /* 0x4703D190: push 0 */
   3779     PUSH32(esp, 0xCDu); /* 0x4703D192: push 0xcd */
   3780     PUSH32(esp, 0x471077E0u); /* 0x4703D197: push 0x471077e0 */
   3781     ecx = esi; /* 0x4703D19C: mov ecx, esi */
   3782     RECOMP_ICALL(0x4703A340u); /* 0x4703D19E: call 0x4703a340 */ /* not lifted */
   3783     RECOMP_FLAGS_IN();
   3784     PUSH32(esp, 0x47107A50u); /* 0x4703D1A3: push 0x47107a50 */
   3785     PUSH32(esp, 4); /* 0x4703D1A8: push 4 */
   3786     PUSH32(esp, esi); /* 0x4703D1AA: push esi */
   3787     RECOMP_ICALL(0x47039830u); /* 0x4703D1AB: call 0x47039830 */ /* not lifted */
   3788     RECOMP_FLAGS_IN();
   3789     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3790     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3791     esp = esp + 0xCu; /* 0x4703D1B0: add esp, 0xc */
   3792     _flag_k = FK_ADD;
   3793     edi = POP32_VAL(esp); /* 0x4703D1B3: pop edi */
   3794     esi = POP32_VAL(esp); /* 0x4703D1B4: pop esi */
   3795     ebp = POP32_VAL(esp); /* 0x4703D1B5: pop ebp */
   3796     ebx = POP32_VAL(esp); /* 0x4703D1B6: pop ebx */
   3797     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D1B7: ret  */
   3798     RECOMP_REGS_OUT();
   3799 }
   3800 
   3801 void sub_4703D1C0(void) {
   3802     int _fpu_cmp = 0;
   3803     uint32_t _cf = 0;
   3804     int _df = 1;
   3805     uint32_t _flag_k = FK_NONE;
   3806     uint32_t _flag_a = 0, _flag_b = 0;
   3807     uint32_t _itail_tgt = 0;
   3808     RECOMP_REGS_LOCALS
   3809     RECOMP_ENTER(0x4703D1C0u);
   3810 
   3811 L_4703D1C0:
   3812     PUSH32(esp, ebx); /* 0x4703D1C0: push ebx */
   3813     PUSH32(esp, ebp); /* 0x4703D1C1: push ebp */
   3814     ebp = MEM32(0x470AC150); /* 0x4703D1C2: mov ebp, dword ptr [0x470ac150] */
   3815     PUSH32(esp, esi); /* 0x4703D1C8: push esi */
   3816     PUSH32(esp, edi); /* 0x4703D1C9: push edi */
   3817     ebx = ecx; /* 0x4703D1CA: mov ebx, ecx */
   3818     RECOMP_ICALL(ebp); /* 0x4703D1CC: call ebp */
   3819     RECOMP_FLAGS_IN();
   3820     edi = eax; /* 0x4703D1CE: mov edi, eax */
   3821     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703D1D0: call dword ptr [0x470ac3c8] */
   3822     RECOMP_FLAGS_IN();
   3823     eax = MEM32(eax); /* 0x4703D1D6: mov eax, dword ptr [eax] */
   3824     /* test eax, eax */ /* 0x4703D1D8: test eax, eax */
   3825     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3826     _cf = 0;
   3827     _flag_k = FK_TEST;
   3828     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D1DE; /* 0x4703D1DA: je 0x4703d1de */
   3829 L_4703D1DC:
   3830     edi = eax; /* 0x4703D1DC: mov edi, eax */
   3831 L_4703D1DE:
   3832     RECOMP_ICALL(0x47039020u); /* 0x4703D1DE: call 0x47039020 */ /* not lifted */
   3833     RECOMP_FLAGS_IN();
   3834     esi = eax; /* 0x4703D1E3: mov esi, eax */
   3835     ecx = esi; /* 0x4703D1E5: mov ecx, esi */
   3836     RECOMP_ICALL(0x4703B210u); /* 0x4703D1E7: call 0x4703b210 */ /* not lifted */
   3837     RECOMP_FLAGS_IN();
   3838     PUSH32(esp, eax); /* 0x4703D1EC: push eax */
   3839     ecx = esi; /* 0x4703D1ED: mov ecx, esi */
   3840     RECOMP_ICALL(0x4703B240u); /* 0x4703D1EF: call 0x4703b240 */ /* not lifted */
   3841     RECOMP_FLAGS_IN();
   3842     PUSH32(esp, eax); /* 0x4703D1F4: push eax */
   3843     ecx = esi; /* 0x4703D1F5: mov ecx, esi */
   3844     RECOMP_ICALL(0x4703B080u); /* 0x4703D1F7: call 0x4703b080 */ /* not lifted */
   3845     RECOMP_FLAGS_IN();
   3846     PUSH32(esp, eax); /* 0x4703D1FC: push eax */
   3847     PUSH32(esp, edi); /* 0x4703D1FD: push edi */
   3848     PUSH32(esp, 0); /* 0x4703D1FE: push 0 */
   3849     PUSH32(esp, 0xD5u); /* 0x4703D200: push 0xd5 */
   3850     PUSH32(esp, 0x471077E0u); /* 0x4703D205: push 0x471077e0 */
   3851     ecx = esi; /* 0x4703D20A: mov ecx, esi */
   3852     RECOMP_ICALL(0x4703A340u); /* 0x4703D20C: call 0x4703a340 */ /* not lifted */
   3853     RECOMP_FLAGS_IN();
   3854     PUSH32(esp, ebx); /* 0x4703D211: push ebx */
   3855     PUSH32(esp, 0x471052CCu); /* 0x4703D212: push 0x471052cc */
   3856     PUSH32(esp, 4); /* 0x4703D217: push 4 */
   3857     PUSH32(esp, esi); /* 0x4703D219: push esi */
   3858     RECOMP_ICALL(0x47039830u); /* 0x4703D21A: call 0x47039830 */ /* not lifted */
   3859     RECOMP_FLAGS_IN();
   3860     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3861     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3862     esp = esp + 0x10u; /* 0x4703D21F: add esp, 0x10 */
   3863     _flag_k = FK_ADD;
   3864     RECOMP_ICALL(ebp); /* 0x4703D222: call ebp */
   3865     RECOMP_FLAGS_IN();
   3866     edi = eax; /* 0x4703D224: mov edi, eax */
   3867     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703D226: call dword ptr [0x470ac3c8] */
   3868     RECOMP_FLAGS_IN();
   3869     eax = MEM32(eax); /* 0x4703D22C: mov eax, dword ptr [eax] */
   3870     /* test eax, eax */ /* 0x4703D22E: test eax, eax */
   3871     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3872     _cf = 0;
   3873     _flag_k = FK_TEST;
   3874     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D234; /* 0x4703D230: je 0x4703d234 */
   3875 L_4703D232:
   3876     edi = eax; /* 0x4703D232: mov edi, eax */
   3877 L_4703D234:
   3878     RECOMP_ICALL(0x47039020u); /* 0x4703D234: call 0x47039020 */ /* not lifted */
   3879     RECOMP_FLAGS_IN();
   3880     esi = eax; /* 0x4703D239: mov esi, eax */
   3881     ecx = esi; /* 0x4703D23B: mov ecx, esi */
   3882     RECOMP_ICALL(0x4703B210u); /* 0x4703D23D: call 0x4703b210 */ /* not lifted */
   3883     RECOMP_FLAGS_IN();
   3884     PUSH32(esp, eax); /* 0x4703D242: push eax */
   3885     ecx = esi; /* 0x4703D243: mov ecx, esi */
   3886     RECOMP_ICALL(0x4703B240u); /* 0x4703D245: call 0x4703b240 */ /* not lifted */
   3887     RECOMP_FLAGS_IN();
   3888     PUSH32(esp, eax); /* 0x4703D24A: push eax */
   3889     ecx = esi; /* 0x4703D24B: mov ecx, esi */
   3890     RECOMP_ICALL(0x4703B080u); /* 0x4703D24D: call 0x4703b080 */ /* not lifted */
   3891     RECOMP_FLAGS_IN();
   3892     PUSH32(esp, eax); /* 0x4703D252: push eax */
   3893     PUSH32(esp, edi); /* 0x4703D253: push edi */
   3894     PUSH32(esp, 0); /* 0x4703D254: push 0 */
   3895     PUSH32(esp, 0xD6u); /* 0x4703D256: push 0xd6 */
   3896     PUSH32(esp, 0x471077E0u); /* 0x4703D25B: push 0x471077e0 */
   3897     ecx = esi; /* 0x4703D260: mov ecx, esi */
   3898     RECOMP_ICALL(0x4703A340u); /* 0x4703D262: call 0x4703a340 */ /* not lifted */
   3899     RECOMP_FLAGS_IN();
   3900     PUSH32(esp, 0x471079E8u); /* 0x4703D267: push 0x471079e8 */
   3901     PUSH32(esp, 4); /* 0x4703D26C: push 4 */
   3902     PUSH32(esp, esi); /* 0x4703D26E: push esi */
   3903     RECOMP_ICALL(0x47039830u); /* 0x4703D26F: call 0x47039830 */ /* not lifted */
   3904     RECOMP_FLAGS_IN();
   3905     eax = MEM32(ebx); /* 0x4703D274: mov eax, dword ptr [ebx] */
   3906     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3907     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3908     esp = esp + 0xCu; /* 0x4703D276: add esp, 0xc */
   3909     _flag_k = FK_ADD;
   3910     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D279: cmp eax, -1 */
   3911     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   3912     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3913     _flag_k = FK_CMP;
   3914     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D282; /* 0x4703D27C: jne 0x4703d282 */
   3915 L_4703D27E:
   3916     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3917     eax = 0; /* 0x4703D27E: xor eax, eax */
   3918     _cf = 0;
   3919     _flag_k = FK_TEST;
   3920     goto L_4703D287; /* 0x4703D280: jmp 0x4703d287 */
   3921 L_4703D282:
   3922     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x4));
   3923     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3924     eax = eax - MEM32(ebx + 0x4); /* 0x4703D282: sub eax, dword ptr [ebx + 4] */
   3925     _flag_k = FK_CMP;
   3926     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3928     eax = eax + ebx; /* 0x4703D285: add eax, ebx */
   3929     _flag_k = FK_ADD;
   3930 L_4703D287:
   3931     /* test eax, eax */ /* 0x4703D287: test eax, eax */
   3932     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3933     _cf = 0;
   3934     _flag_k = FK_TEST;
   3935     esi = eax; /* 0x4703D289: mov esi, eax */
   3936     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D2AE; /* 0x4703D28B: je 0x4703d2ae */
   3937 L_4703D28D:
   3938     ecx = esi; /* 0x4703D28D: mov ecx, esi */
   3939     RECOMP_ICALL(0x4703D840u); /* 0x4703D28F: call 0x4703d840 */ /* not lifted */
   3940     RECOMP_FLAGS_IN();
   3941     eax = MEM32(esi + 0x10); /* 0x4703D294: mov eax, dword ptr [esi + 0x10] */
   3942     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D297: cmp eax, -1 */
   3943     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   3944     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3945     _flag_k = FK_CMP;
   3946     ecx = esi + 0x10; /* 0x4703D29A: lea ecx, [esi + 0x10] */
   3947     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D2A3; /* 0x4703D29D: jne 0x4703d2a3 */
   3948 L_4703D29F:
   3949     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3950     eax = 0; /* 0x4703D29F: xor eax, eax */
   3951     _cf = 0;
   3952     _flag_k = FK_TEST;
   3953     goto L_4703D2A8; /* 0x4703D2A1: jmp 0x4703d2a8 */
   3954 L_4703D2A3:
   3955     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3957     eax = eax - MEM32(ecx + 0x4); /* 0x4703D2A3: sub eax, dword ptr [ecx + 4] */
   3958     _flag_k = FK_CMP;
   3959     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3960     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3961     eax = eax + ecx; /* 0x4703D2A6: add eax, ecx */
   3962     _flag_k = FK_ADD;
   3963 L_4703D2A8:
   3964     /* test eax, eax */ /* 0x4703D2A8: test eax, eax */
   3965     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3966     _cf = 0;
   3967     _flag_k = FK_TEST;
   3968     esi = eax; /* 0x4703D2AA: mov esi, eax */
   3969     RECOMP_BACKEDGE();
   3970     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703D28D; /* 0x4703D2AC: jne 0x4703d28d */
   3971 L_4703D2AE:
   3972     RECOMP_ICALL(ebp); /* 0x4703D2AE: call ebp */
   3973     RECOMP_FLAGS_IN();
   3974     edi = eax; /* 0x4703D2B0: mov edi, eax */
   3975     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703D2B2: call dword ptr [0x470ac3c8] */
   3976     RECOMP_FLAGS_IN();
   3977     eax = MEM32(eax); /* 0x4703D2B8: mov eax, dword ptr [eax] */
   3978     /* test eax, eax */ /* 0x4703D2BA: test eax, eax */
   3979     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3980     _cf = 0;
   3981     _flag_k = FK_TEST;
   3982     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D2C0; /* 0x4703D2BC: je 0x4703d2c0 */
   3983 L_4703D2BE:
   3984     edi = eax; /* 0x4703D2BE: mov edi, eax */
   3985 L_4703D2C0:
   3986     RECOMP_ICALL(0x47039020u); /* 0x4703D2C0: call 0x47039020 */ /* not lifted */
   3987     RECOMP_FLAGS_IN();
   3988     esi = eax; /* 0x4703D2C5: mov esi, eax */
   3989     ecx = esi; /* 0x4703D2C7: mov ecx, esi */
   3990     RECOMP_ICALL(0x4703B210u); /* 0x4703D2C9: call 0x4703b210 */ /* not lifted */
   3991     RECOMP_FLAGS_IN();
   3992     PUSH32(esp, eax); /* 0x4703D2CE: push eax */
   3993     ecx = esi; /* 0x4703D2CF: mov ecx, esi */
   3994     RECOMP_ICALL(0x4703B240u); /* 0x4703D2D1: call 0x4703b240 */ /* not lifted */
   3995     RECOMP_FLAGS_IN();
   3996     PUSH32(esp, eax); /* 0x4703D2D6: push eax */
   3997     ecx = esi; /* 0x4703D2D7: mov ecx, esi */
   3998     RECOMP_ICALL(0x4703B080u); /* 0x4703D2D9: call 0x4703b080 */ /* not lifted */
   3999     RECOMP_FLAGS_IN();
   4000     PUSH32(esp, eax); /* 0x4703D2DE: push eax */
   4001     PUSH32(esp, edi); /* 0x4703D2DF: push edi */
   4002     PUSH32(esp, 0); /* 0x4703D2E0: push 0 */
   4003     PUSH32(esp, 0xDCu); /* 0x4703D2E2: push 0xdc */
   4004     PUSH32(esp, 0x471077E0u); /* 0x4703D2E7: push 0x471077e0 */
   4005     ecx = esi; /* 0x4703D2EC: mov ecx, esi */
   4006     RECOMP_ICALL(0x4703A340u); /* 0x4703D2EE: call 0x4703a340 */ /* not lifted */
   4007     RECOMP_FLAGS_IN();
   4008     eax = MEM32(ebx + 0x8); /* 0x4703D2F3: mov eax, dword ptr [ebx + 8] */
   4009     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D2F6: cmp eax, -1 */
   4010     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4011     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4012     _flag_k = FK_CMP;
   4013     edi = ebx + 0x8; /* 0x4703D2F9: lea edi, [ebx + 8] */
   4014     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D302; /* 0x4703D2FC: jne 0x4703d302 */
   4015 L_4703D2FE:
   4016     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4017     eax = 0; /* 0x4703D2FE: xor eax, eax */
   4018     _cf = 0;
   4019     _flag_k = FK_TEST;
   4020     goto L_4703D307; /* 0x4703D300: jmp 0x4703d307 */
   4021 L_4703D302:
   4022     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   4023     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4024     eax = eax - MEM32(edi + 0x4); /* 0x4703D302: sub eax, dword ptr [edi + 4] */
   4025     _flag_k = FK_CMP;
   4026     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4027     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4028     eax = eax + edi; /* 0x4703D305: add eax, edi */
   4029     _flag_k = FK_ADD;
   4030 L_4703D307:
   4031     PUSH32(esp, eax); /* 0x4703D307: push eax */
   4032     PUSH32(esp, 0x471079DCu); /* 0x4703D308: push 0x471079dc */
   4033     PUSH32(esp, 4); /* 0x4703D30D: push 4 */
   4034     PUSH32(esp, esi); /* 0x4703D30F: push esi */
   4035     RECOMP_ICALL(0x47039830u); /* 0x4703D310: call 0x47039830 */ /* not lifted */
   4036     RECOMP_FLAGS_IN();
   4037     ebp = ebx + 0x118; /* 0x4703D315: lea ebp, [ebx + 0x118] */
   4038     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4039     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4040     esp = esp + 0x10u; /* 0x4703D31B: add esp, 0x10 */
   4041     _flag_k = FK_ADD;
   4042     ecx = ebp; /* 0x4703D31E: mov ecx, ebp */
   4043     RECOMP_ICALL(0x4703CEF0u); /* 0x4703D320: call 0x4703cef0 */ /* not lifted */
   4044     RECOMP_FLAGS_IN();
   4045     RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4703D325: call dword ptr [0x470ac150] */
   4046     RECOMP_FLAGS_IN();
   4047     ebx = eax; /* 0x4703D32B: mov ebx, eax */
   4048     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703D32D: call dword ptr [0x470ac3c8] */
   4049     RECOMP_FLAGS_IN();
   4050     eax = MEM32(eax); /* 0x4703D333: mov eax, dword ptr [eax] */
   4051     /* test eax, eax */ /* 0x4703D335: test eax, eax */
   4052     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4053     _cf = 0;
   4054     _flag_k = FK_TEST;
   4055     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D33B; /* 0x4703D337: je 0x4703d33b */
   4056 L_4703D339:
   4057     ebx = eax; /* 0x4703D339: mov ebx, eax */
   4058 L_4703D33B:
   4059     RECOMP_ICALL(0x47039020u); /* 0x4703D33B: call 0x47039020 */ /* not lifted */
   4060     RECOMP_FLAGS_IN();
   4061     esi = eax; /* 0x4703D340: mov esi, eax */
   4062     ecx = esi; /* 0x4703D342: mov ecx, esi */
   4063     RECOMP_ICALL(0x4703B210u); /* 0x4703D344: call 0x4703b210 */ /* not lifted */
   4064     RECOMP_FLAGS_IN();
   4065     PUSH32(esp, eax); /* 0x4703D349: push eax */
   4066     ecx = esi; /* 0x4703D34A: mov ecx, esi */
   4067     RECOMP_ICALL(0x4703B240u); /* 0x4703D34C: call 0x4703b240 */ /* not lifted */
   4068     RECOMP_FLAGS_IN();
   4069     PUSH32(esp, eax); /* 0x4703D351: push eax */
   4070     ecx = esi; /* 0x4703D352: mov ecx, esi */
   4071     RECOMP_ICALL(0x4703B080u); /* 0x4703D354: call 0x4703b080 */ /* not lifted */
   4072     RECOMP_FLAGS_IN();
   4073     PUSH32(esp, eax); /* 0x4703D359: push eax */
   4074     PUSH32(esp, ebx); /* 0x4703D35A: push ebx */
   4075     PUSH32(esp, 0); /* 0x4703D35B: push 0 */
   4076     PUSH32(esp, 0xDFu); /* 0x4703D35D: push 0xdf */
   4077     PUSH32(esp, 0x471077E0u); /* 0x4703D362: push 0x471077e0 */
   4078     ecx = esi; /* 0x4703D367: mov ecx, esi */
   4079     RECOMP_ICALL(0x4703A340u); /* 0x4703D369: call 0x4703a340 */ /* not lifted */
   4080     RECOMP_FLAGS_IN();
   4081     PUSH32(esp, 0x471079C8u); /* 0x4703D36E: push 0x471079c8 */
   4082     PUSH32(esp, 4); /* 0x4703D373: push 4 */
   4083     PUSH32(esp, esi); /* 0x4703D375: push esi */
   4084     RECOMP_ICALL(0x47039830u); /* 0x4703D376: call 0x47039830 */ /* not lifted */
   4085     RECOMP_FLAGS_IN();
   4086     eax = MEM32(edi); /* 0x4703D37B: mov eax, dword ptr [edi] */
   4087     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4088     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4089     esp = esp + 0xCu; /* 0x4703D37D: add esp, 0xc */
   4090     _flag_k = FK_ADD;
   4091     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D380: cmp eax, -1 */
   4092     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4094     _flag_k = FK_CMP;
   4095     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D389; /* 0x4703D383: jne 0x4703d389 */
   4096 L_4703D385:
   4097     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4098     eax = 0; /* 0x4703D385: xor eax, eax */
   4099     _cf = 0;
   4100     _flag_k = FK_TEST;
   4101     goto L_4703D38E; /* 0x4703D387: jmp 0x4703d38e */
   4102 L_4703D389:
   4103     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   4104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4105     eax = eax - MEM32(edi + 0x4); /* 0x4703D389: sub eax, dword ptr [edi + 4] */
   4106     _flag_k = FK_CMP;
   4107     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4108     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4109     eax = eax + edi; /* 0x4703D38C: add eax, edi */
   4110     _flag_k = FK_ADD;
   4111 L_4703D38E:
   4112     ecx = MEM32(eax); /* 0x4703D38E: mov ecx, dword ptr [eax] */
   4113     /* cmp ecx, 0xFFFFFFFFu */ /* 0x4703D390: cmp ecx, -1 */
   4114     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4115     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4116     _flag_k = FK_CMP;
   4117     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D399; /* 0x4703D393: jne 0x4703d399 */
   4118 L_4703D395:
   4119     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4120     ecx = 0; /* 0x4703D395: xor ecx, ecx */
   4121     _cf = 0;
   4122     _flag_k = FK_TEST;
   4123     goto L_4703D39E; /* 0x4703D397: jmp 0x4703d39e */
   4124 L_4703D399:
   4125     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4));
   4126     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4127     ecx = ecx - MEM32(eax + 0x4); /* 0x4703D399: sub ecx, dword ptr [eax + 4] */
   4128     _flag_k = FK_CMP;
   4129     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4130     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4131     ecx = ecx + eax; /* 0x4703D39C: add ecx, eax */
   4132     _flag_k = FK_ADD;
   4133 L_4703D39E:
   4134     /* test ecx, ecx */ /* 0x4703D39E: test ecx, ecx */
   4135     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4136     _cf = 0;
   4137     _flag_k = FK_TEST;
   4138     esi = ecx; /* 0x4703D3A0: mov esi, ecx */
   4139     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D3C5; /* 0x4703D3A2: je 0x4703d3c5 */
   4140 L_4703D3A4:
   4141     /* cmp esi, ebp */ /* 0x4703D3A4: cmp esi, ebp */
   4142     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebp);
   4143     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4144     _flag_k = FK_CMP;
   4145     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703D3C5; /* 0x4703D3A6: je 0x4703d3c5 */
   4146 L_4703D3A8:
   4147     ecx = esi; /* 0x4703D3A8: mov ecx, esi */
   4148     RECOMP_ICALL(0x4703CEF0u); /* 0x4703D3AA: call 0x4703cef0 */ /* not lifted */
   4149     RECOMP_FLAGS_IN();
   4150     eax = MEM32(esi); /* 0x4703D3AF: mov eax, dword ptr [esi] */
   4151     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D3B1: cmp eax, -1 */
   4152     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4154     _flag_k = FK_CMP;
   4155     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D3BA; /* 0x4703D3B4: jne 0x4703d3ba */
   4156 L_4703D3B6:
   4157     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4158     eax = 0; /* 0x4703D3B6: xor eax, eax */
   4159     _cf = 0;
   4160     _flag_k = FK_TEST;
   4161     goto L_4703D3BF; /* 0x4703D3B8: jmp 0x4703d3bf */
   4162 L_4703D3BA:
   4163     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x4));
   4164     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4165     eax = eax - MEM32(esi + 0x4); /* 0x4703D3BA: sub eax, dword ptr [esi + 4] */
   4166     _flag_k = FK_CMP;
   4167     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4168     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4169     eax = eax + esi; /* 0x4703D3BD: add eax, esi */
   4170     _flag_k = FK_ADD;
   4171 L_4703D3BF:
   4172     /* test eax, eax */ /* 0x4703D3BF: test eax, eax */
   4173     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4174     _cf = 0;
   4175     _flag_k = FK_TEST;
   4176     esi = eax; /* 0x4703D3C1: mov esi, eax */
   4177     RECOMP_BACKEDGE();
   4178     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703D3A4; /* 0x4703D3C3: jne 0x4703d3a4 */
   4179 L_4703D3C5:
   4180     ebx = MEM32(0x470AC150); /* 0x4703D3C5: mov ebx, dword ptr [0x470ac150] */
   4181     RECOMP_ICALL(ebx); /* 0x4703D3CB: call ebx */
   4182     RECOMP_FLAGS_IN();
   4183     ebp = MEM32(0x470AC3C8); /* 0x4703D3CD: mov ebp, dword ptr [0x470ac3c8] */
   4184     edi = eax; /* 0x4703D3D3: mov edi, eax */
   4185     RECOMP_ICALL(ebp); /* 0x4703D3D5: call ebp */
   4186     RECOMP_FLAGS_IN();
   4187     eax = MEM32(eax); /* 0x4703D3D7: mov eax, dword ptr [eax] */
   4188     /* test eax, eax */ /* 0x4703D3D9: test eax, eax */
   4189     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4190     _cf = 0;
   4191     _flag_k = FK_TEST;
   4192     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D3DF; /* 0x4703D3DB: je 0x4703d3df */
   4193 L_4703D3DD:
   4194     edi = eax; /* 0x4703D3DD: mov edi, eax */
   4195 L_4703D3DF:
   4196     RECOMP_ICALL(0x47039020u); /* 0x4703D3DF: call 0x47039020 */ /* not lifted */
   4197     RECOMP_FLAGS_IN();
   4198     esi = eax; /* 0x4703D3E4: mov esi, eax */
   4199     ecx = esi; /* 0x4703D3E6: mov ecx, esi */
   4200     RECOMP_ICALL(0x4703B210u); /* 0x4703D3E8: call 0x4703b210 */ /* not lifted */
   4201     RECOMP_FLAGS_IN();
   4202     PUSH32(esp, eax); /* 0x4703D3ED: push eax */
   4203     ecx = esi; /* 0x4703D3EE: mov ecx, esi */
   4204     RECOMP_ICALL(0x4703B240u); /* 0x4703D3F0: call 0x4703b240 */ /* not lifted */
   4205     RECOMP_FLAGS_IN();
   4206     PUSH32(esp, eax); /* 0x4703D3F5: push eax */
   4207     ecx = esi; /* 0x4703D3F6: mov ecx, esi */
   4208     RECOMP_ICALL(0x4703B080u); /* 0x4703D3F8: call 0x4703b080 */ /* not lifted */
   4209     RECOMP_FLAGS_IN();
   4210     PUSH32(esp, eax); /* 0x4703D3FD: push eax */
   4211     PUSH32(esp, edi); /* 0x4703D3FE: push edi */
   4212     PUSH32(esp, 0); /* 0x4703D3FF: push 0 */
   4213     PUSH32(esp, 0xE5u); /* 0x4703D401: push 0xe5 */
   4214     PUSH32(esp, 0x471077E0u); /* 0x4703D406: push 0x471077e0 */
   4215     ecx = esi; /* 0x4703D40B: mov ecx, esi */
   4216     RECOMP_ICALL(0x4703A340u); /* 0x4703D40D: call 0x4703a340 */ /* not lifted */
   4217     RECOMP_FLAGS_IN();
   4218     PUSH32(esp, 0x47105590u); /* 0x4703D412: push 0x47105590 */
   4219     PUSH32(esp, 4); /* 0x4703D417: push 4 */
   4220     PUSH32(esp, esi); /* 0x4703D419: push esi */
   4221     RECOMP_ICALL(0x47039830u); /* 0x4703D41A: call 0x47039830 */ /* not lifted */
   4222     RECOMP_FLAGS_IN();
   4223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4225     esp = esp + 0xCu; /* 0x4703D41F: add esp, 0xc */
   4226     _flag_k = FK_ADD;
   4227     RECOMP_ICALL(ebx); /* 0x4703D422: call ebx */
   4228     RECOMP_FLAGS_IN();
   4229     esi = eax; /* 0x4703D424: mov esi, eax */
   4230     RECOMP_ICALL(ebp); /* 0x4703D426: call ebp */
   4231     RECOMP_FLAGS_IN();
   4232     eax = MEM32(eax); /* 0x4703D428: mov eax, dword ptr [eax] */
   4233     /* test eax, eax */ /* 0x4703D42A: test eax, eax */
   4234     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4235     _cf = 0;
   4236     _flag_k = FK_TEST;
   4237     edi = esi; /* 0x4703D42C: mov edi, esi */
   4238     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D432; /* 0x4703D42E: je 0x4703d432 */
   4239 L_4703D430:
   4240     edi = eax; /* 0x4703D430: mov edi, eax */
   4241 L_4703D432:
   4242     RECOMP_ICALL(0x47039020u); /* 0x4703D432: call 0x47039020 */ /* not lifted */
   4243     RECOMP_FLAGS_IN();
   4244     esi = eax; /* 0x4703D437: mov esi, eax */
   4245     ecx = esi; /* 0x4703D439: mov ecx, esi */
   4246     RECOMP_ICALL(0x4703B210u); /* 0x4703D43B: call 0x4703b210 */ /* not lifted */
   4247     RECOMP_FLAGS_IN();
   4248     PUSH32(esp, eax); /* 0x4703D440: push eax */
   4249     ecx = esi; /* 0x4703D441: mov ecx, esi */
   4250     RECOMP_ICALL(0x4703B240u); /* 0x4703D443: call 0x4703b240 */ /* not lifted */
   4251     RECOMP_FLAGS_IN();
   4252     PUSH32(esp, eax); /* 0x4703D448: push eax */
   4253     ecx = esi; /* 0x4703D449: mov ecx, esi */
   4254     RECOMP_ICALL(0x4703B080u); /* 0x4703D44B: call 0x4703b080 */ /* not lifted */
   4255     RECOMP_FLAGS_IN();
   4256     PUSH32(esp, eax); /* 0x4703D450: push eax */
   4257     PUSH32(esp, edi); /* 0x4703D451: push edi */
   4258     PUSH32(esp, 0); /* 0x4703D452: push 0 */
   4259     PUSH32(esp, 0xE6u); /* 0x4703D454: push 0xe6 */
   4260     PUSH32(esp, 0x471077E0u); /* 0x4703D459: push 0x471077e0 */
   4261     ecx = esi; /* 0x4703D45E: mov ecx, esi */
   4262     RECOMP_ICALL(0x4703A340u); /* 0x4703D460: call 0x4703a340 */ /* not lifted */
   4263     RECOMP_FLAGS_IN();
   4264     PUSH32(esp, 0x4710529Cu); /* 0x4703D465: push 0x4710529c */
   4265     PUSH32(esp, 4); /* 0x4703D46A: push 4 */
   4266     PUSH32(esp, esi); /* 0x4703D46C: push esi */
   4267     RECOMP_ICALL(0x47039830u); /* 0x4703D46D: call 0x47039830 */ /* not lifted */
   4268     RECOMP_FLAGS_IN();
   4269     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4270     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4271     esp = esp + 0xCu; /* 0x4703D472: add esp, 0xc */
   4272     _flag_k = FK_ADD;
   4273     edi = POP32_VAL(esp); /* 0x4703D475: pop edi */
   4274     esi = POP32_VAL(esp); /* 0x4703D476: pop esi */
   4275     ebp = POP32_VAL(esp); /* 0x4703D477: pop ebp */
   4276     ebx = POP32_VAL(esp); /* 0x4703D478: pop ebx */
   4277     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D479: ret  */
   4278     RECOMP_REGS_OUT();
   4279 }
   4280 
   4281 void sub_4703D480(void) {
   4282     int _fpu_cmp = 0;
   4283     uint32_t _cf = 0;
   4284     int _df = 1;
   4285     uint32_t _flag_k = FK_NONE;
   4286     uint32_t _flag_a = 0, _flag_b = 0;
   4287     uint32_t _itail_tgt = 0;
   4288     RECOMP_REGS_LOCALS
   4289     RECOMP_ENTER(0x4703D480u);
   4290 
   4291 L_4703D480:
   4292     PUSH32(esp, ecx); /* 0x4703D480: push ecx */
   4293     PUSH32(esp, ebx); /* 0x4703D481: push ebx */
   4294     PUSH32(esp, esi); /* 0x4703D482: push esi */
   4295     PUSH32(esp, edi); /* 0x4703D483: push edi */
   4296     esi = ecx; /* 0x4703D484: mov esi, ecx */
   4297     eax = esp + 0xC; /* 0x4703D486: lea eax, [esp + 0xc] */
   4298     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4299     ebx = 0; /* 0x4703D48A: xor ebx, ebx */
   4300     _cf = 0;
   4301     _flag_k = FK_TEST;
   4302     PUSH32(esp, eax); /* 0x4703D48C: push eax */
   4303     PUSH32(esp, esi); /* 0x4703D48D: push esi */
   4304     MEM32(esi) = ebx; /* 0x4703D48E: mov dword ptr [esi], ebx */
   4305     MEM32(esi + 0x4) = ebx; /* 0x4703D490: mov dword ptr [esi + 4], ebx */
   4306     MEM32(esp + 0x14) = ebx; /* 0x4703D493: mov dword ptr [esp + 0x14], ebx */
   4307     RECOMP_ICALL(0x4700EF90u); /* 0x4703D497: call 0x4700ef90 */ /* not lifted */
   4308     RECOMP_FLAGS_IN();
   4309     ecx = eax; /* 0x4703D49C: mov ecx, eax */
   4310     RECOMP_ICALL(0x47019300u); /* 0x4703D49E: call 0x47019300 */ /* not lifted */
   4311     RECOMP_FLAGS_IN();
   4312     edx = MEM32(esp + 0xC); /* 0x4703D4A3: mov edx, dword ptr [esp + 0xc] */
   4313     ecx = esi; /* 0x4703D4A7: mov ecx, esi */
   4314     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   4315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4316     ecx = ecx - edx; /* 0x4703D4A9: sub ecx, edx */
   4317     _flag_k = FK_CMP;
   4318     edx = esp + 0xC; /* 0x4703D4AB: lea edx, [esp + 0xc] */
   4319     edi = esi + 0x8; /* 0x4703D4AF: lea edi, [esi + 8] */
   4320     PUSH32(esp, edx); /* 0x4703D4B2: push edx */
   4321     MEM32(esi + 0x4) = ecx; /* 0x4703D4B3: mov dword ptr [esi + 4], ecx */
   4322     PUSH32(esp, edi); /* 0x4703D4B6: push edi */
   4323     MEM32(edi) = ebx; /* 0x4703D4B7: mov dword ptr [edi], ebx */
   4324     MEM32(edi + 0x4) = ebx; /* 0x4703D4B9: mov dword ptr [edi + 4], ebx */
   4325     MEM32(esp + 0x14) = ebx; /* 0x4703D4BC: mov dword ptr [esp + 0x14], ebx */
   4326     RECOMP_ICALL(0x4700EF90u); /* 0x4703D4C0: call 0x4700ef90 */ /* not lifted */
   4327     RECOMP_FLAGS_IN();
   4328     ecx = eax; /* 0x4703D4C5: mov ecx, eax */
   4329     RECOMP_ICALL(0x47019300u); /* 0x4703D4C7: call 0x47019300 */ /* not lifted */
   4330     RECOMP_FLAGS_IN();
   4331     ecx = MEM32(esp + 0xC); /* 0x4703D4CC: mov ecx, dword ptr [esp + 0xc] */
   4332     eax = edi; /* 0x4703D4D0: mov eax, edi */
   4333     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4334     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4335     eax = eax - ecx; /* 0x4703D4D2: sub eax, ecx */
   4336     _flag_k = FK_CMP;
   4337     MEM32(edi + 0x4) = eax; /* 0x4703D4D4: mov dword ptr [edi + 4], eax */
   4338     ecx = esp + 0xC; /* 0x4703D4D7: lea ecx, [esp + 0xc] */
   4339     edi = esi + 0x10; /* 0x4703D4DB: lea edi, [esi + 0x10] */
   4340     PUSH32(esp, ecx); /* 0x4703D4DE: push ecx */
   4341     PUSH32(esp, edi); /* 0x4703D4DF: push edi */
   4342     MEM32(edi) = ebx; /* 0x4703D4E0: mov dword ptr [edi], ebx */
   4343     MEM32(edi + 0x4) = ebx; /* 0x4703D4E2: mov dword ptr [edi + 4], ebx */
   4344     MEM32(esp + 0x14) = ebx; /* 0x4703D4E5: mov dword ptr [esp + 0x14], ebx */
   4345     RECOMP_ICALL(0x4700EF90u); /* 0x4703D4E9: call 0x4700ef90 */ /* not lifted */
   4346     RECOMP_FLAGS_IN();
   4347     ecx = eax; /* 0x4703D4EE: mov ecx, eax */
   4348     RECOMP_ICALL(0x47019300u); /* 0x4703D4F0: call 0x47019300 */ /* not lifted */
   4349     RECOMP_FLAGS_IN();
   4350     eax = MEM32(esp + 0xC); /* 0x4703D4F5: mov eax, dword ptr [esp + 0xc] */
   4351     edx = edi; /* 0x4703D4F9: mov edx, edi */
   4352     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4353     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4354     edx = edx - eax; /* 0x4703D4FB: sub edx, eax */
   4355     _flag_k = FK_CMP;
   4356     MEM32(edi + 0x4) = edx; /* 0x4703D4FD: mov dword ptr [edi + 4], edx */
   4357     eax = esp + 0xC; /* 0x4703D500: lea eax, [esp + 0xc] */
   4358     edi = esi + 0x18; /* 0x4703D504: lea edi, [esi + 0x18] */
   4359     PUSH32(esp, eax); /* 0x4703D507: push eax */
   4360     PUSH32(esp, edi); /* 0x4703D508: push edi */
   4361     MEM32(edi) = ebx; /* 0x4703D509: mov dword ptr [edi], ebx */
   4362     MEM32(edi + 0x4) = ebx; /* 0x4703D50B: mov dword ptr [edi + 4], ebx */
   4363     MEM32(esp + 0x14) = ebx; /* 0x4703D50E: mov dword ptr [esp + 0x14], ebx */
   4364     RECOMP_ICALL(0x4700EF90u); /* 0x4703D512: call 0x4700ef90 */ /* not lifted */
   4365     RECOMP_FLAGS_IN();
   4366     ecx = eax; /* 0x4703D517: mov ecx, eax */
   4367     RECOMP_ICALL(0x47019300u); /* 0x4703D519: call 0x47019300 */ /* not lifted */
   4368     RECOMP_FLAGS_IN();
   4369     eax = MEM32(esp + 0xC); /* 0x4703D51E: mov eax, dword ptr [esp + 0xc] */
   4370     ecx = edi; /* 0x4703D522: mov ecx, edi */
   4371     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4373     ecx = ecx - eax; /* 0x4703D524: sub ecx, eax */
   4374     _flag_k = FK_CMP;
   4375     MEM32(edi + 0x4) = ecx; /* 0x4703D526: mov dword ptr [edi + 4], ecx */
   4376     edi = POP32_VAL(esp); /* 0x4703D529: pop edi */
   4377     eax = esi; /* 0x4703D52A: mov eax, esi */
   4378     esi = POP32_VAL(esp); /* 0x4703D52C: pop esi */
   4379     ebx = POP32_VAL(esp); /* 0x4703D52D: pop ebx */
   4380     ecx = POP32_VAL(esp); /* 0x4703D52E: pop ecx */
   4381     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D52F: ret  */
   4382     RECOMP_REGS_OUT();
   4383 }
   4384 
   4385 void sub_4703D530(void) {
   4386     int _fpu_cmp = 0;
   4387     uint32_t _cf = 0;
   4388     int _df = 1;
   4389     uint32_t _flag_k = FK_NONE;
   4390     uint32_t _flag_a = 0, _flag_b = 0;
   4391     uint32_t _itail_tgt = 0;
   4392     RECOMP_REGS_LOCALS
   4393     RECOMP_ENTER(0x4703D530u);
   4394 
   4395 L_4703D530:
   4396     PUSH32(esp, ebx); /* 0x4703D530: push ebx */
   4397     PUSH32(esp, ebp); /* 0x4703D531: push ebp */
   4398     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4399     ebp = 0; /* 0x4703D532: xor ebp, ebp */
   4400     _cf = 0;
   4401     _flag_k = FK_TEST;
   4402     PUSH32(esp, esi); /* 0x4703D534: push esi */
   4403     esi = MEM32(esp + 0x14); /* 0x4703D535: mov esi, dword ptr [esp + 0x14] */
   4404     /* cmp esi, ebp */ /* 0x4703D539: cmp esi, ebp */
   4405     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebp);
   4406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4407     _flag_k = FK_CMP;
   4408     ebx = ecx; /* 0x4703D53B: mov ebx, ecx */
   4409     MEM32(ebx) = ebp; /* 0x4703D53D: mov dword ptr [ebx], ebp */
   4410     MEM32(ebx + 0x4) = ebp; /* 0x4703D53F: mov dword ptr [ebx + 4], ebp */
   4411     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D54C; /* 0x4703D542: jne 0x4703d54c */
   4412 L_4703D544:
   4413     MEM32(ebx) = 0xFFFFFFFFu; /* 0x4703D544: mov dword ptr [ebx], 0xffffffff */
   4414     goto L_4703D571; /* 0x4703D54A: jmp 0x4703d571 */
   4415 L_4703D54C:
   4416     eax = esp + 0x14; /* 0x4703D54C: lea eax, [esp + 0x14] */
   4417     PUSH32(esp, eax); /* 0x4703D550: push eax */
   4418     PUSH32(esp, ebx); /* 0x4703D551: push ebx */
   4419     MEM32(esp + 0x1C) = ebp; /* 0x4703D552: mov dword ptr [esp + 0x1c], ebp */
   4420     RECOMP_ICALL(0x4700EF90u); /* 0x4703D556: call 0x4700ef90 */ /* not lifted */
   4421     RECOMP_FLAGS_IN();
   4422     ecx = eax; /* 0x4703D55B: mov ecx, eax */
   4423     RECOMP_ICALL(0x47019300u); /* 0x4703D55D: call 0x47019300 */ /* not lifted */
   4424     RECOMP_FLAGS_IN();
   4425     eax = MEM32(esp + 0x14); /* 0x4703D562: mov eax, dword ptr [esp + 0x14] */
   4426     ecx = ebx; /* 0x4703D566: mov ecx, ebx */
   4427     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4428     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4429     ecx = ecx - eax; /* 0x4703D568: sub ecx, eax */
   4430     _flag_k = FK_CMP;
   4431     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   4432     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4433     esi = esi - eax; /* 0x4703D56A: sub esi, eax */
   4434     _flag_k = FK_CMP;
   4435     MEM32(ebx + 0x4) = ecx; /* 0x4703D56C: mov dword ptr [ebx + 4], ecx */
   4436     MEM32(ebx) = esi; /* 0x4703D56F: mov dword ptr [ebx], esi */
   4437 L_4703D571:
   4438     PUSH32(esp, edi); /* 0x4703D571: push edi */
   4439     edi = MEM32(esp + 0x1C); /* 0x4703D572: mov edi, dword ptr [esp + 0x1c] */
   4440     /* cmp edi, ebp */ /* 0x4703D576: cmp edi, ebp */
   4441     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebp);
   4442     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4443     _flag_k = FK_CMP;
   4444     esi = ebx + 0x8; /* 0x4703D578: lea esi, [ebx + 8] */
   4445     MEM32(esi) = ebp; /* 0x4703D57B: mov dword ptr [esi], ebp */
   4446     MEM32(esi + 0x4) = ebp; /* 0x4703D57D: mov dword ptr [esi + 4], ebp */
   4447     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D58A; /* 0x4703D580: jne 0x4703d58a */
   4448 L_4703D582:
   4449     MEM32(esi) = 0xFFFFFFFFu; /* 0x4703D582: mov dword ptr [esi], 0xffffffff */
   4450     goto L_4703D5AF; /* 0x4703D588: jmp 0x4703d5af */
   4451 L_4703D58A:
   4452     edx = esp + 0x18; /* 0x4703D58A: lea edx, [esp + 0x18] */
   4453     PUSH32(esp, edx); /* 0x4703D58E: push edx */
   4454     PUSH32(esp, esi); /* 0x4703D58F: push esi */
   4455     MEM32(esp + 0x20) = ebp; /* 0x4703D590: mov dword ptr [esp + 0x20], ebp */
   4456     RECOMP_ICALL(0x4700EF90u); /* 0x4703D594: call 0x4700ef90 */ /* not lifted */
   4457     RECOMP_FLAGS_IN();
   4458     ecx = eax; /* 0x4703D599: mov ecx, eax */
   4459     RECOMP_ICALL(0x47019300u); /* 0x4703D59B: call 0x47019300 */ /* not lifted */
   4460     RECOMP_FLAGS_IN();
   4461     eax = MEM32(esp + 0x18); /* 0x4703D5A0: mov eax, dword ptr [esp + 0x18] */
   4462     ecx = esi; /* 0x4703D5A4: mov ecx, esi */
   4463     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4464     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4465     ecx = ecx - eax; /* 0x4703D5A6: sub ecx, eax */
   4466     _flag_k = FK_CMP;
   4467     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   4468     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4469     edi = edi - eax; /* 0x4703D5A8: sub edi, eax */
   4470     _flag_k = FK_CMP;
   4471     MEM32(esi + 0x4) = ecx; /* 0x4703D5AA: mov dword ptr [esi + 4], ecx */
   4472     MEM32(esi) = edi; /* 0x4703D5AD: mov dword ptr [esi], edi */
   4473 L_4703D5AF:
   4474     esi = ebx + 0x10; /* 0x4703D5AF: lea esi, [ebx + 0x10] */
   4475     MEM32(esi) = ebp; /* 0x4703D5B2: mov dword ptr [esi], ebp */
   4476     MEM32(esi + 0x4) = ebp; /* 0x4703D5B4: mov dword ptr [esi + 4], ebp */
   4477     ebp = MEM32(esp + 0x20); /* 0x4703D5B7: mov ebp, dword ptr [esp + 0x20] */
   4478     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4479     edi = 0; /* 0x4703D5BB: xor edi, edi */
   4480     _cf = 0;
   4481     _flag_k = FK_TEST;
   4482     /* cmp ebp, edi */ /* 0x4703D5BD: cmp ebp, edi */
   4483     _flag_a = (uint32_t)(ebp); _flag_b = (uint32_t)(edi);
   4484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4485     _flag_k = FK_CMP;
   4486     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D5C9; /* 0x4703D5BF: jne 0x4703d5c9 */
   4487 L_4703D5C1:
   4488     MEM32(esi) = 0xFFFFFFFFu; /* 0x4703D5C1: mov dword ptr [esi], 0xffffffff */
   4489     goto L_4703D5F0; /* 0x4703D5C7: jmp 0x4703d5f0 */
   4490 L_4703D5C9:
   4491     edx = esp + 0x18; /* 0x4703D5C9: lea edx, [esp + 0x18] */
   4492     PUSH32(esp, edx); /* 0x4703D5CD: push edx */
   4493     PUSH32(esp, esi); /* 0x4703D5CE: push esi */
   4494     MEM32(esp + 0x20) = edi; /* 0x4703D5CF: mov dword ptr [esp + 0x20], edi */
   4495     RECOMP_ICALL(0x4700EF90u); /* 0x4703D5D3: call 0x4700ef90 */ /* not lifted */
   4496     RECOMP_FLAGS_IN();
   4497     ecx = eax; /* 0x4703D5D8: mov ecx, eax */
   4498     RECOMP_ICALL(0x47019300u); /* 0x4703D5DA: call 0x47019300 */ /* not lifted */
   4499     RECOMP_FLAGS_IN();
   4500     eax = MEM32(esp + 0x18); /* 0x4703D5DF: mov eax, dword ptr [esp + 0x18] */
   4501     ecx = esi; /* 0x4703D5E3: mov ecx, esi */
   4502     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4503     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4504     ecx = ecx - eax; /* 0x4703D5E5: sub ecx, eax */
   4505     _flag_k = FK_CMP;
   4506     edx = ebp; /* 0x4703D5E7: mov edx, ebp */
   4507     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4508     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4509     edx = edx - eax; /* 0x4703D5E9: sub edx, eax */
   4510     _flag_k = FK_CMP;
   4511     MEM32(esi + 0x4) = ecx; /* 0x4703D5EB: mov dword ptr [esi + 4], ecx */
   4512     MEM32(esi) = edx; /* 0x4703D5EE: mov dword ptr [esi], edx */
   4513 L_4703D5F0:
   4514     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   4515     ecx = ecx | 0xFFFFFFFFu; /* 0x4703D5F0: or ecx, 0xffffffff */
   4516     _cf = 0;
   4517     _flag_k = FK_TEST;
   4518     MEM32(ebx + 0x1C) = edi; /* 0x4703D5F3: mov dword ptr [ebx + 0x1c], edi */
   4519     MEM32(ebx + 0x18) = ecx; /* 0x4703D5F6: mov dword ptr [ebx + 0x18], ecx */
   4520     eax = MEM32(ebx); /* 0x4703D5F9: mov eax, dword ptr [ebx] */
   4521     /* cmp eax, ecx */ /* 0x4703D5FB: cmp eax, ecx */
   4522     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4523     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4524     _flag_k = FK_CMP;
   4525     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D603; /* 0x4703D5FD: jne 0x4703d603 */
   4526 L_4703D5FF:
   4527     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4528     edx = 0; /* 0x4703D5FF: xor edx, edx */
   4529     _cf = 0;
   4530     _flag_k = FK_TEST;
   4531     goto L_4703D60A; /* 0x4703D601: jmp 0x4703d60a */
   4532 L_4703D603:
   4533     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x4));
   4534     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4535     eax = eax - MEM32(ebx + 0x4); /* 0x4703D603: sub eax, dword ptr [ebx + 4] */
   4536     _flag_k = FK_CMP;
   4537     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4538     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4539     eax = eax + ebx; /* 0x4703D606: add eax, ebx */
   4540     _flag_k = FK_ADD;
   4541     edx = eax; /* 0x4703D608: mov edx, eax */
   4542 L_4703D60A:
   4543     edi = MEM32(esp + 0x14); /* 0x4703D60A: mov edi, dword ptr [esp + 0x14] */
   4544     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4545     eax = 0; /* 0x4703D60E: xor eax, eax */
   4546     _cf = 0;
   4547     _flag_k = FK_TEST;
   4548     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x4703D610: repne scasb al, byte ptr es:[edi] */
   4549     ecx = ~ecx; /* 0x4703D612: not ecx */
   4550     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   4551     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4552     edi = edi - ecx; /* 0x4703D614: sub edi, ecx */
   4553     _flag_k = FK_CMP;
   4554     eax = ecx; /* 0x4703D616: mov eax, ecx */
   4555     esi = edi; /* 0x4703D618: mov esi, edi */
   4556     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x4703D61A: shr ecx, 2 */
   4557     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4558     ecx = ecx >> 2u; /* 0x4703D61A: shr ecx, 2 */
   4559     edi = edx; /* 0x4703D61D: mov edi, edx */
   4560     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x4703D61F: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4561     ecx = eax; /* 0x4703D621: mov ecx, eax */
   4562     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4563     ecx = ecx & 3; /* 0x4703D623: and ecx, 3 */
   4564     _cf = 0;
   4565     _flag_k = FK_TEST;
   4566     /* test ebp, ebp */ /* 0x4703D626: test ebp, ebp */
   4567     _flag_a = (uint32_t)(ebp); _flag_b = (uint32_t)(ebp);
   4568     _cf = 0;
   4569     _flag_k = FK_TEST;
   4570     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x4703D628: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4571     edi = POP32_VAL(esp); /* 0x4703D62A: pop edi */
   4572     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D64B; /* 0x4703D62B: je 0x4703d64b */
   4573 L_4703D62D:
   4574     /* test ebx, ebx */ /* 0x4703D62D: test ebx, ebx */
   4575     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   4576     _cf = 0;
   4577     _flag_k = FK_TEST;
   4578     eax = ebp + 0x18; /* 0x4703D62F: lea eax, [ebp + 0x18] */
   4579     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703D642; /* 0x4703D632: jne 0x4703d642 */
   4580 L_4703D634:
   4581     esi = POP32_VAL(esp); /* 0x4703D634: pop esi */
   4582     MEM32(eax) = 0xFFFFFFFFu; /* 0x4703D635: mov dword ptr [eax], 0xffffffff */
   4583     ebp = POP32_VAL(esp); /* 0x4703D63B: pop ebp */
   4584     eax = ebx; /* 0x4703D63C: mov eax, ebx */
   4585     ebx = POP32_VAL(esp); /* 0x4703D63E: pop ebx */
   4586     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4703D63F: ret 0x10 */
   4587 L_4703D642:
   4588     ecx = MEM32(eax + 0x4); /* 0x4703D642: mov ecx, dword ptr [eax + 4] */
   4589     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4590     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4591     ecx = ecx - eax; /* 0x4703D645: sub ecx, eax */
   4592     _flag_k = FK_CMP;
   4593     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4594     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4595     ecx = ecx + ebx; /* 0x4703D647: add ecx, ebx */
   4596     _flag_k = FK_ADD;
   4597     MEM32(eax) = ecx; /* 0x4703D649: mov dword ptr [eax], ecx */
   4598 L_4703D64B:
   4599     esi = POP32_VAL(esp); /* 0x4703D64B: pop esi */
   4600     ebp = POP32_VAL(esp); /* 0x4703D64C: pop ebp */
   4601     eax = ebx; /* 0x4703D64D: mov eax, ebx */
   4602     ebx = POP32_VAL(esp); /* 0x4703D64F: pop ebx */
   4603     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4703D650: ret 0x10 */
   4604     RECOMP_REGS_OUT();
   4605 }
   4606 
   4607 void sub_4703D660(void) {
   4608     int _fpu_cmp = 0;
   4609     uint32_t _cf = 0;
   4610     int _df = 1;
   4611     uint32_t _flag_k = FK_NONE;
   4612     uint32_t _flag_a = 0, _flag_b = 0;
   4613     uint32_t _itail_tgt = 0;
   4614     RECOMP_REGS_LOCALS
   4615     RECOMP_ENTER(0x4703D660u);
   4616 
   4617 L_4703D660:
   4618     PUSH32(esp, ecx); /* 0x4703D660: push ecx */
   4619     PUSH32(esp, ebx); /* 0x4703D661: push ebx */
   4620     PUSH32(esp, esi); /* 0x4703D662: push esi */
   4621     PUSH32(esp, edi); /* 0x4703D663: push edi */
   4622     esi = ecx; /* 0x4703D664: mov esi, ecx */
   4623     eax = esp + 0xC; /* 0x4703D666: lea eax, [esp + 0xc] */
   4624     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4625     ebx = 0; /* 0x4703D66A: xor ebx, ebx */
   4626     _cf = 0;
   4627     _flag_k = FK_TEST;
   4628     PUSH32(esp, eax); /* 0x4703D66C: push eax */
   4629     PUSH32(esp, esi); /* 0x4703D66D: push esi */
   4630     MEM32(esi) = ebx; /* 0x4703D66E: mov dword ptr [esi], ebx */
   4631     MEM32(esi + 0x4) = ebx; /* 0x4703D670: mov dword ptr [esi + 4], ebx */
   4632     MEM32(esp + 0x14) = ebx; /* 0x4703D673: mov dword ptr [esp + 0x14], ebx */
   4633     RECOMP_ICALL(0x4700EF90u); /* 0x4703D677: call 0x4700ef90 */ /* not lifted */
   4634     RECOMP_FLAGS_IN();
   4635     ecx = eax; /* 0x4703D67C: mov ecx, eax */
   4636     RECOMP_ICALL(0x47019300u); /* 0x4703D67E: call 0x47019300 */ /* not lifted */
   4637     RECOMP_FLAGS_IN();
   4638     edx = MEM32(esp + 0xC); /* 0x4703D683: mov edx, dword ptr [esp + 0xc] */
   4639     ecx = esi; /* 0x4703D687: mov ecx, esi */
   4640     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   4641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4642     ecx = ecx - edx; /* 0x4703D689: sub ecx, edx */
   4643     _flag_k = FK_CMP;
   4644     edx = esp + 0xC; /* 0x4703D68B: lea edx, [esp + 0xc] */
   4645     edi = esi + 0x8; /* 0x4703D68F: lea edi, [esi + 8] */
   4646     PUSH32(esp, edx); /* 0x4703D692: push edx */
   4647     MEM32(esi + 0x4) = ecx; /* 0x4703D693: mov dword ptr [esi + 4], ecx */
   4648     PUSH32(esp, edi); /* 0x4703D696: push edi */
   4649     MEM32(edi) = ebx; /* 0x4703D697: mov dword ptr [edi], ebx */
   4650     MEM32(edi + 0x4) = ebx; /* 0x4703D699: mov dword ptr [edi + 4], ebx */
   4651     MEM32(esp + 0x14) = ebx; /* 0x4703D69C: mov dword ptr [esp + 0x14], ebx */
   4652     RECOMP_ICALL(0x4700EF90u); /* 0x4703D6A0: call 0x4700ef90 */ /* not lifted */
   4653     RECOMP_FLAGS_IN();
   4654     ecx = eax; /* 0x4703D6A5: mov ecx, eax */
   4655     RECOMP_ICALL(0x47019300u); /* 0x4703D6A7: call 0x47019300 */ /* not lifted */
   4656     RECOMP_FLAGS_IN();
   4657     ecx = MEM32(esp + 0xC); /* 0x4703D6AC: mov ecx, dword ptr [esp + 0xc] */
   4658     eax = edi; /* 0x4703D6B0: mov eax, edi */
   4659     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4660     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4661     eax = eax - ecx; /* 0x4703D6B2: sub eax, ecx */
   4662     _flag_k = FK_CMP;
   4663     MEM32(edi + 0x4) = eax; /* 0x4703D6B4: mov dword ptr [edi + 4], eax */
   4664     ecx = esp + 0xC; /* 0x4703D6B7: lea ecx, [esp + 0xc] */
   4665     edi = esi + 0x10; /* 0x4703D6BB: lea edi, [esi + 0x10] */
   4666     PUSH32(esp, ecx); /* 0x4703D6BE: push ecx */
   4667     PUSH32(esp, edi); /* 0x4703D6BF: push edi */
   4668     MEM32(edi) = ebx; /* 0x4703D6C0: mov dword ptr [edi], ebx */
   4669     MEM32(edi + 0x4) = ebx; /* 0x4703D6C2: mov dword ptr [edi + 4], ebx */
   4670     MEM32(esp + 0x14) = ebx; /* 0x4703D6C5: mov dword ptr [esp + 0x14], ebx */
   4671     RECOMP_ICALL(0x4700EF90u); /* 0x4703D6C9: call 0x4700ef90 */ /* not lifted */
   4672     RECOMP_FLAGS_IN();
   4673     ecx = eax; /* 0x4703D6CE: mov ecx, eax */
   4674     RECOMP_ICALL(0x47019300u); /* 0x4703D6D0: call 0x47019300 */ /* not lifted */
   4675     RECOMP_FLAGS_IN();
   4676     eax = MEM32(esp + 0xC); /* 0x4703D6D5: mov eax, dword ptr [esp + 0xc] */
   4677     edx = edi; /* 0x4703D6D9: mov edx, edi */
   4678     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4680     edx = edx - eax; /* 0x4703D6DB: sub edx, eax */
   4681     _flag_k = FK_CMP;
   4682     MEM32(edi + 0x4) = edx; /* 0x4703D6DD: mov dword ptr [edi + 4], edx */
   4683     eax = esp + 0xC; /* 0x4703D6E0: lea eax, [esp + 0xc] */
   4684     edi = esi + 0x18; /* 0x4703D6E4: lea edi, [esi + 0x18] */
   4685     PUSH32(esp, eax); /* 0x4703D6E7: push eax */
   4686     PUSH32(esp, edi); /* 0x4703D6E8: push edi */
   4687     MEM32(edi) = ebx; /* 0x4703D6E9: mov dword ptr [edi], ebx */
   4688     MEM32(edi + 0x4) = ebx; /* 0x4703D6EB: mov dword ptr [edi + 4], ebx */
   4689     MEM32(esp + 0x14) = ebx; /* 0x4703D6EE: mov dword ptr [esp + 0x14], ebx */
   4690     RECOMP_ICALL(0x4700EF90u); /* 0x4703D6F2: call 0x4700ef90 */ /* not lifted */
   4691     RECOMP_FLAGS_IN();
   4692     ecx = eax; /* 0x4703D6F7: mov ecx, eax */
   4693     RECOMP_ICALL(0x47019300u); /* 0x4703D6F9: call 0x47019300 */ /* not lifted */
   4694     RECOMP_FLAGS_IN();
   4695     edx = MEM32(esp + 0xC); /* 0x4703D6FE: mov edx, dword ptr [esp + 0xc] */
   4696     ecx = edi; /* 0x4703D702: mov ecx, edi */
   4697     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   4698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4699     ecx = ecx - edx; /* 0x4703D704: sub ecx, edx */
   4700     _flag_k = FK_CMP;
   4701     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4702     edx = 0; /* 0x4703D706: xor edx, edx */
   4703     _cf = 0;
   4704     _flag_k = FK_TEST;
   4705     /* cmp edx, 0x47107A0Cu */ /* 0x4703D708: cmp edx, 0x47107a0c */
   4706     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x47107A0Cu);
   4707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4708     _flag_k = FK_CMP;
   4709     MEM32(edi + 0x4) = ecx; /* 0x4703D70E: mov dword ptr [edi + 4], ecx */
   4710     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703D778; /* 0x4703D711: je 0x4703d778 */
   4711 L_4703D713:
   4712     RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4703D713: call dword ptr [0x470ac150] */
   4713     RECOMP_FLAGS_IN();
   4714     edi = eax; /* 0x4703D719: mov edi, eax */
   4715     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703D71B: call dword ptr [0x470ac3c8] */
   4716     RECOMP_FLAGS_IN();
   4717     eax = MEM32(eax); /* 0x4703D721: mov eax, dword ptr [eax] */
   4718     /* cmp eax, ebx */ /* 0x4703D723: cmp eax, ebx */
   4719     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4720     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4721     _flag_k = FK_CMP;
   4722     ebx = edi; /* 0x4703D725: mov ebx, edi */
   4723     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703D72B; /* 0x4703D727: je 0x4703d72b */
   4724 L_4703D729:
   4725     ebx = eax; /* 0x4703D729: mov ebx, eax */
   4726 L_4703D72B:
   4727     RECOMP_ICALL(0x47039020u); /* 0x4703D72B: call 0x47039020 */ /* not lifted */
   4728     RECOMP_FLAGS_IN();
   4729     edi = eax; /* 0x4703D730: mov edi, eax */
   4730     ecx = edi; /* 0x4703D732: mov ecx, edi */
   4731     RECOMP_ICALL(0x4703B210u); /* 0x4703D734: call 0x4703b210 */ /* not lifted */
   4732     RECOMP_FLAGS_IN();
   4733     PUSH32(esp, eax); /* 0x4703D739: push eax */
   4734     ecx = edi; /* 0x4703D73A: mov ecx, edi */
   4735     RECOMP_ICALL(0x4703B240u); /* 0x4703D73C: call 0x4703b240 */ /* not lifted */
   4736     RECOMP_FLAGS_IN();
   4737     PUSH32(esp, eax); /* 0x4703D741: push eax */
   4738     ecx = edi; /* 0x4703D742: mov ecx, edi */
   4739     RECOMP_ICALL(0x4703B080u); /* 0x4703D744: call 0x4703b080 */ /* not lifted */
   4740     RECOMP_FLAGS_IN();
   4741     PUSH32(esp, eax); /* 0x4703D749: push eax */
   4742     PUSH32(esp, ebx); /* 0x4703D74A: push ebx */
   4743     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703D74B: push -1 */
   4744     PUSH32(esp, 0x101u); /* 0x4703D74D: push 0x101 */
   4745     PUSH32(esp, 0x471077E0u); /* 0x4703D752: push 0x471077e0 */
   4746     ecx = edi; /* 0x4703D757: mov ecx, edi */
   4747     RECOMP_ICALL(0x4703A340u); /* 0x4703D759: call 0x4703a340 */ /* not lifted */
   4748     RECOMP_FLAGS_IN();
   4749     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703D75E: push -1 */
   4750     PUSH32(esp, 0x471079F4u); /* 0x4703D760: push 0x471079f4 */
   4751     PUSH32(esp, 0x47104AA4u); /* 0x4703D765: push 0x47104aa4 */
   4752     PUSH32(esp, 0x80u); /* 0x4703D76A: push 0x80 */
   4753     PUSH32(esp, edi); /* 0x4703D76F: push edi */
   4754     RECOMP_ICALL(0x47039830u); /* 0x4703D770: call 0x47039830 */ /* not lifted */
   4755     RECOMP_FLAGS_IN();
   4756     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4757     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4758     esp = esp + 0x14u; /* 0x4703D775: add esp, 0x14 */
   4759     _flag_k = FK_ADD;
   4760 L_4703D778:
   4761     edi = POP32_VAL(esp); /* 0x4703D778: pop edi */
   4762     eax = esi; /* 0x4703D779: mov eax, esi */
   4763     esi = POP32_VAL(esp); /* 0x4703D77B: pop esi */
   4764     ebx = POP32_VAL(esp); /* 0x4703D77C: pop ebx */
   4765     ecx = POP32_VAL(esp); /* 0x4703D77D: pop ecx */
   4766     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703D77E: ret 4 */
   4767     RECOMP_REGS_OUT();
   4768 }
   4769 
   4770 void sub_4703D790(void) {
   4771     int _fpu_cmp = 0;
   4772     uint32_t _cf = 0;
   4773     int _df = 1;
   4774     uint32_t _flag_k = FK_NONE;
   4775     uint32_t _flag_a = 0, _flag_b = 0;
   4776     uint32_t _itail_tgt = 0;
   4777     RECOMP_REGS_LOCALS
   4778     RECOMP_ENTER(0x4703D790u);
   4779 
   4780 L_4703D790:
   4781     eax = MEM32(ecx); /* 0x4703D790: mov eax, dword ptr [ecx] */
   4782     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D792: cmp eax, -1 */
   4783     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4784     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4785     _flag_k = FK_CMP;
   4786     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D79A; /* 0x4703D795: jne 0x4703d79a */
   4787 L_4703D797:
   4788     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4789     eax = 0; /* 0x4703D797: xor eax, eax */
   4790     _cf = 0;
   4791     _flag_k = FK_TEST;
   4792     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D799: ret  */
   4793 L_4703D79A:
   4794     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   4795     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4796     eax = eax - MEM32(ecx + 0x4); /* 0x4703D79A: sub eax, dword ptr [ecx + 4] */
   4797     _flag_k = FK_CMP;
   4798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4799     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4800     eax = eax + ecx; /* 0x4703D79D: add eax, ecx */
   4801     _flag_k = FK_ADD;
   4802     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D79F: ret  */
   4803     RECOMP_REGS_OUT();
   4804 }
   4805 
   4806 void sub_4703D7A0(void) {
   4807     int _fpu_cmp = 0;
   4808     uint32_t _cf = 0;
   4809     int _df = 1;
   4810     uint32_t _flag_k = FK_NONE;
   4811     uint32_t _flag_a = 0, _flag_b = 0;
   4812     uint32_t _itail_tgt = 0;
   4813     RECOMP_REGS_LOCALS
   4814     RECOMP_ENTER(0x4703D7A0u);
   4815 
   4816 L_4703D7A0:
   4817     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4818     eax = 0; /* 0x4703D7A0: xor eax, eax */
   4819     _cf = 0;
   4820     _flag_k = FK_TEST;
   4821     /* cmp eax, 0x47107C2Cu */ /* 0x4703D7A2: cmp eax, 0x47107c2c */
   4822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x47107C2Cu);
   4823     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4824     _flag_k = FK_CMP;
   4825     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703D810; /* 0x4703D7A7: je 0x4703d810 */
   4826 L_4703D7A9:
   4827     PUSH32(esp, esi); /* 0x4703D7A9: push esi */
   4828     PUSH32(esp, edi); /* 0x4703D7AA: push edi */
   4829     RECOMP_ICALL(MEM32(0x470AC150)); /* 0x4703D7AB: call dword ptr [0x470ac150] */
   4830     RECOMP_FLAGS_IN();
   4831     edi = eax; /* 0x4703D7B1: mov edi, eax */
   4832     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703D7B3: call dword ptr [0x470ac3c8] */
   4833     RECOMP_FLAGS_IN();
   4834     eax = MEM32(eax); /* 0x4703D7B9: mov eax, dword ptr [eax] */
   4835     /* test eax, eax */ /* 0x4703D7BB: test eax, eax */
   4836     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4837     _cf = 0;
   4838     _flag_k = FK_TEST;
   4839     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D7C1; /* 0x4703D7BD: je 0x4703d7c1 */
   4840 L_4703D7BF:
   4841     edi = eax; /* 0x4703D7BF: mov edi, eax */
   4842 L_4703D7C1:
   4843     RECOMP_ICALL(0x47039020u); /* 0x4703D7C1: call 0x47039020 */ /* not lifted */
   4844     RECOMP_FLAGS_IN();
   4845     esi = eax; /* 0x4703D7C6: mov esi, eax */
   4846     ecx = esi; /* 0x4703D7C8: mov ecx, esi */
   4847     RECOMP_ICALL(0x4703B210u); /* 0x4703D7CA: call 0x4703b210 */ /* not lifted */
   4848     RECOMP_FLAGS_IN();
   4849     PUSH32(esp, eax); /* 0x4703D7CF: push eax */
   4850     ecx = esi; /* 0x4703D7D0: mov ecx, esi */
   4851     RECOMP_ICALL(0x4703B240u); /* 0x4703D7D2: call 0x4703b240 */ /* not lifted */
   4852     RECOMP_FLAGS_IN();
   4853     PUSH32(esp, eax); /* 0x4703D7D7: push eax */
   4854     ecx = esi; /* 0x4703D7D8: mov ecx, esi */
   4855     RECOMP_ICALL(0x4703B080u); /* 0x4703D7DA: call 0x4703b080 */ /* not lifted */
   4856     RECOMP_FLAGS_IN();
   4857     PUSH32(esp, eax); /* 0x4703D7DF: push eax */
   4858     PUSH32(esp, edi); /* 0x4703D7E0: push edi */
   4859     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703D7E1: push -1 */
   4860     PUSH32(esp, 0x10Eu); /* 0x4703D7E3: push 0x10e */
   4861     PUSH32(esp, 0x471077E0u); /* 0x4703D7E8: push 0x471077e0 */
   4862     ecx = esi; /* 0x4703D7ED: mov ecx, esi */
   4863     RECOMP_ICALL(0x4703A340u); /* 0x4703D7EF: call 0x4703a340 */ /* not lifted */
   4864     RECOMP_FLAGS_IN();
   4865     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703D7F4: push -1 */
   4866     PUSH32(esp, 0x47107C10u); /* 0x4703D7F6: push 0x47107c10 */
   4867     PUSH32(esp, 0x47104AA4u); /* 0x4703D7FB: push 0x47104aa4 */
   4868     PUSH32(esp, 0x80u); /* 0x4703D800: push 0x80 */
   4869     PUSH32(esp, esi); /* 0x4703D805: push esi */
   4870     RECOMP_ICALL(0x47039830u); /* 0x4703D806: call 0x47039830 */ /* not lifted */
   4871     RECOMP_FLAGS_IN();
   4872     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4873     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4874     esp = esp + 0x14u; /* 0x4703D80B: add esp, 0x14 */
   4875     _flag_k = FK_ADD;
   4876     edi = POP32_VAL(esp); /* 0x4703D80E: pop edi */
   4877     esi = POP32_VAL(esp); /* 0x4703D80F: pop esi */
   4878 L_4703D810:
   4879     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4703D810: ret 4 */
   4880     RECOMP_REGS_OUT();
   4881 }
   4882 
   4883 void sub_4703D820(void) {
   4884     int _fpu_cmp = 0;
   4885     uint32_t _cf = 0;
   4886     int _df = 1;
   4887     uint32_t _flag_k = FK_NONE;
   4888     uint32_t _flag_a = 0, _flag_b = 0;
   4889     uint32_t _itail_tgt = 0;
   4890     RECOMP_REGS_LOCALS
   4891     RECOMP_ENTER(0x4703D820u);
   4892 
   4893 L_4703D820:
   4894     eax = ecx; /* 0x4703D820: mov eax, ecx */
   4895     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4896     ecx = 0; /* 0x4703D822: xor ecx, ecx */
   4897     _cf = 0;
   4898     _flag_k = FK_TEST;
   4899     MEM32(eax + 0x4) = ecx; /* 0x4703D824: mov dword ptr [eax + 4], ecx */
   4900     MEM32(eax) = 0xFFFFFFFFu; /* 0x4703D827: mov dword ptr [eax], 0xffffffff */
   4901     MEM32(eax + 0x8) = ecx; /* 0x4703D82D: mov dword ptr [eax + 8], ecx */
   4902     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703D830: ret  */
   4903     RECOMP_REGS_OUT();
   4904 }
   4905 
   4906 void sub_4703D840(void) {
   4907     int _fpu_cmp = 0;
   4908     uint32_t _cf = 0;
   4909     int _df = 1;
   4910     uint32_t _flag_k = FK_NONE;
   4911     uint32_t _flag_a = 0, _flag_b = 0;
   4912     uint32_t _itail_tgt = 0;
   4913     RECOMP_REGS_LOCALS
   4914     RECOMP_ENTER(0x4703D840u);
   4915 
   4916 L_4703D840:
   4917     PUSH32(esp, ecx); /* 0x4703D840: push ecx */
   4918     PUSH32(esp, ebx); /* 0x4703D841: push ebx */
   4919     ebx = MEM32(0x470AC150); /* 0x4703D842: mov ebx, dword ptr [0x470ac150] */
   4920     PUSH32(esp, ebp); /* 0x4703D848: push ebp */
   4921     PUSH32(esp, esi); /* 0x4703D849: push esi */
   4922     PUSH32(esp, edi); /* 0x4703D84A: push edi */
   4923     edi = ecx; /* 0x4703D84B: mov edi, ecx */
   4924     RECOMP_ICALL(ebx); /* 0x4703D84D: call ebx */
   4925     RECOMP_FLAGS_IN();
   4926     ebp = MEM32(0x470AC3C8); /* 0x4703D84F: mov ebp, dword ptr [0x470ac3c8] */
   4927     esi = eax; /* 0x4703D855: mov esi, eax */
   4928     RECOMP_ICALL(ebp); /* 0x4703D857: call ebp */
   4929     RECOMP_FLAGS_IN();
   4930     eax = MEM32(eax); /* 0x4703D859: mov eax, dword ptr [eax] */
   4931     /* test eax, eax */ /* 0x4703D85B: test eax, eax */
   4932     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4933     _cf = 0;
   4934     _flag_k = FK_TEST;
   4935     MEM32(esp + 0x10) = esi; /* 0x4703D85D: mov dword ptr [esp + 0x10], esi */
   4936     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D867; /* 0x4703D861: je 0x4703d867 */
   4937 L_4703D863:
   4938     MEM32(esp + 0x10) = eax; /* 0x4703D863: mov dword ptr [esp + 0x10], eax */
   4939 L_4703D867:
   4940     RECOMP_ICALL(0x47039020u); /* 0x4703D867: call 0x47039020 */ /* not lifted */
   4941     RECOMP_FLAGS_IN();
   4942     esi = eax; /* 0x4703D86C: mov esi, eax */
   4943     ecx = esi; /* 0x4703D86E: mov ecx, esi */
   4944     RECOMP_ICALL(0x4703B210u); /* 0x4703D870: call 0x4703b210 */ /* not lifted */
   4945     RECOMP_FLAGS_IN();
   4946     PUSH32(esp, eax); /* 0x4703D875: push eax */
   4947     ecx = esi; /* 0x4703D876: mov ecx, esi */
   4948     RECOMP_ICALL(0x4703B240u); /* 0x4703D878: call 0x4703b240 */ /* not lifted */
   4949     RECOMP_FLAGS_IN();
   4950     PUSH32(esp, eax); /* 0x4703D87D: push eax */
   4951     ecx = esi; /* 0x4703D87E: mov ecx, esi */
   4952     RECOMP_ICALL(0x4703B080u); /* 0x4703D880: call 0x4703b080 */ /* not lifted */
   4953     RECOMP_FLAGS_IN();
   4954     PUSH32(esp, eax); /* 0x4703D885: push eax */
   4955     eax = MEM32(esp + 0x1C); /* 0x4703D886: mov eax, dword ptr [esp + 0x1c] */
   4956     PUSH32(esp, eax); /* 0x4703D88A: push eax */
   4957     PUSH32(esp, 0); /* 0x4703D88B: push 0 */
   4958     PUSH32(esp, 0x11Cu); /* 0x4703D88D: push 0x11c */
   4959     PUSH32(esp, 0x471077E0u); /* 0x4703D892: push 0x471077e0 */
   4960     ecx = esi; /* 0x4703D897: mov ecx, esi */
   4961     RECOMP_ICALL(0x4703A340u); /* 0x4703D899: call 0x4703a340 */ /* not lifted */
   4962     RECOMP_FLAGS_IN();
   4963     PUSH32(esp, edi); /* 0x4703D89E: push edi */
   4964     PUSH32(esp, 0x471052CCu); /* 0x4703D89F: push 0x471052cc */
   4965     PUSH32(esp, 4); /* 0x4703D8A4: push 4 */
   4966     PUSH32(esp, esi); /* 0x4703D8A6: push esi */
   4967     RECOMP_ICALL(0x47039830u); /* 0x4703D8A7: call 0x47039830 */ /* not lifted */
   4968     RECOMP_FLAGS_IN();
   4969     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4970     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4971     esp = esp + 0x10u; /* 0x4703D8AC: add esp, 0x10 */
   4972     _flag_k = FK_ADD;
   4973     RECOMP_ICALL(ebx); /* 0x4703D8AF: call ebx */
   4974     RECOMP_FLAGS_IN();
   4975     esi = eax; /* 0x4703D8B1: mov esi, eax */
   4976     RECOMP_ICALL(ebp); /* 0x4703D8B3: call ebp */
   4977     RECOMP_FLAGS_IN();
   4978     eax = MEM32(eax); /* 0x4703D8B5: mov eax, dword ptr [eax] */
   4979     /* test eax, eax */ /* 0x4703D8B7: test eax, eax */
   4980     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4981     _cf = 0;
   4982     _flag_k = FK_TEST;
   4983     MEM32(esp + 0x10) = esi; /* 0x4703D8B9: mov dword ptr [esp + 0x10], esi */
   4984     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D8C3; /* 0x4703D8BD: je 0x4703d8c3 */
   4985 L_4703D8BF:
   4986     MEM32(esp + 0x10) = eax; /* 0x4703D8BF: mov dword ptr [esp + 0x10], eax */
   4987 L_4703D8C3:
   4988     RECOMP_ICALL(0x47039020u); /* 0x4703D8C3: call 0x47039020 */ /* not lifted */
   4989     RECOMP_FLAGS_IN();
   4990     esi = eax; /* 0x4703D8C8: mov esi, eax */
   4991     ecx = esi; /* 0x4703D8CA: mov ecx, esi */
   4992     RECOMP_ICALL(0x4703B210u); /* 0x4703D8CC: call 0x4703b210 */ /* not lifted */
   4993     RECOMP_FLAGS_IN();
   4994     PUSH32(esp, eax); /* 0x4703D8D1: push eax */
   4995     ecx = esi; /* 0x4703D8D2: mov ecx, esi */
   4996     RECOMP_ICALL(0x4703B240u); /* 0x4703D8D4: call 0x4703b240 */ /* not lifted */
   4997     RECOMP_FLAGS_IN();
   4998     PUSH32(esp, eax); /* 0x4703D8D9: push eax */
   4999     ecx = esi; /* 0x4703D8DA: mov ecx, esi */
   5000     RECOMP_ICALL(0x4703B080u); /* 0x4703D8DC: call 0x4703b080 */ /* not lifted */
   5001     RECOMP_FLAGS_IN();
   5002     ecx = MEM32(esp + 0x18); /* 0x4703D8E1: mov ecx, dword ptr [esp + 0x18] */
   5003     PUSH32(esp, eax); /* 0x4703D8E5: push eax */
   5004     PUSH32(esp, ecx); /* 0x4703D8E6: push ecx */
   5005     PUSH32(esp, 0); /* 0x4703D8E7: push 0 */
   5006     PUSH32(esp, 0x11Du); /* 0x4703D8E9: push 0x11d */
   5007     PUSH32(esp, 0x471077E0u); /* 0x4703D8EE: push 0x471077e0 */
   5008     ecx = esi; /* 0x4703D8F3: mov ecx, esi */
   5009     RECOMP_ICALL(0x4703A340u); /* 0x4703D8F5: call 0x4703a340 */ /* not lifted */
   5010     RECOMP_FLAGS_IN();
   5011     eax = MEM32(edi + 0x8); /* 0x4703D8FA: mov eax, dword ptr [edi + 8] */
   5012     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D8FD: cmp eax, -1 */
   5013     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5014     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5015     _flag_k = FK_CMP;
   5016     ecx = edi + 0x8; /* 0x4703D900: lea ecx, [edi + 8] */
   5017     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D909; /* 0x4703D903: jne 0x4703d909 */
   5018 L_4703D905:
   5019     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5020     eax = 0; /* 0x4703D905: xor eax, eax */
   5021     _cf = 0;
   5022     _flag_k = FK_TEST;
   5023     goto L_4703D90E; /* 0x4703D907: jmp 0x4703d90e */
   5024 L_4703D909:
   5025     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5027     eax = eax - MEM32(ecx + 0x4); /* 0x4703D909: sub eax, dword ptr [ecx + 4] */
   5028     _flag_k = FK_CMP;
   5029     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5030     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5031     eax = eax + ecx; /* 0x4703D90C: add eax, ecx */
   5032     _flag_k = FK_ADD;
   5033 L_4703D90E:
   5034     PUSH32(esp, eax); /* 0x4703D90E: push eax */
   5035     PUSH32(esp, 0x47107A40u); /* 0x4703D90F: push 0x47107a40 */
   5036     PUSH32(esp, 4); /* 0x4703D914: push 4 */
   5037     PUSH32(esp, esi); /* 0x4703D916: push esi */
   5038     RECOMP_ICALL(0x47039830u); /* 0x4703D917: call 0x47039830 */ /* not lifted */
   5039     RECOMP_FLAGS_IN();
   5040     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5041     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5042     esp = esp + 0x10u; /* 0x4703D91C: add esp, 0x10 */
   5043     _flag_k = FK_ADD;
   5044     RECOMP_ICALL(ebx); /* 0x4703D91F: call ebx */
   5045     RECOMP_FLAGS_IN();
   5046     esi = eax; /* 0x4703D921: mov esi, eax */
   5047     RECOMP_ICALL(ebp); /* 0x4703D923: call ebp */
   5048     RECOMP_FLAGS_IN();
   5049     eax = MEM32(eax); /* 0x4703D925: mov eax, dword ptr [eax] */
   5050     /* test eax, eax */ /* 0x4703D927: test eax, eax */
   5051     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5052     _cf = 0;
   5053     _flag_k = FK_TEST;
   5054     MEM32(esp + 0x10) = esi; /* 0x4703D929: mov dword ptr [esp + 0x10], esi */
   5055     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D933; /* 0x4703D92D: je 0x4703d933 */
   5056 L_4703D92F:
   5057     MEM32(esp + 0x10) = eax; /* 0x4703D92F: mov dword ptr [esp + 0x10], eax */
   5058 L_4703D933:
   5059     RECOMP_ICALL(0x47039020u); /* 0x4703D933: call 0x47039020 */ /* not lifted */
   5060     RECOMP_FLAGS_IN();
   5061     esi = eax; /* 0x4703D938: mov esi, eax */
   5062     ecx = esi; /* 0x4703D93A: mov ecx, esi */
   5063     RECOMP_ICALL(0x4703B210u); /* 0x4703D93C: call 0x4703b210 */ /* not lifted */
   5064     RECOMP_FLAGS_IN();
   5065     PUSH32(esp, eax); /* 0x4703D941: push eax */
   5066     ecx = esi; /* 0x4703D942: mov ecx, esi */
   5067     RECOMP_ICALL(0x4703B240u); /* 0x4703D944: call 0x4703b240 */ /* not lifted */
   5068     RECOMP_FLAGS_IN();
   5069     PUSH32(esp, eax); /* 0x4703D949: push eax */
   5070     ecx = esi; /* 0x4703D94A: mov ecx, esi */
   5071     RECOMP_ICALL(0x4703B080u); /* 0x4703D94C: call 0x4703b080 */ /* not lifted */
   5072     RECOMP_FLAGS_IN();
   5073     edx = MEM32(esp + 0x18); /* 0x4703D951: mov edx, dword ptr [esp + 0x18] */
   5074     PUSH32(esp, eax); /* 0x4703D955: push eax */
   5075     PUSH32(esp, edx); /* 0x4703D956: push edx */
   5076     PUSH32(esp, 0); /* 0x4703D957: push 0 */
   5077     PUSH32(esp, 0x11Eu); /* 0x4703D959: push 0x11e */
   5078     PUSH32(esp, 0x471077E0u); /* 0x4703D95E: push 0x471077e0 */
   5079     ecx = esi; /* 0x4703D963: mov ecx, esi */
   5080     RECOMP_ICALL(0x4703A340u); /* 0x4703D965: call 0x4703a340 */ /* not lifted */
   5081     RECOMP_FLAGS_IN();
   5082     eax = MEM32(edi + 0x10); /* 0x4703D96A: mov eax, dword ptr [edi + 0x10] */
   5083     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D96D: cmp eax, -1 */
   5084     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5085     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5086     _flag_k = FK_CMP;
   5087     ecx = edi + 0x10; /* 0x4703D970: lea ecx, [edi + 0x10] */
   5088     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D979; /* 0x4703D973: jne 0x4703d979 */
   5089 L_4703D975:
   5090     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5091     eax = 0; /* 0x4703D975: xor eax, eax */
   5092     _cf = 0;
   5093     _flag_k = FK_TEST;
   5094     goto L_4703D97E; /* 0x4703D977: jmp 0x4703d97e */
   5095 L_4703D979:
   5096     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   5097     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5098     eax = eax - MEM32(ecx + 0x4); /* 0x4703D979: sub eax, dword ptr [ecx + 4] */
   5099     _flag_k = FK_CMP;
   5100     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5101     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5102     eax = eax + ecx; /* 0x4703D97C: add eax, ecx */
   5103     _flag_k = FK_ADD;
   5104 L_4703D97E:
   5105     PUSH32(esp, eax); /* 0x4703D97E: push eax */
   5106     PUSH32(esp, 0x47107A34u); /* 0x4703D97F: push 0x47107a34 */
   5107     PUSH32(esp, 4); /* 0x4703D984: push 4 */
   5108     PUSH32(esp, esi); /* 0x4703D986: push esi */
   5109     RECOMP_ICALL(0x47039830u); /* 0x4703D987: call 0x47039830 */ /* not lifted */
   5110     RECOMP_FLAGS_IN();
   5111     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5112     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5113     esp = esp + 0x10u; /* 0x4703D98C: add esp, 0x10 */
   5114     _flag_k = FK_ADD;
   5115     RECOMP_ICALL(ebx); /* 0x4703D98F: call ebx */
   5116     RECOMP_FLAGS_IN();
   5117     esi = eax; /* 0x4703D991: mov esi, eax */
   5118     RECOMP_ICALL(ebp); /* 0x4703D993: call ebp */
   5119     RECOMP_FLAGS_IN();
   5120     eax = MEM32(eax); /* 0x4703D995: mov eax, dword ptr [eax] */
   5121     /* test eax, eax */ /* 0x4703D997: test eax, eax */
   5122     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5123     _cf = 0;
   5124     _flag_k = FK_TEST;
   5125     MEM32(esp + 0x10) = esi; /* 0x4703D999: mov dword ptr [esp + 0x10], esi */
   5126     if (TEST_Z(_flag_a, _flag_b)) goto L_4703D9A3; /* 0x4703D99D: je 0x4703d9a3 */
   5127 L_4703D99F:
   5128     MEM32(esp + 0x10) = eax; /* 0x4703D99F: mov dword ptr [esp + 0x10], eax */
   5129 L_4703D9A3:
   5130     RECOMP_ICALL(0x47039020u); /* 0x4703D9A3: call 0x47039020 */ /* not lifted */
   5131     RECOMP_FLAGS_IN();
   5132     esi = eax; /* 0x4703D9A8: mov esi, eax */
   5133     ecx = esi; /* 0x4703D9AA: mov ecx, esi */
   5134     RECOMP_ICALL(0x4703B210u); /* 0x4703D9AC: call 0x4703b210 */ /* not lifted */
   5135     RECOMP_FLAGS_IN();
   5136     PUSH32(esp, eax); /* 0x4703D9B1: push eax */
   5137     ecx = esi; /* 0x4703D9B2: mov ecx, esi */
   5138     RECOMP_ICALL(0x4703B240u); /* 0x4703D9B4: call 0x4703b240 */ /* not lifted */
   5139     RECOMP_FLAGS_IN();
   5140     PUSH32(esp, eax); /* 0x4703D9B9: push eax */
   5141     ecx = esi; /* 0x4703D9BA: mov ecx, esi */
   5142     RECOMP_ICALL(0x4703B080u); /* 0x4703D9BC: call 0x4703b080 */ /* not lifted */
   5143     RECOMP_FLAGS_IN();
   5144     PUSH32(esp, eax); /* 0x4703D9C1: push eax */
   5145     eax = MEM32(esp + 0x1C); /* 0x4703D9C2: mov eax, dword ptr [esp + 0x1c] */
   5146     PUSH32(esp, eax); /* 0x4703D9C6: push eax */
   5147     PUSH32(esp, 0); /* 0x4703D9C7: push 0 */
   5148     PUSH32(esp, 0x122u); /* 0x4703D9C9: push 0x122 */
   5149     PUSH32(esp, 0x471077E0u); /* 0x4703D9CE: push 0x471077e0 */
   5150     ecx = esi; /* 0x4703D9D3: mov ecx, esi */
   5151     RECOMP_ICALL(0x4703A340u); /* 0x4703D9D5: call 0x4703a340 */ /* not lifted */
   5152     RECOMP_FLAGS_IN();
   5153     eax = MEM32(edi); /* 0x4703D9DA: mov eax, dword ptr [edi] */
   5154     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D9DC: cmp eax, -1 */
   5155     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5157     _flag_k = FK_CMP;
   5158     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D9E5; /* 0x4703D9DF: jne 0x4703d9e5 */
   5159 L_4703D9E1:
   5160     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5161     ecx = 0; /* 0x4703D9E1: xor ecx, ecx */
   5162     _cf = 0;
   5163     _flag_k = FK_TEST;
   5164     goto L_4703D9EE; /* 0x4703D9E3: jmp 0x4703d9ee */
   5165 L_4703D9E5:
   5166     edx = MEM32(edi + 0x4); /* 0x4703D9E5: mov edx, dword ptr [edi + 4] */
   5167     ecx = eax; /* 0x4703D9E8: mov ecx, eax */
   5168     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   5169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5170     ecx = ecx - edx; /* 0x4703D9EA: sub ecx, edx */
   5171     _flag_k = FK_CMP;
   5172     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   5173     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5174     ecx = ecx + edi; /* 0x4703D9EC: add ecx, edi */
   5175     _flag_k = FK_ADD;
   5176 L_4703D9EE:
   5177     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703D9EE: cmp eax, -1 */
   5178     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5179     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5180     _flag_k = FK_CMP;
   5181     if (CMP_NE(_flag_a, _flag_b)) goto L_4703D9F7; /* 0x4703D9F1: jne 0x4703d9f7 */
   5182 L_4703D9F3:
   5183     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5184     eax = 0; /* 0x4703D9F3: xor eax, eax */
   5185     _cf = 0;
   5186     _flag_k = FK_TEST;
   5187     goto L_4703D9FC; /* 0x4703D9F5: jmp 0x4703d9fc */
   5188 L_4703D9F7:
   5189     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   5190     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5191     eax = eax - MEM32(edi + 0x4); /* 0x4703D9F7: sub eax, dword ptr [edi + 4] */
   5192     _flag_k = FK_CMP;
   5193     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5194     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5195     eax = eax + edi; /* 0x4703D9FA: add eax, edi */
   5196     _flag_k = FK_ADD;
   5197 L_4703D9FC:
   5198     PUSH32(esp, ecx); /* 0x4703D9FC: push ecx */
   5199     PUSH32(esp, eax); /* 0x4703D9FD: push eax */
   5200     PUSH32(esp, 0x47107A20u); /* 0x4703D9FE: push 0x47107a20 */
   5201     PUSH32(esp, 4); /* 0x4703DA03: push 4 */
   5202     PUSH32(esp, esi); /* 0x4703DA05: push esi */
   5203     RECOMP_ICALL(0x47039830u); /* 0x4703DA06: call 0x47039830 */ /* not lifted */
   5204     RECOMP_FLAGS_IN();
   5205     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5206     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5207     esp = esp + 0x14u; /* 0x4703DA0B: add esp, 0x14 */
   5208     _flag_k = FK_ADD;
   5209     RECOMP_ICALL(ebx); /* 0x4703DA0E: call ebx */
   5210     RECOMP_FLAGS_IN();
   5211     edi = eax; /* 0x4703DA10: mov edi, eax */
   5212     RECOMP_ICALL(ebp); /* 0x4703DA12: call ebp */
   5213     RECOMP_FLAGS_IN();
   5214     eax = MEM32(eax); /* 0x4703DA14: mov eax, dword ptr [eax] */
   5215     /* test eax, eax */ /* 0x4703DA16: test eax, eax */
   5216     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5217     _cf = 0;
   5218     _flag_k = FK_TEST;
   5219     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DA1C; /* 0x4703DA18: je 0x4703da1c */
   5220 L_4703DA1A:
   5221     edi = eax; /* 0x4703DA1A: mov edi, eax */
   5222 L_4703DA1C:
   5223     RECOMP_ICALL(0x47039020u); /* 0x4703DA1C: call 0x47039020 */ /* not lifted */
   5224     RECOMP_FLAGS_IN();
   5225     esi = eax; /* 0x4703DA21: mov esi, eax */
   5226     ecx = esi; /* 0x4703DA23: mov ecx, esi */
   5227     RECOMP_ICALL(0x4703B210u); /* 0x4703DA25: call 0x4703b210 */ /* not lifted */
   5228     RECOMP_FLAGS_IN();
   5229     PUSH32(esp, eax); /* 0x4703DA2A: push eax */
   5230     ecx = esi; /* 0x4703DA2B: mov ecx, esi */
   5231     RECOMP_ICALL(0x4703B240u); /* 0x4703DA2D: call 0x4703b240 */ /* not lifted */
   5232     RECOMP_FLAGS_IN();
   5233     PUSH32(esp, eax); /* 0x4703DA32: push eax */
   5234     ecx = esi; /* 0x4703DA33: mov ecx, esi */
   5235     RECOMP_ICALL(0x4703B080u); /* 0x4703DA35: call 0x4703b080 */ /* not lifted */
   5236     RECOMP_FLAGS_IN();
   5237     PUSH32(esp, eax); /* 0x4703DA3A: push eax */
   5238     PUSH32(esp, edi); /* 0x4703DA3B: push edi */
   5239     PUSH32(esp, 0); /* 0x4703DA3C: push 0 */
   5240     PUSH32(esp, 0x123u); /* 0x4703DA3E: push 0x123 */
   5241     PUSH32(esp, 0x471077E0u); /* 0x4703DA43: push 0x471077e0 */
   5242     ecx = esi; /* 0x4703DA48: mov ecx, esi */
   5243     RECOMP_ICALL(0x4703A340u); /* 0x4703DA4A: call 0x4703a340 */ /* not lifted */
   5244     RECOMP_FLAGS_IN();
   5245     PUSH32(esp, 0x47105590u); /* 0x4703DA4F: push 0x47105590 */
   5246     PUSH32(esp, 4); /* 0x4703DA54: push 4 */
   5247     PUSH32(esp, esi); /* 0x4703DA56: push esi */
   5248     RECOMP_ICALL(0x47039830u); /* 0x4703DA57: call 0x47039830 */ /* not lifted */
   5249     RECOMP_FLAGS_IN();
   5250     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5251     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5252     esp = esp + 0xCu; /* 0x4703DA5C: add esp, 0xc */
   5253     _flag_k = FK_ADD;
   5254     RECOMP_ICALL(ebx); /* 0x4703DA5F: call ebx */
   5255     RECOMP_FLAGS_IN();
   5256     esi = eax; /* 0x4703DA61: mov esi, eax */
   5257     RECOMP_ICALL(ebp); /* 0x4703DA63: call ebp */
   5258     RECOMP_FLAGS_IN();
   5259     eax = MEM32(eax); /* 0x4703DA65: mov eax, dword ptr [eax] */
   5260     /* test eax, eax */ /* 0x4703DA67: test eax, eax */
   5261     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5262     _cf = 0;
   5263     _flag_k = FK_TEST;
   5264     edi = esi; /* 0x4703DA69: mov edi, esi */
   5265     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DA6F; /* 0x4703DA6B: je 0x4703da6f */
   5266 L_4703DA6D:
   5267     edi = eax; /* 0x4703DA6D: mov edi, eax */
   5268 L_4703DA6F:
   5269     RECOMP_ICALL(0x47039020u); /* 0x4703DA6F: call 0x47039020 */ /* not lifted */
   5270     RECOMP_FLAGS_IN();
   5271     esi = eax; /* 0x4703DA74: mov esi, eax */
   5272     ecx = esi; /* 0x4703DA76: mov ecx, esi */
   5273     RECOMP_ICALL(0x4703B210u); /* 0x4703DA78: call 0x4703b210 */ /* not lifted */
   5274     RECOMP_FLAGS_IN();
   5275     PUSH32(esp, eax); /* 0x4703DA7D: push eax */
   5276     ecx = esi; /* 0x4703DA7E: mov ecx, esi */
   5277     RECOMP_ICALL(0x4703B240u); /* 0x4703DA80: call 0x4703b240 */ /* not lifted */
   5278     RECOMP_FLAGS_IN();
   5279     PUSH32(esp, eax); /* 0x4703DA85: push eax */
   5280     ecx = esi; /* 0x4703DA86: mov ecx, esi */
   5281     RECOMP_ICALL(0x4703B080u); /* 0x4703DA88: call 0x4703b080 */ /* not lifted */
   5282     RECOMP_FLAGS_IN();
   5283     PUSH32(esp, eax); /* 0x4703DA8D: push eax */
   5284     PUSH32(esp, edi); /* 0x4703DA8E: push edi */
   5285     PUSH32(esp, 0); /* 0x4703DA8F: push 0 */
   5286     PUSH32(esp, 0x124u); /* 0x4703DA91: push 0x124 */
   5287     PUSH32(esp, 0x471077E0u); /* 0x4703DA96: push 0x471077e0 */
   5288     ecx = esi; /* 0x4703DA9B: mov ecx, esi */
   5289     RECOMP_ICALL(0x4703A340u); /* 0x4703DA9D: call 0x4703a340 */ /* not lifted */
   5290     RECOMP_FLAGS_IN();
   5291     PUSH32(esp, 0x4710529Cu); /* 0x4703DAA2: push 0x4710529c */
   5292     PUSH32(esp, 4); /* 0x4703DAA7: push 4 */
   5293     PUSH32(esp, esi); /* 0x4703DAA9: push esi */
   5294     RECOMP_ICALL(0x47039830u); /* 0x4703DAAA: call 0x47039830 */ /* not lifted */
   5295     RECOMP_FLAGS_IN();
   5296     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5297     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5298     esp = esp + 0xCu; /* 0x4703DAAF: add esp, 0xc */
   5299     _flag_k = FK_ADD;
   5300     edi = POP32_VAL(esp); /* 0x4703DAB2: pop edi */
   5301     esi = POP32_VAL(esp); /* 0x4703DAB3: pop esi */
   5302     ebp = POP32_VAL(esp); /* 0x4703DAB4: pop ebp */
   5303     ebx = POP32_VAL(esp); /* 0x4703DAB5: pop ebx */
   5304     ecx = POP32_VAL(esp); /* 0x4703DAB6: pop ecx */
   5305     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DAB7: ret  */
   5306     RECOMP_REGS_OUT();
   5307 }
   5308 
   5309 void sub_4703DAC0(void) {
   5310     int _fpu_cmp = 0;
   5311     uint32_t _cf = 0;
   5312     int _df = 1;
   5313     uint32_t _flag_k = FK_NONE;
   5314     uint32_t _flag_a = 0, _flag_b = 0;
   5315     uint32_t _itail_tgt = 0;
   5316     RECOMP_REGS_LOCALS
   5317     RECOMP_ENTER(0x4703DAC0u);
   5318 
   5319 L_4703DAC0:
   5320     eax = MEM32(FS_BASE + (0)); /* 0x4703DAC0: mov eax, dword ptr fs:[0] */
   5321     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703DAC6: push -1 */
   5322     PUSH32(esp, 0x470A60B8u); /* 0x4703DAC8: push 0x470a60b8 */
   5323     PUSH32(esp, eax); /* 0x4703DACD: push eax */
   5324     eax = MEM32(0x4710E5E4); /* 0x4703DACE: mov eax, dword ptr [0x4710e5e4] */
   5325     /* test eax, eax */ /* 0x4703DAD3: test eax, eax */
   5326     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5327     _cf = 0;
   5328     _flag_k = FK_TEST;
   5329     MEM32(FS_BASE + (0)) = esp; /* 0x4703DAD5: mov dword ptr fs:[0], esp */
   5330     PUSH32(esp, esi); /* 0x4703DADC: push esi */
   5331     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703DB6D; /* 0x4703DADD: jne 0x4703db6d */
   5332 L_4703DAE3:
   5333     RECOMP_ICALL(0x47053420u); /* 0x4703DAE3: call 0x47053420 */ /* not lifted */
   5334     RECOMP_FLAGS_IN();
   5335     esi = eax; /* 0x4703DAE8: mov esi, eax */
   5336     ecx = esi; /* 0x4703DAEA: mov ecx, esi */
   5337     RECOMP_ICALL(0x470870D0u); /* 0x4703DAEC: call 0x470870d0 */ /* not lifted */
   5338     RECOMP_FLAGS_IN();
   5339     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703DAF1: cmp eax, -1 */
   5340     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5342     _flag_k = FK_CMP;
   5343     if (CMP_NE(_flag_a, _flag_b)) goto L_4703DB08; /* 0x4703DAF4: jne 0x4703db08 */
   5344 L_4703DAF6:
   5345     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5346     eax = 0; /* 0x4703DAF6: xor eax, eax */
   5347     _cf = 0;
   5348     _flag_k = FK_TEST;
   5349     ecx = MEM32(esp + 0x4); /* 0x4703DAF8: mov ecx, dword ptr [esp + 4] */
   5350     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DAFC: mov dword ptr fs:[0], ecx */
   5351     esi = POP32_VAL(esp); /* 0x4703DB03: pop esi */
   5352     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5353     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5354     esp = esp + 0xCu; /* 0x4703DB04: add esp, 0xc */
   5355     _flag_k = FK_ADD;
   5356     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DB07: ret  */
   5357 L_4703DB08:
   5358     eax = MEM32(0x4710E5E4); /* 0x4703DB08: mov eax, dword ptr [0x4710e5e4] */
   5359     /* test eax, eax */ /* 0x4703DB0D: test eax, eax */
   5360     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5361     _cf = 0;
   5362     _flag_k = FK_TEST;
   5363     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703DB5E; /* 0x4703DB0F: jne 0x4703db5e */
   5364 L_4703DB11:
   5365     eax = 0x4710E5ECu; /* 0x4703DB11: mov eax, 0x4710e5ec */
   5366     /* test eax, eax */ /* 0x4703DB16: test eax, eax */
   5367     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5368     _cf = 0;
   5369     _flag_k = FK_TEST;
   5370     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DB26; /* 0x4703DB18: je 0x4703db26 */
   5371 L_4703DB1A:
   5372     MEM32(0x4710E5EC) = 0x470AC600u; /* 0x4703DB1A: mov dword ptr [0x4710e5ec], 0x470ac600 */
   5373     goto L_4703DB28; /* 0x4703DB24: jmp 0x4703db28 */
   5374 L_4703DB26:
   5375     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5376     eax = 0; /* 0x4703DB26: xor eax, eax */
   5377     _cf = 0;
   5378     _flag_k = FK_TEST;
   5379 L_4703DB28:
   5380     /* test eax, eax */ /* 0x4703DB28: test eax, eax */
   5381     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5382     _cf = 0;
   5383     _flag_k = FK_TEST;
   5384     MEM32(0x4710E5E4) = eax; /* 0x4703DB2A: mov dword ptr [0x4710e5e4], eax */
   5385     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703DB5E; /* 0x4703DB2F: jne 0x4703db5e */
   5386 L_4703DB31:
   5387     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703DB31: call dword ptr [0x470ac3c8] */
   5388     RECOMP_FLAGS_IN();
   5389     ecx = esi; /* 0x4703DB37: mov ecx, esi */
   5390     MEM32(eax) = 0xCu; /* 0x4703DB39: mov dword ptr [eax], 0xc */
   5391     MEM32(esp + 0xC) = 0xFFFFFFFFu; /* 0x4703DB3F: mov dword ptr [esp + 0xc], 0xffffffff */
   5392     RECOMP_ICALL(0x470870E0u); /* 0x4703DB47: call 0x470870e0 */ /* not lifted */
   5393     RECOMP_FLAGS_IN();
   5394     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5395     eax = 0; /* 0x4703DB4C: xor eax, eax */
   5396     _cf = 0;
   5397     _flag_k = FK_TEST;
   5398     ecx = MEM32(esp + 0x4); /* 0x4703DB4E: mov ecx, dword ptr [esp + 4] */
   5399     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DB52: mov dword ptr fs:[0], ecx */
   5400     esi = POP32_VAL(esp); /* 0x4703DB59: pop esi */
   5401     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5402     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5403     esp = esp + 0xCu; /* 0x4703DB5A: add esp, 0xc */
   5404     _flag_k = FK_ADD;
   5405     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DB5D: ret  */
   5406 L_4703DB5E:
   5407     ecx = esi; /* 0x4703DB5E: mov ecx, esi */
   5408     MEM32(esp + 0xC) = 0xFFFFFFFFu; /* 0x4703DB60: mov dword ptr [esp + 0xc], 0xffffffff */
   5409     RECOMP_ICALL(0x470870E0u); /* 0x4703DB68: call 0x470870e0 */ /* not lifted */
   5410     RECOMP_FLAGS_IN();
   5411 L_4703DB6D:
   5412     ecx = MEM32(esp + 0x4); /* 0x4703DB6D: mov ecx, dword ptr [esp + 4] */
   5413     eax = MEM32(0x4710E5E4); /* 0x4703DB71: mov eax, dword ptr [0x4710e5e4] */
   5414     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DB76: mov dword ptr fs:[0], ecx */
   5415     esi = POP32_VAL(esp); /* 0x4703DB7D: pop esi */
   5416     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5417     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5418     esp = esp + 0xCu; /* 0x4703DB7E: add esp, 0xc */
   5419     _flag_k = FK_ADD;
   5420     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DB81: ret  */
   5421     RECOMP_REGS_OUT();
   5422 }
   5423 
   5424 void sub_4703DB28(void) {
   5425     int _fpu_cmp = 0;
   5426     uint32_t _cf = 0;
   5427     int _df = 1;
   5428     uint32_t _flag_k = FK_NONE;
   5429     uint32_t _flag_a = 0, _flag_b = 0;
   5430     uint32_t _itail_tgt = 0;
   5431     RECOMP_REGS_LOCALS
   5432     RECOMP_ENTER(0x4703DB28u);
   5433 
   5434 L_4703DB28:
   5435     /* test eax, eax */ /* 0x4703DB28: test eax, eax */
   5436     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5437     _cf = 0;
   5438     _flag_k = FK_TEST;
   5439     MEM32(0x4710E5E4) = eax; /* 0x4703DB2A: mov dword ptr [0x4710e5e4], eax */
   5440     if (TEST_NZ(_flag_a, _flag_b)) goto L_4703DB5E; /* 0x4703DB2F: jne 0x4703db5e */
   5441 L_4703DB31:
   5442     RECOMP_ICALL(MEM32(0x470AC3C8)); /* 0x4703DB31: call dword ptr [0x470ac3c8] */
   5443     RECOMP_FLAGS_IN();
   5444     ecx = esi; /* 0x4703DB37: mov ecx, esi */
   5445     MEM32(eax) = 0xCu; /* 0x4703DB39: mov dword ptr [eax], 0xc */
   5446     MEM32(esp + 0xC) = 0xFFFFFFFFu; /* 0x4703DB3F: mov dword ptr [esp + 0xc], 0xffffffff */
   5447     RECOMP_ICALL(0x470870E0u); /* 0x4703DB47: call 0x470870e0 */ /* not lifted */
   5448     RECOMP_FLAGS_IN();
   5449     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5450     eax = 0; /* 0x4703DB4C: xor eax, eax */
   5451     _cf = 0;
   5452     _flag_k = FK_TEST;
   5453     ecx = MEM32(esp + 0x4); /* 0x4703DB4E: mov ecx, dword ptr [esp + 4] */
   5454     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DB52: mov dword ptr fs:[0], ecx */
   5455     esi = POP32_VAL(esp); /* 0x4703DB59: pop esi */
   5456     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5457     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5458     esp = esp + 0xCu; /* 0x4703DB5A: add esp, 0xc */
   5459     _flag_k = FK_ADD;
   5460     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DB5D: ret  */
   5461 L_4703DB5E:
   5462     ecx = esi; /* 0x4703DB5E: mov ecx, esi */
   5463     MEM32(esp + 0xC) = 0xFFFFFFFFu; /* 0x4703DB60: mov dword ptr [esp + 0xc], 0xffffffff */
   5464     RECOMP_ICALL(0x470870E0u); /* 0x4703DB68: call 0x470870e0 */ /* not lifted */
   5465     RECOMP_FLAGS_IN();
   5466     ecx = MEM32(esp + 0x4); /* 0x4703DB6D: mov ecx, dword ptr [esp + 4] */
   5467     eax = MEM32(0x4710E5E4); /* 0x4703DB71: mov eax, dword ptr [0x4710e5e4] */
   5468     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DB76: mov dword ptr fs:[0], ecx */
   5469     esi = POP32_VAL(esp); /* 0x4703DB7D: pop esi */
   5470     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5471     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5472     esp = esp + 0xCu; /* 0x4703DB7E: add esp, 0xc */
   5473     _flag_k = FK_ADD;
   5474     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DB81: ret  */
   5475     RECOMP_REGS_OUT();
   5476 }
   5477 
   5478 void sub_4703DB90(void) {
   5479     int _fpu_cmp = 0;
   5480     uint32_t _cf = 0;
   5481     int _df = 1;
   5482     uint32_t _flag_k = FK_NONE;
   5483     uint32_t _flag_a = 0, _flag_b = 0;
   5484     uint32_t _itail_tgt = 0;
   5485     RECOMP_REGS_LOCALS
   5486     RECOMP_ENTER(0x4703DB90u);
   5487 
   5488 L_4703DB90:
   5489     eax = MEM32(FS_BASE + (0)); /* 0x4703DB90: mov eax, dword ptr fs:[0] */
   5490     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703DB96: push -1 */
   5491     PUSH32(esp, 0x470A60D8u); /* 0x4703DB98: push 0x470a60d8 */
   5492     PUSH32(esp, eax); /* 0x4703DB9D: push eax */
   5493     MEM32(FS_BASE + (0)) = esp; /* 0x4703DB9E: mov dword ptr fs:[0], esp */
   5494     PUSH32(esp, esi); /* 0x4703DBA5: push esi */
   5495     PUSH32(esp, edi); /* 0x4703DBA6: push edi */
   5496     RECOMP_ICALL(0x47053420u); /* 0x4703DBA7: call 0x47053420 */ /* not lifted */
   5497     RECOMP_FLAGS_IN();
   5498     esi = eax; /* 0x4703DBAC: mov esi, eax */
   5499     ecx = esi; /* 0x4703DBAE: mov ecx, esi */
   5500     RECOMP_ICALL(0x470870D0u); /* 0x4703DBB0: call 0x470870d0 */ /* not lifted */
   5501     RECOMP_FLAGS_IN();
   5502     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703DBB5: cmp eax, -1 */
   5503     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5504     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5505     _flag_k = FK_CMP;
   5506     if (CMP_NE(_flag_a, _flag_b)) goto L_4703DBCD; /* 0x4703DBB8: jne 0x4703dbcd */
   5507 L_4703DBBA:
   5508     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5509     eax = 0; /* 0x4703DBBA: xor eax, eax */
   5510     _cf = 0;
   5511     _flag_k = FK_TEST;
   5512     ecx = MEM32(esp + 0x8); /* 0x4703DBBC: mov ecx, dword ptr [esp + 8] */
   5513     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DBC0: mov dword ptr fs:[0], ecx */
   5514     edi = POP32_VAL(esp); /* 0x4703DBC7: pop edi */
   5515     esi = POP32_VAL(esp); /* 0x4703DBC8: pop esi */
   5516     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5517     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5518     esp = esp + 0xCu; /* 0x4703DBC9: add esp, 0xc */
   5519     _flag_k = FK_ADD;
   5520     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DBCC: ret  */
   5521 L_4703DBCD:
   5522     eax = MEM32(esp + 0x18); /* 0x4703DBCD: mov eax, dword ptr [esp + 0x18] */
   5523     edi = MEM32(0x4710E5E4); /* 0x4703DBD1: mov edi, dword ptr [0x4710e5e4] */
   5524     ecx = esi; /* 0x4703DBD7: mov ecx, esi */
   5525     MEM32(0x4710E5E8) = 0; /* 0x4703DBD9: mov dword ptr [0x4710e5e8], 0 */
   5526     MEM32(0x4710E5E4) = eax; /* 0x4703DBE3: mov dword ptr [0x4710e5e4], eax */
   5527     MEM32(esp + 0x10) = 0xFFFFFFFFu; /* 0x4703DBE8: mov dword ptr [esp + 0x10], 0xffffffff */
   5528     RECOMP_ICALL(0x470870E0u); /* 0x4703DBF0: call 0x470870e0 */ /* not lifted */
   5529     RECOMP_FLAGS_IN();
   5530     ecx = MEM32(esp + 0x8); /* 0x4703DBF5: mov ecx, dword ptr [esp + 8] */
   5531     eax = edi; /* 0x4703DBF9: mov eax, edi */
   5532     edi = POP32_VAL(esp); /* 0x4703DBFB: pop edi */
   5533     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DBFC: mov dword ptr fs:[0], ecx */
   5534     esi = POP32_VAL(esp); /* 0x4703DC03: pop esi */
   5535     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5536     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5537     esp = esp + 0xCu; /* 0x4703DC04: add esp, 0xc */
   5538     _flag_k = FK_ADD;
   5539     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DC07: ret  */
   5540     RECOMP_REGS_OUT();
   5541 }
   5542 
   5543 void sub_4703DC10(void) {
   5544     int _fpu_cmp = 0;
   5545     uint32_t _cf = 0;
   5546     int _df = 1;
   5547     uint32_t _flag_k = FK_NONE;
   5548     uint32_t _flag_a = 0, _flag_b = 0;
   5549     uint32_t _itail_tgt = 0;
   5550     RECOMP_REGS_LOCALS
   5551     RECOMP_ENTER(0x4703DC10u);
   5552 
   5553 L_4703DC10:
   5554     PUSH32(esp, 0xFFFFFFFFu); /* 0x4703DC10: push -1 */
   5555     PUSH32(esp, 0x470A60F8u); /* 0x4703DC12: push 0x470a60f8 */
   5556     eax = MEM32(FS_BASE + (0)); /* 0x4703DC17: mov eax, dword ptr fs:[0] */
   5557     PUSH32(esp, eax); /* 0x4703DC1D: push eax */
   5558     MEM32(FS_BASE + (0)) = esp; /* 0x4703DC1E: mov dword ptr fs:[0], esp */
   5559     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5560     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5561     esp = esp - 8; /* 0x4703DC25: sub esp, 8 */
   5562     _flag_k = FK_CMP;
   5563     PUSH32(esp, esi); /* 0x4703DC28: push esi */
   5564     RECOMP_ICALL(0x47053420u); /* 0x4703DC29: call 0x47053420 */ /* not lifted */
   5565     RECOMP_FLAGS_IN();
   5566     esi = eax; /* 0x4703DC2E: mov esi, eax */
   5567     ecx = esi; /* 0x4703DC30: mov ecx, esi */
   5568     MEM32(esp + 0x4) = esi; /* 0x4703DC32: mov dword ptr [esp + 4], esi */
   5569     RECOMP_ICALL(0x470870D0u); /* 0x4703DC36: call 0x470870d0 */ /* not lifted */
   5570     RECOMP_FLAGS_IN();
   5571     MEM32(esp + 0x8) = eax; /* 0x4703DC3B: mov dword ptr [esp + 8], eax */
   5572     /* cmp eax, 0xFFFFFFFFu */ /* 0x4703DC3F: cmp eax, -1 */
   5573     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5575     _flag_k = FK_CMP;
   5576     MEM32(esp + 0x14) = 0; /* 0x4703DC42: mov dword ptr [esp + 0x14], 0 */
   5577     if (CMP_EQ(_flag_a, _flag_b)) goto L_4703DC88; /* 0x4703DC4A: je 0x4703dc88 */
   5578 L_4703DC4C:
   5579     eax = MEM32(0x4710E5E8); /* 0x4703DC4C: mov eax, dword ptr [0x4710e5e8] */
   5580     /* test eax, eax */ /* 0x4703DC51: test eax, eax */
   5581     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5582     _cf = 0;
   5583     _flag_k = FK_TEST;
   5584     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DC79; /* 0x4703DC53: je 0x4703dc79 */
   5585 L_4703DC55:
   5586     ecx = MEM32(0x4710E5E4); /* 0x4703DC55: mov ecx, dword ptr [0x4710e5e4] */
   5587     /* test ecx, ecx */ /* 0x4703DC5B: test ecx, ecx */
   5588     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5589     _cf = 0;
   5590     _flag_k = FK_TEST;
   5591     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DC65; /* 0x4703DC5D: je 0x4703dc65 */
   5592 L_4703DC5F:
   5593     eax = MEM32(ecx); /* 0x4703DC5F: mov eax, dword ptr [ecx] */
   5594     PUSH32(esp, 1); /* 0x4703DC61: push 1 */
   5595     RECOMP_ICALL(MEM32(eax)); /* 0x4703DC63: call dword ptr [eax] */
   5596     RECOMP_FLAGS_IN();
   5597 L_4703DC65:
   5598     MEM32(0x4710E5E4) = 0; /* 0x4703DC65: mov dword ptr [0x4710e5e4], 0 */
   5599     MEM32(0x4710E5E8) = 0; /* 0x4703DC6F: mov dword ptr [0x4710e5e8], 0 */
   5600 L_4703DC79:
   5601     ecx = esi; /* 0x4703DC79: mov ecx, esi */
   5602     MEM32(esp + 0x14) = 0xFFFFFFFFu; /* 0x4703DC7B: mov dword ptr [esp + 0x14], 0xffffffff */
   5603     RECOMP_ICALL(0x470870E0u); /* 0x4703DC83: call 0x470870e0 */ /* not lifted */
   5604     RECOMP_FLAGS_IN();
   5605 L_4703DC88:
   5606     ecx = MEM32(esp + 0xC); /* 0x4703DC88: mov ecx, dword ptr [esp + 0xc] */
   5607     esi = POP32_VAL(esp); /* 0x4703DC8C: pop esi */
   5608     MEM32(FS_BASE + (0)) = ecx; /* 0x4703DC8D: mov dword ptr fs:[0], ecx */
   5609     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   5610     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5611     esp = esp + 0x14u; /* 0x4703DC94: add esp, 0x14 */
   5612     _flag_k = FK_ADD;
   5613     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DC97: ret  */
   5614     RECOMP_REGS_OUT();
   5615 }
   5616 
   5617 void sub_4703DCA0(void) {
   5618     int _fpu_cmp = 0;
   5619     uint32_t _cf = 0;
   5620     int _df = 1;
   5621     uint32_t _flag_k = FK_NONE;
   5622     uint32_t _flag_a = 0, _flag_b = 0;
   5623     uint32_t _itail_tgt = 0;
   5624     RECOMP_REGS_LOCALS
   5625     RECOMP_ENTER(0x4703DCA0u);
   5626 
   5627 L_4703DCA0:
   5628     MEM32(ecx) = 0x470AC538u; /* 0x4703DCA0: mov dword ptr [ecx], 0x470ac538 */
   5629     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DCA6: ret  */
   5630     RECOMP_REGS_OUT();
   5631 }
   5632 
   5633 void sub_4703DCB0(void) {
   5634     int _fpu_cmp = 0;
   5635     uint32_t _cf = 0;
   5636     int _df = 1;
   5637     uint32_t _flag_k = FK_NONE;
   5638     uint32_t _flag_a = 0, _flag_b = 0;
   5639     uint32_t _itail_tgt = 0;
   5640     RECOMP_REGS_LOCALS
   5641     RECOMP_ENTER(0x4703DCB0u);
   5642 
   5643 L_4703DCB0:
   5644     eax = ecx; /* 0x4703DCB0: mov eax, ecx */
   5645     MEM32(eax) = 0x470AC538u; /* 0x4703DCB2: mov dword ptr [eax], 0x470ac538 */
   5646     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DCB8: ret  */
   5647     RECOMP_REGS_OUT();
   5648 }
   5649 
   5650 void sub_4703DCC0(void) {
   5651     int _fpu_cmp = 0;
   5652     uint32_t _cf = 0;
   5653     int _df = 1;
   5654     uint32_t _flag_k = FK_NONE;
   5655     uint32_t _flag_a = 0, _flag_b = 0;
   5656     uint32_t _itail_tgt = 0;
   5657     RECOMP_REGS_LOCALS
   5658     RECOMP_ENTER(0x4703DCC0u);
   5659 
   5660 L_4703DCC0:
   5661     PUSH32(esp, ecx); /* 0x4703DCC0: push ecx */
   5662     PUSH32(esp, ebx); /* 0x4703DCC1: push ebx */
   5663     ebx = MEM32(0x470AC150); /* 0x4703DCC2: mov ebx, dword ptr [0x470ac150] */
   5664     PUSH32(esp, ebp); /* 0x4703DCC8: push ebp */
   5665     PUSH32(esp, esi); /* 0x4703DCC9: push esi */
   5666     PUSH32(esp, edi); /* 0x4703DCCA: push edi */
   5667     edi = ecx; /* 0x4703DCCB: mov edi, ecx */
   5668     RECOMP_ICALL(ebx); /* 0x4703DCCD: call ebx */
   5669     RECOMP_FLAGS_IN();
   5670     ebp = MEM32(0x470AC3C8); /* 0x4703DCCF: mov ebp, dword ptr [0x470ac3c8] */
   5671     esi = eax; /* 0x4703DCD5: mov esi, eax */
   5672     RECOMP_ICALL(ebp); /* 0x4703DCD7: call ebp */
   5673     RECOMP_FLAGS_IN();
   5674     eax = MEM32(eax); /* 0x4703DCD9: mov eax, dword ptr [eax] */
   5675     /* test eax, eax */ /* 0x4703DCDB: test eax, eax */
   5676     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5677     _cf = 0;
   5678     _flag_k = FK_TEST;
   5679     MEM32(esp + 0x10) = esi; /* 0x4703DCDD: mov dword ptr [esp + 0x10], esi */
   5680     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DCE7; /* 0x4703DCE1: je 0x4703dce7 */
   5681 L_4703DCE3:
   5682     MEM32(esp + 0x10) = eax; /* 0x4703DCE3: mov dword ptr [esp + 0x10], eax */
   5683 L_4703DCE7:
   5684     RECOMP_ICALL(0x47039020u); /* 0x4703DCE7: call 0x47039020 */ /* not lifted */
   5685     RECOMP_FLAGS_IN();
   5686     esi = eax; /* 0x4703DCEC: mov esi, eax */
   5687     ecx = esi; /* 0x4703DCEE: mov ecx, esi */
   5688     RECOMP_ICALL(0x4703B210u); /* 0x4703DCF0: call 0x4703b210 */ /* not lifted */
   5689     RECOMP_FLAGS_IN();
   5690     PUSH32(esp, eax); /* 0x4703DCF5: push eax */
   5691     ecx = esi; /* 0x4703DCF6: mov ecx, esi */
   5692     RECOMP_ICALL(0x4703B240u); /* 0x4703DCF8: call 0x4703b240 */ /* not lifted */
   5693     RECOMP_FLAGS_IN();
   5694     PUSH32(esp, eax); /* 0x4703DCFD: push eax */
   5695     ecx = esi; /* 0x4703DCFE: mov ecx, esi */
   5696     RECOMP_ICALL(0x4703B080u); /* 0x4703DD00: call 0x4703b080 */ /* not lifted */
   5697     RECOMP_FLAGS_IN();
   5698     PUSH32(esp, eax); /* 0x4703DD05: push eax */
   5699     eax = MEM32(esp + 0x1C); /* 0x4703DD06: mov eax, dword ptr [esp + 0x1c] */
   5700     PUSH32(esp, eax); /* 0x4703DD0A: push eax */
   5701     PUSH32(esp, 0); /* 0x4703DD0B: push 0 */
   5702     PUSH32(esp, 0x191u); /* 0x4703DD0D: push 0x191 */
   5703     PUSH32(esp, 0x471077E0u); /* 0x4703DD12: push 0x471077e0 */
   5704     ecx = esi; /* 0x4703DD17: mov ecx, esi */
   5705     RECOMP_ICALL(0x4703A340u); /* 0x4703DD19: call 0x4703a340 */ /* not lifted */
   5706     RECOMP_FLAGS_IN();
   5707     PUSH32(esp, edi); /* 0x4703DD1E: push edi */
   5708     PUSH32(esp, 0x471052CCu); /* 0x4703DD1F: push 0x471052cc */
   5709     PUSH32(esp, 4); /* 0x4703DD24: push 4 */
   5710     PUSH32(esp, esi); /* 0x4703DD26: push esi */
   5711     RECOMP_ICALL(0x47039830u); /* 0x4703DD27: call 0x47039830 */ /* not lifted */
   5712     RECOMP_FLAGS_IN();
   5713     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5714     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5715     esp = esp + 0x10u; /* 0x4703DD2C: add esp, 0x10 */
   5716     _flag_k = FK_ADD;
   5717     RECOMP_ICALL(ebx); /* 0x4703DD2F: call ebx */
   5718     RECOMP_FLAGS_IN();
   5719     esi = eax; /* 0x4703DD31: mov esi, eax */
   5720     RECOMP_ICALL(ebp); /* 0x4703DD33: call ebp */
   5721     RECOMP_FLAGS_IN();
   5722     eax = MEM32(eax); /* 0x4703DD35: mov eax, dword ptr [eax] */
   5723     /* test eax, eax */ /* 0x4703DD37: test eax, eax */
   5724     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5725     _cf = 0;
   5726     _flag_k = FK_TEST;
   5727     MEM32(esp + 0x10) = esi; /* 0x4703DD39: mov dword ptr [esp + 0x10], esi */
   5728     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DD43; /* 0x4703DD3D: je 0x4703dd43 */
   5729 L_4703DD3F:
   5730     MEM32(esp + 0x10) = eax; /* 0x4703DD3F: mov dword ptr [esp + 0x10], eax */
   5731 L_4703DD43:
   5732     RECOMP_ICALL(0x47039020u); /* 0x4703DD43: call 0x47039020 */ /* not lifted */
   5733     RECOMP_FLAGS_IN();
   5734     esi = eax; /* 0x4703DD48: mov esi, eax */
   5735     ecx = esi; /* 0x4703DD4A: mov ecx, esi */
   5736     RECOMP_ICALL(0x4703B210u); /* 0x4703DD4C: call 0x4703b210 */ /* not lifted */
   5737     RECOMP_FLAGS_IN();
   5738     PUSH32(esp, eax); /* 0x4703DD51: push eax */
   5739     ecx = esi; /* 0x4703DD52: mov ecx, esi */
   5740     RECOMP_ICALL(0x4703B240u); /* 0x4703DD54: call 0x4703b240 */ /* not lifted */
   5741     RECOMP_FLAGS_IN();
   5742     PUSH32(esp, eax); /* 0x4703DD59: push eax */
   5743     ecx = esi; /* 0x4703DD5A: mov ecx, esi */
   5744     RECOMP_ICALL(0x4703B080u); /* 0x4703DD5C: call 0x4703b080 */ /* not lifted */
   5745     RECOMP_FLAGS_IN();
   5746     ecx = MEM32(esp + 0x18); /* 0x4703DD61: mov ecx, dword ptr [esp + 0x18] */
   5747     PUSH32(esp, eax); /* 0x4703DD65: push eax */
   5748     PUSH32(esp, ecx); /* 0x4703DD66: push ecx */
   5749     PUSH32(esp, 0); /* 0x4703DD67: push 0 */
   5750     PUSH32(esp, 0x192u); /* 0x4703DD69: push 0x192 */
   5751     PUSH32(esp, 0x471077E0u); /* 0x4703DD6E: push 0x471077e0 */
   5752     ecx = esi; /* 0x4703DD73: mov ecx, esi */
   5753     RECOMP_ICALL(0x4703A340u); /* 0x4703DD75: call 0x4703a340 */ /* not lifted */
   5754     RECOMP_FLAGS_IN();
   5755     edx = MEM32(edi + 0xC); /* 0x4703DD7A: mov edx, dword ptr [edi + 0xc] */
   5756     PUSH32(esp, edx); /* 0x4703DD7D: push edx */
   5757     PUSH32(esp, 0x47107C50u); /* 0x4703DD7E: push 0x47107c50 */
   5758     PUSH32(esp, 4); /* 0x4703DD83: push 4 */
   5759     PUSH32(esp, esi); /* 0x4703DD85: push esi */
   5760     RECOMP_ICALL(0x47039830u); /* 0x4703DD86: call 0x47039830 */ /* not lifted */
   5761     RECOMP_FLAGS_IN();
   5762     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5763     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5764     esp = esp + 0x10u; /* 0x4703DD8B: add esp, 0x10 */
   5765     _flag_k = FK_ADD;
   5766     RECOMP_ICALL(ebx); /* 0x4703DD8E: call ebx */
   5767     RECOMP_FLAGS_IN();
   5768     esi = eax; /* 0x4703DD90: mov esi, eax */
   5769     RECOMP_ICALL(ebp); /* 0x4703DD92: call ebp */
   5770     RECOMP_FLAGS_IN();
   5771     eax = MEM32(eax); /* 0x4703DD94: mov eax, dword ptr [eax] */
   5772     /* test eax, eax */ /* 0x4703DD96: test eax, eax */
   5773     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5774     _cf = 0;
   5775     _flag_k = FK_TEST;
   5776     MEM32(esp + 0x10) = esi; /* 0x4703DD98: mov dword ptr [esp + 0x10], esi */
   5777     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DDA2; /* 0x4703DD9C: je 0x4703dda2 */
   5778 L_4703DD9E:
   5779     MEM32(esp + 0x10) = eax; /* 0x4703DD9E: mov dword ptr [esp + 0x10], eax */
   5780 L_4703DDA2:
   5781     RECOMP_ICALL(0x47039020u); /* 0x4703DDA2: call 0x47039020 */ /* not lifted */
   5782     RECOMP_FLAGS_IN();
   5783     esi = eax; /* 0x4703DDA7: mov esi, eax */
   5784     ecx = esi; /* 0x4703DDA9: mov ecx, esi */
   5785     RECOMP_ICALL(0x4703B210u); /* 0x4703DDAB: call 0x4703b210 */ /* not lifted */
   5786     RECOMP_FLAGS_IN();
   5787     PUSH32(esp, eax); /* 0x4703DDB0: push eax */
   5788     ecx = esi; /* 0x4703DDB1: mov ecx, esi */
   5789     RECOMP_ICALL(0x4703B240u); /* 0x4703DDB3: call 0x4703b240 */ /* not lifted */
   5790     RECOMP_FLAGS_IN();
   5791     PUSH32(esp, eax); /* 0x4703DDB8: push eax */
   5792     ecx = esi; /* 0x4703DDB9: mov ecx, esi */
   5793     RECOMP_ICALL(0x4703B080u); /* 0x4703DDBB: call 0x4703b080 */ /* not lifted */
   5794     RECOMP_FLAGS_IN();
   5795     PUSH32(esp, eax); /* 0x4703DDC0: push eax */
   5796     eax = MEM32(esp + 0x1C); /* 0x4703DDC1: mov eax, dword ptr [esp + 0x1c] */
   5797     PUSH32(esp, eax); /* 0x4703DDC5: push eax */
   5798     PUSH32(esp, 0); /* 0x4703DDC6: push 0 */
   5799     PUSH32(esp, 0x193u); /* 0x4703DDC8: push 0x193 */
   5800     PUSH32(esp, 0x471077E0u); /* 0x4703DDCD: push 0x471077e0 */
   5801     ecx = esi; /* 0x4703DDD2: mov ecx, esi */
   5802     RECOMP_ICALL(0x4703A340u); /* 0x4703DDD4: call 0x4703a340 */ /* not lifted */
   5803     RECOMP_FLAGS_IN();
   5804     ecx = MEM32(edi + 0x8); /* 0x4703DDD9: mov ecx, dword ptr [edi + 8] */
   5805     PUSH32(esp, ecx); /* 0x4703DDDC: push ecx */
   5806     PUSH32(esp, 0x47107C40u); /* 0x4703DDDD: push 0x47107c40 */
   5807     PUSH32(esp, 4); /* 0x4703DDE2: push 4 */
   5808     PUSH32(esp, esi); /* 0x4703DDE4: push esi */
   5809     RECOMP_ICALL(0x47039830u); /* 0x4703DDE5: call 0x47039830 */ /* not lifted */
   5810     RECOMP_FLAGS_IN();
   5811     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5812     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5813     esp = esp + 0x10u; /* 0x4703DDEA: add esp, 0x10 */
   5814     _flag_k = FK_ADD;
   5815     RECOMP_ICALL(ebx); /* 0x4703DDED: call ebx */
   5816     RECOMP_FLAGS_IN();
   5817     esi = eax; /* 0x4703DDEF: mov esi, eax */
   5818     RECOMP_ICALL(ebp); /* 0x4703DDF1: call ebp */
   5819     RECOMP_FLAGS_IN();
   5820     eax = MEM32(eax); /* 0x4703DDF3: mov eax, dword ptr [eax] */
   5821     /* test eax, eax */ /* 0x4703DDF5: test eax, eax */
   5822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5823     _cf = 0;
   5824     _flag_k = FK_TEST;
   5825     MEM32(esp + 0x10) = esi; /* 0x4703DDF7: mov dword ptr [esp + 0x10], esi */
   5826     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DE01; /* 0x4703DDFB: je 0x4703de01 */
   5827 L_4703DDFD:
   5828     MEM32(esp + 0x10) = eax; /* 0x4703DDFD: mov dword ptr [esp + 0x10], eax */
   5829 L_4703DE01:
   5830     RECOMP_ICALL(0x47039020u); /* 0x4703DE01: call 0x47039020 */ /* not lifted */
   5831     RECOMP_FLAGS_IN();
   5832     esi = eax; /* 0x4703DE06: mov esi, eax */
   5833     ecx = esi; /* 0x4703DE08: mov ecx, esi */
   5834     RECOMP_ICALL(0x4703B210u); /* 0x4703DE0A: call 0x4703b210 */ /* not lifted */
   5835     RECOMP_FLAGS_IN();
   5836     PUSH32(esp, eax); /* 0x4703DE0F: push eax */
   5837     ecx = esi; /* 0x4703DE10: mov ecx, esi */
   5838     RECOMP_ICALL(0x4703B240u); /* 0x4703DE12: call 0x4703b240 */ /* not lifted */
   5839     RECOMP_FLAGS_IN();
   5840     PUSH32(esp, eax); /* 0x4703DE17: push eax */
   5841     ecx = esi; /* 0x4703DE18: mov ecx, esi */
   5842     RECOMP_ICALL(0x4703B080u); /* 0x4703DE1A: call 0x4703b080 */ /* not lifted */
   5843     RECOMP_FLAGS_IN();
   5844     edx = MEM32(esp + 0x18); /* 0x4703DE1F: mov edx, dword ptr [esp + 0x18] */
   5845     PUSH32(esp, eax); /* 0x4703DE23: push eax */
   5846     PUSH32(esp, edx); /* 0x4703DE24: push edx */
   5847     PUSH32(esp, 0); /* 0x4703DE25: push 0 */
   5848     PUSH32(esp, 0x194u); /* 0x4703DE27: push 0x194 */
   5849     PUSH32(esp, 0x471077E0u); /* 0x4703DE2C: push 0x471077e0 */
   5850     ecx = esi; /* 0x4703DE31: mov ecx, esi */
   5851     RECOMP_ICALL(0x4703A340u); /* 0x4703DE33: call 0x4703a340 */ /* not lifted */
   5852     RECOMP_FLAGS_IN();
   5853     eax = MEM32(edi + 0x8); /* 0x4703DE38: mov eax, dword ptr [edi + 8] */
   5854     ecx = MEM32(edi + 0x4); /* 0x4703DE3B: mov ecx, dword ptr [edi + 4] */
   5855     PUSH32(esp, 0); /* 0x4703DE3E: push 0 */
   5856     PUSH32(esp, eax); /* 0x4703DE40: push eax */
   5857     PUSH32(esp, ecx); /* 0x4703DE41: push ecx */
   5858     PUSH32(esp, 4); /* 0x4703DE42: push 4 */
   5859     ecx = esi; /* 0x4703DE44: mov ecx, esi */
   5860     RECOMP_ICALL(0x4703A280u); /* 0x4703DE46: call 0x4703a280 */ /* not lifted */
   5861     RECOMP_FLAGS_IN();
   5862     RECOMP_ICALL(ebx); /* 0x4703DE4B: call ebx */
   5863     RECOMP_FLAGS_IN();
   5864     edi = eax; /* 0x4703DE4D: mov edi, eax */
   5865     RECOMP_ICALL(ebp); /* 0x4703DE4F: call ebp */
   5866     RECOMP_FLAGS_IN();
   5867     eax = MEM32(eax); /* 0x4703DE51: mov eax, dword ptr [eax] */
   5868     /* test eax, eax */ /* 0x4703DE53: test eax, eax */
   5869     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5870     _cf = 0;
   5871     _flag_k = FK_TEST;
   5872     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DE59; /* 0x4703DE55: je 0x4703de59 */
   5873 L_4703DE57:
   5874     edi = eax; /* 0x4703DE57: mov edi, eax */
   5875 L_4703DE59:
   5876     RECOMP_ICALL(0x47039020u); /* 0x4703DE59: call 0x47039020 */ /* not lifted */
   5877     RECOMP_FLAGS_IN();
   5878     esi = eax; /* 0x4703DE5E: mov esi, eax */
   5879     ecx = esi; /* 0x4703DE60: mov ecx, esi */
   5880     RECOMP_ICALL(0x4703B210u); /* 0x4703DE62: call 0x4703b210 */ /* not lifted */
   5881     RECOMP_FLAGS_IN();
   5882     PUSH32(esp, eax); /* 0x4703DE67: push eax */
   5883     ecx = esi; /* 0x4703DE68: mov ecx, esi */
   5884     RECOMP_ICALL(0x4703B240u); /* 0x4703DE6A: call 0x4703b240 */ /* not lifted */
   5885     RECOMP_FLAGS_IN();
   5886     PUSH32(esp, eax); /* 0x4703DE6F: push eax */
   5887     ecx = esi; /* 0x4703DE70: mov ecx, esi */
   5888     RECOMP_ICALL(0x4703B080u); /* 0x4703DE72: call 0x4703b080 */ /* not lifted */
   5889     RECOMP_FLAGS_IN();
   5890     PUSH32(esp, eax); /* 0x4703DE77: push eax */
   5891     PUSH32(esp, edi); /* 0x4703DE78: push edi */
   5892     PUSH32(esp, 0); /* 0x4703DE79: push 0 */
   5893     PUSH32(esp, 0x195u); /* 0x4703DE7B: push 0x195 */
   5894     PUSH32(esp, 0x471077E0u); /* 0x4703DE80: push 0x471077e0 */
   5895     ecx = esi; /* 0x4703DE85: mov ecx, esi */
   5896     RECOMP_ICALL(0x4703A340u); /* 0x4703DE87: call 0x4703a340 */ /* not lifted */
   5897     RECOMP_FLAGS_IN();
   5898     PUSH32(esp, 0x47105590u); /* 0x4703DE8C: push 0x47105590 */
   5899     PUSH32(esp, 4); /* 0x4703DE91: push 4 */
   5900     PUSH32(esp, esi); /* 0x4703DE93: push esi */
   5901     RECOMP_ICALL(0x47039830u); /* 0x4703DE94: call 0x47039830 */ /* not lifted */
   5902     RECOMP_FLAGS_IN();
   5903     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5904     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5905     esp = esp + 0xCu; /* 0x4703DE99: add esp, 0xc */
   5906     _flag_k = FK_ADD;
   5907     RECOMP_ICALL(ebx); /* 0x4703DE9C: call ebx */
   5908     RECOMP_FLAGS_IN();
   5909     esi = eax; /* 0x4703DE9E: mov esi, eax */
   5910     RECOMP_ICALL(ebp); /* 0x4703DEA0: call ebp */
   5911     RECOMP_FLAGS_IN();
   5912     eax = MEM32(eax); /* 0x4703DEA2: mov eax, dword ptr [eax] */
   5913     /* test eax, eax */ /* 0x4703DEA4: test eax, eax */
   5914     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5915     _cf = 0;
   5916     _flag_k = FK_TEST;
   5917     edi = esi; /* 0x4703DEA6: mov edi, esi */
   5918     if (TEST_Z(_flag_a, _flag_b)) goto L_4703DEAC; /* 0x4703DEA8: je 0x4703deac */
   5919 L_4703DEAA:
   5920     edi = eax; /* 0x4703DEAA: mov edi, eax */
   5921 L_4703DEAC:
   5922     RECOMP_ICALL(0x47039020u); /* 0x4703DEAC: call 0x47039020 */ /* not lifted */
   5923     RECOMP_FLAGS_IN();
   5924     esi = eax; /* 0x4703DEB1: mov esi, eax */
   5925     ecx = esi; /* 0x4703DEB3: mov ecx, esi */
   5926     RECOMP_ICALL(0x4703B210u); /* 0x4703DEB5: call 0x4703b210 */ /* not lifted */
   5927     RECOMP_FLAGS_IN();
   5928     PUSH32(esp, eax); /* 0x4703DEBA: push eax */
   5929     ecx = esi; /* 0x4703DEBB: mov ecx, esi */
   5930     RECOMP_ICALL(0x4703B240u); /* 0x4703DEBD: call 0x4703b240 */ /* not lifted */
   5931     RECOMP_FLAGS_IN();
   5932     PUSH32(esp, eax); /* 0x4703DEC2: push eax */
   5933     ecx = esi; /* 0x4703DEC3: mov ecx, esi */
   5934     RECOMP_ICALL(0x4703B080u); /* 0x4703DEC5: call 0x4703b080 */ /* not lifted */
   5935     RECOMP_FLAGS_IN();
   5936     PUSH32(esp, eax); /* 0x4703DECA: push eax */
   5937     PUSH32(esp, edi); /* 0x4703DECB: push edi */
   5938     PUSH32(esp, 0); /* 0x4703DECC: push 0 */
   5939     PUSH32(esp, 0x197u); /* 0x4703DECE: push 0x197 */
   5940     PUSH32(esp, 0x471077E0u); /* 0x4703DED3: push 0x471077e0 */
   5941     ecx = esi; /* 0x4703DED8: mov ecx, esi */
   5942     RECOMP_ICALL(0x4703A340u); /* 0x4703DEDA: call 0x4703a340 */ /* not lifted */
   5943     RECOMP_FLAGS_IN();
   5944     PUSH32(esp, 0x4710529Cu); /* 0x4703DEDF: push 0x4710529c */
   5945     PUSH32(esp, 4); /* 0x4703DEE4: push 4 */
   5946     PUSH32(esp, esi); /* 0x4703DEE6: push esi */
   5947     RECOMP_ICALL(0x47039830u); /* 0x4703DEE7: call 0x47039830 */ /* not lifted */
   5948     RECOMP_FLAGS_IN();
   5949     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5950     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5951     esp = esp + 0xCu; /* 0x4703DEEC: add esp, 0xc */
   5952     _flag_k = FK_ADD;
   5953     edi = POP32_VAL(esp); /* 0x4703DEEF: pop edi */
   5954     esi = POP32_VAL(esp); /* 0x4703DEF0: pop esi */
   5955     ebp = POP32_VAL(esp); /* 0x4703DEF1: pop ebp */
   5956     ebx = POP32_VAL(esp); /* 0x4703DEF2: pop ebx */
   5957     ecx = POP32_VAL(esp); /* 0x4703DEF3: pop ecx */
   5958     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DEF4: ret  */
   5959     RECOMP_REGS_OUT();
   5960 }
   5961 
   5962 void sub_4703DF00(void) {
   5963     int _fpu_cmp = 0;
   5964     uint32_t _cf = 0;
   5965     int _df = 1;
   5966     uint32_t _flag_k = FK_NONE;
   5967     uint32_t _flag_a = 0, _flag_b = 0;
   5968     uint32_t _itail_tgt = 0;
   5969     RECOMP_REGS_LOCALS
   5970     RECOMP_ENTER(0x4703DF00u);
   5971 
   5972 L_4703DF00:
   5973     ecx = 0x4710E605u; /* 0x4703DF00: mov ecx, 0x4710e605 */
   5974     RECOMP_ICALL(MEM32(0x470AC1C8)); /* 0x4703DF05: call dword ptr [0x470ac1c8] */
   5975     RECOMP_FLAGS_IN();
   5976     PUSH32(esp, 0x4703DF20u); /* 0x4703DF0B: push 0x4703df20 */
   5977     RECOMP_ICALL(0x470A32D9u); /* 0x4703DF10: call 0x470a32d9 */ /* not lifted */
   5978     RECOMP_FLAGS_IN();
   5979     ecx = POP32_VAL(esp); /* 0x4703DF15: pop ecx */
   5980     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4703DF16: ret  */
   5981     RECOMP_REGS_OUT();
   5982 }