aorecomp

Anarchy Online classic in the browser

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


client/game/kkr.dll/lifted-0069.c (278168B)


      1 #define RECOMP_GENERATED_CODE
      2 #include "recomp_types.h"
      3 #include <math.h>
      4 #include <stdio.h>
      5 #include <stdlib.h>
      6 #include <string.h>
      7 
      8 void sub_360ED2D0(void) {
      9     int _fpu_cmp = 0;
     10     uint32_t _cf = 0;
     11     int _df = 1;
     12     uint32_t _flag_k = FK_NONE;
     13     uint32_t _flag_a = 0, _flag_b = 0;
     14     uint32_t _itail_tgt = 0;
     15     RECOMP_REGS_LOCALS
     16     RECOMP_ENTER(0x360ED2D0u);
     17 
     18 L_360ED2D0:
     19     MEM32(0x36307228) = 0x361B5850u; /* 0x360ED2D0: mov dword ptr [0x36307228], 0x361b5850 */
     20     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED2DA: ret  */
     21     RECOMP_REGS_OUT();
     22 }
     23 
     24 void sub_360ED2E0(void) {
     25     int _fpu_cmp = 0;
     26     uint32_t _cf = 0;
     27     int _df = 1;
     28     uint32_t _flag_k = FK_NONE;
     29     uint32_t _flag_a = 0, _flag_b = 0;
     30     uint32_t _itail_tgt = 0;
     31     RECOMP_REGS_LOCALS
     32     RECOMP_ENTER(0x360ED2E0u);
     33 
     34 L_360ED2E0:
     35     goto L_360ED2F0; /* 0x360ED2E0: jmp 0x360ed2f0 */
     36 L_360ED2F0:
     37     MEM32(0x36307224) = 0x361B5888u; /* 0x360ED2F0: mov dword ptr [0x36307224], 0x361b5888 */
     38     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED2FA: ret  */
     39     RECOMP_REGS_OUT();
     40 }
     41 
     42 void sub_360ED2F0(void) {
     43     int _fpu_cmp = 0;
     44     uint32_t _cf = 0;
     45     int _df = 1;
     46     uint32_t _flag_k = FK_NONE;
     47     uint32_t _flag_a = 0, _flag_b = 0;
     48     uint32_t _itail_tgt = 0;
     49     RECOMP_REGS_LOCALS
     50     RECOMP_ENTER(0x360ED2F0u);
     51 
     52 L_360ED2F0:
     53     MEM32(0x36307224) = 0x361B5888u; /* 0x360ED2F0: mov dword ptr [0x36307224], 0x361b5888 */
     54     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED2FA: ret  */
     55     RECOMP_REGS_OUT();
     56 }
     57 
     58 void sub_360ED300(void) {
     59     int _fpu_cmp = 0;
     60     uint32_t _cf = 0;
     61     int _df = 1;
     62     uint32_t _flag_k = FK_NONE;
     63     uint32_t _flag_a = 0, _flag_b = 0;
     64     uint32_t _itail_tgt = 0;
     65     RECOMP_REGS_LOCALS
     66     RECOMP_ENTER(0x360ED300u);
     67 
     68 L_360ED300:
     69     goto L_360ED310; /* 0x360ED300: jmp 0x360ed310 */
     70 L_360ED310:
     71     MEM32(0x36307220) = 0x361B5908u; /* 0x360ED310: mov dword ptr [0x36307220], 0x361b5908 */
     72     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED31A: ret  */
     73     RECOMP_REGS_OUT();
     74 }
     75 
     76 void sub_360ED310(void) {
     77     int _fpu_cmp = 0;
     78     uint32_t _cf = 0;
     79     int _df = 1;
     80     uint32_t _flag_k = FK_NONE;
     81     uint32_t _flag_a = 0, _flag_b = 0;
     82     uint32_t _itail_tgt = 0;
     83     RECOMP_REGS_LOCALS
     84     RECOMP_ENTER(0x360ED310u);
     85 
     86 L_360ED310:
     87     MEM32(0x36307220) = 0x361B5908u; /* 0x360ED310: mov dword ptr [0x36307220], 0x361b5908 */
     88     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED31A: ret  */
     89     RECOMP_REGS_OUT();
     90 }
     91 
     92 void sub_360ED320(void) {
     93     int _fpu_cmp = 0;
     94     uint32_t _cf = 0;
     95     int _df = 1;
     96     uint32_t _flag_k = FK_NONE;
     97     uint32_t _flag_a = 0, _flag_b = 0;
     98     uint32_t _itail_tgt = 0;
     99     RECOMP_REGS_LOCALS
    100     RECOMP_ENTER(0x360ED320u);
    101 
    102 L_360ED320:
    103     goto L_360ED330; /* 0x360ED320: jmp 0x360ed330 */
    104 L_360ED330:
    105     MEM32(0x3630721C) = 0x361B5944u; /* 0x360ED330: mov dword ptr [0x3630721c], 0x361b5944 */
    106     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED33A: ret  */
    107     RECOMP_REGS_OUT();
    108 }
    109 
    110 void sub_360ED330(void) {
    111     int _fpu_cmp = 0;
    112     uint32_t _cf = 0;
    113     int _df = 1;
    114     uint32_t _flag_k = FK_NONE;
    115     uint32_t _flag_a = 0, _flag_b = 0;
    116     uint32_t _itail_tgt = 0;
    117     RECOMP_REGS_LOCALS
    118     RECOMP_ENTER(0x360ED330u);
    119 
    120 L_360ED330:
    121     MEM32(0x3630721C) = 0x361B5944u; /* 0x360ED330: mov dword ptr [0x3630721c], 0x361b5944 */
    122     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED33A: ret  */
    123     RECOMP_REGS_OUT();
    124 }
    125 
    126 void sub_360ED340(void) {
    127     int _fpu_cmp = 0;
    128     uint32_t _cf = 0;
    129     int _df = 1;
    130     uint32_t _flag_k = FK_NONE;
    131     uint32_t _flag_a = 0, _flag_b = 0;
    132     uint32_t _itail_tgt = 0;
    133     RECOMP_REGS_LOCALS
    134     RECOMP_ENTER(0x360ED340u);
    135 
    136 L_360ED340:
    137     goto L_360ED350; /* 0x360ED340: jmp 0x360ed350 */
    138 L_360ED350:
    139     MEM32(0x36307218) = 0x361B5978u; /* 0x360ED350: mov dword ptr [0x36307218], 0x361b5978 */
    140     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED35A: ret  */
    141     RECOMP_REGS_OUT();
    142 }
    143 
    144 void sub_360ED350(void) {
    145     int _fpu_cmp = 0;
    146     uint32_t _cf = 0;
    147     int _df = 1;
    148     uint32_t _flag_k = FK_NONE;
    149     uint32_t _flag_a = 0, _flag_b = 0;
    150     uint32_t _itail_tgt = 0;
    151     RECOMP_REGS_LOCALS
    152     RECOMP_ENTER(0x360ED350u);
    153 
    154 L_360ED350:
    155     MEM32(0x36307218) = 0x361B5978u; /* 0x360ED350: mov dword ptr [0x36307218], 0x361b5978 */
    156     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED35A: ret  */
    157     RECOMP_REGS_OUT();
    158 }
    159 
    160 void sub_360ED360(void) {
    161     int _fpu_cmp = 0;
    162     uint32_t _cf = 0;
    163     int _df = 1;
    164     uint32_t _flag_k = FK_NONE;
    165     uint32_t _flag_a = 0, _flag_b = 0;
    166     uint32_t _itail_tgt = 0;
    167     RECOMP_REGS_LOCALS
    168     RECOMP_ENTER(0x360ED360u);
    169 
    170 L_360ED360:
    171     goto L_360ED370; /* 0x360ED360: jmp 0x360ed370 */
    172 L_360ED370:
    173     MEM32(0x36307214) = 0x361B59ACu; /* 0x360ED370: mov dword ptr [0x36307214], 0x361b59ac */
    174     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED37A: ret  */
    175     RECOMP_REGS_OUT();
    176 }
    177 
    178 void sub_360ED370(void) {
    179     int _fpu_cmp = 0;
    180     uint32_t _cf = 0;
    181     int _df = 1;
    182     uint32_t _flag_k = FK_NONE;
    183     uint32_t _flag_a = 0, _flag_b = 0;
    184     uint32_t _itail_tgt = 0;
    185     RECOMP_REGS_LOCALS
    186     RECOMP_ENTER(0x360ED370u);
    187 
    188 L_360ED370:
    189     MEM32(0x36307214) = 0x361B59ACu; /* 0x360ED370: mov dword ptr [0x36307214], 0x361b59ac */
    190     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED37A: ret  */
    191     RECOMP_REGS_OUT();
    192 }
    193 
    194 void sub_360ED380(void) {
    195     int _fpu_cmp = 0;
    196     uint32_t _cf = 0;
    197     int _df = 1;
    198     uint32_t _flag_k = FK_NONE;
    199     uint32_t _flag_a = 0, _flag_b = 0;
    200     uint32_t _itail_tgt = 0;
    201     RECOMP_REGS_LOCALS
    202     RECOMP_ENTER(0x360ED380u);
    203 
    204 L_360ED380:
    205     PUSH32(esp, ebp); /* 0x360ED380: push ebp */
    206     ebp = esp; /* 0x360ED381: mov ebp, esp */
    207     PUSH32(esp, 0xFFFFFFFFu); /* 0x360ED383: push -1 */
    208     PUSH32(esp, 0x36168ABBu); /* 0x360ED385: push 0x36168abb */
    209     eax = MEM32(FS_BASE + (0)); /* 0x360ED38A: mov eax, dword ptr fs:[0] */
    210     PUSH32(esp, eax); /* 0x360ED390: push eax */
    211     MEM32(FS_BASE + (0)) = esp; /* 0x360ED391: mov dword ptr fs:[0], esp */
    212     PUSH32(esp, ecx); /* 0x360ED398: push ecx */
    213     PUSH32(esp, 0x20u); /* 0x360ED399: push 0x20 */
    214     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED39B: call 0x3615fd6a */ /* not lifted */
    215     RECOMP_FLAGS_IN();
    216     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    217     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    218     esp = esp + 4; /* 0x360ED3A0: add esp, 4 */
    219     _flag_k = FK_ADD;
    220     MEM32(ebp + (-0x10)) = eax; /* 0x360ED3A3: mov dword ptr [ebp - 0x10], eax */
    221     /* test eax, eax */ /* 0x360ED3A6: test eax, eax */
    222     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    223     _cf = 0;
    224     _flag_k = FK_TEST;
    225     MEM32(ebp + (-0x4)) = 0; /* 0x360ED3A8: mov dword ptr [ebp - 4], 0 */
    226     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED3CE; /* 0x360ED3AF: je 0x360ed3ce */
    227 L_360ED3B1:
    228     ecx = MEM32(ebp + 0xC); /* 0x360ED3B1: mov ecx, dword ptr [ebp + 0xc] */
    229     edx = MEM32(ebp + 0x8); /* 0x360ED3B4: mov edx, dword ptr [ebp + 8] */
    230     PUSH32(esp, ecx); /* 0x360ED3B7: push ecx */
    231     PUSH32(esp, edx); /* 0x360ED3B8: push edx */
    232     ecx = eax; /* 0x360ED3B9: mov ecx, eax */
    233     RECOMP_ICALL(0x360ED610u); /* 0x360ED3BB: call 0x360ed610 */ /* not lifted */
    234     RECOMP_FLAGS_IN();
    235     ecx = MEM32(ebp + (-0xC)); /* 0x360ED3C0: mov ecx, dword ptr [ebp - 0xc] */
    236     MEM32(FS_BASE + (0)) = ecx; /* 0x360ED3C3: mov dword ptr fs:[0], ecx */
    237     esp = ebp; /* 0x360ED3CA: mov esp, ebp */
    238     ebp = POP32_VAL(esp); /* 0x360ED3CC: pop ebp */
    239     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED3CD: ret  */
    240 L_360ED3CE:
    241     ecx = MEM32(ebp + (-0xC)); /* 0x360ED3CE: mov ecx, dword ptr [ebp - 0xc] */
    242     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    243     eax = 0; /* 0x360ED3D1: xor eax, eax */
    244     _cf = 0;
    245     _flag_k = FK_TEST;
    246     MEM32(FS_BASE + (0)) = ecx; /* 0x360ED3D3: mov dword ptr fs:[0], ecx */
    247     esp = ebp; /* 0x360ED3DA: mov esp, ebp */
    248     ebp = POP32_VAL(esp); /* 0x360ED3DC: pop ebp */
    249     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED3DD: ret  */
    250     RECOMP_REGS_OUT();
    251 }
    252 
    253 void sub_360ED3E0(void) {
    254     int _fpu_cmp = 0;
    255     uint32_t _cf = 0;
    256     int _df = 1;
    257     uint32_t _flag_k = FK_NONE;
    258     uint32_t _flag_a = 0, _flag_b = 0;
    259     uint32_t _itail_tgt = 0;
    260     RECOMP_REGS_LOCALS
    261     RECOMP_ENTER(0x360ED3E0u);
    262 
    263 L_360ED3E0:
    264     RECOMP_ICALL(0x360ED3F0u); /* 0x360ED3E0: call 0x360ed3f0 */ /* not lifted */
    265     RECOMP_FLAGS_IN();
    266     goto L_360ED410; /* 0x360ED3E5: jmp 0x360ed410 */
    267 L_360ED410:
    268     PUSH32(esp, 0x360ED420u); /* 0x360ED410: push 0x360ed420 */
    269     RECOMP_ICALL(0x3615FEB2u); /* 0x360ED415: call 0x3615feb2 */ /* not lifted */
    270     RECOMP_FLAGS_IN();
    271     ecx = POP32_VAL(esp); /* 0x360ED41A: pop ecx */
    272     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED41B: ret  */
    273     RECOMP_REGS_OUT();
    274 }
    275 
    276 void sub_360ED3F0(void) {
    277     int _fpu_cmp = 0;
    278     uint32_t _cf = 0;
    279     int _df = 1;
    280     uint32_t _flag_k = FK_NONE;
    281     uint32_t _flag_a = 0, _flag_b = 0;
    282     uint32_t _itail_tgt = 0;
    283     RECOMP_REGS_LOCALS
    284     RECOMP_ENTER(0x360ED3F0u);
    285 
    286 L_360ED3F0:
    287     PUSH32(esp, 0x360ED380u); /* 0x360ED3F0: push 0x360ed380 */
    288     PUSH32(esp, 0xD6E1u); /* 0x360ED3F5: push 0xd6e1 */
    289     RECOMP_ICALL(MEM32(0x3616FB08)); /* 0x360ED3FA: call dword ptr [0x3616fb08] */
    290     RECOMP_FLAGS_IN();
    291     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    292     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    293     esp = esp + 8; /* 0x360ED400: add esp, 8 */
    294     _flag_k = FK_ADD;
    295     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED403: ret  */
    296     RECOMP_REGS_OUT();
    297 }
    298 
    299 void sub_360ED410(void) {
    300     int _fpu_cmp = 0;
    301     uint32_t _cf = 0;
    302     int _df = 1;
    303     uint32_t _flag_k = FK_NONE;
    304     uint32_t _flag_a = 0, _flag_b = 0;
    305     uint32_t _itail_tgt = 0;
    306     RECOMP_REGS_LOCALS
    307     RECOMP_ENTER(0x360ED410u);
    308 
    309 L_360ED410:
    310     PUSH32(esp, 0x360ED420u); /* 0x360ED410: push 0x360ed420 */
    311     RECOMP_ICALL(0x3615FEB2u); /* 0x360ED415: call 0x3615feb2 */ /* not lifted */
    312     RECOMP_FLAGS_IN();
    313     ecx = POP32_VAL(esp); /* 0x360ED41A: pop ecx */
    314     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED41B: ret  */
    315     RECOMP_REGS_OUT();
    316 }
    317 
    318 void sub_360ED420(void) {
    319     int _fpu_cmp = 0;
    320     uint32_t _cf = 0;
    321     int _df = 1;
    322     uint32_t _flag_k = FK_NONE;
    323     uint32_t _flag_a = 0, _flag_b = 0;
    324     uint32_t _itail_tgt = 0;
    325     RECOMP_REGS_LOCALS
    326     RECOMP_ENTER(0x360ED420u);
    327 
    328 L_360ED420:
    329     PUSH32(esp, 0xD6E1u); /* 0x360ED420: push 0xd6e1 */
    330     RECOMP_ICALL(MEM32(0x3616FB0C)); /* 0x360ED425: call dword ptr [0x3616fb0c] */
    331     RECOMP_FLAGS_IN();
    332     ecx = POP32_VAL(esp); /* 0x360ED42B: pop ecx */
    333     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED42C: ret  */
    334     RECOMP_REGS_OUT();
    335 }
    336 
    337 void sub_360ED430(void) {
    338     int _fpu_cmp = 0;
    339     uint32_t _cf = 0;
    340     int _df = 1;
    341     uint32_t _flag_k = FK_NONE;
    342     uint32_t _flag_a = 0, _flag_b = 0;
    343     uint32_t _itail_tgt = 0;
    344     RECOMP_REGS_LOCALS
    345     RECOMP_ENTER(0x360ED430u);
    346 
    347 L_360ED430:
    348     RECOMP_ICALL(0x360ED440u); /* 0x360ED430: call 0x360ed440 */ /* not lifted */
    349     RECOMP_FLAGS_IN();
    350     goto L_360ED490; /* 0x360ED435: jmp 0x360ed490 */
    351 L_360ED490:
    352     PUSH32(esp, 0x360ED4A0u); /* 0x360ED490: push 0x360ed4a0 */
    353     RECOMP_ICALL(0x3615FEB2u); /* 0x360ED495: call 0x3615feb2 */ /* not lifted */
    354     RECOMP_FLAGS_IN();
    355     ecx = POP32_VAL(esp); /* 0x360ED49A: pop ecx */
    356     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED49B: ret  */
    357     RECOMP_REGS_OUT();
    358 }
    359 
    360 void sub_360ED440(void) {
    361     int _fpu_cmp = 0;
    362     uint32_t _cf = 0;
    363     int _df = 1;
    364     uint32_t _flag_k = FK_NONE;
    365     uint32_t _flag_a = 0, _flag_b = 0;
    366     uint32_t _itail_tgt = 0;
    367     RECOMP_REGS_LOCALS
    368     RECOMP_ENTER(0x360ED440u);
    369 
    370 L_360ED440:
    371     PUSH32(esp, ebp); /* 0x360ED440: push ebp */
    372     ebp = esp; /* 0x360ED441: mov ebp, esp */
    373     PUSH32(esp, ecx); /* 0x360ED443: push ecx */
    374     SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x360ED444: mov al, byte ptr [ebp - 1] */
    375     PUSH32(esp, 0x18u); /* 0x360ED447: push 0x18 */
    376     MEM8(0x36307200) = (uint8_t)(LO8(eax)); /* 0x360ED449: mov byte ptr [0x36307200], al */
    377     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED44E: call 0x3615fd6a */ /* not lifted */
    378     RECOMP_FLAGS_IN();
    379     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    380     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    381     esp = esp + 4; /* 0x360ED453: add esp, 4 */
    382     _flag_k = FK_ADD;
    383     MEM32(0x36307204) = eax; /* 0x360ED456: mov dword ptr [0x36307204], eax */
    384     ecx = 6; /* 0x360ED45B: mov ecx, 6 */
    385 L_360ED460:
    386     /* test eax, eax */ /* 0x360ED460: test eax, eax */
    387     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    388     _cf = 0;
    389     _flag_k = FK_TEST;
    390     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED46A; /* 0x360ED462: je 0x360ed46a */
    391 L_360ED464:
    392     MEM32(eax) = 0; /* 0x360ED464: mov dword ptr [eax], 0 */
    393 L_360ED46A:
    394     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
    395     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    396     eax = eax + 4; /* 0x360ED46A: add eax, 4 */
    397     _flag_k = FK_ADD;
    398     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    399     ecx = ecx - 1; /* 0x360ED46D: dec ecx */
    400     _flag_k = FK_DEC;
    401     RECOMP_BACKEDGE();
    402     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_360ED460; /* 0x360ED46E: jne 0x360ed460 */
    403 L_360ED470:
    404     ecx = MEM32(0x36307204); /* 0x360ED470: mov ecx, dword ptr [0x36307204] */
    405     eax = ecx + 0x18; /* 0x360ED476: lea eax, [ecx + 0x18] */
    406     MEM32(0x36307208) = eax; /* 0x360ED479: mov dword ptr [0x36307208], eax */
    407     MEM32(0x3630720C) = eax; /* 0x360ED47E: mov dword ptr [0x3630720c], eax */
    408     esp = ebp; /* 0x360ED483: mov esp, ebp */
    409     ebp = POP32_VAL(esp); /* 0x360ED485: pop ebp */
    410     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED486: ret  */
    411     RECOMP_REGS_OUT();
    412 }
    413 
    414 void sub_360ED490(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(0x360ED490u);
    423 
    424 L_360ED490:
    425     PUSH32(esp, 0x360ED4A0u); /* 0x360ED490: push 0x360ed4a0 */
    426     RECOMP_ICALL(0x3615FEB2u); /* 0x360ED495: call 0x3615feb2 */ /* not lifted */
    427     RECOMP_FLAGS_IN();
    428     ecx = POP32_VAL(esp); /* 0x360ED49A: pop ecx */
    429     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED49B: ret  */
    430     RECOMP_REGS_OUT();
    431 }
    432 
    433 void sub_360ED4A0(void) {
    434     int _fpu_cmp = 0;
    435     uint32_t _cf = 0;
    436     int _df = 1;
    437     uint32_t _flag_k = FK_NONE;
    438     uint32_t _flag_a = 0, _flag_b = 0;
    439     uint32_t _itail_tgt = 0;
    440     RECOMP_REGS_LOCALS
    441     RECOMP_ENTER(0x360ED4A0u);
    442 
    443 L_360ED4A0:
    444     PUSH32(esp, ebp); /* 0x360ED4A0: push ebp */
    445     ebp = esp; /* 0x360ED4A1: mov ebp, esp */
    446     PUSH32(esp, ecx); /* 0x360ED4A3: push ecx */
    447     SET_LO8(ecx, MEM8(0x363071F8)); /* 0x360ED4A4: mov cl, byte ptr [0x363071f8] */
    448     SET_LO8(eax, 1); /* 0x360ED4AA: mov al, 1 */
    449     /* test LO8(eax), LO8(ecx) */ /* 0x360ED4AC: test al, cl */
    450     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    451     _cf = 0;
    452     _flag_k = FK_NARROW(FK_TEST, 24);
    453     if (TEST_NZ(_flag_a, _flag_b)) goto L_360ED4DC; /* 0x360ED4AE: jne 0x360ed4dc */
    454 L_360ED4B0:
    455     SET_LO8(edx, LO8(ecx)); /* 0x360ED4B0: mov dl, cl */
    456     _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24;
    457     SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x360ED4B2: or dl, al */
    458     _cf = 0;
    459     _flag_k = FK_NARROW(FK_TEST, 24);
    460     eax = MEM32(0x36307204); /* 0x360ED4B4: mov eax, dword ptr [0x36307204] */
    461     PUSH32(esp, eax); /* 0x360ED4B9: push eax */
    462     MEM8(0x363071F8) = (uint8_t)(LO8(edx)); /* 0x360ED4BA: mov byte ptr [0x363071f8], dl */
    463     MEM32(ebp + (-0x4)) = eax; /* 0x360ED4C0: mov dword ptr [ebp - 4], eax */
    464     RECOMP_ICALL(0x3615FCC4u); /* 0x360ED4C3: call 0x3615fcc4 */ /* not lifted */
    465     RECOMP_FLAGS_IN();
    466     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    467     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    468     esp = esp + 4; /* 0x360ED4C8: add esp, 4 */
    469     _flag_k = FK_ADD;
    470     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    471     eax = 0; /* 0x360ED4CB: xor eax, eax */
    472     _cf = 0;
    473     _flag_k = FK_TEST;
    474     MEM32(0x36307204) = eax; /* 0x360ED4CD: mov dword ptr [0x36307204], eax */
    475     MEM32(0x36307208) = eax; /* 0x360ED4D2: mov dword ptr [0x36307208], eax */
    476     MEM32(0x3630720C) = eax; /* 0x360ED4D7: mov dword ptr [0x3630720c], eax */
    477 L_360ED4DC:
    478     esp = ebp; /* 0x360ED4DC: mov esp, ebp */
    479     ebp = POP32_VAL(esp); /* 0x360ED4DE: pop ebp */
    480     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED4DF: ret  */
    481     RECOMP_REGS_OUT();
    482 }
    483 
    484 void sub_360ED4E0(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(0x360ED4E0u);
    493 
    494 L_360ED4E0:
    495     PUSH32(esp, ebp); /* 0x360ED4E0: push ebp */
    496     ebp = esp; /* 0x360ED4E1: mov ebp, esp */
    497     PUSH32(esp, 0xFFFFFFFFu); /* 0x360ED4E3: push -1 */
    498     PUSH32(esp, 0x36168AE4u); /* 0x360ED4E5: push 0x36168ae4 */
    499     eax = MEM32(FS_BASE + (0)); /* 0x360ED4EA: mov eax, dword ptr fs:[0] */
    500     PUSH32(esp, eax); /* 0x360ED4F0: push eax */
    501     MEM32(FS_BASE + (0)) = esp; /* 0x360ED4F1: mov dword ptr fs:[0], esp */
    502     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    503     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    504     esp = esp - 8; /* 0x360ED4F8: sub esp, 8 */
    505     _flag_k = FK_CMP;
    506     PUSH32(esp, ebx); /* 0x360ED4FB: push ebx */
    507     PUSH32(esp, esi); /* 0x360ED4FC: push esi */
    508     PUSH32(esp, edi); /* 0x360ED4FD: push edi */
    509     edi = ecx; /* 0x360ED4FE: mov edi, ecx */
    510     ecx = MEM32(ebp + 0x8); /* 0x360ED500: mov ecx, dword ptr [ebp + 8] */
    511     eax = edi + 0x4; /* 0x360ED503: lea eax, [edi + 4] */
    512     /* cmp eax, ecx */ /* 0x360ED506: cmp eax, ecx */
    513     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    515     _flag_k = FK_CMP;
    516     MEM32(ebp + (-0x10)) = edi; /* 0x360ED508: mov dword ptr [ebp - 0x10], edi */
    517     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED517; /* 0x360ED50B: je 0x360ed517 */
    518 L_360ED50D:
    519     edx = MEM32(ecx); /* 0x360ED50D: mov edx, dword ptr [ecx] */
    520     MEM32(eax) = edx; /* 0x360ED50F: mov dword ptr [eax], edx */
    521     ecx = MEM32(ecx + 0x4); /* 0x360ED511: mov ecx, dword ptr [ecx + 4] */
    522     MEM32(eax + 0x4) = ecx; /* 0x360ED514: mov dword ptr [eax + 4], ecx */
    523 L_360ED517:
    524     eax = 1; /* 0x360ED517: mov eax, 1 */
    525     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    526     ebx = 0; /* 0x360ED51C: xor ebx, ebx */
    527     _cf = 0;
    528     _flag_k = FK_TEST;
    529     MEM32(edi + 0xC) = eax; /* 0x360ED51E: mov dword ptr [edi + 0xc], eax */
    530     MEM32(edi + 0x10) = eax; /* 0x360ED521: mov dword ptr [edi + 0x10], eax */
    531     MEM8(edi + 0x14) = (uint8_t)(LO8(ebx)); /* 0x360ED524: mov byte ptr [edi + 0x14], bl */
    532     MEM8(edi + 0x15) = (uint8_t)(LO8(eax)); /* 0x360ED527: mov byte ptr [edi + 0x15], al */
    533     PUSH32(esp, 0x100u); /* 0x360ED52A: push 0x100 */
    534     MEM32(ebp + (-0x4)) = ebx; /* 0x360ED52F: mov dword ptr [ebp - 4], ebx */
    535     MEM32(edi) = 0x3617521Cu; /* 0x360ED532: mov dword ptr [edi], 0x3617521c */
    536     RECOMP_ICALL(0x360EF780u); /* 0x360ED538: call 0x360ef780 */ /* not lifted */
    537     RECOMP_FLAGS_IN();
    538     ecx = eax; /* 0x360ED53D: mov ecx, eax */
    539     RECOMP_ICALL(0x360EFCF0u); /* 0x360ED53F: call 0x360efcf0 */ /* not lifted */
    540     RECOMP_FLAGS_IN();
    541     PUSH32(esp, 0x14u); /* 0x360ED544: push 0x14 */
    542     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED546: call 0x3615fd6a */ /* not lifted */
    543     RECOMP_FLAGS_IN();
    544     esi = eax; /* 0x360ED54B: mov esi, eax */
    545     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    546     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    547     esp = esp + 4; /* 0x360ED54D: add esp, 4 */
    548     _flag_k = FK_ADD;
    549     MEM32(ebp + (-0x14)) = esi; /* 0x360ED550: mov dword ptr [ebp - 0x14], esi */
    550     /* cmp esi, ebx */ /* 0x360ED553: cmp esi, ebx */
    551     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    552     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    553     _flag_k = FK_CMP;
    554     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x360ED555: mov byte ptr [ebp - 4], 1 */
    555     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED5BB; /* 0x360ED559: je 0x360ed5bb */
    556 L_360ED55B:
    557     SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x360ED55B: mov dl, byte ptr [ebp + 0xb] */
    558     SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x360ED55E: mov al, byte ptr [ebp + 0xb] */
    559     PUSH32(esp, 0x18u); /* 0x360ED561: push 0x18 */
    560     MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x360ED563: mov byte ptr [esi], dl */
    561     MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x360ED565: mov byte ptr [esi + 1], al */
    562     MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x360ED568: mov byte ptr [esi + 0xc], bl */
    563     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED56B: call 0x3615fd6a */ /* not lifted */
    564     RECOMP_FLAGS_IN();
    565     MEM32(eax + 0x4) = ebx; /* 0x360ED570: mov dword ptr [eax + 4], ebx */
    566     MEM8(eax + 0x14) = (uint8_t)(1); /* 0x360ED573: mov byte ptr [eax + 0x14], 1 */
    567     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x360ED577: mov byte ptr [eax + 0x15], bl */
    568     MEM32(esi + 0x8) = eax; /* 0x360ED57A: mov dword ptr [esi + 8], eax */
    569     MEM8(eax + 0x15) = (uint8_t)(1); /* 0x360ED57D: mov byte ptr [eax + 0x15], 1 */
    570     ecx = MEM32(esi + 0x8); /* 0x360ED581: mov ecx, dword ptr [esi + 8] */
    571     MEM32(ecx) = ebx; /* 0x360ED584: mov dword ptr [ecx], ebx */
    572     edx = MEM32(esi + 0x8); /* 0x360ED586: mov edx, dword ptr [esi + 8] */
    573     MEM32(edx + 0x8) = ebx; /* 0x360ED589: mov dword ptr [edx + 8], ebx */
    574     eax = MEM32(esi + 0x8); /* 0x360ED58C: mov eax, dword ptr [esi + 8] */
    575     PUSH32(esp, 0x18u); /* 0x360ED58F: push 0x18 */
    576     MEM32(ebp + 0x8) = eax; /* 0x360ED591: mov dword ptr [ebp + 8], eax */
    577     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED594: call 0x3615fd6a */ /* not lifted */
    578     RECOMP_FLAGS_IN();
    579     ecx = MEM32(ebp + 0x8); /* 0x360ED599: mov ecx, dword ptr [ebp + 8] */
    580     MEM32(eax + 0x4) = ecx; /* 0x360ED59C: mov dword ptr [eax + 4], ecx */
    581     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x360ED59F: mov byte ptr [eax + 0x14], bl */
    582     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x360ED5A2: mov byte ptr [eax + 0x15], bl */
    583     MEM32(esi + 0x4) = eax; /* 0x360ED5A5: mov dword ptr [esi + 4], eax */
    584     MEM32(eax) = eax; /* 0x360ED5A8: mov dword ptr [eax], eax */
    585     eax = MEM32(esi + 0x4); /* 0x360ED5AA: mov eax, dword ptr [esi + 4] */
    586     MEM32(eax + 0x8) = eax; /* 0x360ED5AD: mov dword ptr [eax + 8], eax */
    587     MEM32(esi + 0x10) = ebx; /* 0x360ED5B0: mov dword ptr [esi + 0x10], ebx */
    588     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    589     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    590     esp = esp + 8; /* 0x360ED5B3: add esp, 8 */
    591     _flag_k = FK_ADD;
    592     MEM32(edi + 0x18) = esi; /* 0x360ED5B6: mov dword ptr [edi + 0x18], esi */
    593     goto L_360ED5BE; /* 0x360ED5B9: jmp 0x360ed5be */
    594 L_360ED5BB:
    595     MEM32(edi + 0x18) = ebx; /* 0x360ED5BB: mov dword ptr [edi + 0x18], ebx */
    596 L_360ED5BE:
    597     ecx = MEM32(ebp + (-0xC)); /* 0x360ED5BE: mov ecx, dword ptr [ebp - 0xc] */
    598     eax = edi; /* 0x360ED5C1: mov eax, edi */
    599     edi = POP32_VAL(esp); /* 0x360ED5C3: pop edi */
    600     esi = POP32_VAL(esp); /* 0x360ED5C4: pop esi */
    601     ebx = POP32_VAL(esp); /* 0x360ED5C5: pop ebx */
    602     MEM32(FS_BASE + (0)) = ecx; /* 0x360ED5C6: mov dword ptr fs:[0], ecx */
    603     esp = ebp; /* 0x360ED5CD: mov esp, ebp */
    604     ebp = POP32_VAL(esp); /* 0x360ED5CF: pop ebp */
    605     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360ED5D0: ret 4 */
    606     RECOMP_REGS_OUT();
    607 }
    608 
    609 void sub_360ED5E0(void) {
    610     int _fpu_cmp = 0;
    611     uint32_t _cf = 0;
    612     int _df = 1;
    613     uint32_t _flag_k = FK_NONE;
    614     uint32_t _flag_a = 0, _flag_b = 0;
    615     uint32_t _itail_tgt = 0;
    616     RECOMP_REGS_LOCALS
    617     RECOMP_ENTER(0x360ED5E0u);
    618 
    619 L_360ED5E0:
    620     PUSH32(esp, ebp); /* 0x360ED5E0: push ebp */
    621     ebp = esp; /* 0x360ED5E1: mov ebp, esp */
    622     PUSH32(esp, esi); /* 0x360ED5E3: push esi */
    623     esi = ecx; /* 0x360ED5E4: mov esi, ecx */
    624     RECOMP_ICALL(0x360ED6F0u); /* 0x360ED5E6: call 0x360ed6f0 */ /* not lifted */
    625     RECOMP_FLAGS_IN();
    626     /* test MEM8(ebp + 0x8), 1 */ /* 0x360ED5EB: test byte ptr [ebp + 8], 1 */
    627     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
    628     _cf = 0;
    629     _flag_k = FK_NARROW(FK_TEST, 24);
    630     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED5FA; /* 0x360ED5EF: je 0x360ed5fa */
    631 L_360ED5F1:
    632     PUSH32(esp, esi); /* 0x360ED5F1: push esi */
    633     RECOMP_ICALL(0x3615FCC4u); /* 0x360ED5F2: call 0x3615fcc4 */ /* not lifted */
    634     RECOMP_FLAGS_IN();
    635     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    636     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    637     esp = esp + 4; /* 0x360ED5F7: add esp, 4 */
    638     _flag_k = FK_ADD;
    639 L_360ED5FA:
    640     eax = esi; /* 0x360ED5FA: mov eax, esi */
    641     esi = POP32_VAL(esp); /* 0x360ED5FC: pop esi */
    642     ebp = POP32_VAL(esp); /* 0x360ED5FD: pop ebp */
    643     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360ED5FE: ret 4 */
    644     RECOMP_REGS_OUT();
    645 }
    646 
    647 void sub_360ED610(void) {
    648     int _fpu_cmp = 0;
    649     uint32_t _cf = 0;
    650     int _df = 1;
    651     uint32_t _flag_k = FK_NONE;
    652     uint32_t _flag_a = 0, _flag_b = 0;
    653     uint32_t _itail_tgt = 0;
    654     RECOMP_REGS_LOCALS
    655     RECOMP_ENTER(0x360ED610u);
    656 
    657 L_360ED610:
    658     PUSH32(esp, ebp); /* 0x360ED610: push ebp */
    659     ebp = esp; /* 0x360ED611: mov ebp, esp */
    660     PUSH32(esp, 0xFFFFFFFFu); /* 0x360ED613: push -1 */
    661     PUSH32(esp, 0x36168B04u); /* 0x360ED615: push 0x36168b04 */
    662     eax = MEM32(FS_BASE + (0)); /* 0x360ED61A: mov eax, dword ptr fs:[0] */
    663     PUSH32(esp, eax); /* 0x360ED620: push eax */
    664     MEM32(FS_BASE + (0)) = esp; /* 0x360ED621: mov dword ptr fs:[0], esp */
    665     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    666     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    667     esp = esp - 8; /* 0x360ED628: sub esp, 8 */
    668     _flag_k = FK_CMP;
    669     eax = MEM32(ebp + 0xC); /* 0x360ED62B: mov eax, dword ptr [ebp + 0xc] */
    670     PUSH32(esp, ebx); /* 0x360ED62E: push ebx */
    671     PUSH32(esp, esi); /* 0x360ED62F: push esi */
    672     PUSH32(esp, edi); /* 0x360ED630: push edi */
    673     edi = ecx; /* 0x360ED631: mov edi, ecx */
    674     MEM32(edi + 0x8) = eax; /* 0x360ED633: mov dword ptr [edi + 8], eax */
    675     MEM32(edi + 0x4) = 0xD6E1u; /* 0x360ED636: mov dword ptr [edi + 4], 0xd6e1 */
    676     eax = 1; /* 0x360ED63D: mov eax, 1 */
    677     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    678     ebx = 0; /* 0x360ED642: xor ebx, ebx */
    679     _cf = 0;
    680     _flag_k = FK_TEST;
    681     MEM32(ebp + (-0x10)) = edi; /* 0x360ED644: mov dword ptr [ebp - 0x10], edi */
    682     MEM32(edi + 0xC) = eax; /* 0x360ED647: mov dword ptr [edi + 0xc], eax */
    683     MEM32(edi + 0x10) = eax; /* 0x360ED64A: mov dword ptr [edi + 0x10], eax */
    684     MEM8(edi + 0x14) = (uint8_t)(LO8(ebx)); /* 0x360ED64D: mov byte ptr [edi + 0x14], bl */
    685     MEM8(edi + 0x15) = (uint8_t)(LO8(eax)); /* 0x360ED650: mov byte ptr [edi + 0x15], al */
    686     PUSH32(esp, 0x14u); /* 0x360ED653: push 0x14 */
    687     MEM32(ebp + (-0x4)) = ebx; /* 0x360ED655: mov dword ptr [ebp - 4], ebx */
    688     MEM32(edi) = 0x3617521Cu; /* 0x360ED658: mov dword ptr [edi], 0x3617521c */
    689     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED65E: call 0x3615fd6a */ /* not lifted */
    690     RECOMP_FLAGS_IN();
    691     esi = eax; /* 0x360ED663: mov esi, eax */
    692     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    693     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    694     esp = esp + 4; /* 0x360ED665: add esp, 4 */
    695     _flag_k = FK_ADD;
    696     MEM32(ebp + (-0x14)) = esi; /* 0x360ED668: mov dword ptr [ebp - 0x14], esi */
    697     /* cmp esi, ebx */ /* 0x360ED66B: cmp esi, ebx */
    698     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    700     _flag_k = FK_CMP;
    701     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x360ED66D: mov byte ptr [ebp - 4], 1 */
    702     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED6D3; /* 0x360ED671: je 0x360ed6d3 */
    703 L_360ED673:
    704     SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x360ED673: mov cl, byte ptr [ebp + 0xf] */
    705     SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x360ED676: mov dl, byte ptr [ebp + 0xf] */
    706     PUSH32(esp, 0x18u); /* 0x360ED679: push 0x18 */
    707     MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x360ED67B: mov byte ptr [esi], cl */
    708     MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x360ED67D: mov byte ptr [esi + 1], dl */
    709     MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x360ED680: mov byte ptr [esi + 0xc], bl */
    710     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED683: call 0x3615fd6a */ /* not lifted */
    711     RECOMP_FLAGS_IN();
    712     MEM32(eax + 0x4) = ebx; /* 0x360ED688: mov dword ptr [eax + 4], ebx */
    713     MEM8(eax + 0x14) = (uint8_t)(1); /* 0x360ED68B: mov byte ptr [eax + 0x14], 1 */
    714     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x360ED68F: mov byte ptr [eax + 0x15], bl */
    715     MEM32(esi + 0x8) = eax; /* 0x360ED692: mov dword ptr [esi + 8], eax */
    716     MEM8(eax + 0x15) = (uint8_t)(1); /* 0x360ED695: mov byte ptr [eax + 0x15], 1 */
    717     eax = MEM32(esi + 0x8); /* 0x360ED699: mov eax, dword ptr [esi + 8] */
    718     MEM32(eax) = ebx; /* 0x360ED69C: mov dword ptr [eax], ebx */
    719     ecx = MEM32(esi + 0x8); /* 0x360ED69E: mov ecx, dword ptr [esi + 8] */
    720     MEM32(ecx + 0x8) = ebx; /* 0x360ED6A1: mov dword ptr [ecx + 8], ebx */
    721     edx = MEM32(esi + 0x8); /* 0x360ED6A4: mov edx, dword ptr [esi + 8] */
    722     PUSH32(esp, 0x18u); /* 0x360ED6A7: push 0x18 */
    723     MEM32(ebp + 0xC) = edx; /* 0x360ED6A9: mov dword ptr [ebp + 0xc], edx */
    724     RECOMP_ICALL(0x3615FD6Au); /* 0x360ED6AC: call 0x3615fd6a */ /* not lifted */
    725     RECOMP_FLAGS_IN();
    726     ecx = MEM32(ebp + 0xC); /* 0x360ED6B1: mov ecx, dword ptr [ebp + 0xc] */
    727     MEM32(eax + 0x4) = ecx; /* 0x360ED6B4: mov dword ptr [eax + 4], ecx */
    728     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x360ED6B7: mov byte ptr [eax + 0x14], bl */
    729     MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x360ED6BA: mov byte ptr [eax + 0x15], bl */
    730     MEM32(esi + 0x4) = eax; /* 0x360ED6BD: mov dword ptr [esi + 4], eax */
    731     MEM32(eax) = eax; /* 0x360ED6C0: mov dword ptr [eax], eax */
    732     eax = MEM32(esi + 0x4); /* 0x360ED6C2: mov eax, dword ptr [esi + 4] */
    733     MEM32(eax + 0x8) = eax; /* 0x360ED6C5: mov dword ptr [eax + 8], eax */
    734     MEM32(esi + 0x10) = ebx; /* 0x360ED6C8: mov dword ptr [esi + 0x10], ebx */
    735     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    736     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    737     esp = esp + 8; /* 0x360ED6CB: add esp, 8 */
    738     _flag_k = FK_ADD;
    739     MEM32(edi + 0x18) = esi; /* 0x360ED6CE: mov dword ptr [edi + 0x18], esi */
    740     goto L_360ED6D6; /* 0x360ED6D1: jmp 0x360ed6d6 */
    741 L_360ED6D3:
    742     MEM32(edi + 0x18) = ebx; /* 0x360ED6D3: mov dword ptr [edi + 0x18], ebx */
    743 L_360ED6D6:
    744     ecx = MEM32(ebp + (-0xC)); /* 0x360ED6D6: mov ecx, dword ptr [ebp - 0xc] */
    745     eax = edi; /* 0x360ED6D9: mov eax, edi */
    746     edi = POP32_VAL(esp); /* 0x360ED6DB: pop edi */
    747     esi = POP32_VAL(esp); /* 0x360ED6DC: pop esi */
    748     ebx = POP32_VAL(esp); /* 0x360ED6DD: pop ebx */
    749     MEM32(FS_BASE + (0)) = ecx; /* 0x360ED6DE: mov dword ptr fs:[0], ecx */
    750     esp = ebp; /* 0x360ED6E5: mov esp, ebp */
    751     ebp = POP32_VAL(esp); /* 0x360ED6E7: pop ebp */
    752     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360ED6E8: ret 8 */
    753     RECOMP_REGS_OUT();
    754 }
    755 
    756 void sub_360ED6F0(void) {
    757     int _fpu_cmp = 0;
    758     uint32_t _cf = 0;
    759     int _df = 1;
    760     uint32_t _flag_k = FK_NONE;
    761     uint32_t _flag_a = 0, _flag_b = 0;
    762     uint32_t _itail_tgt = 0;
    763     RECOMP_REGS_LOCALS
    764     RECOMP_ENTER(0x360ED6F0u);
    765 
    766 L_360ED6F0:
    767     PUSH32(esp, ebp); /* 0x360ED6F0: push ebp */
    768     ebp = esp; /* 0x360ED6F1: mov ebp, esp */
    769     PUSH32(esp, 0xFFFFFFFFu); /* 0x360ED6F3: push -1 */
    770     PUSH32(esp, 0x36168B19u); /* 0x360ED6F5: push 0x36168b19 */
    771     eax = MEM32(FS_BASE + (0)); /* 0x360ED6FA: mov eax, dword ptr fs:[0] */
    772     PUSH32(esp, eax); /* 0x360ED700: push eax */
    773     MEM32(FS_BASE + (0)) = esp; /* 0x360ED701: mov dword ptr fs:[0], esp */
    774     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    776     esp = esp - 0xCu; /* 0x360ED708: sub esp, 0xc */
    777     _flag_k = FK_CMP;
    778     PUSH32(esp, ebx); /* 0x360ED70B: push ebx */
    779     PUSH32(esp, esi); /* 0x360ED70C: push esi */
    780     MEM32(ebp + (-0x14)) = ecx; /* 0x360ED70D: mov dword ptr [ebp - 0x14], ecx */
    781     MEM32(ecx) = 0x3617521Cu; /* 0x360ED710: mov dword ptr [ecx], 0x3617521c */
    782     esi = MEM32(ecx + 0x18); /* 0x360ED716: mov esi, dword ptr [ecx + 0x18] */
    783     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    784     ebx = 0; /* 0x360ED719: xor ebx, ebx */
    785     _cf = 0;
    786     _flag_k = FK_TEST;
    787     /* cmp esi, ebx */ /* 0x360ED71B: cmp esi, ebx */
    788     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
    789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    790     _flag_k = FK_CMP;
    791     MEM32(ebp + (-0x4)) = ebx; /* 0x360ED71D: mov dword ptr [ebp - 4], ebx */
    792     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED7AD; /* 0x360ED720: je 0x360ed7ad */
    793 L_360ED726:
    794     /* cmp MEM32(esi + 0x10), ebx */ /* 0x360ED726: cmp dword ptr [esi + 0x10], ebx */
    795     _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx);
    796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    797     _flag_k = FK_CMP;
    798     PUSH32(esp, edi); /* 0x360ED729: push edi */
    799     edi = MEM32(esi + 0x4); /* 0x360ED72A: mov edi, dword ptr [esi + 4] */
    800     eax = MEM32(edi); /* 0x360ED72D: mov eax, dword ptr [edi] */
    801     MEM32(ebp + (-0x10)) = eax; /* 0x360ED72F: mov dword ptr [ebp - 0x10], eax */
    802     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED762; /* 0x360ED732: je 0x360ed762 */
    803 L_360ED734:
    804     ecx = eax; /* 0x360ED734: mov ecx, eax */
    805     /* cmp eax, ecx */ /* 0x360ED736: cmp eax, ecx */
    806     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    807     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    808     _flag_k = FK_CMP;
    809     if (CMP_NE(_flag_a, _flag_b)) goto L_360ED762; /* 0x360ED738: jne 0x360ed762 */
    810 L_360ED73A:
    811     /* cmp edi, edi */ /* 0x360ED73A: cmp edi, edi */
    812     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    813     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    814     _flag_k = FK_CMP;
    815     if (CMP_NE(_flag_a, _flag_b)) goto L_360ED762; /* 0x360ED73C: jne 0x360ed762 */
    816 L_360ED73E:
    817     eax = MEM32(edi + 0x4); /* 0x360ED73E: mov eax, dword ptr [edi + 4] */
    818     PUSH32(esp, eax); /* 0x360ED741: push eax */
    819     ecx = esi; /* 0x360ED742: mov ecx, esi */
    820     RECOMP_ICALL(0x36072580u); /* 0x360ED744: call 0x36072580 */ /* not lifted */
    821     RECOMP_FLAGS_IN();
    822     ecx = MEM32(esi + 0x4); /* 0x360ED749: mov ecx, dword ptr [esi + 4] */
    823     edx = MEM32(esi + 0x8); /* 0x360ED74C: mov edx, dword ptr [esi + 8] */
    824     MEM32(ecx + 0x4) = edx; /* 0x360ED74F: mov dword ptr [ecx + 4], edx */
    825     eax = MEM32(esi + 0x4); /* 0x360ED752: mov eax, dword ptr [esi + 4] */
    826     MEM32(esi + 0x10) = ebx; /* 0x360ED755: mov dword ptr [esi + 0x10], ebx */
    827     MEM32(eax) = eax; /* 0x360ED758: mov dword ptr [eax], eax */
    828     eax = MEM32(esi + 0x4); /* 0x360ED75A: mov eax, dword ptr [esi + 4] */
    829     MEM32(eax + 0x8) = eax; /* 0x360ED75D: mov dword ptr [eax + 8], eax */
    830     goto L_360ED785; /* 0x360ED760: jmp 0x360ed785 */
    831 L_360ED762:
    832     /* cmp eax, edi */ /* 0x360ED762: cmp eax, edi */
    833     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    834     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    835     _flag_k = FK_CMP;
    836     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED785; /* 0x360ED764: je 0x360ed785 */
    837 L_360ED766:
    838     ecx = ebp + (-0x10); /* 0x360ED766: lea ecx, [ebp - 0x10] */
    839     ebx = eax; /* 0x360ED769: mov ebx, eax */
    840     RECOMP_ICALL(0x36064140u); /* 0x360ED76B: call 0x36064140 */ /* not lifted */
    841     RECOMP_FLAGS_IN();
    842     PUSH32(esp, ebx); /* 0x360ED770: push ebx */
    843     eax = ebp + (-0x18); /* 0x360ED771: lea eax, [ebp - 0x18] */
    844     PUSH32(esp, eax); /* 0x360ED774: push eax */
    845     ecx = esi; /* 0x360ED775: mov ecx, esi */
    846     RECOMP_ICALL(0x360588E0u); /* 0x360ED777: call 0x360588e0 */ /* not lifted */
    847     RECOMP_FLAGS_IN();
    848     eax = MEM32(ebp + (-0x10)); /* 0x360ED77C: mov eax, dword ptr [ebp - 0x10] */
    849     /* cmp eax, edi */ /* 0x360ED77F: cmp eax, edi */
    850     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
    851     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    852     _flag_k = FK_CMP;
    853     RECOMP_BACKEDGE();
    854     if (CMP_NE(_flag_a, _flag_b)) goto L_360ED766; /* 0x360ED781: jne 0x360ed766 */
    855 L_360ED783:
    856     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    857     ebx = 0; /* 0x360ED783: xor ebx, ebx */
    858     _cf = 0;
    859     _flag_k = FK_TEST;
    860 L_360ED785:
    861     eax = MEM32(esi + 0x4); /* 0x360ED785: mov eax, dword ptr [esi + 4] */
    862     PUSH32(esp, eax); /* 0x360ED788: push eax */
    863     RECOMP_ICALL(0x3615FCC4u); /* 0x360ED789: call 0x3615fcc4 */ /* not lifted */
    864     RECOMP_FLAGS_IN();
    865     eax = MEM32(esi + 0x8); /* 0x360ED78E: mov eax, dword ptr [esi + 8] */
    866     PUSH32(esp, eax); /* 0x360ED791: push eax */
    867     MEM32(esi + 0x4) = ebx; /* 0x360ED792: mov dword ptr [esi + 4], ebx */
    868     MEM32(esi + 0x10) = ebx; /* 0x360ED795: mov dword ptr [esi + 0x10], ebx */
    869     RECOMP_ICALL(0x3615FCC4u); /* 0x360ED798: call 0x3615fcc4 */ /* not lifted */
    870     RECOMP_FLAGS_IN();
    871     PUSH32(esp, esi); /* 0x360ED79D: push esi */
    872     MEM32(esi + 0x8) = ebx; /* 0x360ED79E: mov dword ptr [esi + 8], ebx */
    873     RECOMP_ICALL(0x3615FCC4u); /* 0x360ED7A1: call 0x3615fcc4 */ /* not lifted */
    874     RECOMP_FLAGS_IN();
    875     ecx = MEM32(ebp + (-0x14)); /* 0x360ED7A6: mov ecx, dword ptr [ebp - 0x14] */
    876     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    877     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    878     esp = esp + 0xCu; /* 0x360ED7A9: add esp, 0xc */
    879     _flag_k = FK_ADD;
    880     edi = POP32_VAL(esp); /* 0x360ED7AC: pop edi */
    881 L_360ED7AD:
    882     MEM32(ecx + 0x18) = ebx; /* 0x360ED7AD: mov dword ptr [ecx + 0x18], ebx */
    883     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360ED7B0: mov dword ptr [ebp - 4], 0xffffffff */
    884     RECOMP_ICALL(MEM32(0x3616FB48)); /* 0x360ED7B7: call dword ptr [0x3616fb48] */
    885     RECOMP_FLAGS_IN();
    886     ecx = MEM32(ebp + (-0xC)); /* 0x360ED7BD: mov ecx, dword ptr [ebp - 0xc] */
    887     esi = POP32_VAL(esp); /* 0x360ED7C0: pop esi */
    888     ebx = POP32_VAL(esp); /* 0x360ED7C1: pop ebx */
    889     MEM32(FS_BASE + (0)) = ecx; /* 0x360ED7C2: mov dword ptr fs:[0], ecx */
    890     esp = ebp; /* 0x360ED7C9: mov esp, ebp */
    891     ebp = POP32_VAL(esp); /* 0x360ED7CB: pop ebp */
    892     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED7CC: ret  */
    893     RECOMP_REGS_OUT();
    894 }
    895 
    896 void sub_360ED7D0(void) {
    897     int _fpu_cmp = 0;
    898     uint32_t _cf = 0;
    899     int _df = 1;
    900     uint32_t _flag_k = FK_NONE;
    901     uint32_t _flag_a = 0, _flag_b = 0;
    902     uint32_t _itail_tgt = 0;
    903     RECOMP_REGS_LOCALS
    904     RECOMP_ENTER(0x360ED7D0u);
    905 
    906 L_360ED7D0:
    907     ecx = MEM32(0x36307254); /* 0x360ED7D0: mov ecx, dword ptr [0x36307254] */
    908     eax = MEM32(0x36307208); /* 0x360ED7D6: mov eax, dword ptr [0x36307208] */
    909     PUSH32(esp, esi); /* 0x360ED7DB: push esi */
    910     esi = MEM32(0x36307204); /* 0x360ED7DC: mov esi, dword ptr [0x36307204] */
    911     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    912     ecx = ecx + 1; /* 0x360ED7E2: inc ecx */
    913     _flag_k = FK_INC;
    914     /* cmp esi, eax */ /* 0x360ED7E3: cmp esi, eax */
    915     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    917     _flag_k = FK_CMP;
    918     MEM32(0x36307254) = ecx; /* 0x360ED7E5: mov dword ptr [0x36307254], ecx */
    919     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED80F; /* 0x360ED7EB: je 0x360ed80f */
    920 L_360ED7ED:
    921     PUSH32(esp, edi); /* 0x360ED7ED: push edi */
    922     edi = MEM32(0x3616FB14); /* 0x360ED7EE: mov edi, dword ptr [0x3616fb14] */
    923 L_360ED7F4:
    924     ecx = MEM32(esi); /* 0x360ED7F4: mov ecx, dword ptr [esi] */
    925     /* test ecx, ecx */ /* 0x360ED7F6: test ecx, ecx */
    926     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    927     _cf = 0;
    928     _flag_k = FK_TEST;
    929     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED7FC; /* 0x360ED7F8: je 0x360ed7fc */
    930 L_360ED7FA:
    931     RECOMP_ICALL(edi); /* 0x360ED7FA: call edi */
    932     RECOMP_FLAGS_IN();
    933 L_360ED7FC:
    934     MEM32(esi) = 0; /* 0x360ED7FC: mov dword ptr [esi], 0 */
    935     eax = MEM32(0x36307208); /* 0x360ED802: mov eax, dword ptr [0x36307208] */
    936     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4);
    937     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    938     esi = esi + 4; /* 0x360ED807: add esi, 4 */
    939     _flag_k = FK_ADD;
    940     /* cmp esi, eax */ /* 0x360ED80A: cmp esi, eax */
    941     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    943     _flag_k = FK_CMP;
    944     RECOMP_BACKEDGE();
    945     if (CMP_NE(_flag_a, _flag_b)) goto L_360ED7F4; /* 0x360ED80C: jne 0x360ed7f4 */
    946 L_360ED80E:
    947     edi = POP32_VAL(esp); /* 0x360ED80E: pop edi */
    948 L_360ED80F:
    949     PUSH32(esp, 0x100u); /* 0x360ED80F: push 0x100 */
    950     RECOMP_ICALL(0x360EF780u); /* 0x360ED814: call 0x360ef780 */ /* not lifted */
    951     RECOMP_FLAGS_IN();
    952     ecx = eax; /* 0x360ED819: mov ecx, eax */
    953     RECOMP_ICALL(0x360EFCF0u); /* 0x360ED81B: call 0x360efcf0 */ /* not lifted */
    954     RECOMP_FLAGS_IN();
    955     esi = POP32_VAL(esp); /* 0x360ED820: pop esi */
    956     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360ED821: ret  */
    957     RECOMP_REGS_OUT();
    958 }
    959 
    960 void sub_360ED830(void) {
    961     int _fpu_cmp = 0;
    962     uint32_t _cf = 0;
    963     int _df = 1;
    964     uint32_t _flag_k = FK_NONE;
    965     uint32_t _flag_a = 0, _flag_b = 0;
    966     uint32_t _itail_tgt = 0;
    967     RECOMP_REGS_LOCALS
    968     RECOMP_ENTER(0x360ED830u);
    969 
    970 L_360ED830:
    971     PUSH32(esp, ebp); /* 0x360ED830: push ebp */
    972     ebp = esp; /* 0x360ED831: mov ebp, esp */
    973     PUSH32(esp, 0xFFFFFFFFu); /* 0x360ED833: push -1 */
    974     PUSH32(esp, 0x36168B39u); /* 0x360ED835: push 0x36168b39 */
    975     eax = MEM32(FS_BASE + (0)); /* 0x360ED83A: mov eax, dword ptr fs:[0] */
    976     PUSH32(esp, eax); /* 0x360ED840: push eax */
    977     MEM32(FS_BASE + (0)) = esp; /* 0x360ED841: mov dword ptr fs:[0], esp */
    978     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
    979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    980     esp = esp - 0x14u; /* 0x360ED848: sub esp, 0x14 */
    981     _flag_k = FK_CMP;
    982     SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x360ED84B: mov al, byte ptr [ebp + 0xb] */
    983     PUSH32(esp, ebx); /* 0x360ED84E: push ebx */
    984     PUSH32(esp, esi); /* 0x360ED84F: push esi */
    985     MEM32(ebp + (-0x10)) = ecx; /* 0x360ED850: mov dword ptr [ebp - 0x10], ecx */
    986     PUSH32(esp, edi); /* 0x360ED853: push edi */
    987     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    988     ecx = ecx | 0xFFFFFFFFu; /* 0x360ED854: or ecx, 0xffffffff */
    989     _cf = 0;
    990     _flag_k = FK_TEST;
    991     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    992     esi = 0; /* 0x360ED857: xor esi, esi */
    993     _cf = 0;
    994     _flag_k = FK_TEST;
    995     MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x360ED859: mov byte ptr [ebp - 0x20], al */
    996     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    997     eax = 0; /* 0x360ED85C: xor eax, eax */
    998     _cf = 0;
    999     _flag_k = FK_TEST;
   1000     edi = 0x362E299Cu; /* 0x360ED85E: mov edi, 0x362e299c */
   1001     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; } /* 0x360ED863: repne scasb al, byte ptr es:[edi] */
   1002     ecx = ~ecx; /* 0x360ED865: not ecx */
   1003     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1004     ecx = ecx - 1; /* 0x360ED867: dec ecx */
   1005     _flag_k = FK_DEC;
   1006     ebx = ecx; /* 0x360ED868: mov ebx, ecx */
   1007     PUSH32(esp, 1); /* 0x360ED86A: push 1 */
   1008     PUSH32(esp, ebx); /* 0x360ED86C: push ebx */
   1009     ecx = ebp + (-0x20); /* 0x360ED86D: lea ecx, [ebp - 0x20] */
   1010     MEM32(ebp + (-0x1C)) = esi; /* 0x360ED870: mov dword ptr [ebp - 0x1c], esi */
   1011     MEM32(ebp + (-0x18)) = esi; /* 0x360ED873: mov dword ptr [ebp - 0x18], esi */
   1012     MEM32(ebp + (-0x14)) = esi; /* 0x360ED876: mov dword ptr [ebp - 0x14], esi */
   1013     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360ED879: call dword ptr [0x3616f00c] */
   1014     RECOMP_FLAGS_IN();
   1015     /* test LO8(eax), LO8(eax) */ /* 0x360ED87F: test al, al */
   1016     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1017     _cf = 0;
   1018     _flag_k = FK_NARROW(FK_TEST, 24);
   1019     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED8A7; /* 0x360ED881: je 0x360ed8a7 */
   1020 L_360ED883:
   1021     edi = MEM32(ebp + (-0x1C)); /* 0x360ED883: mov edi, dword ptr [ebp - 0x1c] */
   1022     ecx = ebx; /* 0x360ED886: mov ecx, ebx */
   1023     edx = ecx; /* 0x360ED888: mov edx, ecx */
   1024     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360ED88A: shr ecx, 2 */
   1025     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1026     ecx = ecx >> 2u; /* 0x360ED88A: shr ecx, 2 */
   1027     esi = 0x362E299Cu; /* 0x360ED88D: mov esi, 0x362e299c */
   1028     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360ED892: 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; }
   1029     ecx = edx; /* 0x360ED894: mov ecx, edx */
   1030     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1031     ecx = ecx & 3; /* 0x360ED896: and ecx, 3 */
   1032     _cf = 0;
   1033     _flag_k = FK_TEST;
   1034     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360ED899: 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; }
   1035     eax = MEM32(ebp + (-0x1C)); /* 0x360ED89B: mov eax, dword ptr [ebp - 0x1c] */
   1036     MEM32(ebp + (-0x18)) = ebx; /* 0x360ED89E: mov dword ptr [ebp - 0x18], ebx */
   1037     MEM8(eax + ebx) = (uint8_t)(0); /* 0x360ED8A1: mov byte ptr [eax + ebx], 0 */
   1038     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1039     esi = 0; /* 0x360ED8A5: xor esi, esi */
   1040     _cf = 0;
   1041     _flag_k = FK_TEST;
   1042 L_360ED8A7:
   1043     edi = MEM32(ebp + 0x8); /* 0x360ED8A7: mov edi, dword ptr [ebp + 8] */
   1044     edx = MEM32(edi); /* 0x360ED8AA: mov edx, dword ptr [edi] */
   1045     eax = ebp + (-0x20); /* 0x360ED8AC: lea eax, [ebp - 0x20] */
   1046     PUSH32(esp, eax); /* 0x360ED8AF: push eax */
   1047     ecx = edi; /* 0x360ED8B0: mov ecx, edi */
   1048     MEM32(ebp + (-0x4)) = esi; /* 0x360ED8B2: mov dword ptr [ebp - 4], esi */
   1049     RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x360ED8B5: call dword ptr [edx + 8] */
   1050     RECOMP_FLAGS_IN();
   1051     eax = MEM32(ebp + (-0x1C)); /* 0x360ED8B8: mov eax, dword ptr [ebp - 0x1c] */
   1052     /* cmp eax, esi */ /* 0x360ED8BB: cmp eax, esi */
   1053     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   1054     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1055     _flag_k = FK_CMP;
   1056     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360ED8BD: mov dword ptr [ebp - 4], 0xffffffff */
   1057     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED8E2; /* 0x360ED8C4: je 0x360ed8e2 */
   1058 L_360ED8C6:
   1059     ecx = eax + (-0x1); /* 0x360ED8C6: lea ecx, [eax - 1] */
   1060     SET_LO8(eax, MEM8(ecx)); /* 0x360ED8C9: mov al, byte ptr [ecx] */
   1061     /* test LO8(eax), LO8(eax) */ /* 0x360ED8CB: test al, al */
   1062     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1063     _cf = 0;
   1064     _flag_k = FK_NARROW(FK_TEST, 24);
   1065     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED8D9; /* 0x360ED8CD: je 0x360ed8d9 */
   1066 L_360ED8CF:
   1067     /* cmp LO8(eax), 0xFFu */ /* 0x360ED8CF: cmp al, 0xff */
   1068     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1070     _flag_k = FK_NARROW(FK_CMP, 24);
   1071     if (CMP_EQ(_flag_a, _flag_b)) goto L_360ED8D9; /* 0x360ED8D1: je 0x360ed8d9 */
   1072 L_360ED8D3:
   1073     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1074     SET_LO8(eax, LO8(eax) - 1); /* 0x360ED8D3: dec al */
   1075     _flag_k = FK_NARROW(FK_DEC, 24);
   1076     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x360ED8D5: mov byte ptr [ecx], al */
   1077     goto L_360ED8E2; /* 0x360ED8D7: jmp 0x360ed8e2 */
   1078 L_360ED8D9:
   1079     PUSH32(esp, ecx); /* 0x360ED8D9: push ecx */
   1080     RECOMP_ICALL(0x3615FCC4u); /* 0x360ED8DA: call 0x3615fcc4 */ /* not lifted */
   1081     RECOMP_FLAGS_IN();
   1082     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1083     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1084     esp = esp + 4; /* 0x360ED8DF: add esp, 4 */
   1085     _flag_k = FK_ADD;
   1086 L_360ED8E2:
   1087     ecx = MEM32(ebp + (-0x10)); /* 0x360ED8E2: mov ecx, dword ptr [ebp - 0x10] */
   1088     edx = MEM32(ecx); /* 0x360ED8E5: mov edx, dword ptr [ecx] */
   1089     PUSH32(esp, edi); /* 0x360ED8E7: push edi */
   1090     MEM32(ebp + (-0x1C)) = esi; /* 0x360ED8E8: mov dword ptr [ebp - 0x1c], esi */
   1091     MEM32(ebp + (-0x18)) = esi; /* 0x360ED8EB: mov dword ptr [ebp - 0x18], esi */
   1092     MEM32(ebp + (-0x14)) = esi; /* 0x360ED8EE: mov dword ptr [ebp - 0x14], esi */
   1093     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x360ED8F1: call dword ptr [edx + 4] */
   1094     RECOMP_FLAGS_IN();
   1095     ecx = MEM32(ebp + (-0xC)); /* 0x360ED8F4: mov ecx, dword ptr [ebp - 0xc] */
   1096     edi = POP32_VAL(esp); /* 0x360ED8F7: pop edi */
   1097     esi = POP32_VAL(esp); /* 0x360ED8F8: pop esi */
   1098     ebx = POP32_VAL(esp); /* 0x360ED8F9: pop ebx */
   1099     MEM32(FS_BASE + (0)) = ecx; /* 0x360ED8FA: mov dword ptr fs:[0], ecx */
   1100     esp = ebp; /* 0x360ED901: mov esp, ebp */
   1101     ebp = POP32_VAL(esp); /* 0x360ED903: pop ebp */
   1102     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360ED904: ret 4 */
   1103     RECOMP_REGS_OUT();
   1104 }
   1105 
   1106 void sub_360ED910(void) {
   1107     int _fpu_cmp = 0;
   1108     uint32_t _cf = 0;
   1109     int _df = 1;
   1110     uint32_t _flag_k = FK_NONE;
   1111     uint32_t _flag_a = 0, _flag_b = 0;
   1112     uint32_t _itail_tgt = 0;
   1113     RECOMP_REGS_LOCALS
   1114     RECOMP_ENTER(0x360ED910u);
   1115 
   1116 L_360ED910:
   1117     PUSH32(esp, ebp); /* 0x360ED910: push ebp */
   1118     ebp = esp; /* 0x360ED911: mov ebp, esp */
   1119     PUSH32(esp, 0xFFFFFFFFu); /* 0x360ED913: push -1 */
   1120     PUSH32(esp, 0x36168B8Fu); /* 0x360ED915: push 0x36168b8f */
   1121     eax = MEM32(FS_BASE + (0)); /* 0x360ED91A: mov eax, dword ptr fs:[0] */
   1122     PUSH32(esp, eax); /* 0x360ED920: push eax */
   1123     MEM32(FS_BASE + (0)) = esp; /* 0x360ED921: mov dword ptr fs:[0], esp */
   1124     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   1125     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1126     esp = esp - 0x20u; /* 0x360ED928: sub esp, 0x20 */
   1127     _flag_k = FK_CMP;
   1128     PUSH32(esp, ebx); /* 0x360ED92B: push ebx */
   1129     ebx = MEM32(ebp + 0x8); /* 0x360ED92C: mov ebx, dword ptr [ebp + 8] */
   1130     PUSH32(esp, esi); /* 0x360ED92F: push esi */
   1131     PUSH32(esp, edi); /* 0x360ED930: push edi */
   1132     PUSH32(esp, ebx); /* 0x360ED931: push ebx */
   1133     RECOMP_ICALL(MEM32(0x3616FB4C)); /* 0x360ED932: call dword ptr [0x3616fb4c] */
   1134     RECOMP_FLAGS_IN();
   1135     SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x360ED938: mov al, byte ptr [ebp + 0xb] */
   1136     PUSH32(esp, 0); /* 0x360ED93B: push 0 */
   1137     ecx = ebp + (-0x1C); /* 0x360ED93D: lea ecx, [ebp - 0x1c] */
   1138     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x360ED940: mov byte ptr [ebp - 0x1c], al */
   1139     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360ED943: call dword ptr [0x3616f100] */
   1140     RECOMP_FLAGS_IN();
   1141     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1142     ecx = ecx | 0xFFFFFFFFu; /* 0x360ED949: or ecx, 0xffffffff */
   1143     _cf = 0;
   1144     _flag_k = FK_TEST;
   1145     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1146     eax = 0; /* 0x360ED94C: xor eax, eax */
   1147     _cf = 0;
   1148     _flag_k = FK_TEST;
   1149     edi = 0x362E2A04u; /* 0x360ED94E: mov edi, 0x362e2a04 */
   1150     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; } /* 0x360ED953: repne scasb al, byte ptr es:[edi] */
   1151     ecx = ~ecx; /* 0x360ED955: not ecx */
   1152     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1153     ecx = ecx - 1; /* 0x360ED957: dec ecx */
   1154     _flag_k = FK_DEC;
   1155     PUSH32(esp, ecx); /* 0x360ED958: push ecx */
   1156     PUSH32(esp, 0x362E2A04u); /* 0x360ED959: push 0x362e2a04 */
   1157     ecx = ebp + (-0x1C); /* 0x360ED95E: lea ecx, [ebp - 0x1c] */
   1158     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360ED961: call dword ptr [0x3616f014] */
   1159     RECOMP_FLAGS_IN();
   1160     edx = MEM32(ebx); /* 0x360ED967: mov edx, dword ptr [ebx] */
   1161     PUSH32(esp, 0); /* 0x360ED969: push 0 */
   1162     PUSH32(esp, 1); /* 0x360ED96B: push 1 */
   1163     eax = ebp + (-0x1C); /* 0x360ED96D: lea eax, [ebp - 0x1c] */
   1164     PUSH32(esp, eax); /* 0x360ED970: push eax */
   1165     ecx = ebx; /* 0x360ED971: mov ecx, ebx */
   1166     MEM32(ebp + (-0x4)) = 0; /* 0x360ED973: mov dword ptr [ebp - 4], 0 */
   1167     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360ED97A: call dword ptr [edx + 0x10] */
   1168     RECOMP_FLAGS_IN();
   1169     PUSH32(esp, 1); /* 0x360ED97D: push 1 */
   1170     ecx = ebp + (-0x1C); /* 0x360ED97F: lea ecx, [ebp - 0x1c] */
   1171     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360ED982: mov dword ptr [ebp - 4], 0xffffffff */
   1172     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360ED989: call dword ptr [0x3616f100] */
   1173     RECOMP_FLAGS_IN();
   1174     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360ED98F: mov cl, byte ptr [ebp + 0xb] */
   1175     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x360ED992: mov byte ptr [ebp - 0x1c], cl */
   1176     PUSH32(esp, 0); /* 0x360ED995: push 0 */
   1177     ecx = ebp + (-0x1C); /* 0x360ED997: lea ecx, [ebp - 0x1c] */
   1178     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360ED99A: call dword ptr [0x3616f100] */
   1179     RECOMP_FLAGS_IN();
   1180     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1181     ecx = ecx | 0xFFFFFFFFu; /* 0x360ED9A0: or ecx, 0xffffffff */
   1182     _cf = 0;
   1183     _flag_k = FK_TEST;
   1184     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1185     eax = 0; /* 0x360ED9A3: xor eax, eax */
   1186     _cf = 0;
   1187     _flag_k = FK_TEST;
   1188     edi = 0x362E29F8u; /* 0x360ED9A5: mov edi, 0x362e29f8 */
   1189     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; } /* 0x360ED9AA: repne scasb al, byte ptr es:[edi] */
   1190     ecx = ~ecx; /* 0x360ED9AC: not ecx */
   1191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1192     ecx = ecx - 1; /* 0x360ED9AE: dec ecx */
   1193     _flag_k = FK_DEC;
   1194     esi = ecx; /* 0x360ED9AF: mov esi, ecx */
   1195     PUSH32(esp, 1); /* 0x360ED9B1: push 1 */
   1196     PUSH32(esp, esi); /* 0x360ED9B3: push esi */
   1197     ecx = ebp + (-0x1C); /* 0x360ED9B4: lea ecx, [ebp - 0x1c] */
   1198     MEM32(ebp + 0x8) = esi; /* 0x360ED9B7: mov dword ptr [ebp + 8], esi */
   1199     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360ED9BA: call dword ptr [0x3616f00c] */
   1200     RECOMP_FLAGS_IN();
   1201     /* test LO8(eax), LO8(eax) */ /* 0x360ED9C0: test al, al */
   1202     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1203     _cf = 0;
   1204     _flag_k = FK_NARROW(FK_TEST, 24);
   1205     if (TEST_Z(_flag_a, _flag_b)) goto L_360ED9E8; /* 0x360ED9C2: je 0x360ed9e8 */
   1206 L_360ED9C4:
   1207     edi = MEM32(ebp + (-0x18)); /* 0x360ED9C4: mov edi, dword ptr [ebp - 0x18] */
   1208     ecx = esi; /* 0x360ED9C7: mov ecx, esi */
   1209     edx = ecx; /* 0x360ED9C9: mov edx, ecx */
   1210     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360ED9CB: shr ecx, 2 */
   1211     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1212     ecx = ecx >> 2u; /* 0x360ED9CB: shr ecx, 2 */
   1213     esi = 0x362E29F8u; /* 0x360ED9CE: mov esi, 0x362e29f8 */
   1214     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360ED9D3: 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; }
   1215     ecx = edx; /* 0x360ED9D5: mov ecx, edx */
   1216     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1217     ecx = ecx & 3; /* 0x360ED9D7: and ecx, 3 */
   1218     _cf = 0;
   1219     _flag_k = FK_TEST;
   1220     eax = edx; /* 0x360ED9DA: mov eax, edx */
   1221     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360ED9DC: 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; }
   1222     PUSH32(esp, eax); /* 0x360ED9DE: push eax */
   1223     ecx = ebp + (-0x1C); /* 0x360ED9DF: lea ecx, [ebp - 0x1c] */
   1224     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360ED9E2: call dword ptr [0x3616f044] */
   1225     RECOMP_FLAGS_IN();
   1226 L_360ED9E8:
   1227     edx = MEM32(ebx); /* 0x360ED9E8: mov edx, dword ptr [ebx] */
   1228     PUSH32(esp, 0); /* 0x360ED9EA: push 0 */
   1229     PUSH32(esp, 1); /* 0x360ED9EC: push 1 */
   1230     eax = ebp + (-0x1C); /* 0x360ED9EE: lea eax, [ebp - 0x1c] */
   1231     PUSH32(esp, eax); /* 0x360ED9F1: push eax */
   1232     ecx = ebx; /* 0x360ED9F2: mov ecx, ebx */
   1233     MEM32(ebp + (-0x4)) = 1; /* 0x360ED9F4: mov dword ptr [ebp - 4], 1 */
   1234     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360ED9FB: call dword ptr [edx + 0x10] */
   1235     RECOMP_FLAGS_IN();
   1236     PUSH32(esp, 1); /* 0x360ED9FE: push 1 */
   1237     ecx = ebp + (-0x1C); /* 0x360EDA00: lea ecx, [ebp - 0x1c] */
   1238     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EDA03: mov dword ptr [ebp - 4], 0xffffffff */
   1239     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDA0A: call dword ptr [0x3616f100] */
   1240     RECOMP_FLAGS_IN();
   1241     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EDA10: mov cl, byte ptr [ebp + 0xb] */
   1242     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x360EDA13: mov byte ptr [ebp - 0x1c], cl */
   1243     PUSH32(esp, 0); /* 0x360EDA16: push 0 */
   1244     ecx = ebp + (-0x1C); /* 0x360EDA18: lea ecx, [ebp - 0x1c] */
   1245     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDA1B: call dword ptr [0x3616f100] */
   1246     RECOMP_FLAGS_IN();
   1247     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1248     ecx = ecx | 0xFFFFFFFFu; /* 0x360EDA21: or ecx, 0xffffffff */
   1249     _cf = 0;
   1250     _flag_k = FK_TEST;
   1251     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1252     eax = 0; /* 0x360EDA24: xor eax, eax */
   1253     _cf = 0;
   1254     _flag_k = FK_TEST;
   1255     edi = 0x362E29ECu; /* 0x360EDA26: mov edi, 0x362e29ec */
   1256     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; } /* 0x360EDA2B: repne scasb al, byte ptr es:[edi] */
   1257     ecx = ~ecx; /* 0x360EDA2D: not ecx */
   1258     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1259     ecx = ecx - 1; /* 0x360EDA2F: dec ecx */
   1260     _flag_k = FK_DEC;
   1261     esi = ecx; /* 0x360EDA30: mov esi, ecx */
   1262     PUSH32(esp, 1); /* 0x360EDA32: push 1 */
   1263     PUSH32(esp, esi); /* 0x360EDA34: push esi */
   1264     ecx = ebp + (-0x1C); /* 0x360EDA35: lea ecx, [ebp - 0x1c] */
   1265     MEM32(ebp + 0x8) = esi; /* 0x360EDA38: mov dword ptr [ebp + 8], esi */
   1266     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EDA3B: call dword ptr [0x3616f00c] */
   1267     RECOMP_FLAGS_IN();
   1268     /* test LO8(eax), LO8(eax) */ /* 0x360EDA41: test al, al */
   1269     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1270     _cf = 0;
   1271     _flag_k = FK_NARROW(FK_TEST, 24);
   1272     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDA69; /* 0x360EDA43: je 0x360eda69 */
   1273 L_360EDA45:
   1274     edi = MEM32(ebp + (-0x18)); /* 0x360EDA45: mov edi, dword ptr [ebp - 0x18] */
   1275     ecx = esi; /* 0x360EDA48: mov ecx, esi */
   1276     edx = ecx; /* 0x360EDA4A: mov edx, ecx */
   1277     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EDA4C: shr ecx, 2 */
   1278     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1279     ecx = ecx >> 2u; /* 0x360EDA4C: shr ecx, 2 */
   1280     esi = 0x362E29ECu; /* 0x360EDA4F: mov esi, 0x362e29ec */
   1281     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EDA54: 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; }
   1282     ecx = edx; /* 0x360EDA56: mov ecx, edx */
   1283     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1284     ecx = ecx & 3; /* 0x360EDA58: and ecx, 3 */
   1285     _cf = 0;
   1286     _flag_k = FK_TEST;
   1287     eax = edx; /* 0x360EDA5B: mov eax, edx */
   1288     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EDA5D: 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; }
   1289     PUSH32(esp, eax); /* 0x360EDA5F: push eax */
   1290     ecx = ebp + (-0x1C); /* 0x360EDA60: lea ecx, [ebp - 0x1c] */
   1291     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EDA63: call dword ptr [0x3616f044] */
   1292     RECOMP_FLAGS_IN();
   1293 L_360EDA69:
   1294     edx = MEM32(ebx); /* 0x360EDA69: mov edx, dword ptr [ebx] */
   1295     PUSH32(esp, 0); /* 0x360EDA6B: push 0 */
   1296     PUSH32(esp, 1); /* 0x360EDA6D: push 1 */
   1297     eax = ebp + (-0x1C); /* 0x360EDA6F: lea eax, [ebp - 0x1c] */
   1298     PUSH32(esp, eax); /* 0x360EDA72: push eax */
   1299     ecx = ebx; /* 0x360EDA73: mov ecx, ebx */
   1300     MEM32(ebp + (-0x4)) = 2; /* 0x360EDA75: mov dword ptr [ebp - 4], 2 */
   1301     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EDA7C: call dword ptr [edx + 0x10] */
   1302     RECOMP_FLAGS_IN();
   1303     PUSH32(esp, 1); /* 0x360EDA7F: push 1 */
   1304     ecx = ebp + (-0x1C); /* 0x360EDA81: lea ecx, [ebp - 0x1c] */
   1305     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EDA84: mov dword ptr [ebp - 4], 0xffffffff */
   1306     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDA8B: call dword ptr [0x3616f100] */
   1307     RECOMP_FLAGS_IN();
   1308     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EDA91: mov cl, byte ptr [ebp + 0xb] */
   1309     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x360EDA94: mov byte ptr [ebp - 0x1c], cl */
   1310     PUSH32(esp, 0); /* 0x360EDA97: push 0 */
   1311     ecx = ebp + (-0x1C); /* 0x360EDA99: lea ecx, [ebp - 0x1c] */
   1312     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDA9C: call dword ptr [0x3616f100] */
   1313     RECOMP_FLAGS_IN();
   1314     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1315     ecx = ecx | 0xFFFFFFFFu; /* 0x360EDAA2: or ecx, 0xffffffff */
   1316     _cf = 0;
   1317     _flag_k = FK_TEST;
   1318     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1319     eax = 0; /* 0x360EDAA5: xor eax, eax */
   1320     _cf = 0;
   1321     _flag_k = FK_TEST;
   1322     edi = 0x362E29E0u; /* 0x360EDAA7: mov edi, 0x362e29e0 */
   1323     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; } /* 0x360EDAAC: repne scasb al, byte ptr es:[edi] */
   1324     ecx = ~ecx; /* 0x360EDAAE: not ecx */
   1325     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1326     ecx = ecx - 1; /* 0x360EDAB0: dec ecx */
   1327     _flag_k = FK_DEC;
   1328     esi = ecx; /* 0x360EDAB1: mov esi, ecx */
   1329     PUSH32(esp, 1); /* 0x360EDAB3: push 1 */
   1330     PUSH32(esp, esi); /* 0x360EDAB5: push esi */
   1331     ecx = ebp + (-0x1C); /* 0x360EDAB6: lea ecx, [ebp - 0x1c] */
   1332     MEM32(ebp + 0x8) = esi; /* 0x360EDAB9: mov dword ptr [ebp + 8], esi */
   1333     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EDABC: call dword ptr [0x3616f00c] */
   1334     RECOMP_FLAGS_IN();
   1335     /* test LO8(eax), LO8(eax) */ /* 0x360EDAC2: test al, al */
   1336     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1337     _cf = 0;
   1338     _flag_k = FK_NARROW(FK_TEST, 24);
   1339     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDAEA; /* 0x360EDAC4: je 0x360edaea */
   1340 L_360EDAC6:
   1341     edi = MEM32(ebp + (-0x18)); /* 0x360EDAC6: mov edi, dword ptr [ebp - 0x18] */
   1342     ecx = esi; /* 0x360EDAC9: mov ecx, esi */
   1343     edx = ecx; /* 0x360EDACB: mov edx, ecx */
   1344     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EDACD: shr ecx, 2 */
   1345     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1346     ecx = ecx >> 2u; /* 0x360EDACD: shr ecx, 2 */
   1347     esi = 0x362E29E0u; /* 0x360EDAD0: mov esi, 0x362e29e0 */
   1348     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EDAD5: 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; }
   1349     ecx = edx; /* 0x360EDAD7: mov ecx, edx */
   1350     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1351     ecx = ecx & 3; /* 0x360EDAD9: and ecx, 3 */
   1352     _cf = 0;
   1353     _flag_k = FK_TEST;
   1354     eax = edx; /* 0x360EDADC: mov eax, edx */
   1355     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EDADE: 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; }
   1356     PUSH32(esp, eax); /* 0x360EDAE0: push eax */
   1357     ecx = ebp + (-0x1C); /* 0x360EDAE1: lea ecx, [ebp - 0x1c] */
   1358     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EDAE4: call dword ptr [0x3616f044] */
   1359     RECOMP_FLAGS_IN();
   1360 L_360EDAEA:
   1361     edx = MEM32(ebx); /* 0x360EDAEA: mov edx, dword ptr [ebx] */
   1362     PUSH32(esp, 0); /* 0x360EDAEC: push 0 */
   1363     PUSH32(esp, 1); /* 0x360EDAEE: push 1 */
   1364     eax = ebp + (-0x1C); /* 0x360EDAF0: lea eax, [ebp - 0x1c] */
   1365     PUSH32(esp, eax); /* 0x360EDAF3: push eax */
   1366     ecx = ebx; /* 0x360EDAF4: mov ecx, ebx */
   1367     MEM32(ebp + (-0x4)) = 3; /* 0x360EDAF6: mov dword ptr [ebp - 4], 3 */
   1368     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EDAFD: call dword ptr [edx + 0x10] */
   1369     RECOMP_FLAGS_IN();
   1370     PUSH32(esp, 1); /* 0x360EDB00: push 1 */
   1371     ecx = ebp + (-0x1C); /* 0x360EDB02: lea ecx, [ebp - 0x1c] */
   1372     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EDB05: mov dword ptr [ebp - 4], 0xffffffff */
   1373     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDB0C: call dword ptr [0x3616f100] */
   1374     RECOMP_FLAGS_IN();
   1375     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EDB12: mov cl, byte ptr [ebp + 0xb] */
   1376     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x360EDB15: mov byte ptr [ebp - 0x1c], cl */
   1377     PUSH32(esp, 0); /* 0x360EDB18: push 0 */
   1378     ecx = ebp + (-0x1C); /* 0x360EDB1A: lea ecx, [ebp - 0x1c] */
   1379     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDB1D: call dword ptr [0x3616f100] */
   1380     RECOMP_FLAGS_IN();
   1381     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1382     ecx = ecx | 0xFFFFFFFFu; /* 0x360EDB23: or ecx, 0xffffffff */
   1383     _cf = 0;
   1384     _flag_k = FK_TEST;
   1385     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1386     eax = 0; /* 0x360EDB26: xor eax, eax */
   1387     _cf = 0;
   1388     _flag_k = FK_TEST;
   1389     edi = 0x362E29D4u; /* 0x360EDB28: mov edi, 0x362e29d4 */
   1390     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; } /* 0x360EDB2D: repne scasb al, byte ptr es:[edi] */
   1391     ecx = ~ecx; /* 0x360EDB2F: not ecx */
   1392     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1393     ecx = ecx - 1; /* 0x360EDB31: dec ecx */
   1394     _flag_k = FK_DEC;
   1395     esi = ecx; /* 0x360EDB32: mov esi, ecx */
   1396     PUSH32(esp, 1); /* 0x360EDB34: push 1 */
   1397     PUSH32(esp, esi); /* 0x360EDB36: push esi */
   1398     ecx = ebp + (-0x1C); /* 0x360EDB37: lea ecx, [ebp - 0x1c] */
   1399     MEM32(ebp + 0x8) = esi; /* 0x360EDB3A: mov dword ptr [ebp + 8], esi */
   1400     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EDB3D: call dword ptr [0x3616f00c] */
   1401     RECOMP_FLAGS_IN();
   1402     /* test LO8(eax), LO8(eax) */ /* 0x360EDB43: test al, al */
   1403     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1404     _cf = 0;
   1405     _flag_k = FK_NARROW(FK_TEST, 24);
   1406     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDB6B; /* 0x360EDB45: je 0x360edb6b */
   1407 L_360EDB47:
   1408     edi = MEM32(ebp + (-0x18)); /* 0x360EDB47: mov edi, dword ptr [ebp - 0x18] */
   1409     ecx = esi; /* 0x360EDB4A: mov ecx, esi */
   1410     edx = ecx; /* 0x360EDB4C: mov edx, ecx */
   1411     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EDB4E: shr ecx, 2 */
   1412     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1413     ecx = ecx >> 2u; /* 0x360EDB4E: shr ecx, 2 */
   1414     esi = 0x362E29D4u; /* 0x360EDB51: mov esi, 0x362e29d4 */
   1415     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EDB56: 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; }
   1416     ecx = edx; /* 0x360EDB58: mov ecx, edx */
   1417     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1418     ecx = ecx & 3; /* 0x360EDB5A: and ecx, 3 */
   1419     _cf = 0;
   1420     _flag_k = FK_TEST;
   1421     eax = edx; /* 0x360EDB5D: mov eax, edx */
   1422     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EDB5F: 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; }
   1423     PUSH32(esp, eax); /* 0x360EDB61: push eax */
   1424     ecx = ebp + (-0x1C); /* 0x360EDB62: lea ecx, [ebp - 0x1c] */
   1425     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EDB65: call dword ptr [0x3616f044] */
   1426     RECOMP_FLAGS_IN();
   1427 L_360EDB6B:
   1428     edx = MEM32(ebx); /* 0x360EDB6B: mov edx, dword ptr [ebx] */
   1429     PUSH32(esp, 0); /* 0x360EDB6D: push 0 */
   1430     PUSH32(esp, 1); /* 0x360EDB6F: push 1 */
   1431     eax = ebp + (-0x1C); /* 0x360EDB71: lea eax, [ebp - 0x1c] */
   1432     PUSH32(esp, eax); /* 0x360EDB74: push eax */
   1433     ecx = ebx; /* 0x360EDB75: mov ecx, ebx */
   1434     MEM32(ebp + (-0x4)) = 4; /* 0x360EDB77: mov dword ptr [ebp - 4], 4 */
   1435     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EDB7E: call dword ptr [edx + 0x10] */
   1436     RECOMP_FLAGS_IN();
   1437     PUSH32(esp, 1); /* 0x360EDB81: push 1 */
   1438     ecx = ebp + (-0x1C); /* 0x360EDB83: lea ecx, [ebp - 0x1c] */
   1439     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EDB86: mov dword ptr [ebp - 4], 0xffffffff */
   1440     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDB8D: call dword ptr [0x3616f100] */
   1441     RECOMP_FLAGS_IN();
   1442     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EDB93: mov cl, byte ptr [ebp + 0xb] */
   1443     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x360EDB96: mov byte ptr [ebp - 0x1c], cl */
   1444     PUSH32(esp, 0); /* 0x360EDB99: push 0 */
   1445     ecx = ebp + (-0x1C); /* 0x360EDB9B: lea ecx, [ebp - 0x1c] */
   1446     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDB9E: call dword ptr [0x3616f100] */
   1447     RECOMP_FLAGS_IN();
   1448     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1449     ecx = ecx | 0xFFFFFFFFu; /* 0x360EDBA4: or ecx, 0xffffffff */
   1450     _cf = 0;
   1451     _flag_k = FK_TEST;
   1452     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1453     eax = 0; /* 0x360EDBA7: xor eax, eax */
   1454     _cf = 0;
   1455     _flag_k = FK_TEST;
   1456     edi = 0x362E29C8u; /* 0x360EDBA9: mov edi, 0x362e29c8 */
   1457     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; } /* 0x360EDBAE: repne scasb al, byte ptr es:[edi] */
   1458     ecx = ~ecx; /* 0x360EDBB0: not ecx */
   1459     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1460     ecx = ecx - 1; /* 0x360EDBB2: dec ecx */
   1461     _flag_k = FK_DEC;
   1462     esi = ecx; /* 0x360EDBB3: mov esi, ecx */
   1463     PUSH32(esp, 1); /* 0x360EDBB5: push 1 */
   1464     PUSH32(esp, esi); /* 0x360EDBB7: push esi */
   1465     ecx = ebp + (-0x1C); /* 0x360EDBB8: lea ecx, [ebp - 0x1c] */
   1466     MEM32(ebp + 0x8) = esi; /* 0x360EDBBB: mov dword ptr [ebp + 8], esi */
   1467     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EDBBE: call dword ptr [0x3616f00c] */
   1468     RECOMP_FLAGS_IN();
   1469     /* test LO8(eax), LO8(eax) */ /* 0x360EDBC4: test al, al */
   1470     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1471     _cf = 0;
   1472     _flag_k = FK_NARROW(FK_TEST, 24);
   1473     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDBEC; /* 0x360EDBC6: je 0x360edbec */
   1474 L_360EDBC8:
   1475     edi = MEM32(ebp + (-0x18)); /* 0x360EDBC8: mov edi, dword ptr [ebp - 0x18] */
   1476     ecx = esi; /* 0x360EDBCB: mov ecx, esi */
   1477     edx = ecx; /* 0x360EDBCD: mov edx, ecx */
   1478     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EDBCF: shr ecx, 2 */
   1479     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1480     ecx = ecx >> 2u; /* 0x360EDBCF: shr ecx, 2 */
   1481     esi = 0x362E29C8u; /* 0x360EDBD2: mov esi, 0x362e29c8 */
   1482     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EDBD7: 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; }
   1483     ecx = edx; /* 0x360EDBD9: mov ecx, edx */
   1484     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1485     ecx = ecx & 3; /* 0x360EDBDB: and ecx, 3 */
   1486     _cf = 0;
   1487     _flag_k = FK_TEST;
   1488     eax = edx; /* 0x360EDBDE: mov eax, edx */
   1489     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EDBE0: 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; }
   1490     PUSH32(esp, eax); /* 0x360EDBE2: push eax */
   1491     ecx = ebp + (-0x1C); /* 0x360EDBE3: lea ecx, [ebp - 0x1c] */
   1492     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EDBE6: call dword ptr [0x3616f044] */
   1493     RECOMP_FLAGS_IN();
   1494 L_360EDBEC:
   1495     edx = MEM32(ebx); /* 0x360EDBEC: mov edx, dword ptr [ebx] */
   1496     PUSH32(esp, 0); /* 0x360EDBEE: push 0 */
   1497     PUSH32(esp, 1); /* 0x360EDBF0: push 1 */
   1498     eax = ebp + (-0x1C); /* 0x360EDBF2: lea eax, [ebp - 0x1c] */
   1499     PUSH32(esp, eax); /* 0x360EDBF5: push eax */
   1500     ecx = ebx; /* 0x360EDBF6: mov ecx, ebx */
   1501     MEM32(ebp + (-0x4)) = 5; /* 0x360EDBF8: mov dword ptr [ebp - 4], 5 */
   1502     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EDBFF: call dword ptr [edx + 0x10] */
   1503     RECOMP_FLAGS_IN();
   1504     PUSH32(esp, 1); /* 0x360EDC02: push 1 */
   1505     ecx = ebp + (-0x1C); /* 0x360EDC04: lea ecx, [ebp - 0x1c] */
   1506     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EDC07: mov dword ptr [ebp - 4], 0xffffffff */
   1507     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDC0E: call dword ptr [0x3616f100] */
   1508     RECOMP_FLAGS_IN();
   1509     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EDC14: mov cl, byte ptr [ebp + 0xb] */
   1510     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EDC17: mov byte ptr [ebp - 0x2c], cl */
   1511     PUSH32(esp, 0); /* 0x360EDC1A: push 0 */
   1512     ecx = ebp + (-0x2C); /* 0x360EDC1C: lea ecx, [ebp - 0x2c] */
   1513     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EDC1F: call dword ptr [0x3616f100] */
   1514     RECOMP_FLAGS_IN();
   1515     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1516     ecx = ecx | 0xFFFFFFFFu; /* 0x360EDC25: or ecx, 0xffffffff */
   1517     _cf = 0;
   1518     _flag_k = FK_TEST;
   1519     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1520     eax = 0; /* 0x360EDC28: xor eax, eax */
   1521     _cf = 0;
   1522     _flag_k = FK_TEST;
   1523     edi = 0x362E29BCu; /* 0x360EDC2A: mov edi, 0x362e29bc */
   1524     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; } /* 0x360EDC2F: repne scasb al, byte ptr es:[edi] */
   1525     ecx = ~ecx; /* 0x360EDC31: not ecx */
   1526     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1527     ecx = ecx - 1; /* 0x360EDC33: dec ecx */
   1528     _flag_k = FK_DEC;
   1529     esi = ecx; /* 0x360EDC34: mov esi, ecx */
   1530     PUSH32(esp, 1); /* 0x360EDC36: push 1 */
   1531     PUSH32(esp, esi); /* 0x360EDC38: push esi */
   1532     ecx = ebp + (-0x2C); /* 0x360EDC39: lea ecx, [ebp - 0x2c] */
   1533     MEM32(ebp + 0x8) = esi; /* 0x360EDC3C: mov dword ptr [ebp + 8], esi */
   1534     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EDC3F: call dword ptr [0x3616f00c] */
   1535     RECOMP_FLAGS_IN();
   1536     /* test LO8(eax), LO8(eax) */ /* 0x360EDC45: test al, al */
   1537     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1538     _cf = 0;
   1539     _flag_k = FK_NARROW(FK_TEST, 24);
   1540     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDC6D; /* 0x360EDC47: je 0x360edc6d */
   1541 L_360EDC49:
   1542     edi = MEM32(ebp + (-0x28)); /* 0x360EDC49: mov edi, dword ptr [ebp - 0x28] */
   1543     ecx = esi; /* 0x360EDC4C: mov ecx, esi */
   1544     edx = ecx; /* 0x360EDC4E: mov edx, ecx */
   1545     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EDC50: shr ecx, 2 */
   1546     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1547     ecx = ecx >> 2u; /* 0x360EDC50: shr ecx, 2 */
   1548     esi = 0x362E29BCu; /* 0x360EDC53: mov esi, 0x362e29bc */
   1549     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EDC58: 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; }
   1550     ecx = edx; /* 0x360EDC5A: mov ecx, edx */
   1551     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1552     ecx = ecx & 3; /* 0x360EDC5C: and ecx, 3 */
   1553     _cf = 0;
   1554     _flag_k = FK_TEST;
   1555     eax = edx; /* 0x360EDC5F: mov eax, edx */
   1556     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EDC61: 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; }
   1557     PUSH32(esp, eax); /* 0x360EDC63: push eax */
   1558     ecx = ebp + (-0x2C); /* 0x360EDC64: lea ecx, [ebp - 0x2c] */
   1559     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EDC67: call dword ptr [0x3616f044] */
   1560     RECOMP_FLAGS_IN();
   1561 L_360EDC6D:
   1562     edx = MEM32(ebx); /* 0x360EDC6D: mov edx, dword ptr [ebx] */
   1563     PUSH32(esp, 0); /* 0x360EDC6F: push 0 */
   1564     PUSH32(esp, 1); /* 0x360EDC71: push 1 */
   1565     eax = ebp + (-0x2C); /* 0x360EDC73: lea eax, [ebp - 0x2c] */
   1566     PUSH32(esp, eax); /* 0x360EDC76: push eax */
   1567     ecx = ebx; /* 0x360EDC77: mov ecx, ebx */
   1568     MEM32(ebp + (-0x4)) = 6; /* 0x360EDC79: mov dword ptr [ebp - 4], 6 */
   1569     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EDC80: call dword ptr [edx + 0x10] */
   1570     RECOMP_FLAGS_IN();
   1571     eax = MEM32(ebp + (-0x28)); /* 0x360EDC83: mov eax, dword ptr [ebp - 0x28] */
   1572     /* test eax, eax */ /* 0x360EDC86: test eax, eax */
   1573     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1574     _cf = 0;
   1575     _flag_k = FK_TEST;
   1576     edi = POP32_VAL(esp); /* 0x360EDC88: pop edi */
   1577     esi = POP32_VAL(esp); /* 0x360EDC89: pop esi */
   1578     ebx = POP32_VAL(esp); /* 0x360EDC8A: pop ebx */
   1579     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDCB7; /* 0x360EDC8B: je 0x360edcb7 */
   1580 L_360EDC8D:
   1581     ecx = eax + (-0x1); /* 0x360EDC8D: lea ecx, [eax - 1] */
   1582     SET_LO8(eax, MEM8(ecx)); /* 0x360EDC90: mov al, byte ptr [ecx] */
   1583     /* test LO8(eax), LO8(eax) */ /* 0x360EDC92: test al, al */
   1584     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1585     _cf = 0;
   1586     _flag_k = FK_NARROW(FK_TEST, 24);
   1587     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDCAE; /* 0x360EDC94: je 0x360edcae */
   1588 L_360EDC96:
   1589     /* cmp LO8(eax), 0xFFu */ /* 0x360EDC96: cmp al, 0xff */
   1590     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1592     _flag_k = FK_NARROW(FK_CMP, 24);
   1593     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EDCAE; /* 0x360EDC98: je 0x360edcae */
   1594 L_360EDC9A:
   1595     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1596     SET_LO8(eax, LO8(eax) - 1); /* 0x360EDC9A: dec al */
   1597     _flag_k = FK_NARROW(FK_DEC, 24);
   1598     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x360EDC9C: mov byte ptr [ecx], al */
   1599     ecx = MEM32(ebp + (-0xC)); /* 0x360EDC9E: mov ecx, dword ptr [ebp - 0xc] */
   1600     MEM32(FS_BASE + (0)) = ecx; /* 0x360EDCA1: mov dword ptr fs:[0], ecx */
   1601     esp = ebp; /* 0x360EDCA8: mov esp, ebp */
   1602     ebp = POP32_VAL(esp); /* 0x360EDCAA: pop ebp */
   1603     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDCAB: ret 4 */
   1604 L_360EDCAE:
   1605     PUSH32(esp, ecx); /* 0x360EDCAE: push ecx */
   1606     RECOMP_ICALL(0x3615FCC4u); /* 0x360EDCAF: call 0x3615fcc4 */ /* not lifted */
   1607     RECOMP_FLAGS_IN();
   1608     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1609     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1610     esp = esp + 4; /* 0x360EDCB4: add esp, 4 */
   1611     _flag_k = FK_ADD;
   1612 L_360EDCB7:
   1613     ecx = MEM32(ebp + (-0xC)); /* 0x360EDCB7: mov ecx, dword ptr [ebp - 0xc] */
   1614     MEM32(FS_BASE + (0)) = ecx; /* 0x360EDCBA: mov dword ptr fs:[0], ecx */
   1615     esp = ebp; /* 0x360EDCC1: mov esp, ebp */
   1616     ebp = POP32_VAL(esp); /* 0x360EDCC3: pop ebp */
   1617     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDCC4: ret 4 */
   1618     RECOMP_REGS_OUT();
   1619 }
   1620 
   1621 void sub_360EDCD0(void) {
   1622     int _fpu_cmp = 0;
   1623     uint32_t _cf = 0;
   1624     int _df = 1;
   1625     uint32_t _flag_k = FK_NONE;
   1626     uint32_t _flag_a = 0, _flag_b = 0;
   1627     uint32_t _itail_tgt = 0;
   1628     RECOMP_REGS_LOCALS
   1629     RECOMP_ENTER(0x360EDCD0u);
   1630 
   1631 L_360EDCD0:
   1632     PUSH32(esp, ebp); /* 0x360EDCD0: push ebp */
   1633     ebp = esp; /* 0x360EDCD1: mov ebp, esp */
   1634     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1635     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1636     esp = esp - 8; /* 0x360EDCD3: sub esp, 8 */
   1637     _flag_k = FK_CMP;
   1638     PUSH32(esp, esi); /* 0x360EDCD6: push esi */
   1639     PUSH32(esp, edi); /* 0x360EDCD7: push edi */
   1640     edi = ecx; /* 0x360EDCD8: mov edi, ecx */
   1641     esi = MEM32(edi + 0x18); /* 0x360EDCDA: mov esi, dword ptr [edi + 0x18] */
   1642     eax = ebp + 0x8; /* 0x360EDCDD: lea eax, [ebp + 8] */
   1643     PUSH32(esp, eax); /* 0x360EDCE0: push eax */
   1644     ecx = esi; /* 0x360EDCE1: mov ecx, esi */
   1645     RECOMP_ICALL(0x36076670u); /* 0x360EDCE3: call 0x36076670 */ /* not lifted */
   1646     RECOMP_FLAGS_IN();
   1647     esi = MEM32(esi + 0x4); /* 0x360EDCE8: mov esi, dword ptr [esi + 4] */
   1648     /* cmp eax, esi */ /* 0x360EDCEB: cmp eax, esi */
   1649     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   1650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1651     _flag_k = FK_CMP;
   1652     MEM32(ebp + (-0x4)) = eax; /* 0x360EDCED: mov dword ptr [ebp - 4], eax */
   1653     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EDCFF; /* 0x360EDCF0: je 0x360edcff */
   1654 L_360EDCF2:
   1655     ecx = MEM32(ebp + 0x8); /* 0x360EDCF2: mov ecx, dword ptr [ebp + 8] */
   1656     /* cmp ecx, MEM32(eax + 0xC) */ /* 0x360EDCF5: cmp ecx, dword ptr [eax + 0xc] */
   1657     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xC));
   1658     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1659     _flag_k = FK_CMP;
   1660     if (CMP_L(_flag_a, _flag_b)) goto L_360EDCFF; /* 0x360EDCF8: jl 0x360edcff */
   1661 L_360EDCFA:
   1662     eax = ebp + (-0x4); /* 0x360EDCFA: lea eax, [ebp - 4] */
   1663     goto L_360EDD05; /* 0x360EDCFD: jmp 0x360edd05 */
   1664 L_360EDCFF:
   1665     MEM32(ebp + (-0x8)) = esi; /* 0x360EDCFF: mov dword ptr [ebp - 8], esi */
   1666     eax = ebp + (-0x8); /* 0x360EDD02: lea eax, [ebp - 8] */
   1667 L_360EDD05:
   1668     edx = MEM32(edi + 0x18); /* 0x360EDD05: mov edx, dword ptr [edi + 0x18] */
   1669     eax = MEM32(eax); /* 0x360EDD08: mov eax, dword ptr [eax] */
   1670     /* cmp eax, MEM32(edx + 0x4) */ /* 0x360EDD0A: cmp eax, dword ptr [edx + 4] */
   1671     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1672     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1673     _flag_k = FK_CMP;
   1674     edi = POP32_VAL(esp); /* 0x360EDD0D: pop edi */
   1675     esi = POP32_VAL(esp); /* 0x360EDD0E: pop esi */
   1676     if (CMP_NE(_flag_a, _flag_b)) goto L_360EDD19; /* 0x360EDD0F: jne 0x360edd19 */
   1677 L_360EDD11:
   1678     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1679     eax = 0; /* 0x360EDD11: xor eax, eax */
   1680     _cf = 0;
   1681     _flag_k = FK_TEST;
   1682     esp = ebp; /* 0x360EDD13: mov esp, ebp */
   1683     ebp = POP32_VAL(esp); /* 0x360EDD15: pop ebp */
   1684     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDD16: ret 4 */
   1685 L_360EDD19:
   1686     eax = MEM32(eax + 0x10); /* 0x360EDD19: mov eax, dword ptr [eax + 0x10] */
   1687     esp = ebp; /* 0x360EDD1C: mov esp, ebp */
   1688     ebp = POP32_VAL(esp); /* 0x360EDD1E: pop ebp */
   1689     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDD1F: ret 4 */
   1690     RECOMP_REGS_OUT();
   1691 }
   1692 
   1693 void sub_360EDD30(void) {
   1694     int _fpu_cmp = 0;
   1695     uint32_t _cf = 0;
   1696     int _df = 1;
   1697     uint32_t _flag_k = FK_NONE;
   1698     uint32_t _flag_a = 0, _flag_b = 0;
   1699     uint32_t _itail_tgt = 0;
   1700     RECOMP_REGS_LOCALS
   1701     RECOMP_ENTER(0x360EDD30u);
   1702 
   1703 L_360EDD30:
   1704     PUSH32(esp, ebp); /* 0x360EDD30: push ebp */
   1705     ebp = esp; /* 0x360EDD31: mov ebp, esp */
   1706     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u);
   1707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1708     esp = esp - 0x58u; /* 0x360EDD33: sub esp, 0x58 */
   1709     _flag_k = FK_CMP;
   1710     edx = MEM32(ebp + 0x8); /* 0x360EDD36: mov edx, dword ptr [ebp + 8] */
   1711     PUSH32(esp, ebx); /* 0x360EDD39: push ebx */
   1712     PUSH32(esp, esi); /* 0x360EDD3A: push esi */
   1713     PUSH32(esp, edi); /* 0x360EDD3B: push edi */
   1714     edi = MEM32(ecx + 0x18); /* 0x360EDD3C: mov edi, dword ptr [ecx + 0x18] */
   1715     ebx = MEM32(edi + 0x4); /* 0x360EDD3F: mov ebx, dword ptr [edi + 4] */
   1716     ecx = MEM32(edi + 0x8); /* 0x360EDD42: mov ecx, dword ptr [edi + 8] */
   1717     MEM32(ebp + (-0x20)) = edx; /* 0x360EDD45: mov dword ptr [ebp - 0x20], edx */
   1718     MEM32(ebp + (-0x1C)) = 0; /* 0x360EDD48: mov dword ptr [ebp - 0x1c], 0 */
   1719     esi = MEM32(ebx + 0x4); /* 0x360EDD4F: mov esi, dword ptr [ebx + 4] */
   1720     /* cmp esi, ecx */ /* 0x360EDD52: cmp esi, ecx */
   1721     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   1722     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1723     _flag_k = FK_CMP;
   1724     SET_LO8(eax, 1); /* 0x360EDD54: mov al, 1 */
   1725     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EDD6F; /* 0x360EDD56: je 0x360edd6f */
   1726 L_360EDD58:
   1727     /* cmp edx, MEM32(esi + 0xC) */ /* 0x360EDD58: cmp edx, dword ptr [esi + 0xc] */
   1728     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC));
   1729     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1730     _flag_k = FK_CMP;
   1731     SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x360EDD5B: setl al */
   1732     /* test LO8(eax), LO8(eax) */ /* 0x360EDD5E: test al, al */
   1733     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1734     _cf = 0;
   1735     _flag_k = FK_NARROW(FK_TEST, 24);
   1736     ebx = esi; /* 0x360EDD60: mov ebx, esi */
   1737     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDD68; /* 0x360EDD62: je 0x360edd68 */
   1738 L_360EDD64:
   1739     esi = MEM32(esi); /* 0x360EDD64: mov esi, dword ptr [esi] */
   1740     goto L_360EDD6B; /* 0x360EDD66: jmp 0x360edd6b */
   1741 L_360EDD68:
   1742     esi = MEM32(esi + 0x8); /* 0x360EDD68: mov esi, dword ptr [esi + 8] */
   1743 L_360EDD6B:
   1744     /* cmp esi, ecx */ /* 0x360EDD6B: cmp esi, ecx */
   1745     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   1746     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1747     _flag_k = FK_CMP;
   1748     RECOMP_BACKEDGE();
   1749     if (CMP_NE(_flag_a, _flag_b)) goto L_360EDD58; /* 0x360EDD6D: jne 0x360edd58 */
   1750 L_360EDD6F:
   1751     SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x360EDD6F: mov cl, byte ptr [edi + 0xc] */
   1752     /* test LO8(ecx), LO8(ecx) */ /* 0x360EDD72: test cl, cl */
   1753     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   1754     _cf = 0;
   1755     _flag_k = FK_NARROW(FK_TEST, 24);
   1756     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDDA4; /* 0x360EDD74: je 0x360edda4 */
   1757 L_360EDD76:
   1758     eax = ebp + 0xB; /* 0x360EDD76: lea eax, [ebp + 0xb] */
   1759     PUSH32(esp, eax); /* 0x360EDD79: push eax */
   1760     ecx = ebp + (-0x20); /* 0x360EDD7A: lea ecx, [ebp - 0x20] */
   1761     PUSH32(esp, ecx); /* 0x360EDD7D: push ecx */
   1762     PUSH32(esp, ebx); /* 0x360EDD7E: push ebx */
   1763     PUSH32(esp, esi); /* 0x360EDD7F: push esi */
   1764     edx = ebp + (-0xC); /* 0x360EDD80: lea edx, [ebp - 0xc] */
   1765     PUSH32(esp, edx); /* 0x360EDD83: push edx */
   1766     ecx = edi; /* 0x360EDD84: mov ecx, edi */
   1767     MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x360EDD86: mov byte ptr [ebp + 0xb], 1 */
   1768     RECOMP_ICALL(0x360912C0u); /* 0x360EDD8A: call 0x360912c0 */ /* not lifted */
   1769     RECOMP_FLAGS_IN();
   1770     PUSH32(esp, eax); /* 0x360EDD8F: push eax */
   1771     ecx = ebp + (-0x30); /* 0x360EDD90: lea ecx, [ebp - 0x30] */
   1772     RECOMP_ICALL(0x3614FCB0u); /* 0x360EDD93: call 0x3614fcb0 */ /* not lifted */
   1773     RECOMP_FLAGS_IN();
   1774     ecx = eax; /* 0x360EDD98: mov ecx, eax */
   1775     eax = MEM32(ecx); /* 0x360EDD9A: mov eax, dword ptr [ecx] */
   1776     ecx = MEM32(ecx + 0x4); /* 0x360EDD9C: mov ecx, dword ptr [ecx + 4] */
   1777     goto L_360EDE29; /* 0x360EDD9F: jmp 0x360ede29 */
   1778 L_360EDDA4:
   1779     /* test LO8(eax), LO8(eax) */ /* 0x360EDDA4: test al, al */
   1780     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1781     _cf = 0;
   1782     _flag_k = FK_NARROW(FK_TEST, 24);
   1783     MEM32(ebp + (-0x8)) = ebx; /* 0x360EDDA6: mov dword ptr [ebp - 8], ebx */
   1784     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDDE4; /* 0x360EDDA9: je 0x360edde4 */
   1785 L_360EDDAB:
   1786     edx = ebp + (-0x10); /* 0x360EDDAB: lea edx, [ebp - 0x10] */
   1787     PUSH32(esp, edx); /* 0x360EDDAE: push edx */
   1788     ecx = edi; /* 0x360EDDAF: mov ecx, edi */
   1789     RECOMP_ICALL(0x3614FC30u); /* 0x360EDDB1: call 0x3614fc30 */ /* not lifted */
   1790     RECOMP_FLAGS_IN();
   1791     ecx = MEM32(ebp + (-0x8)); /* 0x360EDDB6: mov ecx, dword ptr [ebp - 8] */
   1792     /* cmp ecx, MEM32(eax) */ /* 0x360EDDB9: cmp ecx, dword ptr [eax] */
   1793     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
   1794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1795     _flag_k = FK_CMP;
   1796     if (CMP_NE(_flag_a, _flag_b)) goto L_360EDDDC; /* 0x360EDDBB: jne 0x360edddc */
   1797 L_360EDDBD:
   1798     edx = ebp + (-0x1); /* 0x360EDDBD: lea edx, [ebp - 1] */
   1799     PUSH32(esp, edx); /* 0x360EDDC0: push edx */
   1800     eax = ebp + (-0x20); /* 0x360EDDC1: lea eax, [ebp - 0x20] */
   1801     PUSH32(esp, eax); /* 0x360EDDC4: push eax */
   1802     PUSH32(esp, ebx); /* 0x360EDDC5: push ebx */
   1803     PUSH32(esp, esi); /* 0x360EDDC6: push esi */
   1804     ecx = ebp + (-0x14); /* 0x360EDDC7: lea ecx, [ebp - 0x14] */
   1805     PUSH32(esp, ecx); /* 0x360EDDCA: push ecx */
   1806     ecx = edi; /* 0x360EDDCB: mov ecx, edi */
   1807     MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x360EDDCD: mov byte ptr [ebp - 1], 1 */
   1808     RECOMP_ICALL(0x360912C0u); /* 0x360EDDD1: call 0x360912c0 */ /* not lifted */
   1809     RECOMP_FLAGS_IN();
   1810     PUSH32(esp, eax); /* 0x360EDDD6: push eax */
   1811     ecx = ebp + (-0x38); /* 0x360EDDD7: lea ecx, [ebp - 0x38] */
   1812     goto L_360EDE1D; /* 0x360EDDDA: jmp 0x360ede1d */
   1813 L_360EDDDC:
   1814     ecx = ebp + (-0x8); /* 0x360EDDDC: lea ecx, [ebp - 8] */
   1815     RECOMP_ICALL(0x3614FCD0u); /* 0x360EDDDF: call 0x3614fcd0 */ /* not lifted */
   1816     RECOMP_FLAGS_IN();
   1817 L_360EDDE4:
   1818     eax = MEM32(ebp + (-0x8)); /* 0x360EDDE4: mov eax, dword ptr [ebp - 8] */
   1819     ecx = MEM32(eax + 0xC); /* 0x360EDDE7: mov ecx, dword ptr [eax + 0xc] */
   1820     /* cmp ecx, MEM32(ebp + (-0x20)) */ /* 0x360EDDEA: cmp ecx, dword ptr [ebp - 0x20] */
   1821     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20)));
   1822     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1823     _flag_k = FK_CMP;
   1824     if (CMP_GE(_flag_a, _flag_b)) goto L_360EDE0E; /* 0x360EDDED: jge 0x360ede0e */
   1825 L_360EDDEF:
   1826     edx = ebp + (-0x2); /* 0x360EDDEF: lea edx, [ebp - 2] */
   1827     PUSH32(esp, edx); /* 0x360EDDF2: push edx */
   1828     eax = ebp + (-0x20); /* 0x360EDDF3: lea eax, [ebp - 0x20] */
   1829     PUSH32(esp, eax); /* 0x360EDDF6: push eax */
   1830     PUSH32(esp, ebx); /* 0x360EDDF7: push ebx */
   1831     PUSH32(esp, esi); /* 0x360EDDF8: push esi */
   1832     ecx = ebp + (-0x18); /* 0x360EDDF9: lea ecx, [ebp - 0x18] */
   1833     PUSH32(esp, ecx); /* 0x360EDDFC: push ecx */
   1834     ecx = edi; /* 0x360EDDFD: mov ecx, edi */
   1835     MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x360EDDFF: mov byte ptr [ebp - 2], 1 */
   1836     RECOMP_ICALL(0x360912C0u); /* 0x360EDE03: call 0x360912c0 */ /* not lifted */
   1837     RECOMP_FLAGS_IN();
   1838     PUSH32(esp, eax); /* 0x360EDE08: push eax */
   1839     ecx = ebp + (-0x40); /* 0x360EDE09: lea ecx, [ebp - 0x40] */
   1840     goto L_360EDE1D; /* 0x360EDE0C: jmp 0x360ede1d */
   1841 L_360EDE0E:
   1842     eax = ebp + (-0x3); /* 0x360EDE0E: lea eax, [ebp - 3] */
   1843     ecx = ebp + (-0x8); /* 0x360EDE11: lea ecx, [ebp - 8] */
   1844     PUSH32(esp, eax); /* 0x360EDE14: push eax */
   1845     PUSH32(esp, ecx); /* 0x360EDE15: push ecx */
   1846     MEM8(ebp + (-0x3)) = (uint8_t)(0); /* 0x360EDE16: mov byte ptr [ebp - 3], 0 */
   1847     ecx = ebp + (-0x48); /* 0x360EDE1A: lea ecx, [ebp - 0x48] */
   1848 L_360EDE1D:
   1849     RECOMP_ICALL(0x3614FCB0u); /* 0x360EDE1D: call 0x3614fcb0 */ /* not lifted */
   1850     RECOMP_FLAGS_IN();
   1851     edx = eax; /* 0x360EDE22: mov edx, eax */
   1852     eax = MEM32(edx); /* 0x360EDE24: mov eax, dword ptr [edx] */
   1853     ecx = MEM32(edx + 0x4); /* 0x360EDE26: mov ecx, dword ptr [edx + 4] */
   1854 L_360EDE29:
   1855     MEM32(ebp + (-0x28)) = eax; /* 0x360EDE29: mov dword ptr [ebp - 0x28], eax */
   1856     MEM32(ebp + (-0x24)) = ecx; /* 0x360EDE2C: mov dword ptr [ebp - 0x24], ecx */
   1857     eax = ebp + (-0x24); /* 0x360EDE2F: lea eax, [ebp - 0x24] */
   1858     PUSH32(esp, eax); /* 0x360EDE32: push eax */
   1859     ecx = ebp + (-0x28); /* 0x360EDE33: lea ecx, [ebp - 0x28] */
   1860     PUSH32(esp, ecx); /* 0x360EDE36: push ecx */
   1861     ecx = ebp + (-0x50); /* 0x360EDE37: lea ecx, [ebp - 0x50] */
   1862     RECOMP_ICALL(0x3614FCB0u); /* 0x360EDE3A: call 0x3614fcb0 */ /* not lifted */
   1863     RECOMP_FLAGS_IN();
   1864     edx = eax; /* 0x360EDE3F: mov edx, eax */
   1865     eax = MEM32(edx); /* 0x360EDE41: mov eax, dword ptr [edx] */
   1866     ecx = MEM32(edx + 0x4); /* 0x360EDE43: mov ecx, dword ptr [edx + 4] */
   1867     edx = MEM32(ebp + 0xC); /* 0x360EDE46: mov edx, dword ptr [ebp + 0xc] */
   1868     edi = POP32_VAL(esp); /* 0x360EDE49: pop edi */
   1869     esi = POP32_VAL(esp); /* 0x360EDE4A: pop esi */
   1870     MEM32(ebp + (-0x54)) = ecx; /* 0x360EDE4B: mov dword ptr [ebp - 0x54], ecx */
   1871     MEM32(eax + 0x10) = edx; /* 0x360EDE4E: mov dword ptr [eax + 0x10], edx */
   1872     ebx = POP32_VAL(esp); /* 0x360EDE51: pop ebx */
   1873     esp = ebp; /* 0x360EDE52: mov esp, ebp */
   1874     ebp = POP32_VAL(esp); /* 0x360EDE54: pop ebp */
   1875     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360EDE55: ret 8 */
   1876     RECOMP_REGS_OUT();
   1877 }
   1878 
   1879 void sub_360EDE29(void) {
   1880     int _fpu_cmp = 0;
   1881     uint32_t _cf = 0;
   1882     int _df = 1;
   1883     uint32_t _flag_k = FK_NONE;
   1884     uint32_t _flag_a = 0, _flag_b = 0;
   1885     uint32_t _itail_tgt = 0;
   1886     RECOMP_REGS_LOCALS
   1887     RECOMP_ENTER(0x360EDE29u);
   1888 
   1889 L_360EDE29:
   1890     MEM32(ebp + (-0x28)) = eax; /* 0x360EDE29: mov dword ptr [ebp - 0x28], eax */
   1891     MEM32(ebp + (-0x24)) = ecx; /* 0x360EDE2C: mov dword ptr [ebp - 0x24], ecx */
   1892     eax = ebp + (-0x24); /* 0x360EDE2F: lea eax, [ebp - 0x24] */
   1893     PUSH32(esp, eax); /* 0x360EDE32: push eax */
   1894     ecx = ebp + (-0x28); /* 0x360EDE33: lea ecx, [ebp - 0x28] */
   1895     PUSH32(esp, ecx); /* 0x360EDE36: push ecx */
   1896     ecx = ebp + (-0x50); /* 0x360EDE37: lea ecx, [ebp - 0x50] */
   1897     RECOMP_ICALL(0x3614FCB0u); /* 0x360EDE3A: call 0x3614fcb0 */ /* not lifted */
   1898     RECOMP_FLAGS_IN();
   1899     edx = eax; /* 0x360EDE3F: mov edx, eax */
   1900     eax = MEM32(edx); /* 0x360EDE41: mov eax, dword ptr [edx] */
   1901     ecx = MEM32(edx + 0x4); /* 0x360EDE43: mov ecx, dword ptr [edx + 4] */
   1902     edx = MEM32(ebp + 0xC); /* 0x360EDE46: mov edx, dword ptr [ebp + 0xc] */
   1903     edi = POP32_VAL(esp); /* 0x360EDE49: pop edi */
   1904     esi = POP32_VAL(esp); /* 0x360EDE4A: pop esi */
   1905     MEM32(ebp + (-0x54)) = ecx; /* 0x360EDE4B: mov dword ptr [ebp - 0x54], ecx */
   1906     MEM32(eax + 0x10) = edx; /* 0x360EDE4E: mov dword ptr [eax + 0x10], edx */
   1907     ebx = POP32_VAL(esp); /* 0x360EDE51: pop ebx */
   1908     esp = ebp; /* 0x360EDE52: mov esp, ebp */
   1909     ebp = POP32_VAL(esp); /* 0x360EDE54: pop ebp */
   1910     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360EDE55: ret 8 */
   1911     RECOMP_REGS_OUT();
   1912 }
   1913 
   1914 void sub_360EDE60(void) {
   1915     int _fpu_cmp = 0;
   1916     uint32_t _cf = 0;
   1917     int _df = 1;
   1918     uint32_t _flag_k = FK_NONE;
   1919     uint32_t _flag_a = 0, _flag_b = 0;
   1920     uint32_t _itail_tgt = 0;
   1921     RECOMP_REGS_LOCALS
   1922     RECOMP_ENTER(0x360EDE60u);
   1923 
   1924 L_360EDE60:
   1925     PUSH32(esp, ebp); /* 0x360EDE60: push ebp */
   1926     ebp = esp; /* 0x360EDE61: mov ebp, esp */
   1927     PUSH32(esp, esi); /* 0x360EDE63: push esi */
   1928     PUSH32(esp, edi); /* 0x360EDE64: push edi */
   1929     edi = MEM32(ebp + 0x8); /* 0x360EDE65: mov edi, dword ptr [ebp + 8] */
   1930     esi = ecx; /* 0x360EDE68: mov esi, ecx */
   1931     PUSH32(esp, edi); /* 0x360EDE6A: push edi */
   1932     RECOMP_ICALL(MEM32(0x3616FB50)); /* 0x360EDE6B: call dword ptr [0x3616fb50] */
   1933     RECOMP_FLAGS_IN();
   1934     eax = MEM32(esi + 0x1C); /* 0x360EDE71: mov eax, dword ptr [esi + 0x1c] */
   1935     PUSH32(esp, eax); /* 0x360EDE74: push eax */
   1936     PUSH32(esp, edi); /* 0x360EDE75: push edi */
   1937     RECOMP_ICALL(0x3615F988u); /* 0x360EDE76: call 0x3615f988 */ /* not lifted */
   1938     RECOMP_FLAGS_IN();
   1939     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1940     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1941     esp = esp + 8; /* 0x360EDE7B: add esp, 8 */
   1942     _flag_k = FK_ADD;
   1943     PUSH32(esp, 6); /* 0x360EDE7E: push 6 */
   1944     ecx = esi; /* 0x360EDE80: mov ecx, esi */
   1945     RECOMP_ICALL(0x360EDCD0u); /* 0x360EDE82: call 0x360edcd0 */ /* not lifted */
   1946     RECOMP_FLAGS_IN();
   1947     PUSH32(esp, eax); /* 0x360EDE87: push eax */
   1948     PUSH32(esp, 5); /* 0x360EDE88: push 5 */
   1949     ecx = esi; /* 0x360EDE8A: mov ecx, esi */
   1950     RECOMP_ICALL(0x360EDCD0u); /* 0x360EDE8C: call 0x360edcd0 */ /* not lifted */
   1951     RECOMP_FLAGS_IN();
   1952     PUSH32(esp, eax); /* 0x360EDE91: push eax */
   1953     PUSH32(esp, 4); /* 0x360EDE92: push 4 */
   1954     ecx = esi; /* 0x360EDE94: mov ecx, esi */
   1955     RECOMP_ICALL(0x360EDCD0u); /* 0x360EDE96: call 0x360edcd0 */ /* not lifted */
   1956     RECOMP_FLAGS_IN();
   1957     PUSH32(esp, eax); /* 0x360EDE9B: push eax */
   1958     PUSH32(esp, 3); /* 0x360EDE9C: push 3 */
   1959     ecx = esi; /* 0x360EDE9E: mov ecx, esi */
   1960     RECOMP_ICALL(0x360EDCD0u); /* 0x360EDEA0: call 0x360edcd0 */ /* not lifted */
   1961     RECOMP_FLAGS_IN();
   1962     PUSH32(esp, eax); /* 0x360EDEA5: push eax */
   1963     PUSH32(esp, 2); /* 0x360EDEA6: push 2 */
   1964     ecx = esi; /* 0x360EDEA8: mov ecx, esi */
   1965     RECOMP_ICALL(0x360EDCD0u); /* 0x360EDEAA: call 0x360edcd0 */ /* not lifted */
   1966     RECOMP_FLAGS_IN();
   1967     PUSH32(esp, eax); /* 0x360EDEAF: push eax */
   1968     PUSH32(esp, 1); /* 0x360EDEB0: push 1 */
   1969     ecx = esi; /* 0x360EDEB2: mov ecx, esi */
   1970     RECOMP_ICALL(0x360EDCD0u); /* 0x360EDEB4: call 0x360edcd0 */ /* not lifted */
   1971     RECOMP_FLAGS_IN();
   1972     PUSH32(esp, eax); /* 0x360EDEB9: push eax */
   1973     PUSH32(esp, edi); /* 0x360EDEBA: push edi */
   1974     RECOMP_ICALL(0x3615F988u); /* 0x360EDEBB: call 0x3615f988 */ /* not lifted */
   1975     RECOMP_FLAGS_IN();
   1976     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1977     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1978     esp = esp + 8; /* 0x360EDEC0: add esp, 8 */
   1979     _flag_k = FK_ADD;
   1980     PUSH32(esp, eax); /* 0x360EDEC3: push eax */
   1981     RECOMP_ICALL(0x3615F988u); /* 0x360EDEC4: call 0x3615f988 */ /* not lifted */
   1982     RECOMP_FLAGS_IN();
   1983     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1984     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1985     esp = esp + 8; /* 0x360EDEC9: add esp, 8 */
   1986     _flag_k = FK_ADD;
   1987     PUSH32(esp, eax); /* 0x360EDECC: push eax */
   1988     RECOMP_ICALL(0x3615F988u); /* 0x360EDECD: call 0x3615f988 */ /* not lifted */
   1989     RECOMP_FLAGS_IN();
   1990     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1991     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1992     esp = esp + 8; /* 0x360EDED2: add esp, 8 */
   1993     _flag_k = FK_ADD;
   1994     PUSH32(esp, eax); /* 0x360EDED5: push eax */
   1995     RECOMP_ICALL(0x3615F988u); /* 0x360EDED6: call 0x3615f988 */ /* not lifted */
   1996     RECOMP_FLAGS_IN();
   1997     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1998     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1999     esp = esp + 8; /* 0x360EDEDB: add esp, 8 */
   2000     _flag_k = FK_ADD;
   2001     PUSH32(esp, eax); /* 0x360EDEDE: push eax */
   2002     RECOMP_ICALL(0x3615F988u); /* 0x360EDEDF: call 0x3615f988 */ /* not lifted */
   2003     RECOMP_FLAGS_IN();
   2004     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2005     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2006     esp = esp + 8; /* 0x360EDEE4: add esp, 8 */
   2007     _flag_k = FK_ADD;
   2008     PUSH32(esp, eax); /* 0x360EDEE7: push eax */
   2009     RECOMP_ICALL(0x3615F988u); /* 0x360EDEE8: call 0x3615f988 */ /* not lifted */
   2010     RECOMP_FLAGS_IN();
   2011     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2012     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2013     esp = esp + 8; /* 0x360EDEED: add esp, 8 */
   2014     _flag_k = FK_ADD;
   2015     edi = POP32_VAL(esp); /* 0x360EDEF0: pop edi */
   2016     esi = POP32_VAL(esp); /* 0x360EDEF1: pop esi */
   2017     ebp = POP32_VAL(esp); /* 0x360EDEF2: pop ebp */
   2018     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDEF3: ret 4 */
   2019     RECOMP_REGS_OUT();
   2020 }
   2021 
   2022 void sub_360EDF00(void) {
   2023     int _fpu_cmp = 0;
   2024     uint32_t _cf = 0;
   2025     int _df = 1;
   2026     uint32_t _flag_k = FK_NONE;
   2027     uint32_t _flag_a = 0, _flag_b = 0;
   2028     uint32_t _itail_tgt = 0;
   2029     RECOMP_REGS_LOCALS
   2030     RECOMP_ENTER(0x360EDF00u);
   2031 
   2032 L_360EDF00:
   2033     PUSH32(esp, ebp); /* 0x360EDF00: push ebp */
   2034     ebp = esp; /* 0x360EDF01: mov ebp, esp */
   2035     PUSH32(esp, esi); /* 0x360EDF03: push esi */
   2036     PUSH32(esp, edi); /* 0x360EDF04: push edi */
   2037     edi = MEM32(ebp + 0x8); /* 0x360EDF05: mov edi, dword ptr [ebp + 8] */
   2038     esi = ecx; /* 0x360EDF08: mov esi, ecx */
   2039     PUSH32(esp, edi); /* 0x360EDF0A: push edi */
   2040     RECOMP_ICALL(MEM32(0x3616FB58)); /* 0x360EDF0B: call dword ptr [0x3616fb58] */
   2041     RECOMP_FLAGS_IN();
   2042     /* test LO8(eax), LO8(eax) */ /* 0x360EDF11: test al, al */
   2043     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2044     _cf = 0;
   2045     _flag_k = FK_NARROW(FK_TEST, 24);
   2046     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EDF1B; /* 0x360EDF13: jne 0x360edf1b */
   2047 L_360EDF15:
   2048     edi = POP32_VAL(esp); /* 0x360EDF15: pop edi */
   2049     esi = POP32_VAL(esp); /* 0x360EDF16: pop esi */
   2050     ebp = POP32_VAL(esp); /* 0x360EDF17: pop ebp */
   2051     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDF18: ret 4 */
   2052 L_360EDF1B:
   2053     eax = esi + 0x1C; /* 0x360EDF1B: lea eax, [esi + 0x1c] */
   2054     PUSH32(esp, eax); /* 0x360EDF1E: push eax */
   2055     PUSH32(esp, edi); /* 0x360EDF1F: push edi */
   2056     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDF20: call 0x3615f98e */ /* not lifted */
   2057     RECOMP_FLAGS_IN();
   2058     ecx = ebp + 0x8; /* 0x360EDF25: lea ecx, [ebp + 8] */
   2059     PUSH32(esp, ecx); /* 0x360EDF28: push ecx */
   2060     PUSH32(esp, edi); /* 0x360EDF29: push edi */
   2061     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDF2A: call 0x3615f98e */ /* not lifted */
   2062     RECOMP_FLAGS_IN();
   2063     edx = MEM32(ebp + 0x8); /* 0x360EDF2F: mov edx, dword ptr [ebp + 8] */
   2064     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2065     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2066     esp = esp + 0x10u; /* 0x360EDF32: add esp, 0x10 */
   2067     _flag_k = FK_ADD;
   2068     PUSH32(esp, edx); /* 0x360EDF35: push edx */
   2069     PUSH32(esp, 1); /* 0x360EDF36: push 1 */
   2070     ecx = esi; /* 0x360EDF38: mov ecx, esi */
   2071     RECOMP_ICALL(0x360EDD30u); /* 0x360EDF3A: call 0x360edd30 */ /* not lifted */
   2072     RECOMP_FLAGS_IN();
   2073     eax = ebp + 0x8; /* 0x360EDF3F: lea eax, [ebp + 8] */
   2074     PUSH32(esp, eax); /* 0x360EDF42: push eax */
   2075     PUSH32(esp, edi); /* 0x360EDF43: push edi */
   2076     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDF44: call 0x3615f98e */ /* not lifted */
   2077     RECOMP_FLAGS_IN();
   2078     ecx = MEM32(ebp + 0x8); /* 0x360EDF49: mov ecx, dword ptr [ebp + 8] */
   2079     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2080     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2081     esp = esp + 8; /* 0x360EDF4C: add esp, 8 */
   2082     _flag_k = FK_ADD;
   2083     PUSH32(esp, ecx); /* 0x360EDF4F: push ecx */
   2084     PUSH32(esp, 2); /* 0x360EDF50: push 2 */
   2085     ecx = esi; /* 0x360EDF52: mov ecx, esi */
   2086     RECOMP_ICALL(0x360EDD30u); /* 0x360EDF54: call 0x360edd30 */ /* not lifted */
   2087     RECOMP_FLAGS_IN();
   2088     edx = ebp + 0x8; /* 0x360EDF59: lea edx, [ebp + 8] */
   2089     PUSH32(esp, edx); /* 0x360EDF5C: push edx */
   2090     PUSH32(esp, edi); /* 0x360EDF5D: push edi */
   2091     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDF5E: call 0x3615f98e */ /* not lifted */
   2092     RECOMP_FLAGS_IN();
   2093     eax = MEM32(ebp + 0x8); /* 0x360EDF63: mov eax, dword ptr [ebp + 8] */
   2094     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2095     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2096     esp = esp + 8; /* 0x360EDF66: add esp, 8 */
   2097     _flag_k = FK_ADD;
   2098     PUSH32(esp, eax); /* 0x360EDF69: push eax */
   2099     PUSH32(esp, 3); /* 0x360EDF6A: push 3 */
   2100     ecx = esi; /* 0x360EDF6C: mov ecx, esi */
   2101     RECOMP_ICALL(0x360EDD30u); /* 0x360EDF6E: call 0x360edd30 */ /* not lifted */
   2102     RECOMP_FLAGS_IN();
   2103     ecx = ebp + 0x8; /* 0x360EDF73: lea ecx, [ebp + 8] */
   2104     PUSH32(esp, ecx); /* 0x360EDF76: push ecx */
   2105     PUSH32(esp, edi); /* 0x360EDF77: push edi */
   2106     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDF78: call 0x3615f98e */ /* not lifted */
   2107     RECOMP_FLAGS_IN();
   2108     edx = MEM32(ebp + 0x8); /* 0x360EDF7D: mov edx, dword ptr [ebp + 8] */
   2109     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2110     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2111     esp = esp + 8; /* 0x360EDF80: add esp, 8 */
   2112     _flag_k = FK_ADD;
   2113     PUSH32(esp, edx); /* 0x360EDF83: push edx */
   2114     PUSH32(esp, 4); /* 0x360EDF84: push 4 */
   2115     ecx = esi; /* 0x360EDF86: mov ecx, esi */
   2116     RECOMP_ICALL(0x360EDD30u); /* 0x360EDF88: call 0x360edd30 */ /* not lifted */
   2117     RECOMP_FLAGS_IN();
   2118     eax = ebp + 0x8; /* 0x360EDF8D: lea eax, [ebp + 8] */
   2119     PUSH32(esp, eax); /* 0x360EDF90: push eax */
   2120     PUSH32(esp, edi); /* 0x360EDF91: push edi */
   2121     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDF92: call 0x3615f98e */ /* not lifted */
   2122     RECOMP_FLAGS_IN();
   2123     ecx = MEM32(ebp + 0x8); /* 0x360EDF97: mov ecx, dword ptr [ebp + 8] */
   2124     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2125     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2126     esp = esp + 8; /* 0x360EDF9A: add esp, 8 */
   2127     _flag_k = FK_ADD;
   2128     PUSH32(esp, ecx); /* 0x360EDF9D: push ecx */
   2129     PUSH32(esp, 5); /* 0x360EDF9E: push 5 */
   2130     ecx = esi; /* 0x360EDFA0: mov ecx, esi */
   2131     RECOMP_ICALL(0x360EDD30u); /* 0x360EDFA2: call 0x360edd30 */ /* not lifted */
   2132     RECOMP_FLAGS_IN();
   2133     edx = ebp + 0x8; /* 0x360EDFA7: lea edx, [ebp + 8] */
   2134     PUSH32(esp, edx); /* 0x360EDFAA: push edx */
   2135     PUSH32(esp, edi); /* 0x360EDFAB: push edi */
   2136     RECOMP_ICALL(0x3615F98Eu); /* 0x360EDFAC: call 0x3615f98e */ /* not lifted */
   2137     RECOMP_FLAGS_IN();
   2138     eax = MEM32(ebp + 0x8); /* 0x360EDFB1: mov eax, dword ptr [ebp + 8] */
   2139     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2140     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2141     esp = esp + 8; /* 0x360EDFB4: add esp, 8 */
   2142     _flag_k = FK_ADD;
   2143     PUSH32(esp, eax); /* 0x360EDFB7: push eax */
   2144     PUSH32(esp, 6); /* 0x360EDFB8: push 6 */
   2145     ecx = esi; /* 0x360EDFBA: mov ecx, esi */
   2146     RECOMP_ICALL(0x360EDD30u); /* 0x360EDFBC: call 0x360edd30 */ /* not lifted */
   2147     RECOMP_FLAGS_IN();
   2148     edi = POP32_VAL(esp); /* 0x360EDFC1: pop edi */
   2149     SET_LO8(eax, 1); /* 0x360EDFC2: mov al, 1 */
   2150     esi = POP32_VAL(esp); /* 0x360EDFC4: pop esi */
   2151     ebp = POP32_VAL(esp); /* 0x360EDFC5: pop ebp */
   2152     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EDFC6: ret 4 */
   2153     RECOMP_REGS_OUT();
   2154 }
   2155 
   2156 void sub_360EDFD0(void) {
   2157     int _fpu_cmp = 0;
   2158     uint32_t _cf = 0;
   2159     int _df = 1;
   2160     uint32_t _flag_k = FK_NONE;
   2161     uint32_t _flag_a = 0, _flag_b = 0;
   2162     uint32_t _itail_tgt = 0;
   2163     RECOMP_REGS_LOCALS
   2164     RECOMP_ENTER(0x360EDFD0u);
   2165 
   2166 L_360EDFD0:
   2167     PUSH32(esp, ebp); /* 0x360EDFD0: push ebp */
   2168     ebp = esp; /* 0x360EDFD1: mov ebp, esp */
   2169     eax = MEM32(0x36307204); /* 0x360EDFD3: mov eax, dword ptr [0x36307204] */
   2170     PUSH32(esp, esi); /* 0x360EDFD8: push esi */
   2171     esi = MEM32(ebp + 0x8); /* 0x360EDFD9: mov esi, dword ptr [ebp + 8] */
   2172     ecx = MEM32(eax + esi * 4); /* 0x360EDFDC: mov ecx, dword ptr [eax + esi*4] */
   2173     /* test ecx, ecx */ /* 0x360EDFDF: test ecx, ecx */
   2174     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2175     _cf = 0;
   2176     _flag_k = FK_TEST;
   2177     if (TEST_Z(_flag_a, _flag_b)) goto L_360EDFF8; /* 0x360EDFE1: je 0x360edff8 */
   2178 L_360EDFE3:
   2179     RECOMP_ICALL(MEM32(0x3616FB14)); /* 0x360EDFE3: call dword ptr [0x3616fb14] */
   2180     RECOMP_FLAGS_IN();
   2181     eax = MEM32(ebp + 0xC); /* 0x360EDFE9: mov eax, dword ptr [ebp + 0xc] */
   2182     ecx = MEM32(0x36307204); /* 0x360EDFEC: mov ecx, dword ptr [0x36307204] */
   2183     MEM32(ecx + esi * 4) = eax; /* 0x360EDFF2: mov dword ptr [ecx + esi*4], eax */
   2184     esi = POP32_VAL(esp); /* 0x360EDFF5: pop esi */
   2185     ebp = POP32_VAL(esp); /* 0x360EDFF6: pop ebp */
   2186     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EDFF7: ret  */
   2187 L_360EDFF8:
   2188     edx = MEM32(ebp + 0xC); /* 0x360EDFF8: mov edx, dword ptr [ebp + 0xc] */
   2189     MEM32(eax + esi * 4) = edx; /* 0x360EDFFB: mov dword ptr [eax + esi*4], edx */
   2190     esi = POP32_VAL(esp); /* 0x360EDFFE: pop esi */
   2191     ebp = POP32_VAL(esp); /* 0x360EDFFF: pop ebp */
   2192     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE000: ret  */
   2193     RECOMP_REGS_OUT();
   2194 }
   2195 
   2196 void sub_360EE010(void) {
   2197     int _fpu_cmp = 0;
   2198     uint32_t _cf = 0;
   2199     int _df = 1;
   2200     uint32_t _flag_k = FK_NONE;
   2201     uint32_t _flag_a = 0, _flag_b = 0;
   2202     uint32_t _itail_tgt = 0;
   2203     RECOMP_REGS_LOCALS
   2204     RECOMP_ENTER(0x360EE010u);
   2205 
   2206 L_360EE010:
   2207     PUSH32(esp, ebp); /* 0x360EE010: push ebp */
   2208     ebp = esp; /* 0x360EE011: mov ebp, esp */
   2209     eax = MEM32(ebp + 0x8); /* 0x360EE013: mov eax, dword ptr [ebp + 8] */
   2210     /* cmp eax, 1 */ /* 0x360EE016: cmp eax, 1 */
   2211     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2212     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2213     _flag_k = FK_CMP;
   2214     if (CMP_B(_flag_a, _flag_b)) goto L_360EE02B; /* 0x360EE019: jb 0x360ee02b */
   2215 L_360EE01B:
   2216     /* cmp eax, 6 */ /* 0x360EE01B: cmp eax, 6 */
   2217     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6);
   2218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2219     _flag_k = FK_CMP;
   2220     if (CMP_A(_flag_a, _flag_b)) goto L_360EE02B; /* 0x360EE01E: ja 0x360ee02b */
   2221 L_360EE020:
   2222     ecx = MEM32(0x36307204); /* 0x360EE020: mov ecx, dword ptr [0x36307204] */
   2223     eax = MEM32(ecx + eax * 4); /* 0x360EE026: mov eax, dword ptr [ecx + eax*4] */
   2224     ebp = POP32_VAL(esp); /* 0x360EE029: pop ebp */
   2225     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE02A: ret  */
   2226 L_360EE02B:
   2227     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2228     eax = 0; /* 0x360EE02B: xor eax, eax */
   2229     _cf = 0;
   2230     _flag_k = FK_TEST;
   2231     ebp = POP32_VAL(esp); /* 0x360EE02D: pop ebp */
   2232     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE02E: ret  */
   2233     RECOMP_REGS_OUT();
   2234 }
   2235 
   2236 void sub_360EE030(void) {
   2237     int _fpu_cmp = 0;
   2238     uint32_t _cf = 0;
   2239     int _df = 1;
   2240     uint32_t _flag_k = FK_NONE;
   2241     uint32_t _flag_a = 0, _flag_b = 0;
   2242     uint32_t _itail_tgt = 0;
   2243     RECOMP_REGS_LOCALS
   2244     RECOMP_ENTER(0x360EE030u);
   2245 
   2246 L_360EE030:
   2247     PUSH32(esp, ebp); /* 0x360EE030: push ebp */
   2248     ebp = esp; /* 0x360EE031: mov ebp, esp */
   2249     eax = MEM32(ebp + 0x8); /* 0x360EE033: mov eax, dword ptr [ebp + 8] */
   2250     PUSH32(esp, eax); /* 0x360EE036: push eax */
   2251     RECOMP_ICALL(0x360EE010u); /* 0x360EE037: call 0x360ee010 */ /* not lifted */
   2252     RECOMP_FLAGS_IN();
   2253     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2254     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2255     esp = esp + 4; /* 0x360EE03C: add esp, 4 */
   2256     _flag_k = FK_ADD;
   2257     /* test eax, eax */ /* 0x360EE03F: test eax, eax */
   2258     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2259     _cf = 0;
   2260     _flag_k = FK_TEST;
   2261     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE05A; /* 0x360EE041: je 0x360ee05a */
   2262 L_360EE043:
   2263     edx = MEM32(ebp + 0xC); /* 0x360EE043: mov edx, dword ptr [ebp + 0xc] */
   2264     /* cmp edx, 1 */ /* 0x360EE046: cmp edx, 1 */
   2265     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   2266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2267     _flag_k = FK_CMP;
   2268     if (CMP_L(_flag_a, _flag_b)) goto L_360EE05A; /* 0x360EE049: jl 0x360ee05a */
   2269 L_360EE04B:
   2270     /* cmp edx, 6 */ /* 0x360EE04B: cmp edx, 6 */
   2271     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(6);
   2272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2273     _flag_k = FK_CMP;
   2274     if (CMP_G(_flag_a, _flag_b)) goto L_360EE05A; /* 0x360EE04E: jg 0x360ee05a */
   2275 L_360EE050:
   2276     PUSH32(esp, edx); /* 0x360EE050: push edx */
   2277     ecx = eax; /* 0x360EE051: mov ecx, eax */
   2278     RECOMP_ICALL(0x360EDCD0u); /* 0x360EE053: call 0x360edcd0 */ /* not lifted */
   2279     RECOMP_FLAGS_IN();
   2280     ebp = POP32_VAL(esp); /* 0x360EE058: pop ebp */
   2281     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE059: ret  */
   2282 L_360EE05A:
   2283     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2284     eax = 0; /* 0x360EE05A: xor eax, eax */
   2285     _cf = 0;
   2286     _flag_k = FK_TEST;
   2287     ebp = POP32_VAL(esp); /* 0x360EE05C: pop ebp */
   2288     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE05D: ret  */
   2289     RECOMP_REGS_OUT();
   2290 }
   2291 
   2292 void sub_360EE060(void) {
   2293     int _fpu_cmp = 0;
   2294     uint32_t _cf = 0;
   2295     int _df = 1;
   2296     uint32_t _flag_k = FK_NONE;
   2297     uint32_t _flag_a = 0, _flag_b = 0;
   2298     uint32_t _itail_tgt = 0;
   2299     RECOMP_REGS_LOCALS
   2300     RECOMP_ENTER(0x360EE060u);
   2301 
   2302 L_360EE060:
   2303     PUSH32(esp, ebp); /* 0x360EE060: push ebp */
   2304     ebp = esp; /* 0x360EE061: mov ebp, esp */
   2305     eax = MEM32(ebp + 0x8); /* 0x360EE063: mov eax, dword ptr [ebp + 8] */
   2306     PUSH32(esp, eax); /* 0x360EE066: push eax */
   2307     RECOMP_ICALL(0x360EE010u); /* 0x360EE067: call 0x360ee010 */ /* not lifted */
   2308     RECOMP_FLAGS_IN();
   2309     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2310     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2311     esp = esp + 4; /* 0x360EE06C: add esp, 4 */
   2312     _flag_k = FK_ADD;
   2313     /* test eax, eax */ /* 0x360EE06F: test eax, eax */
   2314     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2315     _cf = 0;
   2316     _flag_k = FK_TEST;
   2317     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EE07A; /* 0x360EE071: jne 0x360ee07a */
   2318 L_360EE073:
   2319     eax = 6; /* 0x360EE073: mov eax, 6 */
   2320     ebp = POP32_VAL(esp); /* 0x360EE078: pop ebp */
   2321     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE079: ret  */
   2322 L_360EE07A:
   2323     eax = MEM32(eax + 0x1C); /* 0x360EE07A: mov eax, dword ptr [eax + 0x1c] */
   2324     ebp = POP32_VAL(esp); /* 0x360EE07D: pop ebp */
   2325     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE07E: ret  */
   2326     RECOMP_REGS_OUT();
   2327 }
   2328 
   2329 void sub_360EE080(void) {
   2330     int _fpu_cmp = 0;
   2331     uint32_t _cf = 0;
   2332     int _df = 1;
   2333     uint32_t _flag_k = FK_NONE;
   2334     uint32_t _flag_a = 0, _flag_b = 0;
   2335     uint32_t _itail_tgt = 0;
   2336     RECOMP_REGS_LOCALS
   2337     RECOMP_ENTER(0x360EE080u);
   2338 
   2339 L_360EE080:
   2340     PUSH32(esp, ebp); /* 0x360EE080: push ebp */
   2341     ebp = esp; /* 0x360EE081: mov ebp, esp */
   2342     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2343     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2344     esp = esp - 8; /* 0x360EE083: sub esp, 8 */
   2345     _flag_k = FK_CMP;
   2346     eax = MEM32(0x3616FF74); /* 0x360EE086: mov eax, dword ptr [0x3616ff74] */
   2347     eax = MEM32(eax); /* 0x360EE08B: mov eax, dword ptr [eax] */
   2348     PUSH32(esp, esi); /* 0x360EE08D: push esi */
   2349     PUSH32(esp, edi); /* 0x360EE08E: push edi */
   2350     edi = ecx; /* 0x360EE08F: mov edi, ecx */
   2351     ecx = MEM32(edi + 0x8); /* 0x360EE091: mov ecx, dword ptr [edi + 8] */
   2352     MEM32(ebp + (-0x8)) = 0x000F4311u; /* 0x360EE094: mov dword ptr [ebp - 8], 0xf4311 */
   2353     MEM32(ebp + (-0x4)) = ecx; /* 0x360EE09B: mov dword ptr [ebp - 4], ecx */
   2354     ecx = MEM32(eax + 0x60); /* 0x360EE09E: mov ecx, dword ptr [eax + 0x60] */
   2355     /* test ecx, ecx */ /* 0x360EE0A1: test ecx, ecx */
   2356     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2357     _cf = 0;
   2358     _flag_k = FK_TEST;
   2359     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE0CE; /* 0x360EE0A3: je 0x360ee0ce */
   2360 L_360EE0A5:
   2361     edx = ebp + (-0x8); /* 0x360EE0A5: lea edx, [ebp - 8] */
   2362     PUSH32(esp, edx); /* 0x360EE0A8: push edx */
   2363     RECOMP_ICALL(MEM32(0x3616FB18)); /* 0x360EE0A9: call dword ptr [0x3616fb18] */
   2364     RECOMP_FLAGS_IN();
   2365     esi = eax; /* 0x360EE0AF: mov esi, eax */
   2366     /* test esi, esi */ /* 0x360EE0B1: test esi, esi */
   2367     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2368     _cf = 0;
   2369     _flag_k = FK_TEST;
   2370     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE0CE; /* 0x360EE0B3: je 0x360ee0ce */
   2371 L_360EE0B5:
   2372     PUSH32(esp, esi); /* 0x360EE0B5: push esi */
   2373     ecx = edi; /* 0x360EE0B6: mov ecx, edi */
   2374     RECOMP_ICALL(0x360EE0E0u); /* 0x360EE0B8: call 0x360ee0e0 */ /* not lifted */
   2375     RECOMP_FLAGS_IN();
   2376     ecx = esi; /* 0x360EE0BD: mov ecx, esi */
   2377     RECOMP_ICALL(MEM32(0x3616FAB4)); /* 0x360EE0BF: call dword ptr [0x3616fab4] */
   2378     RECOMP_FLAGS_IN();
   2379     PUSH32(esp, esi); /* 0x360EE0C5: push esi */
   2380     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE0C6: call 0x3615fcc4 */ /* not lifted */
   2381     RECOMP_FLAGS_IN();
   2382     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2383     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2384     esp = esp + 4; /* 0x360EE0CB: add esp, 4 */
   2385     _flag_k = FK_ADD;
   2386 L_360EE0CE:
   2387     edi = POP32_VAL(esp); /* 0x360EE0CE: pop edi */
   2388     esi = POP32_VAL(esp); /* 0x360EE0CF: pop esi */
   2389     esp = ebp; /* 0x360EE0D0: mov esp, ebp */
   2390     ebp = POP32_VAL(esp); /* 0x360EE0D2: pop ebp */
   2391     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE0D3: ret  */
   2392     RECOMP_REGS_OUT();
   2393 }
   2394 
   2395 void sub_360EE0E0(void) {
   2396     int _fpu_cmp = 0;
   2397     uint32_t _cf = 0;
   2398     int _df = 1;
   2399     uint32_t _flag_k = FK_NONE;
   2400     uint32_t _flag_a = 0, _flag_b = 0;
   2401     uint32_t _itail_tgt = 0;
   2402     RECOMP_REGS_LOCALS
   2403     RECOMP_ENTER(0x360EE0E0u);
   2404 
   2405 L_360EE0E0:
   2406     PUSH32(esp, ebp); /* 0x360EE0E0: push ebp */
   2407     ebp = esp; /* 0x360EE0E1: mov ebp, esp */
   2408     PUSH32(esp, ebx); /* 0x360EE0E3: push ebx */
   2409     ebx = MEM32(0x3616FA8C); /* 0x360EE0E4: mov ebx, dword ptr [0x3616fa8c] */
   2410     PUSH32(esp, esi); /* 0x360EE0EA: push esi */
   2411     PUSH32(esp, edi); /* 0x360EE0EB: push edi */
   2412     edi = MEM32(ebp + 0x8); /* 0x360EE0EC: mov edi, dword ptr [ebp + 8] */
   2413     eax = ebp + 0x8; /* 0x360EE0EF: lea eax, [ebp + 8] */
   2414     esi = ecx; /* 0x360EE0F2: mov esi, ecx */
   2415     PUSH32(esp, eax); /* 0x360EE0F4: push eax */
   2416     ecx = edi; /* 0x360EE0F5: mov ecx, edi */
   2417     RECOMP_ICALL(ebx); /* 0x360EE0F7: call ebx */
   2418     RECOMP_FLAGS_IN();
   2419     ecx = MEM32(ebp + 0x8); /* 0x360EE0F9: mov ecx, dword ptr [ebp + 8] */
   2420     PUSH32(esp, ecx); /* 0x360EE0FC: push ecx */
   2421     PUSH32(esp, 1); /* 0x360EE0FD: push 1 */
   2422     ecx = esi; /* 0x360EE0FF: mov ecx, esi */
   2423     RECOMP_ICALL(0x360EDD30u); /* 0x360EE101: call 0x360edd30 */ /* not lifted */
   2424     RECOMP_FLAGS_IN();
   2425     edx = ebp + 0x8; /* 0x360EE106: lea edx, [ebp + 8] */
   2426     PUSH32(esp, edx); /* 0x360EE109: push edx */
   2427     ecx = edi; /* 0x360EE10A: mov ecx, edi */
   2428     RECOMP_ICALL(ebx); /* 0x360EE10C: call ebx */
   2429     RECOMP_FLAGS_IN();
   2430     eax = MEM32(ebp + 0x8); /* 0x360EE10E: mov eax, dword ptr [ebp + 8] */
   2431     PUSH32(esp, eax); /* 0x360EE111: push eax */
   2432     PUSH32(esp, 2); /* 0x360EE112: push 2 */
   2433     ecx = esi; /* 0x360EE114: mov ecx, esi */
   2434     RECOMP_ICALL(0x360EDD30u); /* 0x360EE116: call 0x360edd30 */ /* not lifted */
   2435     RECOMP_FLAGS_IN();
   2436     ecx = ebp + 0x8; /* 0x360EE11B: lea ecx, [ebp + 8] */
   2437     PUSH32(esp, ecx); /* 0x360EE11E: push ecx */
   2438     ecx = edi; /* 0x360EE11F: mov ecx, edi */
   2439     RECOMP_ICALL(ebx); /* 0x360EE121: call ebx */
   2440     RECOMP_FLAGS_IN();
   2441     edx = MEM32(ebp + 0x8); /* 0x360EE123: mov edx, dword ptr [ebp + 8] */
   2442     PUSH32(esp, edx); /* 0x360EE126: push edx */
   2443     PUSH32(esp, 3); /* 0x360EE127: push 3 */
   2444     ecx = esi; /* 0x360EE129: mov ecx, esi */
   2445     RECOMP_ICALL(0x360EDD30u); /* 0x360EE12B: call 0x360edd30 */ /* not lifted */
   2446     RECOMP_FLAGS_IN();
   2447     eax = ebp + 0x8; /* 0x360EE130: lea eax, [ebp + 8] */
   2448     PUSH32(esp, eax); /* 0x360EE133: push eax */
   2449     ecx = edi; /* 0x360EE134: mov ecx, edi */
   2450     RECOMP_ICALL(ebx); /* 0x360EE136: call ebx */
   2451     RECOMP_FLAGS_IN();
   2452     ecx = MEM32(ebp + 0x8); /* 0x360EE138: mov ecx, dword ptr [ebp + 8] */
   2453     PUSH32(esp, ecx); /* 0x360EE13B: push ecx */
   2454     PUSH32(esp, 4); /* 0x360EE13C: push 4 */
   2455     ecx = esi; /* 0x360EE13E: mov ecx, esi */
   2456     RECOMP_ICALL(0x360EDD30u); /* 0x360EE140: call 0x360edd30 */ /* not lifted */
   2457     RECOMP_FLAGS_IN();
   2458     edx = ebp + 0x8; /* 0x360EE145: lea edx, [ebp + 8] */
   2459     PUSH32(esp, edx); /* 0x360EE148: push edx */
   2460     ecx = edi; /* 0x360EE149: mov ecx, edi */
   2461     RECOMP_ICALL(ebx); /* 0x360EE14B: call ebx */
   2462     RECOMP_FLAGS_IN();
   2463     eax = MEM32(ebp + 0x8); /* 0x360EE14D: mov eax, dword ptr [ebp + 8] */
   2464     PUSH32(esp, eax); /* 0x360EE150: push eax */
   2465     PUSH32(esp, 5); /* 0x360EE151: push 5 */
   2466     ecx = esi; /* 0x360EE153: mov ecx, esi */
   2467     RECOMP_ICALL(0x360EDD30u); /* 0x360EE155: call 0x360edd30 */ /* not lifted */
   2468     RECOMP_FLAGS_IN();
   2469     ecx = ebp + 0x8; /* 0x360EE15A: lea ecx, [ebp + 8] */
   2470     PUSH32(esp, ecx); /* 0x360EE15D: push ecx */
   2471     ecx = edi; /* 0x360EE15E: mov ecx, edi */
   2472     RECOMP_ICALL(ebx); /* 0x360EE160: call ebx */
   2473     RECOMP_FLAGS_IN();
   2474     edx = MEM32(ebp + 0x8); /* 0x360EE162: mov edx, dword ptr [ebp + 8] */
   2475     PUSH32(esp, edx); /* 0x360EE165: push edx */
   2476     PUSH32(esp, 6); /* 0x360EE166: push 6 */
   2477     ecx = esi; /* 0x360EE168: mov ecx, esi */
   2478     RECOMP_ICALL(0x360EDD30u); /* 0x360EE16A: call 0x360edd30 */ /* not lifted */
   2479     RECOMP_FLAGS_IN();
   2480     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x1Cu);
   2481     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2482     esi = esi + 0x1Cu; /* 0x360EE16F: add esi, 0x1c */
   2483     _flag_k = FK_ADD;
   2484     PUSH32(esp, esi); /* 0x360EE172: push esi */
   2485     ecx = edi; /* 0x360EE173: mov ecx, edi */
   2486     RECOMP_ICALL(ebx); /* 0x360EE175: call ebx */
   2487     RECOMP_FLAGS_IN();
   2488     edi = POP32_VAL(esp); /* 0x360EE177: pop edi */
   2489     esi = POP32_VAL(esp); /* 0x360EE178: pop esi */
   2490     ebx = POP32_VAL(esp); /* 0x360EE179: pop ebx */
   2491     ebp = POP32_VAL(esp); /* 0x360EE17A: pop ebp */
   2492     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EE17B: ret 4 */
   2493     RECOMP_REGS_OUT();
   2494 }
   2495 
   2496 void sub_360EE180(void) {
   2497     int _fpu_cmp = 0;
   2498     uint32_t _cf = 0;
   2499     int _df = 1;
   2500     uint32_t _flag_k = FK_NONE;
   2501     uint32_t _flag_a = 0, _flag_b = 0;
   2502     uint32_t _itail_tgt = 0;
   2503     RECOMP_REGS_LOCALS
   2504     RECOMP_ENTER(0x360EE180u);
   2505 
   2506 L_360EE180:
   2507     goto L_360EE190; /* 0x360EE180: jmp 0x360ee190 */
   2508 L_360EE190:
   2509     MEM32(0x363072BC) = 0x361B2FF4u; /* 0x360EE190: mov dword ptr [0x363072bc], 0x361b2ff4 */
   2510     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE19A: ret  */
   2511     RECOMP_REGS_OUT();
   2512 }
   2513 
   2514 void sub_360EE190(void) {
   2515     int _fpu_cmp = 0;
   2516     uint32_t _cf = 0;
   2517     int _df = 1;
   2518     uint32_t _flag_k = FK_NONE;
   2519     uint32_t _flag_a = 0, _flag_b = 0;
   2520     uint32_t _itail_tgt = 0;
   2521     RECOMP_REGS_LOCALS
   2522     RECOMP_ENTER(0x360EE190u);
   2523 
   2524 L_360EE190:
   2525     MEM32(0x363072BC) = 0x361B2FF4u; /* 0x360EE190: mov dword ptr [0x363072bc], 0x361b2ff4 */
   2526     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE19A: ret  */
   2527     RECOMP_REGS_OUT();
   2528 }
   2529 
   2530 void sub_360EE1A0(void) {
   2531     int _fpu_cmp = 0;
   2532     uint32_t _cf = 0;
   2533     int _df = 1;
   2534     uint32_t _flag_k = FK_NONE;
   2535     uint32_t _flag_a = 0, _flag_b = 0;
   2536     uint32_t _itail_tgt = 0;
   2537     RECOMP_REGS_LOCALS
   2538     RECOMP_ENTER(0x360EE1A0u);
   2539 
   2540 L_360EE1A0:
   2541     goto L_360EE1B0; /* 0x360EE1A0: jmp 0x360ee1b0 */
   2542 L_360EE1B0:
   2543     MEM32(0x363072B8) = 0x361B3028u; /* 0x360EE1B0: mov dword ptr [0x363072b8], 0x361b3028 */
   2544     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE1BA: ret  */
   2545     RECOMP_REGS_OUT();
   2546 }
   2547 
   2548 void sub_360EE1B0(void) {
   2549     int _fpu_cmp = 0;
   2550     uint32_t _cf = 0;
   2551     int _df = 1;
   2552     uint32_t _flag_k = FK_NONE;
   2553     uint32_t _flag_a = 0, _flag_b = 0;
   2554     uint32_t _itail_tgt = 0;
   2555     RECOMP_REGS_LOCALS
   2556     RECOMP_ENTER(0x360EE1B0u);
   2557 
   2558 L_360EE1B0:
   2559     MEM32(0x363072B8) = 0x361B3028u; /* 0x360EE1B0: mov dword ptr [0x363072b8], 0x361b3028 */
   2560     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE1BA: ret  */
   2561     RECOMP_REGS_OUT();
   2562 }
   2563 
   2564 void sub_360EE1C0(void) {
   2565     int _fpu_cmp = 0;
   2566     uint32_t _cf = 0;
   2567     int _df = 1;
   2568     uint32_t _flag_k = FK_NONE;
   2569     uint32_t _flag_a = 0, _flag_b = 0;
   2570     uint32_t _itail_tgt = 0;
   2571     RECOMP_REGS_LOCALS
   2572     RECOMP_ENTER(0x360EE1C0u);
   2573 
   2574 L_360EE1C0:
   2575     goto L_360EE1D0; /* 0x360EE1C0: jmp 0x360ee1d0 */
   2576 L_360EE1D0:
   2577     MEM32(0x363072B4) = 0x361B3064u; /* 0x360EE1D0: mov dword ptr [0x363072b4], 0x361b3064 */
   2578     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE1DA: ret  */
   2579     RECOMP_REGS_OUT();
   2580 }
   2581 
   2582 void sub_360EE1D0(void) {
   2583     int _fpu_cmp = 0;
   2584     uint32_t _cf = 0;
   2585     int _df = 1;
   2586     uint32_t _flag_k = FK_NONE;
   2587     uint32_t _flag_a = 0, _flag_b = 0;
   2588     uint32_t _itail_tgt = 0;
   2589     RECOMP_REGS_LOCALS
   2590     RECOMP_ENTER(0x360EE1D0u);
   2591 
   2592 L_360EE1D0:
   2593     MEM32(0x363072B4) = 0x361B3064u; /* 0x360EE1D0: mov dword ptr [0x363072b4], 0x361b3064 */
   2594     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE1DA: ret  */
   2595     RECOMP_REGS_OUT();
   2596 }
   2597 
   2598 void sub_360EE1E0(void) {
   2599     int _fpu_cmp = 0;
   2600     uint32_t _cf = 0;
   2601     int _df = 1;
   2602     uint32_t _flag_k = FK_NONE;
   2603     uint32_t _flag_a = 0, _flag_b = 0;
   2604     uint32_t _itail_tgt = 0;
   2605     RECOMP_REGS_LOCALS
   2606     RECOMP_ENTER(0x360EE1E0u);
   2607 
   2608 L_360EE1E0:
   2609     goto L_360EE1F0; /* 0x360EE1E0: jmp 0x360ee1f0 */
   2610 L_360EE1F0:
   2611     MEM32(0x363072B0) = 0x361B3098u; /* 0x360EE1F0: mov dword ptr [0x363072b0], 0x361b3098 */
   2612     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE1FA: ret  */
   2613     RECOMP_REGS_OUT();
   2614 }
   2615 
   2616 void sub_360EE1F0(void) {
   2617     int _fpu_cmp = 0;
   2618     uint32_t _cf = 0;
   2619     int _df = 1;
   2620     uint32_t _flag_k = FK_NONE;
   2621     uint32_t _flag_a = 0, _flag_b = 0;
   2622     uint32_t _itail_tgt = 0;
   2623     RECOMP_REGS_LOCALS
   2624     RECOMP_ENTER(0x360EE1F0u);
   2625 
   2626 L_360EE1F0:
   2627     MEM32(0x363072B0) = 0x361B3098u; /* 0x360EE1F0: mov dword ptr [0x363072b0], 0x361b3098 */
   2628     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE1FA: ret  */
   2629     RECOMP_REGS_OUT();
   2630 }
   2631 
   2632 void sub_360EE200(void) {
   2633     int _fpu_cmp = 0;
   2634     uint32_t _cf = 0;
   2635     int _df = 1;
   2636     uint32_t _flag_k = FK_NONE;
   2637     uint32_t _flag_a = 0, _flag_b = 0;
   2638     uint32_t _itail_tgt = 0;
   2639     RECOMP_REGS_LOCALS
   2640     RECOMP_ENTER(0x360EE200u);
   2641 
   2642 L_360EE200:
   2643     goto L_360EE210; /* 0x360EE200: jmp 0x360ee210 */
   2644 L_360EE210:
   2645     MEM32(0x363072AC) = 0x361B30CCu; /* 0x360EE210: mov dword ptr [0x363072ac], 0x361b30cc */
   2646     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE21A: ret  */
   2647     RECOMP_REGS_OUT();
   2648 }
   2649 
   2650 void sub_360EE210(void) {
   2651     int _fpu_cmp = 0;
   2652     uint32_t _cf = 0;
   2653     int _df = 1;
   2654     uint32_t _flag_k = FK_NONE;
   2655     uint32_t _flag_a = 0, _flag_b = 0;
   2656     uint32_t _itail_tgt = 0;
   2657     RECOMP_REGS_LOCALS
   2658     RECOMP_ENTER(0x360EE210u);
   2659 
   2660 L_360EE210:
   2661     MEM32(0x363072AC) = 0x361B30CCu; /* 0x360EE210: mov dword ptr [0x363072ac], 0x361b30cc */
   2662     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE21A: ret  */
   2663     RECOMP_REGS_OUT();
   2664 }
   2665 
   2666 void sub_360EE220(void) {
   2667     int _fpu_cmp = 0;
   2668     uint32_t _cf = 0;
   2669     int _df = 1;
   2670     uint32_t _flag_k = FK_NONE;
   2671     uint32_t _flag_a = 0, _flag_b = 0;
   2672     uint32_t _itail_tgt = 0;
   2673     RECOMP_REGS_LOCALS
   2674     RECOMP_ENTER(0x360EE220u);
   2675 
   2676 L_360EE220:
   2677     goto L_360EE230; /* 0x360EE220: jmp 0x360ee230 */
   2678 L_360EE230:
   2679     MEM32(0x363072A8) = 0x361B3100u; /* 0x360EE230: mov dword ptr [0x363072a8], 0x361b3100 */
   2680     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE23A: ret  */
   2681     RECOMP_REGS_OUT();
   2682 }
   2683 
   2684 void sub_360EE230(void) {
   2685     int _fpu_cmp = 0;
   2686     uint32_t _cf = 0;
   2687     int _df = 1;
   2688     uint32_t _flag_k = FK_NONE;
   2689     uint32_t _flag_a = 0, _flag_b = 0;
   2690     uint32_t _itail_tgt = 0;
   2691     RECOMP_REGS_LOCALS
   2692     RECOMP_ENTER(0x360EE230u);
   2693 
   2694 L_360EE230:
   2695     MEM32(0x363072A8) = 0x361B3100u; /* 0x360EE230: mov dword ptr [0x363072a8], 0x361b3100 */
   2696     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE23A: ret  */
   2697     RECOMP_REGS_OUT();
   2698 }
   2699 
   2700 void sub_360EE240(void) {
   2701     int _fpu_cmp = 0;
   2702     uint32_t _cf = 0;
   2703     int _df = 1;
   2704     uint32_t _flag_k = FK_NONE;
   2705     uint32_t _flag_a = 0, _flag_b = 0;
   2706     uint32_t _itail_tgt = 0;
   2707     RECOMP_REGS_LOCALS
   2708     RECOMP_ENTER(0x360EE240u);
   2709 
   2710 L_360EE240:
   2711     goto L_360EE250; /* 0x360EE240: jmp 0x360ee250 */
   2712 L_360EE250:
   2713     MEM32(0x363072A4) = 0x361B3138u; /* 0x360EE250: mov dword ptr [0x363072a4], 0x361b3138 */
   2714     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE25A: ret  */
   2715     RECOMP_REGS_OUT();
   2716 }
   2717 
   2718 void sub_360EE250(void) {
   2719     int _fpu_cmp = 0;
   2720     uint32_t _cf = 0;
   2721     int _df = 1;
   2722     uint32_t _flag_k = FK_NONE;
   2723     uint32_t _flag_a = 0, _flag_b = 0;
   2724     uint32_t _itail_tgt = 0;
   2725     RECOMP_REGS_LOCALS
   2726     RECOMP_ENTER(0x360EE250u);
   2727 
   2728 L_360EE250:
   2729     MEM32(0x363072A4) = 0x361B3138u; /* 0x360EE250: mov dword ptr [0x363072a4], 0x361b3138 */
   2730     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE25A: ret  */
   2731     RECOMP_REGS_OUT();
   2732 }
   2733 
   2734 void sub_360EE260(void) {
   2735     int _fpu_cmp = 0;
   2736     uint32_t _cf = 0;
   2737     int _df = 1;
   2738     uint32_t _flag_k = FK_NONE;
   2739     uint32_t _flag_a = 0, _flag_b = 0;
   2740     uint32_t _itail_tgt = 0;
   2741     RECOMP_REGS_LOCALS
   2742     RECOMP_ENTER(0x360EE260u);
   2743 
   2744 L_360EE260:
   2745     goto L_360EE270; /* 0x360EE260: jmp 0x360ee270 */
   2746 L_360EE270:
   2747     MEM32(0x363072A0) = 0x361B57A8u; /* 0x360EE270: mov dword ptr [0x363072a0], 0x361b57a8 */
   2748     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE27A: ret  */
   2749     RECOMP_REGS_OUT();
   2750 }
   2751 
   2752 void sub_360EE270(void) {
   2753     int _fpu_cmp = 0;
   2754     uint32_t _cf = 0;
   2755     int _df = 1;
   2756     uint32_t _flag_k = FK_NONE;
   2757     uint32_t _flag_a = 0, _flag_b = 0;
   2758     uint32_t _itail_tgt = 0;
   2759     RECOMP_REGS_LOCALS
   2760     RECOMP_ENTER(0x360EE270u);
   2761 
   2762 L_360EE270:
   2763     MEM32(0x363072A0) = 0x361B57A8u; /* 0x360EE270: mov dword ptr [0x363072a0], 0x361b57a8 */
   2764     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE27A: ret  */
   2765     RECOMP_REGS_OUT();
   2766 }
   2767 
   2768 void sub_360EE280(void) {
   2769     int _fpu_cmp = 0;
   2770     uint32_t _cf = 0;
   2771     int _df = 1;
   2772     uint32_t _flag_k = FK_NONE;
   2773     uint32_t _flag_a = 0, _flag_b = 0;
   2774     uint32_t _itail_tgt = 0;
   2775     RECOMP_REGS_LOCALS
   2776     RECOMP_ENTER(0x360EE280u);
   2777 
   2778 L_360EE280:
   2779     goto L_360EE290; /* 0x360EE280: jmp 0x360ee290 */
   2780 L_360EE290:
   2781     MEM32(0x3630729C) = 0x361B57E0u; /* 0x360EE290: mov dword ptr [0x3630729c], 0x361b57e0 */
   2782     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE29A: ret  */
   2783     RECOMP_REGS_OUT();
   2784 }
   2785 
   2786 void sub_360EE290(void) {
   2787     int _fpu_cmp = 0;
   2788     uint32_t _cf = 0;
   2789     int _df = 1;
   2790     uint32_t _flag_k = FK_NONE;
   2791     uint32_t _flag_a = 0, _flag_b = 0;
   2792     uint32_t _itail_tgt = 0;
   2793     RECOMP_REGS_LOCALS
   2794     RECOMP_ENTER(0x360EE290u);
   2795 
   2796 L_360EE290:
   2797     MEM32(0x3630729C) = 0x361B57E0u; /* 0x360EE290: mov dword ptr [0x3630729c], 0x361b57e0 */
   2798     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE29A: ret  */
   2799     RECOMP_REGS_OUT();
   2800 }
   2801 
   2802 void sub_360EE2A0(void) {
   2803     int _fpu_cmp = 0;
   2804     uint32_t _cf = 0;
   2805     int _df = 1;
   2806     uint32_t _flag_k = FK_NONE;
   2807     uint32_t _flag_a = 0, _flag_b = 0;
   2808     uint32_t _itail_tgt = 0;
   2809     RECOMP_REGS_LOCALS
   2810     RECOMP_ENTER(0x360EE2A0u);
   2811 
   2812 L_360EE2A0:
   2813     goto L_360EE2B0; /* 0x360EE2A0: jmp 0x360ee2b0 */
   2814 L_360EE2B0:
   2815     MEM32(0x36307298) = 0x361B5814u; /* 0x360EE2B0: mov dword ptr [0x36307298], 0x361b5814 */
   2816     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE2BA: ret  */
   2817     RECOMP_REGS_OUT();
   2818 }
   2819 
   2820 void sub_360EE2B0(void) {
   2821     int _fpu_cmp = 0;
   2822     uint32_t _cf = 0;
   2823     int _df = 1;
   2824     uint32_t _flag_k = FK_NONE;
   2825     uint32_t _flag_a = 0, _flag_b = 0;
   2826     uint32_t _itail_tgt = 0;
   2827     RECOMP_REGS_LOCALS
   2828     RECOMP_ENTER(0x360EE2B0u);
   2829 
   2830 L_360EE2B0:
   2831     MEM32(0x36307298) = 0x361B5814u; /* 0x360EE2B0: mov dword ptr [0x36307298], 0x361b5814 */
   2832     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE2BA: ret  */
   2833     RECOMP_REGS_OUT();
   2834 }
   2835 
   2836 void sub_360EE2C0(void) {
   2837     int _fpu_cmp = 0;
   2838     uint32_t _cf = 0;
   2839     int _df = 1;
   2840     uint32_t _flag_k = FK_NONE;
   2841     uint32_t _flag_a = 0, _flag_b = 0;
   2842     uint32_t _itail_tgt = 0;
   2843     RECOMP_REGS_LOCALS
   2844     RECOMP_ENTER(0x360EE2C0u);
   2845 
   2846 L_360EE2C0:
   2847     goto L_360EE2D0; /* 0x360EE2C0: jmp 0x360ee2d0 */
   2848 L_360EE2D0:
   2849     MEM32(0x36307294) = 0x361B5850u; /* 0x360EE2D0: mov dword ptr [0x36307294], 0x361b5850 */
   2850     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE2DA: ret  */
   2851     RECOMP_REGS_OUT();
   2852 }
   2853 
   2854 void sub_360EE2D0(void) {
   2855     int _fpu_cmp = 0;
   2856     uint32_t _cf = 0;
   2857     int _df = 1;
   2858     uint32_t _flag_k = FK_NONE;
   2859     uint32_t _flag_a = 0, _flag_b = 0;
   2860     uint32_t _itail_tgt = 0;
   2861     RECOMP_REGS_LOCALS
   2862     RECOMP_ENTER(0x360EE2D0u);
   2863 
   2864 L_360EE2D0:
   2865     MEM32(0x36307294) = 0x361B5850u; /* 0x360EE2D0: mov dword ptr [0x36307294], 0x361b5850 */
   2866     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE2DA: ret  */
   2867     RECOMP_REGS_OUT();
   2868 }
   2869 
   2870 void sub_360EE2E0(void) {
   2871     int _fpu_cmp = 0;
   2872     uint32_t _cf = 0;
   2873     int _df = 1;
   2874     uint32_t _flag_k = FK_NONE;
   2875     uint32_t _flag_a = 0, _flag_b = 0;
   2876     uint32_t _itail_tgt = 0;
   2877     RECOMP_REGS_LOCALS
   2878     RECOMP_ENTER(0x360EE2E0u);
   2879 
   2880 L_360EE2E0:
   2881     goto L_360EE2F0; /* 0x360EE2E0: jmp 0x360ee2f0 */
   2882 L_360EE2F0:
   2883     MEM32(0x36307290) = 0x361B5888u; /* 0x360EE2F0: mov dword ptr [0x36307290], 0x361b5888 */
   2884     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE2FA: ret  */
   2885     RECOMP_REGS_OUT();
   2886 }
   2887 
   2888 void sub_360EE2F0(void) {
   2889     int _fpu_cmp = 0;
   2890     uint32_t _cf = 0;
   2891     int _df = 1;
   2892     uint32_t _flag_k = FK_NONE;
   2893     uint32_t _flag_a = 0, _flag_b = 0;
   2894     uint32_t _itail_tgt = 0;
   2895     RECOMP_REGS_LOCALS
   2896     RECOMP_ENTER(0x360EE2F0u);
   2897 
   2898 L_360EE2F0:
   2899     MEM32(0x36307290) = 0x361B5888u; /* 0x360EE2F0: mov dword ptr [0x36307290], 0x361b5888 */
   2900     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE2FA: ret  */
   2901     RECOMP_REGS_OUT();
   2902 }
   2903 
   2904 void sub_360EE300(void) {
   2905     int _fpu_cmp = 0;
   2906     uint32_t _cf = 0;
   2907     int _df = 1;
   2908     uint32_t _flag_k = FK_NONE;
   2909     uint32_t _flag_a = 0, _flag_b = 0;
   2910     uint32_t _itail_tgt = 0;
   2911     RECOMP_REGS_LOCALS
   2912     RECOMP_ENTER(0x360EE300u);
   2913 
   2914 L_360EE300:
   2915     goto L_360EE310; /* 0x360EE300: jmp 0x360ee310 */
   2916 L_360EE310:
   2917     MEM32(0x3630728C) = 0x361B5908u; /* 0x360EE310: mov dword ptr [0x3630728c], 0x361b5908 */
   2918     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE31A: ret  */
   2919     RECOMP_REGS_OUT();
   2920 }
   2921 
   2922 void sub_360EE310(void) {
   2923     int _fpu_cmp = 0;
   2924     uint32_t _cf = 0;
   2925     int _df = 1;
   2926     uint32_t _flag_k = FK_NONE;
   2927     uint32_t _flag_a = 0, _flag_b = 0;
   2928     uint32_t _itail_tgt = 0;
   2929     RECOMP_REGS_LOCALS
   2930     RECOMP_ENTER(0x360EE310u);
   2931 
   2932 L_360EE310:
   2933     MEM32(0x3630728C) = 0x361B5908u; /* 0x360EE310: mov dword ptr [0x3630728c], 0x361b5908 */
   2934     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE31A: ret  */
   2935     RECOMP_REGS_OUT();
   2936 }
   2937 
   2938 void sub_360EE320(void) {
   2939     int _fpu_cmp = 0;
   2940     uint32_t _cf = 0;
   2941     int _df = 1;
   2942     uint32_t _flag_k = FK_NONE;
   2943     uint32_t _flag_a = 0, _flag_b = 0;
   2944     uint32_t _itail_tgt = 0;
   2945     RECOMP_REGS_LOCALS
   2946     RECOMP_ENTER(0x360EE320u);
   2947 
   2948 L_360EE320:
   2949     goto L_360EE330; /* 0x360EE320: jmp 0x360ee330 */
   2950 L_360EE330:
   2951     MEM32(0x36307288) = 0x361B5944u; /* 0x360EE330: mov dword ptr [0x36307288], 0x361b5944 */
   2952     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE33A: ret  */
   2953     RECOMP_REGS_OUT();
   2954 }
   2955 
   2956 void sub_360EE330(void) {
   2957     int _fpu_cmp = 0;
   2958     uint32_t _cf = 0;
   2959     int _df = 1;
   2960     uint32_t _flag_k = FK_NONE;
   2961     uint32_t _flag_a = 0, _flag_b = 0;
   2962     uint32_t _itail_tgt = 0;
   2963     RECOMP_REGS_LOCALS
   2964     RECOMP_ENTER(0x360EE330u);
   2965 
   2966 L_360EE330:
   2967     MEM32(0x36307288) = 0x361B5944u; /* 0x360EE330: mov dword ptr [0x36307288], 0x361b5944 */
   2968     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE33A: ret  */
   2969     RECOMP_REGS_OUT();
   2970 }
   2971 
   2972 void sub_360EE340(void) {
   2973     int _fpu_cmp = 0;
   2974     uint32_t _cf = 0;
   2975     int _df = 1;
   2976     uint32_t _flag_k = FK_NONE;
   2977     uint32_t _flag_a = 0, _flag_b = 0;
   2978     uint32_t _itail_tgt = 0;
   2979     RECOMP_REGS_LOCALS
   2980     RECOMP_ENTER(0x360EE340u);
   2981 
   2982 L_360EE340:
   2983     goto L_360EE350; /* 0x360EE340: jmp 0x360ee350 */
   2984 L_360EE350:
   2985     MEM32(0x36307284) = 0x361B5978u; /* 0x360EE350: mov dword ptr [0x36307284], 0x361b5978 */
   2986     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE35A: ret  */
   2987     RECOMP_REGS_OUT();
   2988 }
   2989 
   2990 void sub_360EE350(void) {
   2991     int _fpu_cmp = 0;
   2992     uint32_t _cf = 0;
   2993     int _df = 1;
   2994     uint32_t _flag_k = FK_NONE;
   2995     uint32_t _flag_a = 0, _flag_b = 0;
   2996     uint32_t _itail_tgt = 0;
   2997     RECOMP_REGS_LOCALS
   2998     RECOMP_ENTER(0x360EE350u);
   2999 
   3000 L_360EE350:
   3001     MEM32(0x36307284) = 0x361B5978u; /* 0x360EE350: mov dword ptr [0x36307284], 0x361b5978 */
   3002     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE35A: ret  */
   3003     RECOMP_REGS_OUT();
   3004 }
   3005 
   3006 void sub_360EE360(void) {
   3007     int _fpu_cmp = 0;
   3008     uint32_t _cf = 0;
   3009     int _df = 1;
   3010     uint32_t _flag_k = FK_NONE;
   3011     uint32_t _flag_a = 0, _flag_b = 0;
   3012     uint32_t _itail_tgt = 0;
   3013     RECOMP_REGS_LOCALS
   3014     RECOMP_ENTER(0x360EE360u);
   3015 
   3016 L_360EE360:
   3017     goto L_360EE370; /* 0x360EE360: jmp 0x360ee370 */
   3018 L_360EE370:
   3019     MEM32(0x36307280) = 0x361B59ACu; /* 0x360EE370: mov dword ptr [0x36307280], 0x361b59ac */
   3020     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE37A: ret  */
   3021     RECOMP_REGS_OUT();
   3022 }
   3023 
   3024 void sub_360EE370(void) {
   3025     int _fpu_cmp = 0;
   3026     uint32_t _cf = 0;
   3027     int _df = 1;
   3028     uint32_t _flag_k = FK_NONE;
   3029     uint32_t _flag_a = 0, _flag_b = 0;
   3030     uint32_t _itail_tgt = 0;
   3031     RECOMP_REGS_LOCALS
   3032     RECOMP_ENTER(0x360EE370u);
   3033 
   3034 L_360EE370:
   3035     MEM32(0x36307280) = 0x361B59ACu; /* 0x360EE370: mov dword ptr [0x36307280], 0x361b59ac */
   3036     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE37A: ret  */
   3037     RECOMP_REGS_OUT();
   3038 }
   3039 
   3040 void sub_360EE380(void) {
   3041     int _fpu_cmp = 0;
   3042     uint32_t _cf = 0;
   3043     int _df = 1;
   3044     uint32_t _flag_k = FK_NONE;
   3045     uint32_t _flag_a = 0, _flag_b = 0;
   3046     uint32_t _itail_tgt = 0;
   3047     RECOMP_REGS_LOCALS
   3048     RECOMP_ENTER(0x360EE380u);
   3049 
   3050 L_360EE380:
   3051     RECOMP_ICALL(0x360EE390u); /* 0x360EE380: call 0x360ee390 */ /* not lifted */
   3052     RECOMP_FLAGS_IN();
   3053     goto L_360EE4B0; /* 0x360EE385: jmp 0x360ee4b0 */
   3054 L_360EE4B0:
   3055     PUSH32(esp, 0x360EE4C0u); /* 0x360EE4B0: push 0x360ee4c0 */
   3056     RECOMP_ICALL(0x3615FEB2u); /* 0x360EE4B5: call 0x3615feb2 */ /* not lifted */
   3057     RECOMP_FLAGS_IN();
   3058     ecx = POP32_VAL(esp); /* 0x360EE4BA: pop ecx */
   3059     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE4BB: ret  */
   3060     RECOMP_REGS_OUT();
   3061 }
   3062 
   3063 void sub_360EE390(void) {
   3064     int _fpu_cmp = 0;
   3065     uint32_t _cf = 0;
   3066     int _df = 1;
   3067     uint32_t _flag_k = FK_NONE;
   3068     uint32_t _flag_a = 0, _flag_b = 0;
   3069     uint32_t _itail_tgt = 0;
   3070     RECOMP_REGS_LOCALS
   3071     RECOMP_ENTER(0x360EE390u);
   3072 
   3073 L_360EE390:
   3074     PUSH32(esp, ebp); /* 0x360EE390: push ebp */
   3075     ebp = esp; /* 0x360EE391: mov ebp, esp */
   3076     PUSH32(esp, 0xFFFFFFFFu); /* 0x360EE393: push -1 */
   3077     PUSH32(esp, 0x36168BB9u); /* 0x360EE395: push 0x36168bb9 */
   3078     eax = MEM32(FS_BASE + (0)); /* 0x360EE39A: mov eax, dword ptr fs:[0] */
   3079     PUSH32(esp, eax); /* 0x360EE3A0: push eax */
   3080     MEM32(FS_BASE + (0)) = esp; /* 0x360EE3A1: mov dword ptr fs:[0], esp */
   3081     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   3082     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3083     esp = esp - 0x20u; /* 0x360EE3A8: sub esp, 0x20 */
   3084     _flag_k = FK_CMP;
   3085     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x360EE3AB: mov al, byte ptr [ebp - 0xd] */
   3086     PUSH32(esp, ebx); /* 0x360EE3AE: push ebx */
   3087     PUSH32(esp, esi); /* 0x360EE3AF: push esi */
   3088     PUSH32(esp, edi); /* 0x360EE3B0: push edi */
   3089     PUSH32(esp, 0x18u); /* 0x360EE3B1: push 0x18 */
   3090     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x360EE3B3: mov byte ptr [ebp - 0x2c], al */
   3091     RECOMP_ICALL(0x3615FD6Au); /* 0x360EE3B6: call 0x3615fd6a */ /* not lifted */
   3092     RECOMP_FLAGS_IN();
   3093     esi = eax; /* 0x360EE3BB: mov esi, eax */
   3094     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3095     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3096     esp = esp + 4; /* 0x360EE3BD: add esp, 4 */
   3097     _flag_k = FK_ADD;
   3098     MEM32(ebp + (-0x28)) = esi; /* 0x360EE3C0: mov dword ptr [ebp - 0x28], esi */
   3099     ecx = 6; /* 0x360EE3C3: mov ecx, 6 */
   3100 L_360EE3C8:
   3101     /* test eax, eax */ /* 0x360EE3C8: test eax, eax */
   3102     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3103     _cf = 0;
   3104     _flag_k = FK_TEST;
   3105     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE3D2; /* 0x360EE3CA: je 0x360ee3d2 */
   3106 L_360EE3CC:
   3107     MEM32(eax) = 0; /* 0x360EE3CC: mov dword ptr [eax], 0 */
   3108 L_360EE3D2:
   3109     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3110     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3111     eax = eax + 4; /* 0x360EE3D2: add eax, 4 */
   3112     _flag_k = FK_ADD;
   3113     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   3114     ecx = ecx - 1; /* 0x360EE3D5: dec ecx */
   3115     _flag_k = FK_DEC;
   3116     RECOMP_BACKEDGE();
   3117     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_360EE3C8; /* 0x360EE3D6: jne 0x360ee3c8 */
   3118 L_360EE3D8:
   3119     edi = esi + 0x18; /* 0x360EE3D8: lea edi, [esi + 0x18] */
   3120     MEM32(ebp + (-0x24)) = edi; /* 0x360EE3DB: mov dword ptr [ebp - 0x24], edi */
   3121     MEM32(ebp + (-0x20)) = edi; /* 0x360EE3DE: mov dword ptr [ebp - 0x20], edi */
   3122     SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x360EE3E1: mov cl, byte ptr [ebp - 0xd] */
   3123     PUSH32(esp, 0x60u); /* 0x360EE3E4: push 0x60 */
   3124     MEM32(ebp + (-0x4)) = 0; /* 0x360EE3E6: mov dword ptr [ebp - 4], 0 */
   3125     MEM8(0x36307270) = (uint8_t)(LO8(ecx)); /* 0x360EE3ED: mov byte ptr [0x36307270], cl */
   3126     RECOMP_ICALL(0x3615FD6Au); /* 0x360EE3F3: call 0x3615fd6a */ /* not lifted */
   3127     RECOMP_FLAGS_IN();
   3128     ebx = eax; /* 0x360EE3F8: mov ebx, eax */
   3129     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3130     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3131     esp = esp + 4; /* 0x360EE3FA: add esp, 4 */
   3132     _flag_k = FK_ADD;
   3133     MEM32(0x36307274) = eax; /* 0x360EE3FD: mov dword ptr [0x36307274], eax */
   3134     MEM32(ebp + (-0x18)) = ebx; /* 0x360EE402: mov dword ptr [ebp - 0x18], ebx */
   3135     MEM32(ebp + (-0x14)) = 6; /* 0x360EE405: mov dword ptr [ebp - 0x14], 6 */
   3136 L_360EE40C:
   3137     MEM32(ebp + (-0x1C)) = ebx; /* 0x360EE40C: mov dword ptr [ebp - 0x1c], ebx */
   3138     /* test ebx, ebx */ /* 0x360EE40F: test ebx, ebx */
   3139     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3140     _cf = 0;
   3141     _flag_k = FK_TEST;
   3142     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x360EE411: mov byte ptr [ebp - 4], 1 */
   3143     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE46F; /* 0x360EE415: je 0x360ee46f */
   3144 L_360EE417:
   3145     /* test esi, esi */ /* 0x360EE417: test esi, esi */
   3146     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3147     _cf = 0;
   3148     _flag_k = FK_TEST;
   3149     SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x360EE419: mov dl, byte ptr [ebp - 0xd] */
   3150     MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x360EE41C: mov byte ptr [ebx], dl */
   3151     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EE424; /* 0x360EE41E: jne 0x360ee424 */
   3152 L_360EE420:
   3153     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3154     eax = 0; /* 0x360EE420: xor eax, eax */
   3155     _cf = 0;
   3156     _flag_k = FK_TEST;
   3157     goto L_360EE42B; /* 0x360EE422: jmp 0x360ee42b */
   3158 L_360EE424:
   3159     eax = edi; /* 0x360EE424: mov eax, edi */
   3160     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3161     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3162     eax = eax - esi; /* 0x360EE426: sub eax, esi */
   3163     _flag_k = FK_CMP;
   3164     if (2u) _cf = (((eax) >> 1) & 1u); /* 0x360EE428: sar eax, 2 */
   3165     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3166     eax = (uint32_t)((int32_t)eax >> 2u);
   3167 L_360EE42B:
   3168     /* test eax, eax */ /* 0x360EE42B: test eax, eax */
   3169     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3170     _cf = 0;
   3171     _flag_k = FK_TEST;
   3172     if (TEST_NS(_flag_a, _flag_b)) goto L_360EE431; /* 0x360EE42D: jge 0x360ee431 */
   3173 L_360EE42F:
   3174     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3175     eax = 0; /* 0x360EE42F: xor eax, eax */
   3176     _cf = 0;
   3177     _flag_k = FK_TEST;
   3178 L_360EE431:
   3179     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x360EE431: shl eax, 2 */
   3180     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3181     eax = eax << 2u; /* 0x360EE431: shl eax, 2 */
   3182     PUSH32(esp, eax); /* 0x360EE434: push eax */
   3183     RECOMP_ICALL(0x3615FD6Au); /* 0x360EE435: call 0x3615fd6a */ /* not lifted */
   3184     RECOMP_FLAGS_IN();
   3185     ecx = MEM32(ebp + (-0x24)); /* 0x360EE43A: mov ecx, dword ptr [ebp - 0x24] */
   3186     MEM32(ebx + 0x4) = eax; /* 0x360EE43D: mov dword ptr [ebx + 4], eax */
   3187     edi = eax; /* 0x360EE440: mov edi, eax */
   3188     eax = MEM32(ebp + (-0x28)); /* 0x360EE442: mov eax, dword ptr [ebp - 0x28] */
   3189     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3190     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3191     esp = esp + 4; /* 0x360EE445: add esp, 4 */
   3192     _flag_k = FK_ADD;
   3193     /* cmp eax, ecx */ /* 0x360EE448: cmp eax, ecx */
   3194     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3196     _flag_k = FK_CMP;
   3197     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE463; /* 0x360EE44A: je 0x360ee463 */
   3198 L_360EE44C:
   3199     PUSH32(esp, esi); /* 0x360EE44C: push esi */
   3200     PUSH32(esp, edi); /* 0x360EE44D: push edi */
   3201     RECOMP_ICALL(0x3614F850u); /* 0x360EE44E: call 0x3614f850 */ /* not lifted */
   3202     RECOMP_FLAGS_IN();
   3203     eax = MEM32(ebp + (-0x24)); /* 0x360EE453: mov eax, dword ptr [ebp - 0x24] */
   3204     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4);
   3205     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3206     esi = esi + 4; /* 0x360EE456: add esi, 4 */
   3207     _flag_k = FK_ADD;
   3208     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3209     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3210     esp = esp + 8; /* 0x360EE459: add esp, 8 */
   3211     _flag_k = FK_ADD;
   3212     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   3213     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3214     edi = edi + 4; /* 0x360EE45C: add edi, 4 */
   3215     _flag_k = FK_ADD;
   3216     /* cmp esi, eax */ /* 0x360EE45F: cmp esi, eax */
   3217     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   3218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3219     _flag_k = FK_CMP;
   3220     RECOMP_BACKEDGE();
   3221     if (CMP_NE(_flag_a, _flag_b)) goto L_360EE44C; /* 0x360EE461: jne 0x360ee44c */
   3222 L_360EE463:
   3223     esi = MEM32(ebp + (-0x28)); /* 0x360EE463: mov esi, dword ptr [ebp - 0x28] */
   3224     MEM32(ebx + 0x8) = edi; /* 0x360EE466: mov dword ptr [ebx + 8], edi */
   3225     MEM32(ebx + 0xC) = edi; /* 0x360EE469: mov dword ptr [ebx + 0xc], edi */
   3226     edi = MEM32(ebp + (-0x24)); /* 0x360EE46C: mov edi, dword ptr [ebp - 0x24] */
   3227 L_360EE46F:
   3228     eax = MEM32(ebp + (-0x14)); /* 0x360EE46F: mov eax, dword ptr [ebp - 0x14] */
   3229     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u);
   3230     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3231     ebx = ebx + 0x10u; /* 0x360EE472: add ebx, 0x10 */
   3232     _flag_k = FK_ADD;
   3233     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3234     eax = eax - 1; /* 0x360EE475: dec eax */
   3235     _flag_k = FK_DEC;
   3236     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x360EE476: mov byte ptr [ebp - 4], 0 */
   3237     MEM32(ebp + (-0x18)) = ebx; /* 0x360EE47A: mov dword ptr [ebp - 0x18], ebx */
   3238     MEM32(ebp + (-0x14)) = eax; /* 0x360EE47D: mov dword ptr [ebp - 0x14], eax */
   3239     RECOMP_BACKEDGE();
   3240     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_360EE40C; /* 0x360EE480: jne 0x360ee40c */
   3241 L_360EE482:
   3242     edx = MEM32(0x36307274); /* 0x360EE482: mov edx, dword ptr [0x36307274] */
   3243     eax = edx + 0x60; /* 0x360EE488: lea eax, [edx + 0x60] */
   3244     PUSH32(esp, esi); /* 0x360EE48B: push esi */
   3245     MEM32(0x36307278) = eax; /* 0x360EE48C: mov dword ptr [0x36307278], eax */
   3246     MEM32(0x3630727C) = eax; /* 0x360EE491: mov dword ptr [0x3630727c], eax */
   3247     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE496: call 0x3615fcc4 */ /* not lifted */
   3248     RECOMP_FLAGS_IN();
   3249     ecx = MEM32(ebp + (-0xC)); /* 0x360EE49B: mov ecx, dword ptr [ebp - 0xc] */
   3250     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3251     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3252     esp = esp + 4; /* 0x360EE49E: add esp, 4 */
   3253     _flag_k = FK_ADD;
   3254     edi = POP32_VAL(esp); /* 0x360EE4A1: pop edi */
   3255     esi = POP32_VAL(esp); /* 0x360EE4A2: pop esi */
   3256     ebx = POP32_VAL(esp); /* 0x360EE4A3: pop ebx */
   3257     MEM32(FS_BASE + (0)) = ecx; /* 0x360EE4A4: mov dword ptr fs:[0], ecx */
   3258     esp = ebp; /* 0x360EE4AB: mov esp, ebp */
   3259     ebp = POP32_VAL(esp); /* 0x360EE4AD: pop ebp */
   3260     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE4AE: ret  */
   3261     RECOMP_REGS_OUT();
   3262 }
   3263 
   3264 void sub_360EE4B0(void) {
   3265     int _fpu_cmp = 0;
   3266     uint32_t _cf = 0;
   3267     int _df = 1;
   3268     uint32_t _flag_k = FK_NONE;
   3269     uint32_t _flag_a = 0, _flag_b = 0;
   3270     uint32_t _itail_tgt = 0;
   3271     RECOMP_REGS_LOCALS
   3272     RECOMP_ENTER(0x360EE4B0u);
   3273 
   3274 L_360EE4B0:
   3275     PUSH32(esp, 0x360EE4C0u); /* 0x360EE4B0: push 0x360ee4c0 */
   3276     RECOMP_ICALL(0x3615FEB2u); /* 0x360EE4B5: call 0x3615feb2 */ /* not lifted */
   3277     RECOMP_FLAGS_IN();
   3278     ecx = POP32_VAL(esp); /* 0x360EE4BA: pop ecx */
   3279     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE4BB: ret  */
   3280     RECOMP_REGS_OUT();
   3281 }
   3282 
   3283 void sub_360EE4C0(void) {
   3284     int _fpu_cmp = 0;
   3285     uint32_t _cf = 0;
   3286     int _df = 1;
   3287     uint32_t _flag_k = FK_NONE;
   3288     uint32_t _flag_a = 0, _flag_b = 0;
   3289     uint32_t _itail_tgt = 0;
   3290     RECOMP_REGS_LOCALS
   3291     RECOMP_ENTER(0x360EE4C0u);
   3292 
   3293 L_360EE4C0:
   3294     PUSH32(esp, ebp); /* 0x360EE4C0: push ebp */
   3295     ebp = esp; /* 0x360EE4C1: mov ebp, esp */
   3296     PUSH32(esp, ecx); /* 0x360EE4C3: push ecx */
   3297     SET_LO8(ecx, MEM8(0x36307268)); /* 0x360EE4C4: mov cl, byte ptr [0x36307268] */
   3298     SET_LO8(eax, 1); /* 0x360EE4CA: mov al, 1 */
   3299     /* test LO8(eax), LO8(ecx) */ /* 0x360EE4CC: test al, cl */
   3300     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   3301     _cf = 0;
   3302     _flag_k = FK_NARROW(FK_TEST, 24);
   3303     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EE54D; /* 0x360EE4CE: jne 0x360ee54d */
   3304 L_360EE4D0:
   3305     SET_LO8(edx, LO8(ecx)); /* 0x360EE4D0: mov dl, cl */
   3306     _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24;
   3307     SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x360EE4D2: or dl, al */
   3308     _cf = 0;
   3309     _flag_k = FK_NARROW(FK_TEST, 24);
   3310     eax = MEM32(0x36307278); /* 0x360EE4D4: mov eax, dword ptr [0x36307278] */
   3311     PUSH32(esp, esi); /* 0x360EE4D9: push esi */
   3312     esi = MEM32(0x36307274); /* 0x360EE4DA: mov esi, dword ptr [0x36307274] */
   3313     /* cmp esi, eax */ /* 0x360EE4E0: cmp esi, eax */
   3314     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   3315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3316     _flag_k = FK_CMP;
   3317     MEM8(0x36307268) = (uint8_t)(LO8(edx)); /* 0x360EE4E2: mov byte ptr [0x36307268], dl */
   3318     MEM32(ebp + (-0x4)) = eax; /* 0x360EE4E8: mov dword ptr [ebp - 4], eax */
   3319     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE52C; /* 0x360EE4EB: je 0x360ee52c */
   3320 L_360EE4ED:
   3321     PUSH32(esp, ebx); /* 0x360EE4ED: push ebx */
   3322     PUSH32(esp, edi); /* 0x360EE4EE: push edi */
   3323 L_360EE4EF:
   3324     ebx = MEM32(esi + 0x8); /* 0x360EE4EF: mov ebx, dword ptr [esi + 8] */
   3325     edi = MEM32(esi + 0x4); /* 0x360EE4F2: mov edi, dword ptr [esi + 4] */
   3326     /* cmp edi, ebx */ /* 0x360EE4F5: cmp edi, ebx */
   3327     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3329     _flag_k = FK_CMP;
   3330     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE509; /* 0x360EE4F7: je 0x360ee509 */
   3331 L_360EE4F9:
   3332     PUSH32(esp, edi); /* 0x360EE4F9: push edi */
   3333     RECOMP_ICALL(0x3610BA00u); /* 0x360EE4FA: call 0x3610ba00 */ /* not lifted */
   3334     RECOMP_FLAGS_IN();
   3335     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   3336     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3337     edi = edi + 4; /* 0x360EE4FF: add edi, 4 */
   3338     _flag_k = FK_ADD;
   3339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3340     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3341     esp = esp + 4; /* 0x360EE502: add esp, 4 */
   3342     _flag_k = FK_ADD;
   3343     /* cmp edi, ebx */ /* 0x360EE505: cmp edi, ebx */
   3344     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3345     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3346     _flag_k = FK_CMP;
   3347     RECOMP_BACKEDGE();
   3348     if (CMP_NE(_flag_a, _flag_b)) goto L_360EE4F9; /* 0x360EE507: jne 0x360ee4f9 */
   3349 L_360EE509:
   3350     eax = MEM32(esi + 0x4); /* 0x360EE509: mov eax, dword ptr [esi + 4] */
   3351     PUSH32(esp, eax); /* 0x360EE50C: push eax */
   3352     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE50D: call 0x3615fcc4 */ /* not lifted */
   3353     RECOMP_FLAGS_IN();
   3354     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3355     eax = 0; /* 0x360EE512: xor eax, eax */
   3356     _cf = 0;
   3357     _flag_k = FK_TEST;
   3358     MEM32(esi + 0x4) = eax; /* 0x360EE514: mov dword ptr [esi + 4], eax */
   3359     MEM32(esi + 0x8) = eax; /* 0x360EE517: mov dword ptr [esi + 8], eax */
   3360     MEM32(esi + 0xC) = eax; /* 0x360EE51A: mov dword ptr [esi + 0xc], eax */
   3361     eax = MEM32(ebp + (-0x4)); /* 0x360EE51D: mov eax, dword ptr [ebp - 4] */
   3362     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
   3363     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3364     esi = esi + 0x10u; /* 0x360EE520: add esi, 0x10 */
   3365     _flag_k = FK_ADD;
   3366     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3367     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3368     esp = esp + 4; /* 0x360EE523: add esp, 4 */
   3369     _flag_k = FK_ADD;
   3370     /* cmp esi, eax */ /* 0x360EE526: cmp esi, eax */
   3371     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   3372     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3373     _flag_k = FK_CMP;
   3374     RECOMP_BACKEDGE();
   3375     if (CMP_NE(_flag_a, _flag_b)) goto L_360EE4EF; /* 0x360EE528: jne 0x360ee4ef */
   3376 L_360EE52A:
   3377     edi = POP32_VAL(esp); /* 0x360EE52A: pop edi */
   3378     ebx = POP32_VAL(esp); /* 0x360EE52B: pop ebx */
   3379 L_360EE52C:
   3380     ecx = MEM32(0x36307274); /* 0x360EE52C: mov ecx, dword ptr [0x36307274] */
   3381     PUSH32(esp, ecx); /* 0x360EE532: push ecx */
   3382     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE533: call 0x3615fcc4 */ /* not lifted */
   3383     RECOMP_FLAGS_IN();
   3384     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3385     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3386     esp = esp + 4; /* 0x360EE538: add esp, 4 */
   3387     _flag_k = FK_ADD;
   3388     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3389     eax = 0; /* 0x360EE53B: xor eax, eax */
   3390     _cf = 0;
   3391     _flag_k = FK_TEST;
   3392     MEM32(0x36307274) = eax; /* 0x360EE53D: mov dword ptr [0x36307274], eax */
   3393     MEM32(0x36307278) = eax; /* 0x360EE542: mov dword ptr [0x36307278], eax */
   3394     MEM32(0x3630727C) = eax; /* 0x360EE547: mov dword ptr [0x3630727c], eax */
   3395     esi = POP32_VAL(esp); /* 0x360EE54C: pop esi */
   3396 L_360EE54D:
   3397     esp = ebp; /* 0x360EE54D: mov esp, ebp */
   3398     ebp = POP32_VAL(esp); /* 0x360EE54F: pop ebp */
   3399     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE550: ret  */
   3400     RECOMP_REGS_OUT();
   3401 }
   3402 
   3403 void sub_360EE560(void) {
   3404     int _fpu_cmp = 0;
   3405     uint32_t _cf = 0;
   3406     int _df = 1;
   3407     uint32_t _flag_k = FK_NONE;
   3408     uint32_t _flag_a = 0, _flag_b = 0;
   3409     uint32_t _itail_tgt = 0;
   3410     RECOMP_REGS_LOCALS
   3411     RECOMP_ENTER(0x360EE560u);
   3412 
   3413 L_360EE560:
   3414     RECOMP_ICALL(0x360EE570u); /* 0x360EE560: call 0x360ee570 */ /* not lifted */
   3415     RECOMP_FLAGS_IN();
   3416     goto L_360EE690; /* 0x360EE565: jmp 0x360ee690 */
   3417 L_360EE690:
   3418     PUSH32(esp, 0x360EE6A0u); /* 0x360EE690: push 0x360ee6a0 */
   3419     RECOMP_ICALL(0x3615FEB2u); /* 0x360EE695: call 0x3615feb2 */ /* not lifted */
   3420     RECOMP_FLAGS_IN();
   3421     ecx = POP32_VAL(esp); /* 0x360EE69A: pop ecx */
   3422     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE69B: ret  */
   3423     RECOMP_REGS_OUT();
   3424 }
   3425 
   3426 void sub_360EE570(void) {
   3427     int _fpu_cmp = 0;
   3428     uint32_t _cf = 0;
   3429     int _df = 1;
   3430     uint32_t _flag_k = FK_NONE;
   3431     uint32_t _flag_a = 0, _flag_b = 0;
   3432     uint32_t _itail_tgt = 0;
   3433     RECOMP_REGS_LOCALS
   3434     RECOMP_ENTER(0x360EE570u);
   3435 
   3436 L_360EE570:
   3437     PUSH32(esp, ebp); /* 0x360EE570: push ebp */
   3438     ebp = esp; /* 0x360EE571: mov ebp, esp */
   3439     PUSH32(esp, 0xFFFFFFFFu); /* 0x360EE573: push -1 */
   3440     PUSH32(esp, 0x36168BE9u); /* 0x360EE575: push 0x36168be9 */
   3441     eax = MEM32(FS_BASE + (0)); /* 0x360EE57A: mov eax, dword ptr fs:[0] */
   3442     PUSH32(esp, eax); /* 0x360EE580: push eax */
   3443     MEM32(FS_BASE + (0)) = esp; /* 0x360EE581: mov dword ptr fs:[0], esp */
   3444     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   3445     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3446     esp = esp - 0x20u; /* 0x360EE588: sub esp, 0x20 */
   3447     _flag_k = FK_CMP;
   3448     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x360EE58B: mov al, byte ptr [ebp - 0xd] */
   3449     PUSH32(esp, ebx); /* 0x360EE58E: push ebx */
   3450     PUSH32(esp, esi); /* 0x360EE58F: push esi */
   3451     PUSH32(esp, edi); /* 0x360EE590: push edi */
   3452     PUSH32(esp, 0x18u); /* 0x360EE591: push 0x18 */
   3453     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x360EE593: mov byte ptr [ebp - 0x2c], al */
   3454     RECOMP_ICALL(0x3615FD6Au); /* 0x360EE596: call 0x3615fd6a */ /* not lifted */
   3455     RECOMP_FLAGS_IN();
   3456     esi = eax; /* 0x360EE59B: mov esi, eax */
   3457     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3458     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3459     esp = esp + 4; /* 0x360EE59D: add esp, 4 */
   3460     _flag_k = FK_ADD;
   3461     MEM32(ebp + (-0x28)) = esi; /* 0x360EE5A0: mov dword ptr [ebp - 0x28], esi */
   3462     ecx = 6; /* 0x360EE5A3: mov ecx, 6 */
   3463 L_360EE5A8:
   3464     /* test eax, eax */ /* 0x360EE5A8: test eax, eax */
   3465     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3466     _cf = 0;
   3467     _flag_k = FK_TEST;
   3468     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE5B2; /* 0x360EE5AA: je 0x360ee5b2 */
   3469 L_360EE5AC:
   3470     MEM32(eax) = 0; /* 0x360EE5AC: mov dword ptr [eax], 0 */
   3471 L_360EE5B2:
   3472     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3473     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3474     eax = eax + 4; /* 0x360EE5B2: add eax, 4 */
   3475     _flag_k = FK_ADD;
   3476     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   3477     ecx = ecx - 1; /* 0x360EE5B5: dec ecx */
   3478     _flag_k = FK_DEC;
   3479     RECOMP_BACKEDGE();
   3480     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_360EE5A8; /* 0x360EE5B6: jne 0x360ee5a8 */
   3481 L_360EE5B8:
   3482     edi = esi + 0x18; /* 0x360EE5B8: lea edi, [esi + 0x18] */
   3483     MEM32(ebp + (-0x24)) = edi; /* 0x360EE5BB: mov dword ptr [ebp - 0x24], edi */
   3484     MEM32(ebp + (-0x20)) = edi; /* 0x360EE5BE: mov dword ptr [ebp - 0x20], edi */
   3485     SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x360EE5C1: mov cl, byte ptr [ebp - 0xd] */
   3486     PUSH32(esp, 0x60u); /* 0x360EE5C4: push 0x60 */
   3487     MEM32(ebp + (-0x4)) = 0; /* 0x360EE5C6: mov dword ptr [ebp - 4], 0 */
   3488     MEM8(0x36307258) = (uint8_t)(LO8(ecx)); /* 0x360EE5CD: mov byte ptr [0x36307258], cl */
   3489     RECOMP_ICALL(0x3615FD6Au); /* 0x360EE5D3: call 0x3615fd6a */ /* not lifted */
   3490     RECOMP_FLAGS_IN();
   3491     ebx = eax; /* 0x360EE5D8: mov ebx, eax */
   3492     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3493     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3494     esp = esp + 4; /* 0x360EE5DA: add esp, 4 */
   3495     _flag_k = FK_ADD;
   3496     MEM32(0x3630725C) = eax; /* 0x360EE5DD: mov dword ptr [0x3630725c], eax */
   3497     MEM32(ebp + (-0x18)) = ebx; /* 0x360EE5E2: mov dword ptr [ebp - 0x18], ebx */
   3498     MEM32(ebp + (-0x14)) = 6; /* 0x360EE5E5: mov dword ptr [ebp - 0x14], 6 */
   3499 L_360EE5EC:
   3500     MEM32(ebp + (-0x1C)) = ebx; /* 0x360EE5EC: mov dword ptr [ebp - 0x1c], ebx */
   3501     /* test ebx, ebx */ /* 0x360EE5EF: test ebx, ebx */
   3502     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   3503     _cf = 0;
   3504     _flag_k = FK_TEST;
   3505     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x360EE5F1: mov byte ptr [ebp - 4], 1 */
   3506     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE64F; /* 0x360EE5F5: je 0x360ee64f */
   3507 L_360EE5F7:
   3508     /* test esi, esi */ /* 0x360EE5F7: test esi, esi */
   3509     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3510     _cf = 0;
   3511     _flag_k = FK_TEST;
   3512     SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x360EE5F9: mov dl, byte ptr [ebp - 0xd] */
   3513     MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x360EE5FC: mov byte ptr [ebx], dl */
   3514     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EE604; /* 0x360EE5FE: jne 0x360ee604 */
   3515 L_360EE600:
   3516     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3517     eax = 0; /* 0x360EE600: xor eax, eax */
   3518     _cf = 0;
   3519     _flag_k = FK_TEST;
   3520     goto L_360EE60B; /* 0x360EE602: jmp 0x360ee60b */
   3521 L_360EE604:
   3522     eax = edi; /* 0x360EE604: mov eax, edi */
   3523     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   3524     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3525     eax = eax - esi; /* 0x360EE606: sub eax, esi */
   3526     _flag_k = FK_CMP;
   3527     if (2u) _cf = (((eax) >> 1) & 1u); /* 0x360EE608: sar eax, 2 */
   3528     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3529     eax = (uint32_t)((int32_t)eax >> 2u);
   3530 L_360EE60B:
   3531     /* test eax, eax */ /* 0x360EE60B: test eax, eax */
   3532     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3533     _cf = 0;
   3534     _flag_k = FK_TEST;
   3535     if (TEST_NS(_flag_a, _flag_b)) goto L_360EE611; /* 0x360EE60D: jge 0x360ee611 */
   3536 L_360EE60F:
   3537     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3538     eax = 0; /* 0x360EE60F: xor eax, eax */
   3539     _cf = 0;
   3540     _flag_k = FK_TEST;
   3541 L_360EE611:
   3542     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x360EE611: shl eax, 2 */
   3543     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3544     eax = eax << 2u; /* 0x360EE611: shl eax, 2 */
   3545     PUSH32(esp, eax); /* 0x360EE614: push eax */
   3546     RECOMP_ICALL(0x3615FD6Au); /* 0x360EE615: call 0x3615fd6a */ /* not lifted */
   3547     RECOMP_FLAGS_IN();
   3548     ecx = MEM32(ebp + (-0x24)); /* 0x360EE61A: mov ecx, dword ptr [ebp - 0x24] */
   3549     MEM32(ebx + 0x4) = eax; /* 0x360EE61D: mov dword ptr [ebx + 4], eax */
   3550     edi = eax; /* 0x360EE620: mov edi, eax */
   3551     eax = MEM32(ebp + (-0x28)); /* 0x360EE622: mov eax, dword ptr [ebp - 0x28] */
   3552     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3553     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3554     esp = esp + 4; /* 0x360EE625: add esp, 4 */
   3555     _flag_k = FK_ADD;
   3556     /* cmp eax, ecx */ /* 0x360EE628: cmp eax, ecx */
   3557     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3558     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3559     _flag_k = FK_CMP;
   3560     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE643; /* 0x360EE62A: je 0x360ee643 */
   3561 L_360EE62C:
   3562     PUSH32(esp, esi); /* 0x360EE62C: push esi */
   3563     PUSH32(esp, edi); /* 0x360EE62D: push edi */
   3564     RECOMP_ICALL(0x3614F850u); /* 0x360EE62E: call 0x3614f850 */ /* not lifted */
   3565     RECOMP_FLAGS_IN();
   3566     eax = MEM32(ebp + (-0x24)); /* 0x360EE633: mov eax, dword ptr [ebp - 0x24] */
   3567     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4);
   3568     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3569     esi = esi + 4; /* 0x360EE636: add esi, 4 */
   3570     _flag_k = FK_ADD;
   3571     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3572     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3573     esp = esp + 8; /* 0x360EE639: add esp, 8 */
   3574     _flag_k = FK_ADD;
   3575     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   3576     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3577     edi = edi + 4; /* 0x360EE63C: add edi, 4 */
   3578     _flag_k = FK_ADD;
   3579     /* cmp esi, eax */ /* 0x360EE63F: cmp esi, eax */
   3580     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   3581     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3582     _flag_k = FK_CMP;
   3583     RECOMP_BACKEDGE();
   3584     if (CMP_NE(_flag_a, _flag_b)) goto L_360EE62C; /* 0x360EE641: jne 0x360ee62c */
   3585 L_360EE643:
   3586     esi = MEM32(ebp + (-0x28)); /* 0x360EE643: mov esi, dword ptr [ebp - 0x28] */
   3587     MEM32(ebx + 0x8) = edi; /* 0x360EE646: mov dword ptr [ebx + 8], edi */
   3588     MEM32(ebx + 0xC) = edi; /* 0x360EE649: mov dword ptr [ebx + 0xc], edi */
   3589     edi = MEM32(ebp + (-0x24)); /* 0x360EE64C: mov edi, dword ptr [ebp - 0x24] */
   3590 L_360EE64F:
   3591     eax = MEM32(ebp + (-0x14)); /* 0x360EE64F: mov eax, dword ptr [ebp - 0x14] */
   3592     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u);
   3593     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3594     ebx = ebx + 0x10u; /* 0x360EE652: add ebx, 0x10 */
   3595     _flag_k = FK_ADD;
   3596     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3597     eax = eax - 1; /* 0x360EE655: dec eax */
   3598     _flag_k = FK_DEC;
   3599     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x360EE656: mov byte ptr [ebp - 4], 0 */
   3600     MEM32(ebp + (-0x18)) = ebx; /* 0x360EE65A: mov dword ptr [ebp - 0x18], ebx */
   3601     MEM32(ebp + (-0x14)) = eax; /* 0x360EE65D: mov dword ptr [ebp - 0x14], eax */
   3602     RECOMP_BACKEDGE();
   3603     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_360EE5EC; /* 0x360EE660: jne 0x360ee5ec */
   3604 L_360EE662:
   3605     edx = MEM32(0x3630725C); /* 0x360EE662: mov edx, dword ptr [0x3630725c] */
   3606     eax = edx + 0x60; /* 0x360EE668: lea eax, [edx + 0x60] */
   3607     PUSH32(esp, esi); /* 0x360EE66B: push esi */
   3608     MEM32(0x36307260) = eax; /* 0x360EE66C: mov dword ptr [0x36307260], eax */
   3609     MEM32(0x36307264) = eax; /* 0x360EE671: mov dword ptr [0x36307264], eax */
   3610     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE676: call 0x3615fcc4 */ /* not lifted */
   3611     RECOMP_FLAGS_IN();
   3612     ecx = MEM32(ebp + (-0xC)); /* 0x360EE67B: mov ecx, dword ptr [ebp - 0xc] */
   3613     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3614     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3615     esp = esp + 4; /* 0x360EE67E: add esp, 4 */
   3616     _flag_k = FK_ADD;
   3617     edi = POP32_VAL(esp); /* 0x360EE681: pop edi */
   3618     esi = POP32_VAL(esp); /* 0x360EE682: pop esi */
   3619     ebx = POP32_VAL(esp); /* 0x360EE683: pop ebx */
   3620     MEM32(FS_BASE + (0)) = ecx; /* 0x360EE684: mov dword ptr fs:[0], ecx */
   3621     esp = ebp; /* 0x360EE68B: mov esp, ebp */
   3622     ebp = POP32_VAL(esp); /* 0x360EE68D: pop ebp */
   3623     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE68E: ret  */
   3624     RECOMP_REGS_OUT();
   3625 }
   3626 
   3627 void sub_360EE690(void) {
   3628     int _fpu_cmp = 0;
   3629     uint32_t _cf = 0;
   3630     int _df = 1;
   3631     uint32_t _flag_k = FK_NONE;
   3632     uint32_t _flag_a = 0, _flag_b = 0;
   3633     uint32_t _itail_tgt = 0;
   3634     RECOMP_REGS_LOCALS
   3635     RECOMP_ENTER(0x360EE690u);
   3636 
   3637 L_360EE690:
   3638     PUSH32(esp, 0x360EE6A0u); /* 0x360EE690: push 0x360ee6a0 */
   3639     RECOMP_ICALL(0x3615FEB2u); /* 0x360EE695: call 0x3615feb2 */ /* not lifted */
   3640     RECOMP_FLAGS_IN();
   3641     ecx = POP32_VAL(esp); /* 0x360EE69A: pop ecx */
   3642     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE69B: ret  */
   3643     RECOMP_REGS_OUT();
   3644 }
   3645 
   3646 void sub_360EE6A0(void) {
   3647     int _fpu_cmp = 0;
   3648     uint32_t _cf = 0;
   3649     int _df = 1;
   3650     uint32_t _flag_k = FK_NONE;
   3651     uint32_t _flag_a = 0, _flag_b = 0;
   3652     uint32_t _itail_tgt = 0;
   3653     RECOMP_REGS_LOCALS
   3654     RECOMP_ENTER(0x360EE6A0u);
   3655 
   3656 L_360EE6A0:
   3657     PUSH32(esp, ebp); /* 0x360EE6A0: push ebp */
   3658     ebp = esp; /* 0x360EE6A1: mov ebp, esp */
   3659     PUSH32(esp, ecx); /* 0x360EE6A3: push ecx */
   3660     SET_LO8(ecx, MEM8(0x36307268)); /* 0x360EE6A4: mov cl, byte ptr [0x36307268] */
   3661     SET_LO8(eax, 2); /* 0x360EE6AA: mov al, 2 */
   3662     /* test LO8(eax), LO8(ecx) */ /* 0x360EE6AC: test al, cl */
   3663     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   3664     _cf = 0;
   3665     _flag_k = FK_NARROW(FK_TEST, 24);
   3666     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EE72D; /* 0x360EE6AE: jne 0x360ee72d */
   3667 L_360EE6B0:
   3668     SET_LO8(edx, LO8(ecx)); /* 0x360EE6B0: mov dl, cl */
   3669     _flag_a = (uint32_t)((LO8(edx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(edx) | LO8(eax))) << 24;
   3670     SET_LO8(edx, LO8(edx) | LO8(eax)); /* 0x360EE6B2: or dl, al */
   3671     _cf = 0;
   3672     _flag_k = FK_NARROW(FK_TEST, 24);
   3673     eax = MEM32(0x36307260); /* 0x360EE6B4: mov eax, dword ptr [0x36307260] */
   3674     PUSH32(esp, esi); /* 0x360EE6B9: push esi */
   3675     esi = MEM32(0x3630725C); /* 0x360EE6BA: mov esi, dword ptr [0x3630725c] */
   3676     /* cmp esi, eax */ /* 0x360EE6C0: cmp esi, eax */
   3677     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   3678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3679     _flag_k = FK_CMP;
   3680     MEM8(0x36307268) = (uint8_t)(LO8(edx)); /* 0x360EE6C2: mov byte ptr [0x36307268], dl */
   3681     MEM32(ebp + (-0x4)) = eax; /* 0x360EE6C8: mov dword ptr [ebp - 4], eax */
   3682     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE70C; /* 0x360EE6CB: je 0x360ee70c */
   3683 L_360EE6CD:
   3684     PUSH32(esp, ebx); /* 0x360EE6CD: push ebx */
   3685     PUSH32(esp, edi); /* 0x360EE6CE: push edi */
   3686 L_360EE6CF:
   3687     ebx = MEM32(esi + 0x8); /* 0x360EE6CF: mov ebx, dword ptr [esi + 8] */
   3688     edi = MEM32(esi + 0x4); /* 0x360EE6D2: mov edi, dword ptr [esi + 4] */
   3689     /* cmp edi, ebx */ /* 0x360EE6D5: cmp edi, ebx */
   3690     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3692     _flag_k = FK_CMP;
   3693     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE6E9; /* 0x360EE6D7: je 0x360ee6e9 */
   3694 L_360EE6D9:
   3695     PUSH32(esp, edi); /* 0x360EE6D9: push edi */
   3696     RECOMP_ICALL(0x3610BA00u); /* 0x360EE6DA: call 0x3610ba00 */ /* not lifted */
   3697     RECOMP_FLAGS_IN();
   3698     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4);
   3699     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3700     edi = edi + 4; /* 0x360EE6DF: add edi, 4 */
   3701     _flag_k = FK_ADD;
   3702     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3703     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3704     esp = esp + 4; /* 0x360EE6E2: add esp, 4 */
   3705     _flag_k = FK_ADD;
   3706     /* cmp edi, ebx */ /* 0x360EE6E5: cmp edi, ebx */
   3707     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   3708     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3709     _flag_k = FK_CMP;
   3710     RECOMP_BACKEDGE();
   3711     if (CMP_NE(_flag_a, _flag_b)) goto L_360EE6D9; /* 0x360EE6E7: jne 0x360ee6d9 */
   3712 L_360EE6E9:
   3713     eax = MEM32(esi + 0x4); /* 0x360EE6E9: mov eax, dword ptr [esi + 4] */
   3714     PUSH32(esp, eax); /* 0x360EE6EC: push eax */
   3715     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE6ED: call 0x3615fcc4 */ /* not lifted */
   3716     RECOMP_FLAGS_IN();
   3717     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3718     eax = 0; /* 0x360EE6F2: xor eax, eax */
   3719     _cf = 0;
   3720     _flag_k = FK_TEST;
   3721     MEM32(esi + 0x4) = eax; /* 0x360EE6F4: mov dword ptr [esi + 4], eax */
   3722     MEM32(esi + 0x8) = eax; /* 0x360EE6F7: mov dword ptr [esi + 8], eax */
   3723     MEM32(esi + 0xC) = eax; /* 0x360EE6FA: mov dword ptr [esi + 0xc], eax */
   3724     eax = MEM32(ebp + (-0x4)); /* 0x360EE6FD: mov eax, dword ptr [ebp - 4] */
   3725     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
   3726     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3727     esi = esi + 0x10u; /* 0x360EE700: add esi, 0x10 */
   3728     _flag_k = FK_ADD;
   3729     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3730     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3731     esp = esp + 4; /* 0x360EE703: add esp, 4 */
   3732     _flag_k = FK_ADD;
   3733     /* cmp esi, eax */ /* 0x360EE706: cmp esi, eax */
   3734     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   3735     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3736     _flag_k = FK_CMP;
   3737     RECOMP_BACKEDGE();
   3738     if (CMP_NE(_flag_a, _flag_b)) goto L_360EE6CF; /* 0x360EE708: jne 0x360ee6cf */
   3739 L_360EE70A:
   3740     edi = POP32_VAL(esp); /* 0x360EE70A: pop edi */
   3741     ebx = POP32_VAL(esp); /* 0x360EE70B: pop ebx */
   3742 L_360EE70C:
   3743     ecx = MEM32(0x3630725C); /* 0x360EE70C: mov ecx, dword ptr [0x3630725c] */
   3744     PUSH32(esp, ecx); /* 0x360EE712: push ecx */
   3745     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE713: call 0x3615fcc4 */ /* not lifted */
   3746     RECOMP_FLAGS_IN();
   3747     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3748     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3749     esp = esp + 4; /* 0x360EE718: add esp, 4 */
   3750     _flag_k = FK_ADD;
   3751     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3752     eax = 0; /* 0x360EE71B: xor eax, eax */
   3753     _cf = 0;
   3754     _flag_k = FK_TEST;
   3755     MEM32(0x3630725C) = eax; /* 0x360EE71D: mov dword ptr [0x3630725c], eax */
   3756     MEM32(0x36307260) = eax; /* 0x360EE722: mov dword ptr [0x36307260], eax */
   3757     MEM32(0x36307264) = eax; /* 0x360EE727: mov dword ptr [0x36307264], eax */
   3758     esi = POP32_VAL(esp); /* 0x360EE72C: pop esi */
   3759 L_360EE72D:
   3760     esp = ebp; /* 0x360EE72D: mov esp, ebp */
   3761     ebp = POP32_VAL(esp); /* 0x360EE72F: pop ebp */
   3762     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE730: ret  */
   3763     RECOMP_REGS_OUT();
   3764 }
   3765 
   3766 void sub_360EE740(void) {
   3767     int _fpu_cmp = 0;
   3768     uint32_t _cf = 0;
   3769     int _df = 1;
   3770     uint32_t _flag_k = FK_NONE;
   3771     uint32_t _flag_a = 0, _flag_b = 0;
   3772     uint32_t _itail_tgt = 0;
   3773     RECOMP_REGS_LOCALS
   3774     RECOMP_ENTER(0x360EE740u);
   3775 
   3776 L_360EE740:
   3777     PUSH32(esp, ebp); /* 0x360EE740: push ebp */
   3778     ebp = esp; /* 0x360EE741: mov ebp, esp */
   3779     PUSH32(esp, 0xFFFFFFFFu); /* 0x360EE743: push -1 */
   3780     PUSH32(esp, 0x36168C09u); /* 0x360EE745: push 0x36168c09 */
   3781     eax = MEM32(FS_BASE + (0)); /* 0x360EE74A: mov eax, dword ptr fs:[0] */
   3782     PUSH32(esp, eax); /* 0x360EE750: push eax */
   3783     MEM32(FS_BASE + (0)) = esp; /* 0x360EE751: mov dword ptr fs:[0], esp */
   3784     PUSH32(esp, ecx); /* 0x360EE758: push ecx */
   3785     PUSH32(esp, esi); /* 0x360EE759: push esi */
   3786     esi = ecx; /* 0x360EE75A: mov esi, ecx */
   3787     ecx = MEM32(ebp + 0x8); /* 0x360EE75C: mov ecx, dword ptr [ebp + 8] */
   3788     eax = esi + 0x4; /* 0x360EE75F: lea eax, [esi + 4] */
   3789     /* cmp eax, ecx */ /* 0x360EE762: cmp eax, ecx */
   3790     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   3791     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3792     _flag_k = FK_CMP;
   3793     MEM32(ebp + (-0x10)) = esi; /* 0x360EE764: mov dword ptr [ebp - 0x10], esi */
   3794     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE773; /* 0x360EE767: je 0x360ee773 */
   3795 L_360EE769:
   3796     edx = MEM32(ecx); /* 0x360EE769: mov edx, dword ptr [ecx] */
   3797     MEM32(eax) = edx; /* 0x360EE76B: mov dword ptr [eax], edx */
   3798     ecx = MEM32(ecx + 0x4); /* 0x360EE76D: mov ecx, dword ptr [ecx + 4] */
   3799     MEM32(eax + 0x4) = ecx; /* 0x360EE770: mov dword ptr [eax + 4], ecx */
   3800 L_360EE773:
   3801     eax = 1; /* 0x360EE773: mov eax, 1 */
   3802     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3803     ecx = 0; /* 0x360EE778: xor ecx, ecx */
   3804     _cf = 0;
   3805     _flag_k = FK_TEST;
   3806     MEM32(esi + 0xC) = eax; /* 0x360EE77A: mov dword ptr [esi + 0xc], eax */
   3807     MEM32(esi + 0x10) = eax; /* 0x360EE77D: mov dword ptr [esi + 0x10], eax */
   3808     MEM8(esi + 0x14) = (uint8_t)(LO8(ecx)); /* 0x360EE780: mov byte ptr [esi + 0x14], cl */
   3809     MEM8(esi + 0x15) = (uint8_t)(LO8(eax)); /* 0x360EE783: mov byte ptr [esi + 0x15], al */
   3810     PUSH32(esp, 8); /* 0x360EE786: push 8 */
   3811     MEM32(ebp + (-0x4)) = ecx; /* 0x360EE788: mov dword ptr [ebp - 4], ecx */
   3812     MEM32(esi) = 0x3617523Cu; /* 0x360EE78B: mov dword ptr [esi], 0x3617523c */
   3813     RECOMP_ICALL(0x360EF780u); /* 0x360EE791: call 0x360ef780 */ /* not lifted */
   3814     RECOMP_FLAGS_IN();
   3815     ecx = eax; /* 0x360EE796: mov ecx, eax */
   3816     RECOMP_ICALL(0x360EFCF0u); /* 0x360EE798: call 0x360efcf0 */ /* not lifted */
   3817     RECOMP_FLAGS_IN();
   3818     ecx = MEM32(ebp + (-0xC)); /* 0x360EE79D: mov ecx, dword ptr [ebp - 0xc] */
   3819     eax = esi; /* 0x360EE7A0: mov eax, esi */
   3820     esi = POP32_VAL(esp); /* 0x360EE7A2: pop esi */
   3821     MEM32(FS_BASE + (0)) = ecx; /* 0x360EE7A3: mov dword ptr fs:[0], ecx */
   3822     esp = ebp; /* 0x360EE7AA: mov esp, ebp */
   3823     ebp = POP32_VAL(esp); /* 0x360EE7AC: pop ebp */
   3824     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EE7AD: ret 4 */
   3825     RECOMP_REGS_OUT();
   3826 }
   3827 
   3828 void sub_360EE7B0(void) {
   3829     int _fpu_cmp = 0;
   3830     uint32_t _cf = 0;
   3831     int _df = 1;
   3832     uint32_t _flag_k = FK_NONE;
   3833     uint32_t _flag_a = 0, _flag_b = 0;
   3834     uint32_t _itail_tgt = 0;
   3835     RECOMP_REGS_LOCALS
   3836     RECOMP_ENTER(0x360EE7B0u);
   3837 
   3838 L_360EE7B0:
   3839     PUSH32(esp, ebp); /* 0x360EE7B0: push ebp */
   3840     ebp = esp; /* 0x360EE7B1: mov ebp, esp */
   3841     PUSH32(esp, esi); /* 0x360EE7B3: push esi */
   3842     esi = ecx; /* 0x360EE7B4: mov esi, ecx */
   3843     RECOMP_ICALL(0x360EE810u); /* 0x360EE7B6: call 0x360ee810 */ /* not lifted */
   3844     RECOMP_FLAGS_IN();
   3845     /* test MEM8(ebp + 0x8), 1 */ /* 0x360EE7BB: test byte ptr [ebp + 8], 1 */
   3846     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   3847     _cf = 0;
   3848     _flag_k = FK_NARROW(FK_TEST, 24);
   3849     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE7CA; /* 0x360EE7BF: je 0x360ee7ca */
   3850 L_360EE7C1:
   3851     PUSH32(esp, esi); /* 0x360EE7C1: push esi */
   3852     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE7C2: call 0x3615fcc4 */ /* not lifted */
   3853     RECOMP_FLAGS_IN();
   3854     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3855     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3856     esp = esp + 4; /* 0x360EE7C7: add esp, 4 */
   3857     _flag_k = FK_ADD;
   3858 L_360EE7CA:
   3859     eax = esi; /* 0x360EE7CA: mov eax, esi */
   3860     esi = POP32_VAL(esp); /* 0x360EE7CC: pop esi */
   3861     ebp = POP32_VAL(esp); /* 0x360EE7CD: pop ebp */
   3862     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EE7CE: ret 4 */
   3863     RECOMP_REGS_OUT();
   3864 }
   3865 
   3866 void sub_360EE7E0(void) {
   3867     int _fpu_cmp = 0;
   3868     uint32_t _cf = 0;
   3869     int _df = 1;
   3870     uint32_t _flag_k = FK_NONE;
   3871     uint32_t _flag_a = 0, _flag_b = 0;
   3872     uint32_t _itail_tgt = 0;
   3873     RECOMP_REGS_LOCALS
   3874     RECOMP_ENTER(0x360EE7E0u);
   3875 
   3876 L_360EE7E0:
   3877     PUSH32(esp, ebp); /* 0x360EE7E0: push ebp */
   3878     ebp = esp; /* 0x360EE7E1: mov ebp, esp */
   3879     eax = ecx; /* 0x360EE7E3: mov eax, ecx */
   3880     ecx = MEM32(ebp + 0xC); /* 0x360EE7E5: mov ecx, dword ptr [ebp + 0xc] */
   3881     MEM32(eax + 0x8) = ecx; /* 0x360EE7E8: mov dword ptr [eax + 8], ecx */
   3882     MEM32(eax + 0x4) = 0xD6DAu; /* 0x360EE7EB: mov dword ptr [eax + 4], 0xd6da */
   3883     ecx = 1; /* 0x360EE7F2: mov ecx, 1 */
   3884     MEM32(eax + 0xC) = ecx; /* 0x360EE7F7: mov dword ptr [eax + 0xc], ecx */
   3885     MEM32(eax + 0x10) = ecx; /* 0x360EE7FA: mov dword ptr [eax + 0x10], ecx */
   3886     MEM8(eax + 0x14) = (uint8_t)(0); /* 0x360EE7FD: mov byte ptr [eax + 0x14], 0 */
   3887     MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x360EE801: mov byte ptr [eax + 0x15], cl */
   3888     MEM32(eax) = 0x3617523Cu; /* 0x360EE804: mov dword ptr [eax], 0x3617523c */
   3889     ebp = POP32_VAL(esp); /* 0x360EE80A: pop ebp */
   3890     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360EE80B: ret 8 */
   3891     RECOMP_REGS_OUT();
   3892 }
   3893 
   3894 void sub_360EE810(void) {
   3895     int _fpu_cmp = 0;
   3896     uint32_t _cf = 0;
   3897     int _df = 1;
   3898     uint32_t _flag_k = FK_NONE;
   3899     uint32_t _flag_a = 0, _flag_b = 0;
   3900     uint32_t _itail_tgt = 0;
   3901     RECOMP_REGS_LOCALS
   3902     RECOMP_ENTER(0x360EE810u);
   3903 
   3904 L_360EE810:
   3905     PUSH32(esp, ebp); /* 0x360EE810: push ebp */
   3906     ebp = esp; /* 0x360EE811: mov ebp, esp */
   3907     PUSH32(esp, 0xFFFFFFFFu); /* 0x360EE813: push -1 */
   3908     PUSH32(esp, 0x36168C29u); /* 0x360EE815: push 0x36168c29 */
   3909     eax = MEM32(FS_BASE + (0)); /* 0x360EE81A: mov eax, dword ptr fs:[0] */
   3910     PUSH32(esp, eax); /* 0x360EE820: push eax */
   3911     MEM32(FS_BASE + (0)) = esp; /* 0x360EE821: mov dword ptr fs:[0], esp */
   3912     PUSH32(esp, ecx); /* 0x360EE828: push ecx */
   3913     PUSH32(esp, esi); /* 0x360EE829: push esi */
   3914     esi = ecx; /* 0x360EE82A: mov esi, ecx */
   3915     MEM32(ebp + (-0x10)) = esi; /* 0x360EE82C: mov dword ptr [ebp - 0x10], esi */
   3916     MEM32(esi) = 0x3617523Cu; /* 0x360EE82F: mov dword ptr [esi], 0x3617523c */
   3917     PUSH32(esp, 8); /* 0x360EE835: push 8 */
   3918     MEM32(ebp + (-0x4)) = 0; /* 0x360EE837: mov dword ptr [ebp - 4], 0 */
   3919     RECOMP_ICALL(0x360EF780u); /* 0x360EE83E: call 0x360ef780 */ /* not lifted */
   3920     RECOMP_FLAGS_IN();
   3921     ecx = eax; /* 0x360EE843: mov ecx, eax */
   3922     RECOMP_ICALL(0x360EFCF0u); /* 0x360EE845: call 0x360efcf0 */ /* not lifted */
   3923     RECOMP_FLAGS_IN();
   3924     ecx = esi; /* 0x360EE84A: mov ecx, esi */
   3925     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EE84C: mov dword ptr [ebp - 4], 0xffffffff */
   3926     RECOMP_ICALL(MEM32(0x3616FB48)); /* 0x360EE853: call dword ptr [0x3616fb48] */
   3927     RECOMP_FLAGS_IN();
   3928     ecx = MEM32(ebp + (-0xC)); /* 0x360EE859: mov ecx, dword ptr [ebp - 0xc] */
   3929     esi = POP32_VAL(esp); /* 0x360EE85C: pop esi */
   3930     MEM32(FS_BASE + (0)) = ecx; /* 0x360EE85D: mov dword ptr fs:[0], ecx */
   3931     esp = ebp; /* 0x360EE864: mov esp, ebp */
   3932     ebp = POP32_VAL(esp); /* 0x360EE866: pop ebp */
   3933     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE867: ret  */
   3934     RECOMP_REGS_OUT();
   3935 }
   3936 
   3937 void sub_360EE870(void) {
   3938     int _fpu_cmp = 0;
   3939     uint32_t _cf = 0;
   3940     int _df = 1;
   3941     uint32_t _flag_k = FK_NONE;
   3942     uint32_t _flag_a = 0, _flag_b = 0;
   3943     uint32_t _itail_tgt = 0;
   3944     RECOMP_REGS_LOCALS
   3945     RECOMP_ENTER(0x360EE870u);
   3946 
   3947 L_360EE870:
   3948     PUSH32(esp, ebp); /* 0x360EE870: push ebp */
   3949     ebp = esp; /* 0x360EE871: mov ebp, esp */
   3950     eax = MEM32(ebp + 0xC); /* 0x360EE873: mov eax, dword ptr [ebp + 0xc] */
   3951     edx = eax + (-0x10); /* 0x360EE876: lea edx, [eax - 0x10] */
   3952     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3953     eax = 0; /* 0x360EE879: xor eax, eax */
   3954     _cf = 0;
   3955     _flag_k = FK_TEST;
   3956     /* test edx, edx */ /* 0x360EE87B: test edx, edx */
   3957     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   3958     _cf = 0;
   3959     _flag_k = FK_TEST;
   3960     PUSH32(esp, esi); /* 0x360EE87D: push esi */
   3961     if (TEST_S(_flag_a, _flag_b)) goto L_360EE8B1; /* 0x360EE87E: jl 0x360ee8b1 */
   3962 L_360EE880:
   3963     /* cmp edx, 6 */ /* 0x360EE880: cmp edx, 6 */
   3964     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(6);
   3965     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3966     _flag_k = FK_CMP;
   3967     if (CMP_GE(_flag_a, _flag_b)) goto L_360EE8B1; /* 0x360EE883: jge 0x360ee8b1 */
   3968 L_360EE885:
   3969     ecx = MEM32(ebp + 0x8); /* 0x360EE885: mov ecx, dword ptr [ebp + 8] */
   3970     /* test ecx, ecx */ /* 0x360EE888: test ecx, ecx */
   3971     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3972     _cf = 0;
   3973     _flag_k = FK_TEST;
   3974     if (TEST_S(_flag_a, _flag_b)) goto L_360EE8B1; /* 0x360EE88A: jl 0x360ee8b1 */
   3975 L_360EE88C:
   3976     esi = MEM32(0x36307274); /* 0x360EE88C: mov esi, dword ptr [0x36307274] */
   3977     /* test esi, esi */ /* 0x360EE892: test esi, esi */
   3978     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   3979     _cf = 0;
   3980     _flag_k = FK_TEST;
   3981     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE8B1; /* 0x360EE894: je 0x360ee8b1 */
   3982 L_360EE896:
   3983     PUSH32(esp, edi); /* 0x360EE896: push edi */
   3984     edi = MEM32(0x36307278); /* 0x360EE897: mov edi, dword ptr [0x36307278] */
   3985     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
   3986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3987     edi = edi - esi; /* 0x360EE89D: sub edi, esi */
   3988     _flag_k = FK_CMP;
   3989     if (4u) _cf = (((edi) >> 3) & 1u); /* 0x360EE89F: sar edi, 4 */
   3990     if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3991     edi = (uint32_t)((int32_t)edi >> 4u);
   3992     /* cmp ecx, edi */ /* 0x360EE8A2: cmp ecx, edi */
   3993     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   3994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3995     _flag_k = FK_CMP;
   3996     edi = POP32_VAL(esp); /* 0x360EE8A4: pop edi */
   3997     if (CMP_AE(_flag_a, _flag_b)) goto L_360EE8B1; /* 0x360EE8A5: jae 0x360ee8b1 */
   3998 L_360EE8A7:
   3999     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EE8A7: shl ecx, 4 */
   4000     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4001     ecx = ecx << 4u; /* 0x360EE8A7: shl ecx, 4 */
   4002     ecx = MEM32(ecx + esi + 0x4); /* 0x360EE8AA: mov ecx, dword ptr [ecx + esi + 4] */
   4003     eax = MEM32(ecx + edx * 4); /* 0x360EE8AE: mov eax, dword ptr [ecx + edx*4] */
   4004 L_360EE8B1:
   4005     esi = POP32_VAL(esp); /* 0x360EE8B1: pop esi */
   4006     ebp = POP32_VAL(esp); /* 0x360EE8B2: pop ebp */
   4007     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE8B3: ret  */
   4008     RECOMP_REGS_OUT();
   4009 }
   4010 
   4011 void sub_360EE8C0(void) {
   4012     int _fpu_cmp = 0;
   4013     uint32_t _cf = 0;
   4014     int _df = 1;
   4015     uint32_t _flag_k = FK_NONE;
   4016     uint32_t _flag_a = 0, _flag_b = 0;
   4017     uint32_t _itail_tgt = 0;
   4018     RECOMP_REGS_LOCALS
   4019     RECOMP_ENTER(0x360EE8C0u);
   4020 
   4021 L_360EE8C0:
   4022     PUSH32(esp, ebp); /* 0x360EE8C0: push ebp */
   4023     ebp = esp; /* 0x360EE8C1: mov ebp, esp */
   4024     eax = MEM32(ebp + 0xC); /* 0x360EE8C3: mov eax, dword ptr [ebp + 0xc] */
   4025     edx = eax + (-0x10); /* 0x360EE8C6: lea edx, [eax - 0x10] */
   4026     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4027     eax = 0; /* 0x360EE8C9: xor eax, eax */
   4028     _cf = 0;
   4029     _flag_k = FK_TEST;
   4030     /* test edx, edx */ /* 0x360EE8CB: test edx, edx */
   4031     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   4032     _cf = 0;
   4033     _flag_k = FK_TEST;
   4034     PUSH32(esp, esi); /* 0x360EE8CD: push esi */
   4035     if (TEST_S(_flag_a, _flag_b)) goto L_360EE906; /* 0x360EE8CE: jl 0x360ee906 */
   4036 L_360EE8D0:
   4037     /* cmp edx, 6 */ /* 0x360EE8D0: cmp edx, 6 */
   4038     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(6);
   4039     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4040     _flag_k = FK_CMP;
   4041     if (CMP_GE(_flag_a, _flag_b)) goto L_360EE906; /* 0x360EE8D3: jge 0x360ee906 */
   4042 L_360EE8D5:
   4043     ecx = MEM32(ebp + 0x8); /* 0x360EE8D5: mov ecx, dword ptr [ebp + 8] */
   4044     /* test ecx, ecx */ /* 0x360EE8D8: test ecx, ecx */
   4045     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4046     _cf = 0;
   4047     _flag_k = FK_TEST;
   4048     if (TEST_S(_flag_a, _flag_b)) goto L_360EE906; /* 0x360EE8DA: jl 0x360ee906 */
   4049 L_360EE8DC:
   4050     esi = MEM32(0x36307274); /* 0x360EE8DC: mov esi, dword ptr [0x36307274] */
   4051     /* test esi, esi */ /* 0x360EE8E2: test esi, esi */
   4052     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   4053     _cf = 0;
   4054     _flag_k = FK_TEST;
   4055     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE906; /* 0x360EE8E4: je 0x360ee906 */
   4056 L_360EE8E6:
   4057     PUSH32(esp, edi); /* 0x360EE8E6: push edi */
   4058     edi = MEM32(0x36307278); /* 0x360EE8E7: mov edi, dword ptr [0x36307278] */
   4059     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
   4060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4061     edi = edi - esi; /* 0x360EE8ED: sub edi, esi */
   4062     _flag_k = FK_CMP;
   4063     if (4u) _cf = (((edi) >> 3) & 1u); /* 0x360EE8EF: sar edi, 4 */
   4064     if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4065     edi = (uint32_t)((int32_t)edi >> 4u);
   4066     /* cmp ecx, edi */ /* 0x360EE8F2: cmp ecx, edi */
   4067     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   4068     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4069     _flag_k = FK_CMP;
   4070     edi = POP32_VAL(esp); /* 0x360EE8F4: pop edi */
   4071     if (CMP_AE(_flag_a, _flag_b)) goto L_360EE906; /* 0x360EE8F5: jae 0x360ee906 */
   4072 L_360EE8F7:
   4073     eax = MEM32(0x3630725C); /* 0x360EE8F7: mov eax, dword ptr [0x3630725c] */
   4074     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EE8FC: shl ecx, 4 */
   4075     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4076     ecx = ecx << 4u; /* 0x360EE8FC: shl ecx, 4 */
   4077     ecx = MEM32(ecx + eax + 0x4); /* 0x360EE8FF: mov ecx, dword ptr [ecx + eax + 4] */
   4078     eax = MEM32(ecx + edx * 4); /* 0x360EE903: mov eax, dword ptr [ecx + edx*4] */
   4079 L_360EE906:
   4080     esi = POP32_VAL(esp); /* 0x360EE906: pop esi */
   4081     ebp = POP32_VAL(esp); /* 0x360EE907: pop ebp */
   4082     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EE908: ret  */
   4083     RECOMP_REGS_OUT();
   4084 }
   4085 
   4086 void sub_360EE910(void) {
   4087     int _fpu_cmp = 0;
   4088     uint32_t _cf = 0;
   4089     int _df = 1;
   4090     uint32_t _flag_k = FK_NONE;
   4091     uint32_t _flag_a = 0, _flag_b = 0;
   4092     uint32_t _itail_tgt = 0;
   4093     RECOMP_REGS_LOCALS
   4094     RECOMP_ENTER(0x360EE910u);
   4095 
   4096 L_360EE910:
   4097     PUSH32(esp, ebp); /* 0x360EE910: push ebp */
   4098     ebp = esp; /* 0x360EE911: mov ebp, esp */
   4099     PUSH32(esp, 0xFFFFFFFFu); /* 0x360EE913: push -1 */
   4100     PUSH32(esp, 0x36168C49u); /* 0x360EE915: push 0x36168c49 */
   4101     eax = MEM32(FS_BASE + (0)); /* 0x360EE91A: mov eax, dword ptr fs:[0] */
   4102     PUSH32(esp, eax); /* 0x360EE920: push eax */
   4103     MEM32(FS_BASE + (0)) = esp; /* 0x360EE921: mov dword ptr fs:[0], esp */
   4104     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u);
   4105     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4106     esp = esp - 0x14u; /* 0x360EE928: sub esp, 0x14 */
   4107     _flag_k = FK_CMP;
   4108     SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x360EE92B: mov al, byte ptr [ebp + 0xb] */
   4109     PUSH32(esp, ebx); /* 0x360EE92E: push ebx */
   4110     PUSH32(esp, esi); /* 0x360EE92F: push esi */
   4111     MEM32(ebp + (-0x10)) = ecx; /* 0x360EE930: mov dword ptr [ebp - 0x10], ecx */
   4112     PUSH32(esp, edi); /* 0x360EE933: push edi */
   4113     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   4114     ecx = ecx | 0xFFFFFFFFu; /* 0x360EE934: or ecx, 0xffffffff */
   4115     _cf = 0;
   4116     _flag_k = FK_TEST;
   4117     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4118     esi = 0; /* 0x360EE937: xor esi, esi */
   4119     _cf = 0;
   4120     _flag_k = FK_TEST;
   4121     MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x360EE939: mov byte ptr [ebp - 0x20], al */
   4122     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4123     eax = 0; /* 0x360EE93C: xor eax, eax */
   4124     _cf = 0;
   4125     _flag_k = FK_TEST;
   4126     edi = 0x362E2A2Cu; /* 0x360EE93E: mov edi, 0x362e2a2c */
   4127     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; } /* 0x360EE943: repne scasb al, byte ptr es:[edi] */
   4128     ecx = ~ecx; /* 0x360EE945: not ecx */
   4129     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4130     ecx = ecx - 1; /* 0x360EE947: dec ecx */
   4131     _flag_k = FK_DEC;
   4132     ebx = ecx; /* 0x360EE948: mov ebx, ecx */
   4133     PUSH32(esp, 1); /* 0x360EE94A: push 1 */
   4134     PUSH32(esp, ebx); /* 0x360EE94C: push ebx */
   4135     ecx = ebp + (-0x20); /* 0x360EE94D: lea ecx, [ebp - 0x20] */
   4136     MEM32(ebp + (-0x1C)) = esi; /* 0x360EE950: mov dword ptr [ebp - 0x1c], esi */
   4137     MEM32(ebp + (-0x18)) = esi; /* 0x360EE953: mov dword ptr [ebp - 0x18], esi */
   4138     MEM32(ebp + (-0x14)) = esi; /* 0x360EE956: mov dword ptr [ebp - 0x14], esi */
   4139     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EE959: call dword ptr [0x3616f00c] */
   4140     RECOMP_FLAGS_IN();
   4141     /* test LO8(eax), LO8(eax) */ /* 0x360EE95F: test al, al */
   4142     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4143     _cf = 0;
   4144     _flag_k = FK_NARROW(FK_TEST, 24);
   4145     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE987; /* 0x360EE961: je 0x360ee987 */
   4146 L_360EE963:
   4147     edi = MEM32(ebp + (-0x1C)); /* 0x360EE963: mov edi, dword ptr [ebp - 0x1c] */
   4148     ecx = ebx; /* 0x360EE966: mov ecx, ebx */
   4149     edx = ecx; /* 0x360EE968: mov edx, ecx */
   4150     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EE96A: shr ecx, 2 */
   4151     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4152     ecx = ecx >> 2u; /* 0x360EE96A: shr ecx, 2 */
   4153     esi = 0x362E2A2Cu; /* 0x360EE96D: mov esi, 0x362e2a2c */
   4154     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EE972: 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; }
   4155     ecx = edx; /* 0x360EE974: mov ecx, edx */
   4156     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4157     ecx = ecx & 3; /* 0x360EE976: and ecx, 3 */
   4158     _cf = 0;
   4159     _flag_k = FK_TEST;
   4160     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EE979: 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; }
   4161     eax = MEM32(ebp + (-0x1C)); /* 0x360EE97B: mov eax, dword ptr [ebp - 0x1c] */
   4162     MEM32(ebp + (-0x18)) = ebx; /* 0x360EE97E: mov dword ptr [ebp - 0x18], ebx */
   4163     MEM8(eax + ebx) = (uint8_t)(0); /* 0x360EE981: mov byte ptr [eax + ebx], 0 */
   4164     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4165     esi = 0; /* 0x360EE985: xor esi, esi */
   4166     _cf = 0;
   4167     _flag_k = FK_TEST;
   4168 L_360EE987:
   4169     edi = MEM32(ebp + 0x8); /* 0x360EE987: mov edi, dword ptr [ebp + 8] */
   4170     edx = MEM32(edi); /* 0x360EE98A: mov edx, dword ptr [edi] */
   4171     eax = ebp + (-0x20); /* 0x360EE98C: lea eax, [ebp - 0x20] */
   4172     PUSH32(esp, eax); /* 0x360EE98F: push eax */
   4173     ecx = edi; /* 0x360EE990: mov ecx, edi */
   4174     MEM32(ebp + (-0x4)) = esi; /* 0x360EE992: mov dword ptr [ebp - 4], esi */
   4175     RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x360EE995: call dword ptr [edx + 8] */
   4176     RECOMP_FLAGS_IN();
   4177     eax = MEM32(ebp + (-0x1C)); /* 0x360EE998: mov eax, dword ptr [ebp - 0x1c] */
   4178     /* cmp eax, esi */ /* 0x360EE99B: cmp eax, esi */
   4179     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
   4180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4181     _flag_k = FK_CMP;
   4182     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x360EE99D: mov dword ptr [ebp - 4], 0xffffffff */
   4183     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE9C2; /* 0x360EE9A4: je 0x360ee9c2 */
   4184 L_360EE9A6:
   4185     ecx = eax + (-0x1); /* 0x360EE9A6: lea ecx, [eax - 1] */
   4186     SET_LO8(eax, MEM8(ecx)); /* 0x360EE9A9: mov al, byte ptr [ecx] */
   4187     /* test LO8(eax), LO8(eax) */ /* 0x360EE9AB: test al, al */
   4188     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4189     _cf = 0;
   4190     _flag_k = FK_NARROW(FK_TEST, 24);
   4191     if (TEST_Z(_flag_a, _flag_b)) goto L_360EE9B9; /* 0x360EE9AD: je 0x360ee9b9 */
   4192 L_360EE9AF:
   4193     /* cmp LO8(eax), 0xFFu */ /* 0x360EE9AF: cmp al, 0xff */
   4194     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4196     _flag_k = FK_NARROW(FK_CMP, 24);
   4197     if (CMP_EQ(_flag_a, _flag_b)) goto L_360EE9B9; /* 0x360EE9B1: je 0x360ee9b9 */
   4198 L_360EE9B3:
   4199     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4200     SET_LO8(eax, LO8(eax) - 1); /* 0x360EE9B3: dec al */
   4201     _flag_k = FK_NARROW(FK_DEC, 24);
   4202     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x360EE9B5: mov byte ptr [ecx], al */
   4203     goto L_360EE9C2; /* 0x360EE9B7: jmp 0x360ee9c2 */
   4204 L_360EE9B9:
   4205     PUSH32(esp, ecx); /* 0x360EE9B9: push ecx */
   4206     RECOMP_ICALL(0x3615FCC4u); /* 0x360EE9BA: call 0x3615fcc4 */ /* not lifted */
   4207     RECOMP_FLAGS_IN();
   4208     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4209     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4210     esp = esp + 4; /* 0x360EE9BF: add esp, 4 */
   4211     _flag_k = FK_ADD;
   4212 L_360EE9C2:
   4213     ecx = MEM32(ebp + (-0x10)); /* 0x360EE9C2: mov ecx, dword ptr [ebp - 0x10] */
   4214     edx = MEM32(ecx); /* 0x360EE9C5: mov edx, dword ptr [ecx] */
   4215     PUSH32(esp, edi); /* 0x360EE9C7: push edi */
   4216     MEM32(ebp + (-0x1C)) = esi; /* 0x360EE9C8: mov dword ptr [ebp - 0x1c], esi */
   4217     MEM32(ebp + (-0x18)) = esi; /* 0x360EE9CB: mov dword ptr [ebp - 0x18], esi */
   4218     MEM32(ebp + (-0x14)) = esi; /* 0x360EE9CE: mov dword ptr [ebp - 0x14], esi */
   4219     RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x360EE9D1: call dword ptr [edx + 4] */
   4220     RECOMP_FLAGS_IN();
   4221     ecx = MEM32(ebp + (-0xC)); /* 0x360EE9D4: mov ecx, dword ptr [ebp - 0xc] */
   4222     edi = POP32_VAL(esp); /* 0x360EE9D7: pop edi */
   4223     esi = POP32_VAL(esp); /* 0x360EE9D8: pop esi */
   4224     ebx = POP32_VAL(esp); /* 0x360EE9D9: pop ebx */
   4225     MEM32(FS_BASE + (0)) = ecx; /* 0x360EE9DA: mov dword ptr fs:[0], ecx */
   4226     esp = ebp; /* 0x360EE9E1: mov esp, ebp */
   4227     ebp = POP32_VAL(esp); /* 0x360EE9E3: pop ebp */
   4228     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EE9E4: ret 4 */
   4229     RECOMP_REGS_OUT();
   4230 }
   4231 
   4232 void sub_360EE9F0(void) {
   4233     int _fpu_cmp = 0;
   4234     uint32_t _cf = 0;
   4235     int _df = 1;
   4236     uint32_t _flag_k = FK_NONE;
   4237     uint32_t _flag_a = 0, _flag_b = 0;
   4238     uint32_t _itail_tgt = 0;
   4239     RECOMP_REGS_LOCALS
   4240     RECOMP_ENTER(0x360EE9F0u);
   4241 
   4242 L_360EE9F0:
   4243     PUSH32(esp, ebp); /* 0x360EE9F0: push ebp */
   4244     ebp = esp; /* 0x360EE9F1: mov ebp, esp */
   4245     PUSH32(esp, 0xFFFFFFFFu); /* 0x360EE9F3: push -1 */
   4246     PUSH32(esp, 0x36168CD5u); /* 0x360EE9F5: push 0x36168cd5 */
   4247     eax = MEM32(FS_BASE + (0)); /* 0x360EE9FA: mov eax, dword ptr fs:[0] */
   4248     PUSH32(esp, eax); /* 0x360EEA00: push eax */
   4249     MEM32(FS_BASE + (0)) = esp; /* 0x360EEA01: mov dword ptr fs:[0], esp */
   4250     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   4251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4252     esp = esp - 0x20u; /* 0x360EEA08: sub esp, 0x20 */
   4253     _flag_k = FK_CMP;
   4254     PUSH32(esp, ebx); /* 0x360EEA0B: push ebx */
   4255     ebx = MEM32(ebp + 0x8); /* 0x360EEA0C: mov ebx, dword ptr [ebp + 8] */
   4256     PUSH32(esp, esi); /* 0x360EEA0F: push esi */
   4257     PUSH32(esp, edi); /* 0x360EEA10: push edi */
   4258     PUSH32(esp, ebx); /* 0x360EEA11: push ebx */
   4259     RECOMP_ICALL(MEM32(0x3616FB4C)); /* 0x360EEA12: call dword ptr [0x3616fb4c] */
   4260     RECOMP_FLAGS_IN();
   4261     SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x360EEA18: mov al, byte ptr [ebp + 0xb] */
   4262     PUSH32(esp, 0); /* 0x360EEA1B: push 0 */
   4263     ecx = ebp + (-0x2C); /* 0x360EEA1D: lea ecx, [ebp - 0x2c] */
   4264     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x360EEA20: mov byte ptr [ebp - 0x2c], al */
   4265     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEA23: call dword ptr [0x3616f100] */
   4266     RECOMP_FLAGS_IN();
   4267     _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu));
   4268     esi = esi | 0xFFFFFFFFu; /* 0x360EEA29: or esi, 0xffffffff */
   4269     _cf = 0;
   4270     _flag_k = FK_TEST;
   4271     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4272     eax = 0; /* 0x360EEA2C: xor eax, eax */
   4273     _cf = 0;
   4274     _flag_k = FK_TEST;
   4275     edi = 0x362E2AE8u; /* 0x360EEA2E: mov edi, 0x362e2ae8 */
   4276     ecx = esi; /* 0x360EEA33: mov ecx, esi */
   4277     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; } /* 0x360EEA35: repne scasb al, byte ptr es:[edi] */
   4278     ecx = ~ecx; /* 0x360EEA37: not ecx */
   4279     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4280     ecx = ecx - 1; /* 0x360EEA39: dec ecx */
   4281     _flag_k = FK_DEC;
   4282     PUSH32(esp, ecx); /* 0x360EEA3A: push ecx */
   4283     PUSH32(esp, 0x362E2AE8u); /* 0x360EEA3B: push 0x362e2ae8 */
   4284     ecx = ebp + (-0x2C); /* 0x360EEA40: lea ecx, [ebp - 0x2c] */
   4285     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEA43: call dword ptr [0x3616f014] */
   4286     RECOMP_FLAGS_IN();
   4287     edx = MEM32(ebx); /* 0x360EEA49: mov edx, dword ptr [ebx] */
   4288     PUSH32(esp, 0); /* 0x360EEA4B: push 0 */
   4289     PUSH32(esp, 1); /* 0x360EEA4D: push 1 */
   4290     eax = ebp + (-0x2C); /* 0x360EEA4F: lea eax, [ebp - 0x2c] */
   4291     PUSH32(esp, eax); /* 0x360EEA52: push eax */
   4292     ecx = ebx; /* 0x360EEA53: mov ecx, ebx */
   4293     MEM32(ebp + (-0x4)) = 0; /* 0x360EEA55: mov dword ptr [ebp - 4], 0 */
   4294     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEA5C: call dword ptr [edx + 0x10] */
   4295     RECOMP_FLAGS_IN();
   4296     PUSH32(esp, 1); /* 0x360EEA5F: push 1 */
   4297     ecx = ebp + (-0x2C); /* 0x360EEA61: lea ecx, [ebp - 0x2c] */
   4298     MEM32(ebp + (-0x4)) = esi; /* 0x360EEA64: mov dword ptr [ebp - 4], esi */
   4299     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEA67: call dword ptr [0x3616f100] */
   4300     RECOMP_FLAGS_IN();
   4301     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEA6D: mov cl, byte ptr [ebp + 0xb] */
   4302     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEA70: mov byte ptr [ebp - 0x2c], cl */
   4303     PUSH32(esp, 0); /* 0x360EEA73: push 0 */
   4304     ecx = ebp + (-0x2C); /* 0x360EEA75: lea ecx, [ebp - 0x2c] */
   4305     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEA78: call dword ptr [0x3616f100] */
   4306     RECOMP_FLAGS_IN();
   4307     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4308     eax = 0; /* 0x360EEA7E: xor eax, eax */
   4309     _cf = 0;
   4310     _flag_k = FK_TEST;
   4311     edi = 0x362E2AD8u; /* 0x360EEA80: mov edi, 0x362e2ad8 */
   4312     ecx = esi; /* 0x360EEA85: mov ecx, esi */
   4313     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; } /* 0x360EEA87: repne scasb al, byte ptr es:[edi] */
   4314     ecx = ~ecx; /* 0x360EEA89: not ecx */
   4315     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4316     ecx = ecx - 1; /* 0x360EEA8B: dec ecx */
   4317     _flag_k = FK_DEC;
   4318     PUSH32(esp, ecx); /* 0x360EEA8C: push ecx */
   4319     PUSH32(esp, 0x362E2AD8u); /* 0x360EEA8D: push 0x362e2ad8 */
   4320     ecx = ebp + (-0x2C); /* 0x360EEA92: lea ecx, [ebp - 0x2c] */
   4321     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEA95: call dword ptr [0x3616f014] */
   4322     RECOMP_FLAGS_IN();
   4323     edx = MEM32(ebx); /* 0x360EEA9B: mov edx, dword ptr [ebx] */
   4324     PUSH32(esp, 0); /* 0x360EEA9D: push 0 */
   4325     PUSH32(esp, 1); /* 0x360EEA9F: push 1 */
   4326     eax = ebp + (-0x2C); /* 0x360EEAA1: lea eax, [ebp - 0x2c] */
   4327     PUSH32(esp, eax); /* 0x360EEAA4: push eax */
   4328     ecx = ebx; /* 0x360EEAA5: mov ecx, ebx */
   4329     MEM32(ebp + (-0x4)) = 1; /* 0x360EEAA7: mov dword ptr [ebp - 4], 1 */
   4330     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEAAE: call dword ptr [edx + 0x10] */
   4331     RECOMP_FLAGS_IN();
   4332     PUSH32(esp, 1); /* 0x360EEAB1: push 1 */
   4333     ecx = ebp + (-0x2C); /* 0x360EEAB3: lea ecx, [ebp - 0x2c] */
   4334     MEM32(ebp + (-0x4)) = esi; /* 0x360EEAB6: mov dword ptr [ebp - 4], esi */
   4335     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEAB9: call dword ptr [0x3616f100] */
   4336     RECOMP_FLAGS_IN();
   4337     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEABF: mov cl, byte ptr [ebp + 0xb] */
   4338     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEAC2: mov byte ptr [ebp - 0x2c], cl */
   4339     PUSH32(esp, 0); /* 0x360EEAC5: push 0 */
   4340     ecx = ebp + (-0x2C); /* 0x360EEAC7: lea ecx, [ebp - 0x2c] */
   4341     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEACA: call dword ptr [0x3616f100] */
   4342     RECOMP_FLAGS_IN();
   4343     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4344     eax = 0; /* 0x360EEAD0: xor eax, eax */
   4345     _cf = 0;
   4346     _flag_k = FK_TEST;
   4347     edi = 0x362E2ACCu; /* 0x360EEAD2: mov edi, 0x362e2acc */
   4348     ecx = esi; /* 0x360EEAD7: mov ecx, esi */
   4349     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; } /* 0x360EEAD9: repne scasb al, byte ptr es:[edi] */
   4350     ecx = ~ecx; /* 0x360EEADB: not ecx */
   4351     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4352     ecx = ecx - 1; /* 0x360EEADD: dec ecx */
   4353     _flag_k = FK_DEC;
   4354     PUSH32(esp, ecx); /* 0x360EEADE: push ecx */
   4355     PUSH32(esp, 0x362E2ACCu); /* 0x360EEADF: push 0x362e2acc */
   4356     ecx = ebp + (-0x2C); /* 0x360EEAE4: lea ecx, [ebp - 0x2c] */
   4357     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEAE7: call dword ptr [0x3616f014] */
   4358     RECOMP_FLAGS_IN();
   4359     edx = MEM32(ebx); /* 0x360EEAED: mov edx, dword ptr [ebx] */
   4360     MEM32(ebp + (-0x4)) = 2; /* 0x360EEAEF: mov dword ptr [ebp - 4], 2 */
   4361     PUSH32(esp, 0); /* 0x360EEAF6: push 0 */
   4362     PUSH32(esp, 1); /* 0x360EEAF8: push 1 */
   4363     eax = ebp + (-0x2C); /* 0x360EEAFA: lea eax, [ebp - 0x2c] */
   4364     PUSH32(esp, eax); /* 0x360EEAFD: push eax */
   4365     ecx = ebx; /* 0x360EEAFE: mov ecx, ebx */
   4366     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEB00: call dword ptr [edx + 0x10] */
   4367     RECOMP_FLAGS_IN();
   4368     PUSH32(esp, 1); /* 0x360EEB03: push 1 */
   4369     ecx = ebp + (-0x2C); /* 0x360EEB05: lea ecx, [ebp - 0x2c] */
   4370     MEM32(ebp + (-0x4)) = esi; /* 0x360EEB08: mov dword ptr [ebp - 4], esi */
   4371     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEB0B: call dword ptr [0x3616f100] */
   4372     RECOMP_FLAGS_IN();
   4373     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEB11: mov cl, byte ptr [ebp + 0xb] */
   4374     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEB14: mov byte ptr [ebp - 0x2c], cl */
   4375     PUSH32(esp, 0); /* 0x360EEB17: push 0 */
   4376     ecx = ebp + (-0x2C); /* 0x360EEB19: lea ecx, [ebp - 0x2c] */
   4377     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEB1C: call dword ptr [0x3616f100] */
   4378     RECOMP_FLAGS_IN();
   4379     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4380     eax = 0; /* 0x360EEB22: xor eax, eax */
   4381     _cf = 0;
   4382     _flag_k = FK_TEST;
   4383     edi = 0x362E2AC0u; /* 0x360EEB24: mov edi, 0x362e2ac0 */
   4384     ecx = esi; /* 0x360EEB29: mov ecx, esi */
   4385     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; } /* 0x360EEB2B: repne scasb al, byte ptr es:[edi] */
   4386     ecx = ~ecx; /* 0x360EEB2D: not ecx */
   4387     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4388     ecx = ecx - 1; /* 0x360EEB2F: dec ecx */
   4389     _flag_k = FK_DEC;
   4390     PUSH32(esp, ecx); /* 0x360EEB30: push ecx */
   4391     PUSH32(esp, 0x362E2AC0u); /* 0x360EEB31: push 0x362e2ac0 */
   4392     ecx = ebp + (-0x2C); /* 0x360EEB36: lea ecx, [ebp - 0x2c] */
   4393     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEB39: call dword ptr [0x3616f014] */
   4394     RECOMP_FLAGS_IN();
   4395     edx = MEM32(ebx); /* 0x360EEB3F: mov edx, dword ptr [ebx] */
   4396     PUSH32(esp, 0); /* 0x360EEB41: push 0 */
   4397     PUSH32(esp, 1); /* 0x360EEB43: push 1 */
   4398     eax = ebp + (-0x2C); /* 0x360EEB45: lea eax, [ebp - 0x2c] */
   4399     PUSH32(esp, eax); /* 0x360EEB48: push eax */
   4400     ecx = ebx; /* 0x360EEB49: mov ecx, ebx */
   4401     MEM32(ebp + (-0x4)) = 3; /* 0x360EEB4B: mov dword ptr [ebp - 4], 3 */
   4402     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEB52: call dword ptr [edx + 0x10] */
   4403     RECOMP_FLAGS_IN();
   4404     PUSH32(esp, 1); /* 0x360EEB55: push 1 */
   4405     ecx = ebp + (-0x2C); /* 0x360EEB57: lea ecx, [ebp - 0x2c] */
   4406     MEM32(ebp + (-0x4)) = esi; /* 0x360EEB5A: mov dword ptr [ebp - 4], esi */
   4407     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEB5D: call dword ptr [0x3616f100] */
   4408     RECOMP_FLAGS_IN();
   4409     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEB63: mov cl, byte ptr [ebp + 0xb] */
   4410     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEB66: mov byte ptr [ebp - 0x2c], cl */
   4411     PUSH32(esp, 0); /* 0x360EEB69: push 0 */
   4412     ecx = ebp + (-0x2C); /* 0x360EEB6B: lea ecx, [ebp - 0x2c] */
   4413     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEB6E: call dword ptr [0x3616f100] */
   4414     RECOMP_FLAGS_IN();
   4415     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4416     eax = 0; /* 0x360EEB74: xor eax, eax */
   4417     _cf = 0;
   4418     _flag_k = FK_TEST;
   4419     edi = 0x362E2AACu; /* 0x360EEB76: mov edi, 0x362e2aac */
   4420     ecx = esi; /* 0x360EEB7B: mov ecx, esi */
   4421     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; } /* 0x360EEB7D: repne scasb al, byte ptr es:[edi] */
   4422     ecx = ~ecx; /* 0x360EEB7F: not ecx */
   4423     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4424     ecx = ecx - 1; /* 0x360EEB81: dec ecx */
   4425     _flag_k = FK_DEC;
   4426     PUSH32(esp, ecx); /* 0x360EEB82: push ecx */
   4427     PUSH32(esp, 0x362E2AACu); /* 0x360EEB83: push 0x362e2aac */
   4428     ecx = ebp + (-0x2C); /* 0x360EEB88: lea ecx, [ebp - 0x2c] */
   4429     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEB8B: call dword ptr [0x3616f014] */
   4430     RECOMP_FLAGS_IN();
   4431     edx = MEM32(ebx); /* 0x360EEB91: mov edx, dword ptr [ebx] */
   4432     PUSH32(esp, 0); /* 0x360EEB93: push 0 */
   4433     PUSH32(esp, 1); /* 0x360EEB95: push 1 */
   4434     eax = ebp + (-0x2C); /* 0x360EEB97: lea eax, [ebp - 0x2c] */
   4435     PUSH32(esp, eax); /* 0x360EEB9A: push eax */
   4436     ecx = ebx; /* 0x360EEB9B: mov ecx, ebx */
   4437     MEM32(ebp + (-0x4)) = 4; /* 0x360EEB9D: mov dword ptr [ebp - 4], 4 */
   4438     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEBA4: call dword ptr [edx + 0x10] */
   4439     RECOMP_FLAGS_IN();
   4440     PUSH32(esp, 1); /* 0x360EEBA7: push 1 */
   4441     ecx = ebp + (-0x2C); /* 0x360EEBA9: lea ecx, [ebp - 0x2c] */
   4442     MEM32(ebp + (-0x4)) = esi; /* 0x360EEBAC: mov dword ptr [ebp - 4], esi */
   4443     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEBAF: call dword ptr [0x3616f100] */
   4444     RECOMP_FLAGS_IN();
   4445     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEBB5: mov cl, byte ptr [ebp + 0xb] */
   4446     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEBB8: mov byte ptr [ebp - 0x2c], cl */
   4447     PUSH32(esp, 0); /* 0x360EEBBB: push 0 */
   4448     ecx = ebp + (-0x2C); /* 0x360EEBBD: lea ecx, [ebp - 0x2c] */
   4449     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEBC0: call dword ptr [0x3616f100] */
   4450     RECOMP_FLAGS_IN();
   4451     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4452     eax = 0; /* 0x360EEBC6: xor eax, eax */
   4453     _cf = 0;
   4454     _flag_k = FK_TEST;
   4455     edi = 0x362E2AA0u; /* 0x360EEBC8: mov edi, 0x362e2aa0 */
   4456     ecx = esi; /* 0x360EEBCD: mov ecx, esi */
   4457     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; } /* 0x360EEBCF: repne scasb al, byte ptr es:[edi] */
   4458     ecx = ~ecx; /* 0x360EEBD1: not ecx */
   4459     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4460     ecx = ecx - 1; /* 0x360EEBD3: dec ecx */
   4461     _flag_k = FK_DEC;
   4462     PUSH32(esp, ecx); /* 0x360EEBD4: push ecx */
   4463     PUSH32(esp, 0x362E2AA0u); /* 0x360EEBD5: push 0x362e2aa0 */
   4464     ecx = ebp + (-0x2C); /* 0x360EEBDA: lea ecx, [ebp - 0x2c] */
   4465     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEBDD: call dword ptr [0x3616f014] */
   4466     RECOMP_FLAGS_IN();
   4467     edx = MEM32(ebx); /* 0x360EEBE3: mov edx, dword ptr [ebx] */
   4468     PUSH32(esp, 0); /* 0x360EEBE5: push 0 */
   4469     PUSH32(esp, 1); /* 0x360EEBE7: push 1 */
   4470     eax = ebp + (-0x2C); /* 0x360EEBE9: lea eax, [ebp - 0x2c] */
   4471     PUSH32(esp, eax); /* 0x360EEBEC: push eax */
   4472     ecx = ebx; /* 0x360EEBED: mov ecx, ebx */
   4473     MEM32(ebp + (-0x4)) = 5; /* 0x360EEBEF: mov dword ptr [ebp - 4], 5 */
   4474     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEBF6: call dword ptr [edx + 0x10] */
   4475     RECOMP_FLAGS_IN();
   4476     PUSH32(esp, 1); /* 0x360EEBF9: push 1 */
   4477     ecx = ebp + (-0x2C); /* 0x360EEBFB: lea ecx, [ebp - 0x2c] */
   4478     MEM32(ebp + (-0x4)) = esi; /* 0x360EEBFE: mov dword ptr [ebp - 4], esi */
   4479     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEC01: call dword ptr [0x3616f100] */
   4480     RECOMP_FLAGS_IN();
   4481     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEC07: mov cl, byte ptr [ebp + 0xb] */
   4482     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEC0A: mov byte ptr [ebp - 0x2c], cl */
   4483     PUSH32(esp, 0); /* 0x360EEC0D: push 0 */
   4484     ecx = ebp + (-0x2C); /* 0x360EEC0F: lea ecx, [ebp - 0x2c] */
   4485     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEC12: call dword ptr [0x3616f100] */
   4486     RECOMP_FLAGS_IN();
   4487     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4488     eax = 0; /* 0x360EEC18: xor eax, eax */
   4489     _cf = 0;
   4490     _flag_k = FK_TEST;
   4491     edi = 0x362E2A94u; /* 0x360EEC1A: mov edi, 0x362e2a94 */
   4492     ecx = esi; /* 0x360EEC1F: mov ecx, esi */
   4493     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; } /* 0x360EEC21: repne scasb al, byte ptr es:[edi] */
   4494     ecx = ~ecx; /* 0x360EEC23: not ecx */
   4495     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4496     ecx = ecx - 1; /* 0x360EEC25: dec ecx */
   4497     _flag_k = FK_DEC;
   4498     PUSH32(esp, ecx); /* 0x360EEC26: push ecx */
   4499     PUSH32(esp, 0x362E2A94u); /* 0x360EEC27: push 0x362e2a94 */
   4500     ecx = ebp + (-0x2C); /* 0x360EEC2C: lea ecx, [ebp - 0x2c] */
   4501     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEC2F: call dword ptr [0x3616f014] */
   4502     RECOMP_FLAGS_IN();
   4503     edx = MEM32(ebx); /* 0x360EEC35: mov edx, dword ptr [ebx] */
   4504     PUSH32(esp, 0); /* 0x360EEC37: push 0 */
   4505     PUSH32(esp, 1); /* 0x360EEC39: push 1 */
   4506     eax = ebp + (-0x2C); /* 0x360EEC3B: lea eax, [ebp - 0x2c] */
   4507     PUSH32(esp, eax); /* 0x360EEC3E: push eax */
   4508     ecx = ebx; /* 0x360EEC3F: mov ecx, ebx */
   4509     MEM32(ebp + (-0x4)) = 6; /* 0x360EEC41: mov dword ptr [ebp - 4], 6 */
   4510     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEC48: call dword ptr [edx + 0x10] */
   4511     RECOMP_FLAGS_IN();
   4512     PUSH32(esp, 1); /* 0x360EEC4B: push 1 */
   4513     ecx = ebp + (-0x2C); /* 0x360EEC4D: lea ecx, [ebp - 0x2c] */
   4514     MEM32(ebp + (-0x4)) = esi; /* 0x360EEC50: mov dword ptr [ebp - 4], esi */
   4515     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEC53: call dword ptr [0x3616f100] */
   4516     RECOMP_FLAGS_IN();
   4517     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEC59: mov cl, byte ptr [ebp + 0xb] */
   4518     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEC5C: mov byte ptr [ebp - 0x2c], cl */
   4519     PUSH32(esp, 0); /* 0x360EEC5F: push 0 */
   4520     ecx = ebp + (-0x2C); /* 0x360EEC61: lea ecx, [ebp - 0x2c] */
   4521     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEC64: call dword ptr [0x3616f100] */
   4522     RECOMP_FLAGS_IN();
   4523     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4524     eax = 0; /* 0x360EEC6A: xor eax, eax */
   4525     _cf = 0;
   4526     _flag_k = FK_TEST;
   4527     edi = 0x362E2A84u; /* 0x360EEC6C: mov edi, 0x362e2a84 */
   4528     ecx = esi; /* 0x360EEC71: mov ecx, esi */
   4529     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; } /* 0x360EEC73: repne scasb al, byte ptr es:[edi] */
   4530     ecx = ~ecx; /* 0x360EEC75: not ecx */
   4531     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4532     ecx = ecx - 1; /* 0x360EEC77: dec ecx */
   4533     _flag_k = FK_DEC;
   4534     PUSH32(esp, ecx); /* 0x360EEC78: push ecx */
   4535     PUSH32(esp, 0x362E2A84u); /* 0x360EEC79: push 0x362e2a84 */
   4536     ecx = ebp + (-0x2C); /* 0x360EEC7E: lea ecx, [ebp - 0x2c] */
   4537     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EEC81: call dword ptr [0x3616f014] */
   4538     RECOMP_FLAGS_IN();
   4539     edx = MEM32(ebx); /* 0x360EEC87: mov edx, dword ptr [ebx] */
   4540     PUSH32(esp, 0); /* 0x360EEC89: push 0 */
   4541     PUSH32(esp, 1); /* 0x360EEC8B: push 1 */
   4542     eax = ebp + (-0x2C); /* 0x360EEC8D: lea eax, [ebp - 0x2c] */
   4543     PUSH32(esp, eax); /* 0x360EEC90: push eax */
   4544     ecx = ebx; /* 0x360EEC91: mov ecx, ebx */
   4545     MEM32(ebp + (-0x4)) = 7; /* 0x360EEC93: mov dword ptr [ebp - 4], 7 */
   4546     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEC9A: call dword ptr [edx + 0x10] */
   4547     RECOMP_FLAGS_IN();
   4548     PUSH32(esp, 1); /* 0x360EEC9D: push 1 */
   4549     ecx = ebp + (-0x2C); /* 0x360EEC9F: lea ecx, [ebp - 0x2c] */
   4550     MEM32(ebp + (-0x4)) = esi; /* 0x360EECA2: mov dword ptr [ebp - 4], esi */
   4551     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EECA5: call dword ptr [0x3616f100] */
   4552     RECOMP_FLAGS_IN();
   4553     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EECAB: mov cl, byte ptr [ebp + 0xb] */
   4554     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EECAE: mov byte ptr [ebp - 0x2c], cl */
   4555     PUSH32(esp, 0); /* 0x360EECB1: push 0 */
   4556     ecx = ebp + (-0x2C); /* 0x360EECB3: lea ecx, [ebp - 0x2c] */
   4557     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EECB6: call dword ptr [0x3616f100] */
   4558     RECOMP_FLAGS_IN();
   4559     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4560     eax = 0; /* 0x360EECBC: xor eax, eax */
   4561     _cf = 0;
   4562     _flag_k = FK_TEST;
   4563     edi = 0x362E2A78u; /* 0x360EECBE: mov edi, 0x362e2a78 */
   4564     ecx = esi; /* 0x360EECC3: mov ecx, esi */
   4565     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; } /* 0x360EECC5: repne scasb al, byte ptr es:[edi] */
   4566     ecx = ~ecx; /* 0x360EECC7: not ecx */
   4567     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4568     ecx = ecx - 1; /* 0x360EECC9: dec ecx */
   4569     _flag_k = FK_DEC;
   4570     PUSH32(esp, ecx); /* 0x360EECCA: push ecx */
   4571     PUSH32(esp, 0x362E2A78u); /* 0x360EECCB: push 0x362e2a78 */
   4572     ecx = ebp + (-0x2C); /* 0x360EECD0: lea ecx, [ebp - 0x2c] */
   4573     RECOMP_ICALL(MEM32(0x3616F014)); /* 0x360EECD3: call dword ptr [0x3616f014] */
   4574     RECOMP_FLAGS_IN();
   4575     edx = MEM32(ebx); /* 0x360EECD9: mov edx, dword ptr [ebx] */
   4576     PUSH32(esp, 0); /* 0x360EECDB: push 0 */
   4577     PUSH32(esp, 1); /* 0x360EECDD: push 1 */
   4578     eax = ebp + (-0x2C); /* 0x360EECDF: lea eax, [ebp - 0x2c] */
   4579     PUSH32(esp, eax); /* 0x360EECE2: push eax */
   4580     ecx = ebx; /* 0x360EECE3: mov ecx, ebx */
   4581     MEM32(ebp + (-0x4)) = 8; /* 0x360EECE5: mov dword ptr [ebp - 4], 8 */
   4582     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EECEC: call dword ptr [edx + 0x10] */
   4583     RECOMP_FLAGS_IN();
   4584     PUSH32(esp, 1); /* 0x360EECEF: push 1 */
   4585     ecx = ebp + (-0x2C); /* 0x360EECF1: lea ecx, [ebp - 0x2c] */
   4586     MEM32(ebp + (-0x4)) = esi; /* 0x360EECF4: mov dword ptr [ebp - 4], esi */
   4587     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EECF7: call dword ptr [0x3616f100] */
   4588     RECOMP_FLAGS_IN();
   4589     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EECFD: mov cl, byte ptr [ebp + 0xb] */
   4590     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EED00: mov byte ptr [ebp - 0x2c], cl */
   4591     PUSH32(esp, 0); /* 0x360EED03: push 0 */
   4592     ecx = ebp + (-0x2C); /* 0x360EED05: lea ecx, [ebp - 0x2c] */
   4593     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EED08: call dword ptr [0x3616f100] */
   4594     RECOMP_FLAGS_IN();
   4595     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4596     eax = 0; /* 0x360EED0E: xor eax, eax */
   4597     _cf = 0;
   4598     _flag_k = FK_TEST;
   4599     edi = 0x362E2A6Cu; /* 0x360EED10: mov edi, 0x362e2a6c */
   4600     ecx = esi; /* 0x360EED15: mov ecx, esi */
   4601     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; } /* 0x360EED17: repne scasb al, byte ptr es:[edi] */
   4602     ecx = ~ecx; /* 0x360EED19: not ecx */
   4603     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4604     ecx = ecx - 1; /* 0x360EED1B: dec ecx */
   4605     _flag_k = FK_DEC;
   4606     edi = ecx; /* 0x360EED1C: mov edi, ecx */
   4607     PUSH32(esp, 1); /* 0x360EED1E: push 1 */
   4608     PUSH32(esp, edi); /* 0x360EED20: push edi */
   4609     ecx = ebp + (-0x2C); /* 0x360EED21: lea ecx, [ebp - 0x2c] */
   4610     MEM32(ebp + 0x8) = edi; /* 0x360EED24: mov dword ptr [ebp + 8], edi */
   4611     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EED27: call dword ptr [0x3616f00c] */
   4612     RECOMP_FLAGS_IN();
   4613     /* test LO8(eax), LO8(eax) */ /* 0x360EED2D: test al, al */
   4614     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4615     _cf = 0;
   4616     _flag_k = FK_NARROW(FK_TEST, 24);
   4617     if (TEST_Z(_flag_a, _flag_b)) goto L_360EED58; /* 0x360EED2F: je 0x360eed58 */
   4618 L_360EED31:
   4619     ecx = edi; /* 0x360EED31: mov ecx, edi */
   4620     edi = MEM32(ebp + (-0x28)); /* 0x360EED33: mov edi, dword ptr [ebp - 0x28] */
   4621     edx = ecx; /* 0x360EED36: mov edx, ecx */
   4622     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EED38: shr ecx, 2 */
   4623     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4624     ecx = ecx >> 2u; /* 0x360EED38: shr ecx, 2 */
   4625     esi = 0x362E2A6Cu; /* 0x360EED3B: mov esi, 0x362e2a6c */
   4626     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EED40: 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; }
   4627     ecx = edx; /* 0x360EED42: mov ecx, edx */
   4628     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4629     ecx = ecx & 3; /* 0x360EED44: and ecx, 3 */
   4630     _cf = 0;
   4631     _flag_k = FK_TEST;
   4632     eax = edx; /* 0x360EED47: mov eax, edx */
   4633     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EED49: 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; }
   4634     PUSH32(esp, eax); /* 0x360EED4B: push eax */
   4635     ecx = ebp + (-0x2C); /* 0x360EED4C: lea ecx, [ebp - 0x2c] */
   4636     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EED4F: call dword ptr [0x3616f044] */
   4637     RECOMP_FLAGS_IN();
   4638     _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu));
   4639     esi = esi | 0xFFFFFFFFu; /* 0x360EED55: or esi, 0xffffffff */
   4640     _cf = 0;
   4641     _flag_k = FK_TEST;
   4642 L_360EED58:
   4643     edx = MEM32(ebx); /* 0x360EED58: mov edx, dword ptr [ebx] */
   4644     PUSH32(esp, 0); /* 0x360EED5A: push 0 */
   4645     PUSH32(esp, 1); /* 0x360EED5C: push 1 */
   4646     eax = ebp + (-0x2C); /* 0x360EED5E: lea eax, [ebp - 0x2c] */
   4647     PUSH32(esp, eax); /* 0x360EED61: push eax */
   4648     ecx = ebx; /* 0x360EED62: mov ecx, ebx */
   4649     MEM32(ebp + (-0x4)) = 9; /* 0x360EED64: mov dword ptr [ebp - 4], 9 */
   4650     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EED6B: call dword ptr [edx + 0x10] */
   4651     RECOMP_FLAGS_IN();
   4652     PUSH32(esp, 1); /* 0x360EED6E: push 1 */
   4653     ecx = ebp + (-0x2C); /* 0x360EED70: lea ecx, [ebp - 0x2c] */
   4654     MEM32(ebp + (-0x4)) = esi; /* 0x360EED73: mov dword ptr [ebp - 4], esi */
   4655     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EED76: call dword ptr [0x3616f100] */
   4656     RECOMP_FLAGS_IN();
   4657     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EED7C: mov cl, byte ptr [ebp + 0xb] */
   4658     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EED7F: mov byte ptr [ebp - 0x2c], cl */
   4659     PUSH32(esp, 0); /* 0x360EED82: push 0 */
   4660     ecx = ebp + (-0x2C); /* 0x360EED84: lea ecx, [ebp - 0x2c] */
   4661     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EED87: call dword ptr [0x3616f100] */
   4662     RECOMP_FLAGS_IN();
   4663     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4664     eax = 0; /* 0x360EED8D: xor eax, eax */
   4665     _cf = 0;
   4666     _flag_k = FK_TEST;
   4667     edi = 0x362E2A58u; /* 0x360EED8F: mov edi, 0x362e2a58 */
   4668     ecx = esi; /* 0x360EED94: mov ecx, esi */
   4669     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; } /* 0x360EED96: repne scasb al, byte ptr es:[edi] */
   4670     ecx = ~ecx; /* 0x360EED98: not ecx */
   4671     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4672     ecx = ecx - 1; /* 0x360EED9A: dec ecx */
   4673     _flag_k = FK_DEC;
   4674     edi = ecx; /* 0x360EED9B: mov edi, ecx */
   4675     PUSH32(esp, 1); /* 0x360EED9D: push 1 */
   4676     PUSH32(esp, edi); /* 0x360EED9F: push edi */
   4677     ecx = ebp + (-0x2C); /* 0x360EEDA0: lea ecx, [ebp - 0x2c] */
   4678     MEM32(ebp + 0x8) = edi; /* 0x360EEDA3: mov dword ptr [ebp + 8], edi */
   4679     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EEDA6: call dword ptr [0x3616f00c] */
   4680     RECOMP_FLAGS_IN();
   4681     /* test LO8(eax), LO8(eax) */ /* 0x360EEDAC: test al, al */
   4682     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4683     _cf = 0;
   4684     _flag_k = FK_NARROW(FK_TEST, 24);
   4685     if (TEST_Z(_flag_a, _flag_b)) goto L_360EEDD7; /* 0x360EEDAE: je 0x360eedd7 */
   4686 L_360EEDB0:
   4687     ecx = edi; /* 0x360EEDB0: mov ecx, edi */
   4688     edi = MEM32(ebp + (-0x28)); /* 0x360EEDB2: mov edi, dword ptr [ebp - 0x28] */
   4689     edx = ecx; /* 0x360EEDB5: mov edx, ecx */
   4690     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EEDB7: shr ecx, 2 */
   4691     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4692     ecx = ecx >> 2u; /* 0x360EEDB7: shr ecx, 2 */
   4693     esi = 0x362E2A58u; /* 0x360EEDBA: mov esi, 0x362e2a58 */
   4694     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EEDBF: 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; }
   4695     ecx = edx; /* 0x360EEDC1: mov ecx, edx */
   4696     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4697     ecx = ecx & 3; /* 0x360EEDC3: and ecx, 3 */
   4698     _cf = 0;
   4699     _flag_k = FK_TEST;
   4700     eax = edx; /* 0x360EEDC6: mov eax, edx */
   4701     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EEDC8: 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; }
   4702     PUSH32(esp, eax); /* 0x360EEDCA: push eax */
   4703     ecx = ebp + (-0x2C); /* 0x360EEDCB: lea ecx, [ebp - 0x2c] */
   4704     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EEDCE: call dword ptr [0x3616f044] */
   4705     RECOMP_FLAGS_IN();
   4706     _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu));
   4707     esi = esi | 0xFFFFFFFFu; /* 0x360EEDD4: or esi, 0xffffffff */
   4708     _cf = 0;
   4709     _flag_k = FK_TEST;
   4710 L_360EEDD7:
   4711     edx = MEM32(ebx); /* 0x360EEDD7: mov edx, dword ptr [ebx] */
   4712     PUSH32(esp, 0); /* 0x360EEDD9: push 0 */
   4713     PUSH32(esp, 1); /* 0x360EEDDB: push 1 */
   4714     eax = ebp + (-0x2C); /* 0x360EEDDD: lea eax, [ebp - 0x2c] */
   4715     PUSH32(esp, eax); /* 0x360EEDE0: push eax */
   4716     ecx = ebx; /* 0x360EEDE1: mov ecx, ebx */
   4717     MEM32(ebp + (-0x4)) = 0xAu; /* 0x360EEDE3: mov dword ptr [ebp - 4], 0xa */
   4718     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEDEA: call dword ptr [edx + 0x10] */
   4719     RECOMP_FLAGS_IN();
   4720     PUSH32(esp, 1); /* 0x360EEDED: push 1 */
   4721     ecx = ebp + (-0x2C); /* 0x360EEDEF: lea ecx, [ebp - 0x2c] */
   4722     MEM32(ebp + (-0x4)) = esi; /* 0x360EEDF2: mov dword ptr [ebp - 4], esi */
   4723     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEDF5: call dword ptr [0x3616f100] */
   4724     RECOMP_FLAGS_IN();
   4725     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEDFB: mov cl, byte ptr [ebp + 0xb] */
   4726     MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(ecx)); /* 0x360EEDFE: mov byte ptr [ebp - 0x2c], cl */
   4727     PUSH32(esp, 0); /* 0x360EEE01: push 0 */
   4728     ecx = ebp + (-0x2C); /* 0x360EEE03: lea ecx, [ebp - 0x2c] */
   4729     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEE06: call dword ptr [0x3616f100] */
   4730     RECOMP_FLAGS_IN();
   4731     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4732     eax = 0; /* 0x360EEE0C: xor eax, eax */
   4733     _cf = 0;
   4734     _flag_k = FK_TEST;
   4735     edi = 0x362E2A4Cu; /* 0x360EEE0E: mov edi, 0x362e2a4c */
   4736     ecx = esi; /* 0x360EEE13: mov ecx, esi */
   4737     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; } /* 0x360EEE15: repne scasb al, byte ptr es:[edi] */
   4738     ecx = ~ecx; /* 0x360EEE17: not ecx */
   4739     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4740     ecx = ecx - 1; /* 0x360EEE19: dec ecx */
   4741     _flag_k = FK_DEC;
   4742     edi = ecx; /* 0x360EEE1A: mov edi, ecx */
   4743     PUSH32(esp, 1); /* 0x360EEE1C: push 1 */
   4744     PUSH32(esp, edi); /* 0x360EEE1E: push edi */
   4745     ecx = ebp + (-0x2C); /* 0x360EEE1F: lea ecx, [ebp - 0x2c] */
   4746     MEM32(ebp + 0x8) = edi; /* 0x360EEE22: mov dword ptr [ebp + 8], edi */
   4747     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EEE25: call dword ptr [0x3616f00c] */
   4748     RECOMP_FLAGS_IN();
   4749     /* test LO8(eax), LO8(eax) */ /* 0x360EEE2B: test al, al */
   4750     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4751     _cf = 0;
   4752     _flag_k = FK_NARROW(FK_TEST, 24);
   4753     if (TEST_Z(_flag_a, _flag_b)) goto L_360EEE56; /* 0x360EEE2D: je 0x360eee56 */
   4754 L_360EEE2F:
   4755     ecx = edi; /* 0x360EEE2F: mov ecx, edi */
   4756     edi = MEM32(ebp + (-0x28)); /* 0x360EEE31: mov edi, dword ptr [ebp - 0x28] */
   4757     edx = ecx; /* 0x360EEE34: mov edx, ecx */
   4758     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EEE36: shr ecx, 2 */
   4759     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4760     ecx = ecx >> 2u; /* 0x360EEE36: shr ecx, 2 */
   4761     esi = 0x362E2A4Cu; /* 0x360EEE39: mov esi, 0x362e2a4c */
   4762     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EEE3E: 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; }
   4763     ecx = edx; /* 0x360EEE40: mov ecx, edx */
   4764     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4765     ecx = ecx & 3; /* 0x360EEE42: and ecx, 3 */
   4766     _cf = 0;
   4767     _flag_k = FK_TEST;
   4768     eax = edx; /* 0x360EEE45: mov eax, edx */
   4769     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EEE47: 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; }
   4770     PUSH32(esp, eax); /* 0x360EEE49: push eax */
   4771     ecx = ebp + (-0x2C); /* 0x360EEE4A: lea ecx, [ebp - 0x2c] */
   4772     RECOMP_ICALL(MEM32(0x3616F044)); /* 0x360EEE4D: call dword ptr [0x3616f044] */
   4773     RECOMP_FLAGS_IN();
   4774     _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu));
   4775     esi = esi | 0xFFFFFFFFu; /* 0x360EEE53: or esi, 0xffffffff */
   4776     _cf = 0;
   4777     _flag_k = FK_TEST;
   4778 L_360EEE56:
   4779     edx = MEM32(ebx); /* 0x360EEE56: mov edx, dword ptr [ebx] */
   4780     PUSH32(esp, 0); /* 0x360EEE58: push 0 */
   4781     PUSH32(esp, 1); /* 0x360EEE5A: push 1 */
   4782     eax = ebp + (-0x2C); /* 0x360EEE5C: lea eax, [ebp - 0x2c] */
   4783     PUSH32(esp, eax); /* 0x360EEE5F: push eax */
   4784     ecx = ebx; /* 0x360EEE60: mov ecx, ebx */
   4785     MEM32(ebp + (-0x4)) = 0xBu; /* 0x360EEE62: mov dword ptr [ebp - 4], 0xb */
   4786     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEE69: call dword ptr [edx + 0x10] */
   4787     RECOMP_FLAGS_IN();
   4788     PUSH32(esp, 1); /* 0x360EEE6C: push 1 */
   4789     ecx = ebp + (-0x2C); /* 0x360EEE6E: lea ecx, [ebp - 0x2c] */
   4790     MEM32(ebp + (-0x4)) = esi; /* 0x360EEE71: mov dword ptr [ebp - 4], esi */
   4791     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEE74: call dword ptr [0x3616f100] */
   4792     RECOMP_FLAGS_IN();
   4793     SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x360EEE7A: mov cl, byte ptr [ebp + 0xb] */
   4794     MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x360EEE7D: mov byte ptr [ebp - 0x1c], cl */
   4795     PUSH32(esp, 0); /* 0x360EEE80: push 0 */
   4796     ecx = ebp + (-0x1C); /* 0x360EEE82: lea ecx, [ebp - 0x1c] */
   4797     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEE85: call dword ptr [0x3616f100] */
   4798     RECOMP_FLAGS_IN();
   4799     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4800     eax = 0; /* 0x360EEE8B: xor eax, eax */
   4801     _cf = 0;
   4802     _flag_k = FK_TEST;
   4803     edi = 0x362E2A40u; /* 0x360EEE8D: mov edi, 0x362e2a40 */
   4804     ecx = esi; /* 0x360EEE92: mov ecx, esi */
   4805     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; } /* 0x360EEE94: repne scasb al, byte ptr es:[edi] */
   4806     ecx = ~ecx; /* 0x360EEE96: not ecx */
   4807     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   4808     ecx = ecx - 1; /* 0x360EEE98: dec ecx */
   4809     _flag_k = FK_DEC;
   4810     edi = ecx; /* 0x360EEE99: mov edi, ecx */
   4811     PUSH32(esp, 1); /* 0x360EEE9B: push 1 */
   4812     PUSH32(esp, edi); /* 0x360EEE9D: push edi */
   4813     ecx = ebp + (-0x1C); /* 0x360EEE9E: lea ecx, [ebp - 0x1c] */
   4814     MEM32(ebp + 0x8) = edi; /* 0x360EEEA1: mov dword ptr [ebp + 8], edi */
   4815     RECOMP_ICALL(MEM32(0x3616F00C)); /* 0x360EEEA4: call dword ptr [0x3616f00c] */
   4816     RECOMP_FLAGS_IN();
   4817     /* test LO8(eax), LO8(eax) */ /* 0x360EEEAA: test al, al */
   4818     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4819     _cf = 0;
   4820     _flag_k = FK_NARROW(FK_TEST, 24);
   4821     if (TEST_Z(_flag_a, _flag_b)) goto L_360EEED5; /* 0x360EEEAC: je 0x360eeed5 */
   4822 L_360EEEAE:
   4823     ecx = edi; /* 0x360EEEAE: mov ecx, edi */
   4824     edi = MEM32(ebp + (-0x18)); /* 0x360EEEB0: mov edi, dword ptr [ebp - 0x18] */
   4825     edx = ecx; /* 0x360EEEB3: mov edx, ecx */
   4826     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x360EEEB5: shr ecx, 2 */
   4827     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4828     ecx = ecx >> 2u; /* 0x360EEEB5: shr ecx, 2 */
   4829     esi = 0x362E2A40u; /* 0x360EEEB8: mov esi, 0x362e2a40 */
   4830     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360EEEBD: 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; }
   4831     ecx = edx; /* 0x360EEEBF: mov ecx, edx */
   4832     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4833     ecx = ecx & 3; /* 0x360EEEC1: and ecx, 3 */
   4834     _cf = 0;
   4835     _flag_k = FK_TEST;
   4836     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x360EEEC4: 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; }
   4837     ecx = MEM32(ebp + (-0x18)); /* 0x360EEEC6: mov ecx, dword ptr [ebp - 0x18] */
   4838     eax = edx; /* 0x360EEEC9: mov eax, edx */
   4839     MEM32(ebp + (-0x14)) = eax; /* 0x360EEECB: mov dword ptr [ebp - 0x14], eax */
   4840     MEM8(ecx + eax) = (uint8_t)(0); /* 0x360EEECE: mov byte ptr [ecx + eax], 0 */
   4841     _flag_a = (uint32_t)((esi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((esi | 0xFFFFFFFFu));
   4842     esi = esi | 0xFFFFFFFFu; /* 0x360EEED2: or esi, 0xffffffff */
   4843     _cf = 0;
   4844     _flag_k = FK_TEST;
   4845 L_360EEED5:
   4846     edx = MEM32(ebx); /* 0x360EEED5: mov edx, dword ptr [ebx] */
   4847     PUSH32(esp, 0); /* 0x360EEED7: push 0 */
   4848     PUSH32(esp, 1); /* 0x360EEED9: push 1 */
   4849     eax = ebp + (-0x1C); /* 0x360EEEDB: lea eax, [ebp - 0x1c] */
   4850     PUSH32(esp, eax); /* 0x360EEEDE: push eax */
   4851     ecx = ebx; /* 0x360EEEDF: mov ecx, ebx */
   4852     MEM32(ebp + (-0x4)) = 0xCu; /* 0x360EEEE1: mov dword ptr [ebp - 4], 0xc */
   4853     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x360EEEE8: call dword ptr [edx + 0x10] */
   4854     RECOMP_FLAGS_IN();
   4855     PUSH32(esp, 1); /* 0x360EEEEB: push 1 */
   4856     ecx = ebp + (-0x1C); /* 0x360EEEED: lea ecx, [ebp - 0x1c] */
   4857     MEM32(ebp + (-0x4)) = esi; /* 0x360EEEF0: mov dword ptr [ebp - 4], esi */
   4858     RECOMP_ICALL(MEM32(0x3616F100)); /* 0x360EEEF3: call dword ptr [0x3616f100] */
   4859     RECOMP_FLAGS_IN();
   4860     ecx = MEM32(ebp + (-0xC)); /* 0x360EEEF9: mov ecx, dword ptr [ebp - 0xc] */
   4861     edi = POP32_VAL(esp); /* 0x360EEEFC: pop edi */
   4862     esi = POP32_VAL(esp); /* 0x360EEEFD: pop esi */
   4863     ebx = POP32_VAL(esp); /* 0x360EEEFE: pop ebx */
   4864     MEM32(FS_BASE + (0)) = ecx; /* 0x360EEEFF: mov dword ptr fs:[0], ecx */
   4865     esp = ebp; /* 0x360EEF06: mov esp, ebp */
   4866     ebp = POP32_VAL(esp); /* 0x360EEF08: pop ebp */
   4867     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EEF09: ret 4 */
   4868     RECOMP_REGS_OUT();
   4869 }
   4870 
   4871 void sub_360EEF10(void) {
   4872     int _fpu_cmp = 0;
   4873     uint32_t _cf = 0;
   4874     int _df = 1;
   4875     uint32_t _flag_k = FK_NONE;
   4876     uint32_t _flag_a = 0, _flag_b = 0;
   4877     uint32_t _itail_tgt = 0;
   4878     RECOMP_REGS_LOCALS
   4879     RECOMP_ENTER(0x360EEF10u);
   4880 
   4881 L_360EEF10:
   4882     PUSH32(esp, ebp); /* 0x360EEF10: push ebp */
   4883     ebp = esp; /* 0x360EEF11: mov ebp, esp */
   4884     PUSH32(esp, esi); /* 0x360EEF13: push esi */
   4885     PUSH32(esp, edi); /* 0x360EEF14: push edi */
   4886     edi = MEM32(ebp + 0x8); /* 0x360EEF15: mov edi, dword ptr [ebp + 8] */
   4887     esi = ecx; /* 0x360EEF18: mov esi, ecx */
   4888     PUSH32(esp, edi); /* 0x360EEF1A: push edi */
   4889     RECOMP_ICALL(MEM32(0x3616FB50)); /* 0x360EEF1B: call dword ptr [0x3616fb50] */
   4890     RECOMP_FLAGS_IN();
   4891     esi = MEM32(esi + 0x8); /* 0x360EEF21: mov esi, dword ptr [esi + 8] */
   4892     PUSH32(esp, 0x15u); /* 0x360EEF24: push 0x15 */
   4893     PUSH32(esp, esi); /* 0x360EEF26: push esi */
   4894     RECOMP_ICALL(0x360EE8C0u); /* 0x360EEF27: call 0x360ee8c0 */ /* not lifted */
   4895     RECOMP_FLAGS_IN();
   4896     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4897     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4898     esp = esp + 8; /* 0x360EEF2C: add esp, 8 */
   4899     _flag_k = FK_ADD;
   4900     PUSH32(esp, eax); /* 0x360EEF2F: push eax */
   4901     PUSH32(esp, 0x14u); /* 0x360EEF30: push 0x14 */
   4902     PUSH32(esp, esi); /* 0x360EEF32: push esi */
   4903     RECOMP_ICALL(0x360EE8C0u); /* 0x360EEF33: call 0x360ee8c0 */ /* not lifted */
   4904     RECOMP_FLAGS_IN();
   4905     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4906     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4907     esp = esp + 8; /* 0x360EEF38: add esp, 8 */
   4908     _flag_k = FK_ADD;
   4909     PUSH32(esp, eax); /* 0x360EEF3B: push eax */
   4910     PUSH32(esp, 0x13u); /* 0x360EEF3C: push 0x13 */
   4911     PUSH32(esp, esi); /* 0x360EEF3E: push esi */
   4912     RECOMP_ICALL(0x360EE8C0u); /* 0x360EEF3F: call 0x360ee8c0 */ /* not lifted */
   4913     RECOMP_FLAGS_IN();
   4914     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4915     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4916     esp = esp + 8; /* 0x360EEF44: add esp, 8 */
   4917     _flag_k = FK_ADD;
   4918     PUSH32(esp, eax); /* 0x360EEF47: push eax */
   4919     PUSH32(esp, 0x12u); /* 0x360EEF48: push 0x12 */
   4920     PUSH32(esp, esi); /* 0x360EEF4A: push esi */
   4921     RECOMP_ICALL(0x360EE8C0u); /* 0x360EEF4B: call 0x360ee8c0 */ /* not lifted */
   4922     RECOMP_FLAGS_IN();
   4923     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4924     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4925     esp = esp + 8; /* 0x360EEF50: add esp, 8 */
   4926     _flag_k = FK_ADD;
   4927     PUSH32(esp, eax); /* 0x360EEF53: push eax */
   4928     PUSH32(esp, 0x11u); /* 0x360EEF54: push 0x11 */
   4929     PUSH32(esp, esi); /* 0x360EEF56: push esi */
   4930     RECOMP_ICALL(0x360EE8C0u); /* 0x360EEF57: call 0x360ee8c0 */ /* not lifted */
   4931     RECOMP_FLAGS_IN();
   4932     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4933     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4934     esp = esp + 8; /* 0x360EEF5C: add esp, 8 */
   4935     _flag_k = FK_ADD;
   4936     PUSH32(esp, eax); /* 0x360EEF5F: push eax */
   4937     PUSH32(esp, 0x10u); /* 0x360EEF60: push 0x10 */
   4938     PUSH32(esp, esi); /* 0x360EEF62: push esi */
   4939     RECOMP_ICALL(0x360EE8C0u); /* 0x360EEF63: call 0x360ee8c0 */ /* not lifted */
   4940     RECOMP_FLAGS_IN();
   4941     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4942     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4943     esp = esp + 8; /* 0x360EEF68: add esp, 8 */
   4944     _flag_k = FK_ADD;
   4945     PUSH32(esp, eax); /* 0x360EEF6B: push eax */
   4946     PUSH32(esp, 0x15u); /* 0x360EEF6C: push 0x15 */
   4947     PUSH32(esp, esi); /* 0x360EEF6E: push esi */
   4948     RECOMP_ICALL(0x360EE870u); /* 0x360EEF6F: call 0x360ee870 */ /* not lifted */
   4949     RECOMP_FLAGS_IN();
   4950     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4951     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4952     esp = esp + 8; /* 0x360EEF74: add esp, 8 */
   4953     _flag_k = FK_ADD;
   4954     PUSH32(esp, eax); /* 0x360EEF77: push eax */
   4955     PUSH32(esp, 0x14u); /* 0x360EEF78: push 0x14 */
   4956     PUSH32(esp, esi); /* 0x360EEF7A: push esi */
   4957     RECOMP_ICALL(0x360EE870u); /* 0x360EEF7B: call 0x360ee870 */ /* not lifted */
   4958     RECOMP_FLAGS_IN();
   4959     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4960     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4961     esp = esp + 8; /* 0x360EEF80: add esp, 8 */
   4962     _flag_k = FK_ADD;
   4963     PUSH32(esp, eax); /* 0x360EEF83: push eax */
   4964     PUSH32(esp, 0x13u); /* 0x360EEF84: push 0x13 */
   4965     PUSH32(esp, esi); /* 0x360EEF86: push esi */
   4966     RECOMP_ICALL(0x360EE870u); /* 0x360EEF87: call 0x360ee870 */ /* not lifted */
   4967     RECOMP_FLAGS_IN();
   4968     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4969     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4970     esp = esp + 8; /* 0x360EEF8C: add esp, 8 */
   4971     _flag_k = FK_ADD;
   4972     PUSH32(esp, eax); /* 0x360EEF8F: push eax */
   4973     PUSH32(esp, 0x12u); /* 0x360EEF90: push 0x12 */
   4974     PUSH32(esp, esi); /* 0x360EEF92: push esi */
   4975     RECOMP_ICALL(0x360EE870u); /* 0x360EEF93: call 0x360ee870 */ /* not lifted */
   4976     RECOMP_FLAGS_IN();
   4977     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4978     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4979     esp = esp + 8; /* 0x360EEF98: add esp, 8 */
   4980     _flag_k = FK_ADD;
   4981     PUSH32(esp, eax); /* 0x360EEF9B: push eax */
   4982     PUSH32(esp, 0x11u); /* 0x360EEF9C: push 0x11 */
   4983     PUSH32(esp, esi); /* 0x360EEF9E: push esi */
   4984     RECOMP_ICALL(0x360EE870u); /* 0x360EEF9F: call 0x360ee870 */ /* not lifted */
   4985     RECOMP_FLAGS_IN();
   4986     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4987     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4988     esp = esp + 8; /* 0x360EEFA4: add esp, 8 */
   4989     _flag_k = FK_ADD;
   4990     PUSH32(esp, eax); /* 0x360EEFA7: push eax */
   4991     PUSH32(esp, 0x10u); /* 0x360EEFA8: push 0x10 */
   4992     PUSH32(esp, esi); /* 0x360EEFAA: push esi */
   4993     RECOMP_ICALL(0x360EE870u); /* 0x360EEFAB: call 0x360ee870 */ /* not lifted */
   4994     RECOMP_FLAGS_IN();
   4995     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4996     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4997     esp = esp + 8; /* 0x360EEFB0: add esp, 8 */
   4998     _flag_k = FK_ADD;
   4999     PUSH32(esp, eax); /* 0x360EEFB3: push eax */
   5000     PUSH32(esp, esi); /* 0x360EEFB4: push esi */
   5001     PUSH32(esp, edi); /* 0x360EEFB5: push edi */
   5002     RECOMP_ICALL(0x3615F988u); /* 0x360EEFB6: call 0x3615f988 */ /* not lifted */
   5003     RECOMP_FLAGS_IN();
   5004     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5005     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5006     esp = esp + 8; /* 0x360EEFBB: add esp, 8 */
   5007     _flag_k = FK_ADD;
   5008     PUSH32(esp, eax); /* 0x360EEFBE: push eax */
   5009     RECOMP_ICALL(0x3615F988u); /* 0x360EEFBF: call 0x3615f988 */ /* not lifted */
   5010     RECOMP_FLAGS_IN();
   5011     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5012     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5013     esp = esp + 8; /* 0x360EEFC4: add esp, 8 */
   5014     _flag_k = FK_ADD;
   5015     PUSH32(esp, eax); /* 0x360EEFC7: push eax */
   5016     RECOMP_ICALL(0x3615F988u); /* 0x360EEFC8: call 0x3615f988 */ /* not lifted */
   5017     RECOMP_FLAGS_IN();
   5018     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5019     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5020     esp = esp + 8; /* 0x360EEFCD: add esp, 8 */
   5021     _flag_k = FK_ADD;
   5022     PUSH32(esp, eax); /* 0x360EEFD0: push eax */
   5023     RECOMP_ICALL(0x3615F988u); /* 0x360EEFD1: call 0x3615f988 */ /* not lifted */
   5024     RECOMP_FLAGS_IN();
   5025     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5026     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5027     esp = esp + 8; /* 0x360EEFD6: add esp, 8 */
   5028     _flag_k = FK_ADD;
   5029     PUSH32(esp, eax); /* 0x360EEFD9: push eax */
   5030     RECOMP_ICALL(0x3615F988u); /* 0x360EEFDA: call 0x3615f988 */ /* not lifted */
   5031     RECOMP_FLAGS_IN();
   5032     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5033     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5034     esp = esp + 8; /* 0x360EEFDF: add esp, 8 */
   5035     _flag_k = FK_ADD;
   5036     PUSH32(esp, eax); /* 0x360EEFE2: push eax */
   5037     RECOMP_ICALL(0x3615F988u); /* 0x360EEFE3: call 0x3615f988 */ /* not lifted */
   5038     RECOMP_FLAGS_IN();
   5039     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5040     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5041     esp = esp + 8; /* 0x360EEFE8: add esp, 8 */
   5042     _flag_k = FK_ADD;
   5043     PUSH32(esp, eax); /* 0x360EEFEB: push eax */
   5044     RECOMP_ICALL(0x3615F988u); /* 0x360EEFEC: call 0x3615f988 */ /* not lifted */
   5045     RECOMP_FLAGS_IN();
   5046     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5047     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5048     esp = esp + 8; /* 0x360EEFF1: add esp, 8 */
   5049     _flag_k = FK_ADD;
   5050     PUSH32(esp, eax); /* 0x360EEFF4: push eax */
   5051     RECOMP_ICALL(0x3615F988u); /* 0x360EEFF5: call 0x3615f988 */ /* not lifted */
   5052     RECOMP_FLAGS_IN();
   5053     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5054     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5055     esp = esp + 8; /* 0x360EEFFA: add esp, 8 */
   5056     _flag_k = FK_ADD;
   5057     PUSH32(esp, eax); /* 0x360EEFFD: push eax */
   5058     RECOMP_ICALL(0x3615F988u); /* 0x360EEFFE: call 0x3615f988 */ /* not lifted */
   5059     RECOMP_FLAGS_IN();
   5060     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5061     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5062     esp = esp + 8; /* 0x360EF003: add esp, 8 */
   5063     _flag_k = FK_ADD;
   5064     PUSH32(esp, eax); /* 0x360EF006: push eax */
   5065     RECOMP_ICALL(0x3615F988u); /* 0x360EF007: call 0x3615f988 */ /* not lifted */
   5066     RECOMP_FLAGS_IN();
   5067     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5068     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5069     esp = esp + 8; /* 0x360EF00C: add esp, 8 */
   5070     _flag_k = FK_ADD;
   5071     PUSH32(esp, eax); /* 0x360EF00F: push eax */
   5072     RECOMP_ICALL(0x3615F988u); /* 0x360EF010: call 0x3615f988 */ /* not lifted */
   5073     RECOMP_FLAGS_IN();
   5074     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5075     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5076     esp = esp + 8; /* 0x360EF015: add esp, 8 */
   5077     _flag_k = FK_ADD;
   5078     PUSH32(esp, eax); /* 0x360EF018: push eax */
   5079     RECOMP_ICALL(0x3615F988u); /* 0x360EF019: call 0x3615f988 */ /* not lifted */
   5080     RECOMP_FLAGS_IN();
   5081     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5082     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5083     esp = esp + 8; /* 0x360EF01E: add esp, 8 */
   5084     _flag_k = FK_ADD;
   5085     PUSH32(esp, eax); /* 0x360EF021: push eax */
   5086     RECOMP_ICALL(0x3615F988u); /* 0x360EF022: call 0x3615f988 */ /* not lifted */
   5087     RECOMP_FLAGS_IN();
   5088     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5089     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5090     esp = esp + 8; /* 0x360EF027: add esp, 8 */
   5091     _flag_k = FK_ADD;
   5092     edi = POP32_VAL(esp); /* 0x360EF02A: pop edi */
   5093     esi = POP32_VAL(esp); /* 0x360EF02B: pop esi */
   5094     ebp = POP32_VAL(esp); /* 0x360EF02C: pop ebp */
   5095     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EF02D: ret 4 */
   5096     RECOMP_REGS_OUT();
   5097 }
   5098 
   5099 void sub_360EF030(void) {
   5100     int _fpu_cmp = 0;
   5101     uint32_t _cf = 0;
   5102     int _df = 1;
   5103     uint32_t _flag_k = FK_NONE;
   5104     uint32_t _flag_a = 0, _flag_b = 0;
   5105     uint32_t _itail_tgt = 0;
   5106     RECOMP_REGS_LOCALS
   5107     RECOMP_ENTER(0x360EF030u);
   5108 
   5109 L_360EF030:
   5110     PUSH32(esp, ebp); /* 0x360EF030: push ebp */
   5111     ebp = esp; /* 0x360EF031: mov ebp, esp */
   5112     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u);
   5113     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5114     esp = esp - 0x30u; /* 0x360EF033: sub esp, 0x30 */
   5115     _flag_k = FK_CMP;
   5116     PUSH32(esp, esi); /* 0x360EF036: push esi */
   5117     esi = MEM32(ebp + 0x8); /* 0x360EF037: mov esi, dword ptr [ebp + 8] */
   5118     PUSH32(esp, esi); /* 0x360EF03A: push esi */
   5119     RECOMP_ICALL(MEM32(0x3616FB58)); /* 0x360EF03B: call dword ptr [0x3616fb58] */
   5120     RECOMP_FLAGS_IN();
   5121     /* test LO8(eax), LO8(eax) */ /* 0x360EF041: test al, al */
   5122     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5123     _cf = 0;
   5124     _flag_k = FK_NARROW(FK_TEST, 24);
   5125     if (TEST_NZ(_flag_a, _flag_b)) goto L_360EF04C; /* 0x360EF043: jne 0x360ef04c */
   5126 L_360EF045:
   5127     esi = POP32_VAL(esp); /* 0x360EF045: pop esi */
   5128     esp = ebp; /* 0x360EF046: mov esp, ebp */
   5129     ebp = POP32_VAL(esp); /* 0x360EF048: pop ebp */
   5130     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EF049: ret 4 */
   5131 L_360EF04C:
   5132     eax = ebp + (-0x30); /* 0x360EF04C: lea eax, [ebp - 0x30] */
   5133     PUSH32(esp, eax); /* 0x360EF04F: push eax */
   5134     ecx = ebp + (-0x2C); /* 0x360EF050: lea ecx, [ebp - 0x2c] */
   5135     PUSH32(esp, ecx); /* 0x360EF053: push ecx */
   5136     edx = ebp + (-0x28); /* 0x360EF054: lea edx, [ebp - 0x28] */
   5137     PUSH32(esp, edx); /* 0x360EF057: push edx */
   5138     eax = ebp + (-0x24); /* 0x360EF058: lea eax, [ebp - 0x24] */
   5139     PUSH32(esp, eax); /* 0x360EF05B: push eax */
   5140     ecx = ebp + (-0x20); /* 0x360EF05C: lea ecx, [ebp - 0x20] */
   5141     PUSH32(esp, ecx); /* 0x360EF05F: push ecx */
   5142     edx = ebp + (-0x1C); /* 0x360EF060: lea edx, [ebp - 0x1c] */
   5143     PUSH32(esp, edx); /* 0x360EF063: push edx */
   5144     eax = ebp + (-0x18); /* 0x360EF064: lea eax, [ebp - 0x18] */
   5145     PUSH32(esp, eax); /* 0x360EF067: push eax */
   5146     ecx = ebp + (-0x14); /* 0x360EF068: lea ecx, [ebp - 0x14] */
   5147     PUSH32(esp, ecx); /* 0x360EF06B: push ecx */
   5148     edx = ebp + (-0x10); /* 0x360EF06C: lea edx, [ebp - 0x10] */
   5149     PUSH32(esp, edx); /* 0x360EF06F: push edx */
   5150     eax = ebp + (-0xC); /* 0x360EF070: lea eax, [ebp - 0xc] */
   5151     PUSH32(esp, eax); /* 0x360EF073: push eax */
   5152     ecx = ebp + (-0x8); /* 0x360EF074: lea ecx, [ebp - 8] */
   5153     PUSH32(esp, ecx); /* 0x360EF077: push ecx */
   5154     edx = ebp + (-0x4); /* 0x360EF078: lea edx, [ebp - 4] */
   5155     PUSH32(esp, edx); /* 0x360EF07B: push edx */
   5156     eax = ebp + 0x8; /* 0x360EF07C: lea eax, [ebp + 8] */
   5157     PUSH32(esp, eax); /* 0x360EF07F: push eax */
   5158     PUSH32(esp, esi); /* 0x360EF080: push esi */
   5159     MEM32(ebp + 0x8) = 0; /* 0x360EF081: mov dword ptr [ebp + 8], 0 */
   5160     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF088: call 0x3615f98e */ /* not lifted */
   5161     RECOMP_FLAGS_IN();
   5162     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5163     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5164     esp = esp + 8; /* 0x360EF08D: add esp, 8 */
   5165     _flag_k = FK_ADD;
   5166     PUSH32(esp, eax); /* 0x360EF090: push eax */
   5167     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF091: call 0x3615f98e */ /* not lifted */
   5168     RECOMP_FLAGS_IN();
   5169     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5170     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5171     esp = esp + 8; /* 0x360EF096: add esp, 8 */
   5172     _flag_k = FK_ADD;
   5173     PUSH32(esp, eax); /* 0x360EF099: push eax */
   5174     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF09A: call 0x3615f98e */ /* not lifted */
   5175     RECOMP_FLAGS_IN();
   5176     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5177     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5178     esp = esp + 8; /* 0x360EF09F: add esp, 8 */
   5179     _flag_k = FK_ADD;
   5180     PUSH32(esp, eax); /* 0x360EF0A2: push eax */
   5181     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0A3: call 0x3615f98e */ /* not lifted */
   5182     RECOMP_FLAGS_IN();
   5183     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5184     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5185     esp = esp + 8; /* 0x360EF0A8: add esp, 8 */
   5186     _flag_k = FK_ADD;
   5187     PUSH32(esp, eax); /* 0x360EF0AB: push eax */
   5188     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0AC: call 0x3615f98e */ /* not lifted */
   5189     RECOMP_FLAGS_IN();
   5190     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5191     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5192     esp = esp + 8; /* 0x360EF0B1: add esp, 8 */
   5193     _flag_k = FK_ADD;
   5194     PUSH32(esp, eax); /* 0x360EF0B4: push eax */
   5195     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0B5: call 0x3615f98e */ /* not lifted */
   5196     RECOMP_FLAGS_IN();
   5197     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5198     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5199     esp = esp + 8; /* 0x360EF0BA: add esp, 8 */
   5200     _flag_k = FK_ADD;
   5201     PUSH32(esp, eax); /* 0x360EF0BD: push eax */
   5202     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0BE: call 0x3615f98e */ /* not lifted */
   5203     RECOMP_FLAGS_IN();
   5204     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5205     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5206     esp = esp + 8; /* 0x360EF0C3: add esp, 8 */
   5207     _flag_k = FK_ADD;
   5208     PUSH32(esp, eax); /* 0x360EF0C6: push eax */
   5209     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0C7: call 0x3615f98e */ /* not lifted */
   5210     RECOMP_FLAGS_IN();
   5211     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5212     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5213     esp = esp + 8; /* 0x360EF0CC: add esp, 8 */
   5214     _flag_k = FK_ADD;
   5215     PUSH32(esp, eax); /* 0x360EF0CF: push eax */
   5216     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0D0: call 0x3615f98e */ /* not lifted */
   5217     RECOMP_FLAGS_IN();
   5218     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5219     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5220     esp = esp + 8; /* 0x360EF0D5: add esp, 8 */
   5221     _flag_k = FK_ADD;
   5222     PUSH32(esp, eax); /* 0x360EF0D8: push eax */
   5223     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0D9: call 0x3615f98e */ /* not lifted */
   5224     RECOMP_FLAGS_IN();
   5225     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5226     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5227     esp = esp + 8; /* 0x360EF0DE: add esp, 8 */
   5228     _flag_k = FK_ADD;
   5229     PUSH32(esp, eax); /* 0x360EF0E1: push eax */
   5230     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0E2: call 0x3615f98e */ /* not lifted */
   5231     RECOMP_FLAGS_IN();
   5232     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5233     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5234     esp = esp + 8; /* 0x360EF0E7: add esp, 8 */
   5235     _flag_k = FK_ADD;
   5236     PUSH32(esp, eax); /* 0x360EF0EA: push eax */
   5237     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0EB: call 0x3615f98e */ /* not lifted */
   5238     RECOMP_FLAGS_IN();
   5239     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5240     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5241     esp = esp + 8; /* 0x360EF0F0: add esp, 8 */
   5242     _flag_k = FK_ADD;
   5243     PUSH32(esp, eax); /* 0x360EF0F3: push eax */
   5244     RECOMP_ICALL(0x3615F98Eu); /* 0x360EF0F4: call 0x3615f98e */ /* not lifted */
   5245     RECOMP_FLAGS_IN();
   5246     ecx = MEM32(ebp + 0x8); /* 0x360EF0F9: mov ecx, dword ptr [ebp + 8] */
   5247     edx = MEM32(0x36307274); /* 0x360EF0FC: mov edx, dword ptr [0x36307274] */
   5248     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF102: shl ecx, 4 */
   5249     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5250     ecx = ecx << 4u; /* 0x360EF102: shl ecx, 4 */
   5251     eax = MEM32(ecx + edx + 0x4); /* 0x360EF105: mov eax, dword ptr [ecx + edx + 4] */
   5252     ecx = MEM32(ebp + (-0x4)); /* 0x360EF109: mov ecx, dword ptr [ebp - 4] */
   5253     MEM32(eax) = ecx; /* 0x360EF10C: mov dword ptr [eax], ecx */
   5254     edx = MEM32(ebp + 0x8); /* 0x360EF10E: mov edx, dword ptr [ebp + 8] */
   5255     eax = MEM32(0x36307274); /* 0x360EF111: mov eax, dword ptr [0x36307274] */
   5256     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF116: shl edx, 4 */
   5257     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5258     edx = edx << 4u; /* 0x360EF116: shl edx, 4 */
   5259     ecx = MEM32(edx + eax + 0x4); /* 0x360EF119: mov ecx, dword ptr [edx + eax + 4] */
   5260     edx = MEM32(ebp + (-0x8)); /* 0x360EF11D: mov edx, dword ptr [ebp - 8] */
   5261     MEM32(ecx + 0x4) = edx; /* 0x360EF120: mov dword ptr [ecx + 4], edx */
   5262     eax = MEM32(ebp + 0x8); /* 0x360EF123: mov eax, dword ptr [ebp + 8] */
   5263     ecx = MEM32(0x36307274); /* 0x360EF126: mov ecx, dword ptr [0x36307274] */
   5264     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5265     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5266     esp = esp + 8; /* 0x360EF12C: add esp, 8 */
   5267     _flag_k = FK_ADD;
   5268     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF12F: shl eax, 4 */
   5269     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5270     eax = eax << 4u; /* 0x360EF12F: shl eax, 4 */
   5271     edx = MEM32(eax + ecx + 0x4); /* 0x360EF132: mov edx, dword ptr [eax + ecx + 4] */
   5272     eax = MEM32(ebp + (-0xC)); /* 0x360EF136: mov eax, dword ptr [ebp - 0xc] */
   5273     MEM32(edx + 0x8) = eax; /* 0x360EF139: mov dword ptr [edx + 8], eax */
   5274     ecx = MEM32(ebp + 0x8); /* 0x360EF13C: mov ecx, dword ptr [ebp + 8] */
   5275     edx = MEM32(0x36307274); /* 0x360EF13F: mov edx, dword ptr [0x36307274] */
   5276     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF145: shl ecx, 4 */
   5277     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5278     ecx = ecx << 4u; /* 0x360EF145: shl ecx, 4 */
   5279     eax = MEM32(ecx + edx + 0x4); /* 0x360EF148: mov eax, dword ptr [ecx + edx + 4] */
   5280     ecx = MEM32(ebp + (-0x10)); /* 0x360EF14C: mov ecx, dword ptr [ebp - 0x10] */
   5281     MEM32(eax + 0xC) = ecx; /* 0x360EF14F: mov dword ptr [eax + 0xc], ecx */
   5282     edx = MEM32(ebp + 0x8); /* 0x360EF152: mov edx, dword ptr [ebp + 8] */
   5283     eax = MEM32(0x36307274); /* 0x360EF155: mov eax, dword ptr [0x36307274] */
   5284     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF15A: shl edx, 4 */
   5285     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5286     edx = edx << 4u; /* 0x360EF15A: shl edx, 4 */
   5287     ecx = MEM32(edx + eax + 0x4); /* 0x360EF15D: mov ecx, dword ptr [edx + eax + 4] */
   5288     edx = MEM32(ebp + (-0x14)); /* 0x360EF161: mov edx, dword ptr [ebp - 0x14] */
   5289     MEM32(ecx + 0x10) = edx; /* 0x360EF164: mov dword ptr [ecx + 0x10], edx */
   5290     eax = MEM32(ebp + 0x8); /* 0x360EF167: mov eax, dword ptr [ebp + 8] */
   5291     ecx = MEM32(0x36307274); /* 0x360EF16A: mov ecx, dword ptr [0x36307274] */
   5292     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF170: shl eax, 4 */
   5293     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5294     eax = eax << 4u; /* 0x360EF170: shl eax, 4 */
   5295     edx = MEM32(eax + ecx + 0x4); /* 0x360EF173: mov edx, dword ptr [eax + ecx + 4] */
   5296     eax = MEM32(ebp + (-0x18)); /* 0x360EF177: mov eax, dword ptr [ebp - 0x18] */
   5297     MEM32(edx + 0x14) = eax; /* 0x360EF17A: mov dword ptr [edx + 0x14], eax */
   5298     ecx = MEM32(ebp + 0x8); /* 0x360EF17D: mov ecx, dword ptr [ebp + 8] */
   5299     edx = MEM32(0x3630725C); /* 0x360EF180: mov edx, dword ptr [0x3630725c] */
   5300     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF186: shl ecx, 4 */
   5301     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5302     ecx = ecx << 4u; /* 0x360EF186: shl ecx, 4 */
   5303     eax = MEM32(ecx + edx + 0x4); /* 0x360EF189: mov eax, dword ptr [ecx + edx + 4] */
   5304     ecx = MEM32(ebp + (-0x1C)); /* 0x360EF18D: mov ecx, dword ptr [ebp - 0x1c] */
   5305     MEM32(eax) = ecx; /* 0x360EF190: mov dword ptr [eax], ecx */
   5306     edx = MEM32(ebp + 0x8); /* 0x360EF192: mov edx, dword ptr [ebp + 8] */
   5307     eax = MEM32(0x3630725C); /* 0x360EF195: mov eax, dword ptr [0x3630725c] */
   5308     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF19A: shl edx, 4 */
   5309     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5310     edx = edx << 4u; /* 0x360EF19A: shl edx, 4 */
   5311     ecx = MEM32(edx + eax + 0x4); /* 0x360EF19D: mov ecx, dword ptr [edx + eax + 4] */
   5312     edx = MEM32(ebp + (-0x20)); /* 0x360EF1A1: mov edx, dword ptr [ebp - 0x20] */
   5313     MEM32(ecx + 0x4) = edx; /* 0x360EF1A4: mov dword ptr [ecx + 4], edx */
   5314     eax = MEM32(ebp + 0x8); /* 0x360EF1A7: mov eax, dword ptr [ebp + 8] */
   5315     ecx = MEM32(0x3630725C); /* 0x360EF1AA: mov ecx, dword ptr [0x3630725c] */
   5316     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF1B0: shl eax, 4 */
   5317     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5318     eax = eax << 4u; /* 0x360EF1B0: shl eax, 4 */
   5319     edx = MEM32(eax + ecx + 0x4); /* 0x360EF1B3: mov edx, dword ptr [eax + ecx + 4] */
   5320     eax = MEM32(ebp + (-0x24)); /* 0x360EF1B7: mov eax, dword ptr [ebp - 0x24] */
   5321     MEM32(edx + 0x8) = eax; /* 0x360EF1BA: mov dword ptr [edx + 8], eax */
   5322     ecx = MEM32(ebp + 0x8); /* 0x360EF1BD: mov ecx, dword ptr [ebp + 8] */
   5323     edx = MEM32(0x3630725C); /* 0x360EF1C0: mov edx, dword ptr [0x3630725c] */
   5324     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF1C6: shl ecx, 4 */
   5325     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5326     ecx = ecx << 4u; /* 0x360EF1C6: shl ecx, 4 */
   5327     eax = MEM32(ecx + edx + 0x4); /* 0x360EF1C9: mov eax, dword ptr [ecx + edx + 4] */
   5328     ecx = MEM32(ebp + (-0x28)); /* 0x360EF1CD: mov ecx, dword ptr [ebp - 0x28] */
   5329     MEM32(eax + 0xC) = ecx; /* 0x360EF1D0: mov dword ptr [eax + 0xc], ecx */
   5330     edx = MEM32(ebp + 0x8); /* 0x360EF1D3: mov edx, dword ptr [ebp + 8] */
   5331     eax = MEM32(0x3630725C); /* 0x360EF1D6: mov eax, dword ptr [0x3630725c] */
   5332     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF1DB: shl edx, 4 */
   5333     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5334     edx = edx << 4u; /* 0x360EF1DB: shl edx, 4 */
   5335     ecx = MEM32(edx + eax + 0x4); /* 0x360EF1DE: mov ecx, dword ptr [edx + eax + 4] */
   5336     edx = MEM32(ebp + (-0x2C)); /* 0x360EF1E2: mov edx, dword ptr [ebp - 0x2c] */
   5337     MEM32(ecx + 0x10) = edx; /* 0x360EF1E5: mov dword ptr [ecx + 0x10], edx */
   5338     eax = MEM32(ebp + 0x8); /* 0x360EF1E8: mov eax, dword ptr [ebp + 8] */
   5339     ecx = MEM32(0x3630725C); /* 0x360EF1EB: mov ecx, dword ptr [0x3630725c] */
   5340     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF1F1: shl eax, 4 */
   5341     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5342     eax = eax << 4u; /* 0x360EF1F1: shl eax, 4 */
   5343     edx = MEM32(eax + ecx + 0x4); /* 0x360EF1F4: mov edx, dword ptr [eax + ecx + 4] */
   5344     eax = MEM32(ebp + (-0x30)); /* 0x360EF1F8: mov eax, dword ptr [ebp - 0x30] */
   5345     MEM32(edx + 0x14) = eax; /* 0x360EF1FB: mov dword ptr [edx + 0x14], eax */
   5346     SET_LO8(eax, 1); /* 0x360EF1FE: mov al, 1 */
   5347     esi = POP32_VAL(esp); /* 0x360EF200: pop esi */
   5348     esp = ebp; /* 0x360EF201: mov esp, ebp */
   5349     ebp = POP32_VAL(esp); /* 0x360EF203: pop ebp */
   5350     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EF204: ret 4 */
   5351     RECOMP_REGS_OUT();
   5352 }
   5353 
   5354 void sub_360EF210(void) {
   5355     int _fpu_cmp = 0;
   5356     uint32_t _cf = 0;
   5357     int _df = 1;
   5358     uint32_t _flag_k = FK_NONE;
   5359     uint32_t _flag_a = 0, _flag_b = 0;
   5360     uint32_t _itail_tgt = 0;
   5361     RECOMP_REGS_LOCALS
   5362     RECOMP_ENTER(0x360EF210u);
   5363 
   5364 L_360EF210:
   5365     PUSH32(esp, ebp); /* 0x360EF210: push ebp */
   5366     ebp = esp; /* 0x360EF211: mov ebp, esp */
   5367     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5368     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5369     esp = esp - 8; /* 0x360EF213: sub esp, 8 */
   5370     _flag_k = FK_CMP;
   5371     eax = MEM32(0x3616FF74); /* 0x360EF216: mov eax, dword ptr [0x3616ff74] */
   5372     eax = MEM32(eax); /* 0x360EF21B: mov eax, dword ptr [eax] */
   5373     PUSH32(esp, esi); /* 0x360EF21D: push esi */
   5374     PUSH32(esp, edi); /* 0x360EF21E: push edi */
   5375     edi = ecx; /* 0x360EF21F: mov edi, ecx */
   5376     ecx = MEM32(edi + 0x8); /* 0x360EF221: mov ecx, dword ptr [edi + 8] */
   5377     MEM32(ebp + (-0x8)) = 0x000F425Bu; /* 0x360EF224: mov dword ptr [ebp - 8], 0xf425b */
   5378     MEM32(ebp + (-0x4)) = ecx; /* 0x360EF22B: mov dword ptr [ebp - 4], ecx */
   5379     ecx = MEM32(eax + 0x60); /* 0x360EF22E: mov ecx, dword ptr [eax + 0x60] */
   5380     /* test ecx, ecx */ /* 0x360EF231: test ecx, ecx */
   5381     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5382     _cf = 0;
   5383     _flag_k = FK_TEST;
   5384     if (TEST_Z(_flag_a, _flag_b)) goto L_360EF25E; /* 0x360EF233: je 0x360ef25e */
   5385 L_360EF235:
   5386     edx = ebp + (-0x8); /* 0x360EF235: lea edx, [ebp - 8] */
   5387     PUSH32(esp, edx); /* 0x360EF238: push edx */
   5388     RECOMP_ICALL(MEM32(0x3616FB18)); /* 0x360EF239: call dword ptr [0x3616fb18] */
   5389     RECOMP_FLAGS_IN();
   5390     esi = eax; /* 0x360EF23F: mov esi, eax */
   5391     /* test esi, esi */ /* 0x360EF241: test esi, esi */
   5392     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   5393     _cf = 0;
   5394     _flag_k = FK_TEST;
   5395     if (TEST_Z(_flag_a, _flag_b)) goto L_360EF25E; /* 0x360EF243: je 0x360ef25e */
   5396 L_360EF245:
   5397     PUSH32(esp, esi); /* 0x360EF245: push esi */
   5398     ecx = edi; /* 0x360EF246: mov ecx, edi */
   5399     RECOMP_ICALL(0x360EF270u); /* 0x360EF248: call 0x360ef270 */ /* not lifted */
   5400     RECOMP_FLAGS_IN();
   5401     ecx = esi; /* 0x360EF24D: mov ecx, esi */
   5402     RECOMP_ICALL(MEM32(0x3616FAB4)); /* 0x360EF24F: call dword ptr [0x3616fab4] */
   5403     RECOMP_FLAGS_IN();
   5404     PUSH32(esp, esi); /* 0x360EF255: push esi */
   5405     RECOMP_ICALL(0x3615FCC4u); /* 0x360EF256: call 0x3615fcc4 */ /* not lifted */
   5406     RECOMP_FLAGS_IN();
   5407     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5408     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5409     esp = esp + 4; /* 0x360EF25B: add esp, 4 */
   5410     _flag_k = FK_ADD;
   5411 L_360EF25E:
   5412     edi = POP32_VAL(esp); /* 0x360EF25E: pop edi */
   5413     esi = POP32_VAL(esp); /* 0x360EF25F: pop esi */
   5414     esp = ebp; /* 0x360EF260: mov esp, ebp */
   5415     ebp = POP32_VAL(esp); /* 0x360EF262: pop ebp */
   5416     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF263: ret  */
   5417     RECOMP_REGS_OUT();
   5418 }
   5419 
   5420 void sub_360EF270(void) {
   5421     int _fpu_cmp = 0;
   5422     uint32_t _cf = 0;
   5423     int _df = 1;
   5424     uint32_t _flag_k = FK_NONE;
   5425     uint32_t _flag_a = 0, _flag_b = 0;
   5426     uint32_t _itail_tgt = 0;
   5427     RECOMP_REGS_LOCALS
   5428     RECOMP_ENTER(0x360EF270u);
   5429 
   5430 L_360EF270:
   5431     PUSH32(esp, ebp); /* 0x360EF270: push ebp */
   5432     ebp = esp; /* 0x360EF271: mov ebp, esp */
   5433     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u);
   5434     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5435     esp = esp - 0x30u; /* 0x360EF273: sub esp, 0x30 */
   5436     _flag_k = FK_CMP;
   5437     PUSH32(esp, esi); /* 0x360EF276: push esi */
   5438     esi = MEM32(0x3616FA8C); /* 0x360EF277: mov esi, dword ptr [0x3616fa8c] */
   5439     eax = ebp + (-0x30); /* 0x360EF27D: lea eax, [ebp - 0x30] */
   5440     PUSH32(esp, eax); /* 0x360EF280: push eax */
   5441     ecx = ebp + (-0x2C); /* 0x360EF281: lea ecx, [ebp - 0x2c] */
   5442     PUSH32(esp, ecx); /* 0x360EF284: push ecx */
   5443     edx = ebp + (-0x28); /* 0x360EF285: lea edx, [ebp - 0x28] */
   5444     PUSH32(esp, edx); /* 0x360EF288: push edx */
   5445     eax = ebp + (-0x24); /* 0x360EF289: lea eax, [ebp - 0x24] */
   5446     PUSH32(esp, eax); /* 0x360EF28C: push eax */
   5447     ecx = ebp + (-0x20); /* 0x360EF28D: lea ecx, [ebp - 0x20] */
   5448     PUSH32(esp, ecx); /* 0x360EF290: push ecx */
   5449     edx = ebp + (-0x1C); /* 0x360EF291: lea edx, [ebp - 0x1c] */
   5450     PUSH32(esp, edx); /* 0x360EF294: push edx */
   5451     eax = ebp + (-0x18); /* 0x360EF295: lea eax, [ebp - 0x18] */
   5452     PUSH32(esp, eax); /* 0x360EF298: push eax */
   5453     ecx = ebp + (-0x14); /* 0x360EF299: lea ecx, [ebp - 0x14] */
   5454     PUSH32(esp, ecx); /* 0x360EF29C: push ecx */
   5455     edx = ebp + (-0x10); /* 0x360EF29D: lea edx, [ebp - 0x10] */
   5456     PUSH32(esp, edx); /* 0x360EF2A0: push edx */
   5457     eax = ebp + (-0xC); /* 0x360EF2A1: lea eax, [ebp - 0xc] */
   5458     PUSH32(esp, eax); /* 0x360EF2A4: push eax */
   5459     ecx = ebp + (-0x8); /* 0x360EF2A5: lea ecx, [ebp - 8] */
   5460     PUSH32(esp, ecx); /* 0x360EF2A8: push ecx */
   5461     ecx = MEM32(ebp + 0x8); /* 0x360EF2A9: mov ecx, dword ptr [ebp + 8] */
   5462     edx = ebp + 0x8; /* 0x360EF2AC: lea edx, [ebp + 8] */
   5463     PUSH32(esp, edx); /* 0x360EF2AF: push edx */
   5464     eax = ebp + (-0x4); /* 0x360EF2B0: lea eax, [ebp - 4] */
   5465     PUSH32(esp, eax); /* 0x360EF2B3: push eax */
   5466     MEM32(ebp + (-0x4)) = 0; /* 0x360EF2B4: mov dword ptr [ebp - 4], 0 */
   5467     RECOMP_ICALL(esi); /* 0x360EF2BB: call esi */
   5468     RECOMP_FLAGS_IN();
   5469     ecx = eax; /* 0x360EF2BD: mov ecx, eax */
   5470     RECOMP_ICALL(esi); /* 0x360EF2BF: call esi */
   5471     RECOMP_FLAGS_IN();
   5472     ecx = eax; /* 0x360EF2C1: mov ecx, eax */
   5473     RECOMP_ICALL(esi); /* 0x360EF2C3: call esi */
   5474     RECOMP_FLAGS_IN();
   5475     ecx = eax; /* 0x360EF2C5: mov ecx, eax */
   5476     RECOMP_ICALL(esi); /* 0x360EF2C7: call esi */
   5477     RECOMP_FLAGS_IN();
   5478     ecx = eax; /* 0x360EF2C9: mov ecx, eax */
   5479     RECOMP_ICALL(esi); /* 0x360EF2CB: call esi */
   5480     RECOMP_FLAGS_IN();
   5481     ecx = eax; /* 0x360EF2CD: mov ecx, eax */
   5482     RECOMP_ICALL(esi); /* 0x360EF2CF: call esi */
   5483     RECOMP_FLAGS_IN();
   5484     ecx = eax; /* 0x360EF2D1: mov ecx, eax */
   5485     RECOMP_ICALL(esi); /* 0x360EF2D3: call esi */
   5486     RECOMP_FLAGS_IN();
   5487     ecx = eax; /* 0x360EF2D5: mov ecx, eax */
   5488     RECOMP_ICALL(esi); /* 0x360EF2D7: call esi */
   5489     RECOMP_FLAGS_IN();
   5490     ecx = eax; /* 0x360EF2D9: mov ecx, eax */
   5491     RECOMP_ICALL(esi); /* 0x360EF2DB: call esi */
   5492     RECOMP_FLAGS_IN();
   5493     ecx = eax; /* 0x360EF2DD: mov ecx, eax */
   5494     RECOMP_ICALL(esi); /* 0x360EF2DF: call esi */
   5495     RECOMP_FLAGS_IN();
   5496     ecx = eax; /* 0x360EF2E1: mov ecx, eax */
   5497     RECOMP_ICALL(esi); /* 0x360EF2E3: call esi */
   5498     RECOMP_FLAGS_IN();
   5499     ecx = eax; /* 0x360EF2E5: mov ecx, eax */
   5500     RECOMP_ICALL(esi); /* 0x360EF2E7: call esi */
   5501     RECOMP_FLAGS_IN();
   5502     ecx = eax; /* 0x360EF2E9: mov ecx, eax */
   5503     RECOMP_ICALL(esi); /* 0x360EF2EB: call esi */
   5504     RECOMP_FLAGS_IN();
   5505     ecx = MEM32(ebp + (-0x4)); /* 0x360EF2ED: mov ecx, dword ptr [ebp - 4] */
   5506     edx = MEM32(0x36307274); /* 0x360EF2F0: mov edx, dword ptr [0x36307274] */
   5507     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF2F6: shl ecx, 4 */
   5508     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5509     ecx = ecx << 4u; /* 0x360EF2F6: shl ecx, 4 */
   5510     eax = MEM32(ecx + edx + 0x4); /* 0x360EF2F9: mov eax, dword ptr [ecx + edx + 4] */
   5511     ecx = MEM32(ebp + 0x8); /* 0x360EF2FD: mov ecx, dword ptr [ebp + 8] */
   5512     MEM32(eax) = ecx; /* 0x360EF300: mov dword ptr [eax], ecx */
   5513     edx = MEM32(ebp + (-0x4)); /* 0x360EF302: mov edx, dword ptr [ebp - 4] */
   5514     eax = MEM32(0x36307274); /* 0x360EF305: mov eax, dword ptr [0x36307274] */
   5515     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF30A: shl edx, 4 */
   5516     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5517     edx = edx << 4u; /* 0x360EF30A: shl edx, 4 */
   5518     ecx = MEM32(edx + eax + 0x4); /* 0x360EF30D: mov ecx, dword ptr [edx + eax + 4] */
   5519     edx = MEM32(ebp + (-0x8)); /* 0x360EF311: mov edx, dword ptr [ebp - 8] */
   5520     MEM32(ecx + 0x4) = edx; /* 0x360EF314: mov dword ptr [ecx + 4], edx */
   5521     eax = MEM32(ebp + (-0x4)); /* 0x360EF317: mov eax, dword ptr [ebp - 4] */
   5522     ecx = MEM32(0x36307274); /* 0x360EF31A: mov ecx, dword ptr [0x36307274] */
   5523     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF320: shl eax, 4 */
   5524     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5525     eax = eax << 4u; /* 0x360EF320: shl eax, 4 */
   5526     edx = MEM32(eax + ecx + 0x4); /* 0x360EF323: mov edx, dword ptr [eax + ecx + 4] */
   5527     eax = MEM32(ebp + (-0xC)); /* 0x360EF327: mov eax, dword ptr [ebp - 0xc] */
   5528     MEM32(edx + 0x8) = eax; /* 0x360EF32A: mov dword ptr [edx + 8], eax */
   5529     ecx = MEM32(ebp + (-0x4)); /* 0x360EF32D: mov ecx, dword ptr [ebp - 4] */
   5530     edx = MEM32(0x36307274); /* 0x360EF330: mov edx, dword ptr [0x36307274] */
   5531     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF336: shl ecx, 4 */
   5532     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5533     ecx = ecx << 4u; /* 0x360EF336: shl ecx, 4 */
   5534     eax = MEM32(ecx + edx + 0x4); /* 0x360EF339: mov eax, dword ptr [ecx + edx + 4] */
   5535     ecx = MEM32(ebp + (-0x10)); /* 0x360EF33D: mov ecx, dword ptr [ebp - 0x10] */
   5536     MEM32(eax + 0xC) = ecx; /* 0x360EF340: mov dword ptr [eax + 0xc], ecx */
   5537     edx = MEM32(ebp + (-0x4)); /* 0x360EF343: mov edx, dword ptr [ebp - 4] */
   5538     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF346: shl edx, 4 */
   5539     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5540     edx = edx << 4u; /* 0x360EF346: shl edx, 4 */
   5541     eax = MEM32(0x36307274); /* 0x360EF349: mov eax, dword ptr [0x36307274] */
   5542     ecx = MEM32(edx + eax + 0x4); /* 0x360EF34E: mov ecx, dword ptr [edx + eax + 4] */
   5543     edx = MEM32(ebp + (-0x14)); /* 0x360EF352: mov edx, dword ptr [ebp - 0x14] */
   5544     MEM32(ecx + 0x10) = edx; /* 0x360EF355: mov dword ptr [ecx + 0x10], edx */
   5545     eax = MEM32(ebp + (-0x4)); /* 0x360EF358: mov eax, dword ptr [ebp - 4] */
   5546     ecx = MEM32(0x36307274); /* 0x360EF35B: mov ecx, dword ptr [0x36307274] */
   5547     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF361: shl eax, 4 */
   5548     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5549     eax = eax << 4u; /* 0x360EF361: shl eax, 4 */
   5550     edx = MEM32(eax + ecx + 0x4); /* 0x360EF364: mov edx, dword ptr [eax + ecx + 4] */
   5551     eax = MEM32(ebp + (-0x18)); /* 0x360EF368: mov eax, dword ptr [ebp - 0x18] */
   5552     MEM32(edx + 0x14) = eax; /* 0x360EF36B: mov dword ptr [edx + 0x14], eax */
   5553     ecx = MEM32(ebp + (-0x4)); /* 0x360EF36E: mov ecx, dword ptr [ebp - 4] */
   5554     edx = MEM32(0x3630725C); /* 0x360EF371: mov edx, dword ptr [0x3630725c] */
   5555     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF377: shl ecx, 4 */
   5556     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5557     ecx = ecx << 4u; /* 0x360EF377: shl ecx, 4 */
   5558     eax = MEM32(ecx + edx + 0x4); /* 0x360EF37A: mov eax, dword ptr [ecx + edx + 4] */
   5559     ecx = MEM32(ebp + (-0x1C)); /* 0x360EF37E: mov ecx, dword ptr [ebp - 0x1c] */
   5560     MEM32(eax) = ecx; /* 0x360EF381: mov dword ptr [eax], ecx */
   5561     edx = MEM32(ebp + (-0x4)); /* 0x360EF383: mov edx, dword ptr [ebp - 4] */
   5562     eax = MEM32(0x3630725C); /* 0x360EF386: mov eax, dword ptr [0x3630725c] */
   5563     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF38B: shl edx, 4 */
   5564     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5565     edx = edx << 4u; /* 0x360EF38B: shl edx, 4 */
   5566     ecx = MEM32(edx + eax + 0x4); /* 0x360EF38E: mov ecx, dword ptr [edx + eax + 4] */
   5567     edx = MEM32(ebp + (-0x20)); /* 0x360EF392: mov edx, dword ptr [ebp - 0x20] */
   5568     MEM32(ecx + 0x4) = edx; /* 0x360EF395: mov dword ptr [ecx + 4], edx */
   5569     eax = MEM32(ebp + (-0x4)); /* 0x360EF398: mov eax, dword ptr [ebp - 4] */
   5570     ecx = MEM32(0x3630725C); /* 0x360EF39B: mov ecx, dword ptr [0x3630725c] */
   5571     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF3A1: shl eax, 4 */
   5572     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5573     eax = eax << 4u; /* 0x360EF3A1: shl eax, 4 */
   5574     edx = MEM32(eax + ecx + 0x4); /* 0x360EF3A4: mov edx, dword ptr [eax + ecx + 4] */
   5575     eax = MEM32(ebp + (-0x24)); /* 0x360EF3A8: mov eax, dword ptr [ebp - 0x24] */
   5576     MEM32(edx + 0x8) = eax; /* 0x360EF3AB: mov dword ptr [edx + 8], eax */
   5577     ecx = MEM32(ebp + (-0x4)); /* 0x360EF3AE: mov ecx, dword ptr [ebp - 4] */
   5578     edx = MEM32(0x3630725C); /* 0x360EF3B1: mov edx, dword ptr [0x3630725c] */
   5579     if (4u) _cf = (((ecx) >> 28) & 1u); /* 0x360EF3B7: shl ecx, 4 */
   5580     if (4u) { _flag_a = recomp_flags_pack((ecx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5581     ecx = ecx << 4u; /* 0x360EF3B7: shl ecx, 4 */
   5582     eax = MEM32(ecx + edx + 0x4); /* 0x360EF3BA: mov eax, dword ptr [ecx + edx + 4] */
   5583     ecx = MEM32(ebp + (-0x28)); /* 0x360EF3BE: mov ecx, dword ptr [ebp - 0x28] */
   5584     MEM32(eax + 0xC) = ecx; /* 0x360EF3C1: mov dword ptr [eax + 0xc], ecx */
   5585     edx = MEM32(ebp + (-0x4)); /* 0x360EF3C4: mov edx, dword ptr [ebp - 4] */
   5586     eax = MEM32(0x3630725C); /* 0x360EF3C7: mov eax, dword ptr [0x3630725c] */
   5587     if (4u) _cf = (((edx) >> 28) & 1u); /* 0x360EF3CC: shl edx, 4 */
   5588     if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5589     edx = edx << 4u; /* 0x360EF3CC: shl edx, 4 */
   5590     ecx = MEM32(edx + eax + 0x4); /* 0x360EF3CF: mov ecx, dword ptr [edx + eax + 4] */
   5591     edx = MEM32(ebp + (-0x2C)); /* 0x360EF3D3: mov edx, dword ptr [ebp - 0x2c] */
   5592     MEM32(ecx + 0x10) = edx; /* 0x360EF3D6: mov dword ptr [ecx + 0x10], edx */
   5593     eax = MEM32(ebp + (-0x4)); /* 0x360EF3D9: mov eax, dword ptr [ebp - 4] */
   5594     ecx = MEM32(0x3630725C); /* 0x360EF3DC: mov ecx, dword ptr [0x3630725c] */
   5595     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x360EF3E2: shl eax, 4 */
   5596     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5597     eax = eax << 4u; /* 0x360EF3E2: shl eax, 4 */
   5598     edx = MEM32(eax + ecx + 0x4); /* 0x360EF3E5: mov edx, dword ptr [eax + ecx + 4] */
   5599     eax = MEM32(ebp + (-0x30)); /* 0x360EF3E9: mov eax, dword ptr [ebp - 0x30] */
   5600     MEM32(edx + 0x14) = eax; /* 0x360EF3EC: mov dword ptr [edx + 0x14], eax */
   5601     esi = POP32_VAL(esp); /* 0x360EF3EF: pop esi */
   5602     esp = ebp; /* 0x360EF3F0: mov esp, ebp */
   5603     ebp = POP32_VAL(esp); /* 0x360EF3F2: pop ebp */
   5604     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360EF3F3: ret 4 */
   5605     RECOMP_REGS_OUT();
   5606 }
   5607 
   5608 void sub_360EF400(void) {
   5609     int _fpu_cmp = 0;
   5610     uint32_t _cf = 0;
   5611     int _df = 1;
   5612     uint32_t _flag_k = FK_NONE;
   5613     uint32_t _flag_a = 0, _flag_b = 0;
   5614     uint32_t _itail_tgt = 0;
   5615     RECOMP_REGS_LOCALS
   5616     RECOMP_ENTER(0x360EF400u);
   5617 
   5618 L_360EF400:
   5619     goto L_360EF410; /* 0x360EF400: jmp 0x360ef410 */
   5620 L_360EF410:
   5621     MEM32(0x363072FC) = 0x361B2FF4u; /* 0x360EF410: mov dword ptr [0x363072fc], 0x361b2ff4 */
   5622     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF41A: ret  */
   5623     RECOMP_REGS_OUT();
   5624 }
   5625 
   5626 void sub_360EF410(void) {
   5627     int _fpu_cmp = 0;
   5628     uint32_t _cf = 0;
   5629     int _df = 1;
   5630     uint32_t _flag_k = FK_NONE;
   5631     uint32_t _flag_a = 0, _flag_b = 0;
   5632     uint32_t _itail_tgt = 0;
   5633     RECOMP_REGS_LOCALS
   5634     RECOMP_ENTER(0x360EF410u);
   5635 
   5636 L_360EF410:
   5637     MEM32(0x363072FC) = 0x361B2FF4u; /* 0x360EF410: mov dword ptr [0x363072fc], 0x361b2ff4 */
   5638     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF41A: ret  */
   5639     RECOMP_REGS_OUT();
   5640 }
   5641 
   5642 void sub_360EF420(void) {
   5643     int _fpu_cmp = 0;
   5644     uint32_t _cf = 0;
   5645     int _df = 1;
   5646     uint32_t _flag_k = FK_NONE;
   5647     uint32_t _flag_a = 0, _flag_b = 0;
   5648     uint32_t _itail_tgt = 0;
   5649     RECOMP_REGS_LOCALS
   5650     RECOMP_ENTER(0x360EF420u);
   5651 
   5652 L_360EF420:
   5653     goto L_360EF430; /* 0x360EF420: jmp 0x360ef430 */
   5654 L_360EF430:
   5655     MEM32(0x363072F8) = 0x361B3028u; /* 0x360EF430: mov dword ptr [0x363072f8], 0x361b3028 */
   5656     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF43A: ret  */
   5657     RECOMP_REGS_OUT();
   5658 }
   5659 
   5660 void sub_360EF430(void) {
   5661     int _fpu_cmp = 0;
   5662     uint32_t _cf = 0;
   5663     int _df = 1;
   5664     uint32_t _flag_k = FK_NONE;
   5665     uint32_t _flag_a = 0, _flag_b = 0;
   5666     uint32_t _itail_tgt = 0;
   5667     RECOMP_REGS_LOCALS
   5668     RECOMP_ENTER(0x360EF430u);
   5669 
   5670 L_360EF430:
   5671     MEM32(0x363072F8) = 0x361B3028u; /* 0x360EF430: mov dword ptr [0x363072f8], 0x361b3028 */
   5672     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF43A: ret  */
   5673     RECOMP_REGS_OUT();
   5674 }
   5675 
   5676 void sub_360EF440(void) {
   5677     int _fpu_cmp = 0;
   5678     uint32_t _cf = 0;
   5679     int _df = 1;
   5680     uint32_t _flag_k = FK_NONE;
   5681     uint32_t _flag_a = 0, _flag_b = 0;
   5682     uint32_t _itail_tgt = 0;
   5683     RECOMP_REGS_LOCALS
   5684     RECOMP_ENTER(0x360EF440u);
   5685 
   5686 L_360EF440:
   5687     goto L_360EF450; /* 0x360EF440: jmp 0x360ef450 */
   5688 L_360EF450:
   5689     MEM32(0x363072F4) = 0x361B3064u; /* 0x360EF450: mov dword ptr [0x363072f4], 0x361b3064 */
   5690     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF45A: ret  */
   5691     RECOMP_REGS_OUT();
   5692 }
   5693 
   5694 void sub_360EF450(void) {
   5695     int _fpu_cmp = 0;
   5696     uint32_t _cf = 0;
   5697     int _df = 1;
   5698     uint32_t _flag_k = FK_NONE;
   5699     uint32_t _flag_a = 0, _flag_b = 0;
   5700     uint32_t _itail_tgt = 0;
   5701     RECOMP_REGS_LOCALS
   5702     RECOMP_ENTER(0x360EF450u);
   5703 
   5704 L_360EF450:
   5705     MEM32(0x363072F4) = 0x361B3064u; /* 0x360EF450: mov dword ptr [0x363072f4], 0x361b3064 */
   5706     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF45A: ret  */
   5707     RECOMP_REGS_OUT();
   5708 }
   5709 
   5710 void sub_360EF460(void) {
   5711     int _fpu_cmp = 0;
   5712     uint32_t _cf = 0;
   5713     int _df = 1;
   5714     uint32_t _flag_k = FK_NONE;
   5715     uint32_t _flag_a = 0, _flag_b = 0;
   5716     uint32_t _itail_tgt = 0;
   5717     RECOMP_REGS_LOCALS
   5718     RECOMP_ENTER(0x360EF460u);
   5719 
   5720 L_360EF460:
   5721     goto L_360EF470; /* 0x360EF460: jmp 0x360ef470 */
   5722 L_360EF470:
   5723     MEM32(0x363072F0) = 0x361B3098u; /* 0x360EF470: mov dword ptr [0x363072f0], 0x361b3098 */
   5724     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF47A: ret  */
   5725     RECOMP_REGS_OUT();
   5726 }
   5727 
   5728 void sub_360EF470(void) {
   5729     int _fpu_cmp = 0;
   5730     uint32_t _cf = 0;
   5731     int _df = 1;
   5732     uint32_t _flag_k = FK_NONE;
   5733     uint32_t _flag_a = 0, _flag_b = 0;
   5734     uint32_t _itail_tgt = 0;
   5735     RECOMP_REGS_LOCALS
   5736     RECOMP_ENTER(0x360EF470u);
   5737 
   5738 L_360EF470:
   5739     MEM32(0x363072F0) = 0x361B3098u; /* 0x360EF470: mov dword ptr [0x363072f0], 0x361b3098 */
   5740     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF47A: ret  */
   5741     RECOMP_REGS_OUT();
   5742 }
   5743 
   5744 void sub_360EF480(void) {
   5745     int _fpu_cmp = 0;
   5746     uint32_t _cf = 0;
   5747     int _df = 1;
   5748     uint32_t _flag_k = FK_NONE;
   5749     uint32_t _flag_a = 0, _flag_b = 0;
   5750     uint32_t _itail_tgt = 0;
   5751     RECOMP_REGS_LOCALS
   5752     RECOMP_ENTER(0x360EF480u);
   5753 
   5754 L_360EF480:
   5755     goto L_360EF490; /* 0x360EF480: jmp 0x360ef490 */
   5756 L_360EF490:
   5757     MEM32(0x363072EC) = 0x361B30CCu; /* 0x360EF490: mov dword ptr [0x363072ec], 0x361b30cc */
   5758     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF49A: ret  */
   5759     RECOMP_REGS_OUT();
   5760 }
   5761 
   5762 void sub_360EF490(void) {
   5763     int _fpu_cmp = 0;
   5764     uint32_t _cf = 0;
   5765     int _df = 1;
   5766     uint32_t _flag_k = FK_NONE;
   5767     uint32_t _flag_a = 0, _flag_b = 0;
   5768     uint32_t _itail_tgt = 0;
   5769     RECOMP_REGS_LOCALS
   5770     RECOMP_ENTER(0x360EF490u);
   5771 
   5772 L_360EF490:
   5773     MEM32(0x363072EC) = 0x361B30CCu; /* 0x360EF490: mov dword ptr [0x363072ec], 0x361b30cc */
   5774     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360EF49A: ret  */
   5775     RECOMP_REGS_OUT();
   5776 }