aorecomp

Anarchy Online classic in the browser

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


client/game/ddr.dll/lifted-0025.c (437078B)


      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_2B05C6D0(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(0x2B05C6D0u);
     17 
     18 L_2B05C6D0:
     19     SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B05C6D0: mov al, byte ptr [ecx + 0xc] */
     20     /* test LO8(eax), LO8(eax) */ /* 0x2B05C6D3: test al, al */
     21     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
     22     _cf = 0;
     23     _flag_k = FK_NARROW(FK_TEST, 24);
     24     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05C71B; /* 0x2B05C6D5: je 0x2b05c71b */
     25 L_2B05C6D7:
     26     edx = MEM32(ecx + 0x28); /* 0x2B05C6D7: mov edx, dword ptr [ecx + 0x28] */
     27     SET_LO8(eax, 1); /* 0x2B05C6DA: mov al, 1 */
     28     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C6DC: mov byte ptr [edx + 8], al */
     29     edx = MEM32(ecx + 0x2C); /* 0x2B05C6DF: mov edx, dword ptr [ecx + 0x2c] */
     30     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C6E2: mov byte ptr [edx + 8], al */
     31     edx = MEM32(ecx + 0x30); /* 0x2B05C6E5: mov edx, dword ptr [ecx + 0x30] */
     32     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C6E8: mov byte ptr [edx + 8], al */
     33     edx = MEM32(ecx + 0x34); /* 0x2B05C6EB: mov edx, dword ptr [ecx + 0x34] */
     34     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C6EE: mov byte ptr [edx + 8], al */
     35     edx = MEM32(ecx + 0x38); /* 0x2B05C6F1: mov edx, dword ptr [ecx + 0x38] */
     36     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C6F4: mov byte ptr [edx + 8], al */
     37     edx = MEM32(ecx + 0x3C); /* 0x2B05C6F7: mov edx, dword ptr [ecx + 0x3c] */
     38     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C6FA: mov byte ptr [edx + 8], al */
     39     edx = MEM32(ecx + 0x40); /* 0x2B05C6FD: mov edx, dword ptr [ecx + 0x40] */
     40     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C700: mov byte ptr [edx + 8], al */
     41     edx = MEM32(ecx + 0x44); /* 0x2B05C703: mov edx, dword ptr [ecx + 0x44] */
     42     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C706: mov byte ptr [edx + 8], al */
     43     edx = MEM32(ecx + 0x48); /* 0x2B05C709: mov edx, dword ptr [ecx + 0x48] */
     44     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C70C: mov byte ptr [edx + 8], al */
     45     edx = MEM32(ecx + 0x4C); /* 0x2B05C70F: mov edx, dword ptr [ecx + 0x4c] */
     46     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C712: mov byte ptr [edx + 8], al */
     47     ecx = MEM32(ecx + 0x50); /* 0x2B05C715: mov ecx, dword ptr [ecx + 0x50] */
     48     MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C718: mov byte ptr [ecx + 8], al */
     49 L_2B05C71B:
     50     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C71B: ret  */
     51     RECOMP_REGS_OUT();
     52 }
     53 
     54 void sub_2B05C720(void) {
     55     int _fpu_cmp = 0;
     56     uint32_t _cf = 0;
     57     int _df = 1;
     58     uint32_t _flag_k = FK_NONE;
     59     uint32_t _flag_a = 0, _flag_b = 0;
     60     uint32_t _itail_tgt = 0;
     61     RECOMP_REGS_LOCALS
     62     RECOMP_ENTER(0x2B05C720u);
     63 
     64 L_2B05C720:
     65     edx = MEM32(ecx + 0x28); /* 0x2B05C720: mov edx, dword ptr [ecx + 0x28] */
     66     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
     67     SET_LO8(eax, 0); /* 0x2B05C723: xor al, al */
     68     _cf = 0;
     69     _flag_k = FK_NARROW(FK_TEST, 24);
     70     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C725: mov byte ptr [edx + 8], al */
     71     edx = MEM32(ecx + 0x2C); /* 0x2B05C728: mov edx, dword ptr [ecx + 0x2c] */
     72     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C72B: mov byte ptr [edx + 8], al */
     73     edx = MEM32(ecx + 0x30); /* 0x2B05C72E: mov edx, dword ptr [ecx + 0x30] */
     74     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C731: mov byte ptr [edx + 8], al */
     75     edx = MEM32(ecx + 0x34); /* 0x2B05C734: mov edx, dword ptr [ecx + 0x34] */
     76     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C737: mov byte ptr [edx + 8], al */
     77     edx = MEM32(ecx + 0x38); /* 0x2B05C73A: mov edx, dword ptr [ecx + 0x38] */
     78     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C73D: mov byte ptr [edx + 8], al */
     79     edx = MEM32(ecx + 0x3C); /* 0x2B05C740: mov edx, dword ptr [ecx + 0x3c] */
     80     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C743: mov byte ptr [edx + 8], al */
     81     edx = MEM32(ecx + 0x40); /* 0x2B05C746: mov edx, dword ptr [ecx + 0x40] */
     82     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C749: mov byte ptr [edx + 8], al */
     83     edx = MEM32(ecx + 0x44); /* 0x2B05C74C: mov edx, dword ptr [ecx + 0x44] */
     84     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C74F: mov byte ptr [edx + 8], al */
     85     edx = MEM32(ecx + 0x48); /* 0x2B05C752: mov edx, dword ptr [ecx + 0x48] */
     86     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C755: mov byte ptr [edx + 8], al */
     87     edx = MEM32(ecx + 0x4C); /* 0x2B05C758: mov edx, dword ptr [ecx + 0x4c] */
     88     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C75B: mov byte ptr [edx + 8], al */
     89     ecx = MEM32(ecx + 0x50); /* 0x2B05C75E: mov ecx, dword ptr [ecx + 0x50] */
     90     MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05C761: mov byte ptr [ecx + 8], al */
     91     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C764: ret  */
     92     RECOMP_REGS_OUT();
     93 }
     94 
     95 void sub_2B05C770(void) {
     96     int _fpu_cmp = 0;
     97     uint32_t _cf = 0;
     98     int _df = 1;
     99     uint32_t _flag_k = FK_NONE;
    100     uint32_t _flag_a = 0, _flag_b = 0;
    101     uint32_t _itail_tgt = 0;
    102     RECOMP_REGS_LOCALS
    103     RECOMP_ENTER(0x2B05C770u);
    104 
    105 L_2B05C770:
    106     PUSH32(esp, ebp); /* 0x2B05C770: push ebp */
    107     ebp = esp; /* 0x2B05C771: mov ebp, esp */
    108     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x40Cu);
    109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    110     esp = esp - 0x40Cu; /* 0x2B05C773: sub esp, 0x40c */
    111     _flag_k = FK_CMP;
    112     PUSH32(esp, ebx); /* 0x2B05C779: push ebx */
    113     PUSH32(esp, esi); /* 0x2B05C77A: push esi */
    114     PUSH32(esp, edi); /* 0x2B05C77B: push edi */
    115     PUSH32(esp, 0); /* 0x2B05C77C: push 0 */
    116     esi = ecx; /* 0x2B05C77E: mov esi, ecx */
    117     RECOMP_ICALL(MEM32(0x2B0B5F38)); /* 0x2B05C780: call dword ptr [0x2b0b5f38] */
    118     RECOMP_FLAGS_IN();
    119     edi = MEM32(0x2B0B51F0); /* 0x2B05C786: mov edi, dword ptr [0x2b0b51f0] */
    120     PUSH32(esp, eax); /* 0x2B05C78C: push eax */
    121     eax = ebp + (-0x40C); /* 0x2B05C78D: lea eax, [ebp - 0x40c] */
    122     PUSH32(esp, 0x2B0E8FE0u); /* 0x2B05C793: push 0x2b0e8fe0 */
    123     PUSH32(esp, eax); /* 0x2B05C798: push eax */
    124     RECOMP_ICALL(edi); /* 0x2B05C799: call edi */
    125     RECOMP_FLAGS_IN();
    126     ebx = MEM32(0x2B0B5850); /* 0x2B05C79B: mov ebx, dword ptr [0x2b0b5850] */
    127     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    128     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    129     esp = esp + 0x10u; /* 0x2B05C7A1: add esp, 0x10 */
    130     _flag_k = FK_ADD;
    131     ecx = ebp + (-0x40C); /* 0x2B05C7A4: lea ecx, [ebp - 0x40c] */
    132     PUSH32(esp, ecx); /* 0x2B05C7AA: push ecx */
    133     ecx = MEM32(esi + 0x2C); /* 0x2B05C7AB: mov ecx, dword ptr [esi + 0x2c] */
    134     RECOMP_ICALL(ebx); /* 0x2B05C7AE: call ebx */
    135     RECOMP_FLAGS_IN();
    136     PUSH32(esp, 0); /* 0x2B05C7B0: push 0 */
    137     RECOMP_ICALL(MEM32(0x2B0B5F3C)); /* 0x2B05C7B2: call dword ptr [0x2b0b5f3c] */
    138     RECOMP_FLAGS_IN();
    139     PUSH32(esp, ecx); /* 0x2B05C7B8: push ecx */
    140     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B05C7B9: fstp qword ptr [esp] */
    141     edx = ebp + (-0x40C); /* 0x2B05C7BC: lea edx, [ebp - 0x40c] */
    142     PUSH32(esp, 0x2B0E8FC8u); /* 0x2B05C7C2: push 0x2b0e8fc8 */
    143     PUSH32(esp, edx); /* 0x2B05C7C7: push edx */
    144     RECOMP_ICALL(edi); /* 0x2B05C7C8: call edi */
    145     RECOMP_FLAGS_IN();
    146     ecx = MEM32(esi + 0x30); /* 0x2B05C7CA: mov ecx, dword ptr [esi + 0x30] */
    147     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    148     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    149     esp = esp + 0x10u; /* 0x2B05C7CD: add esp, 0x10 */
    150     _flag_k = FK_ADD;
    151     eax = ebp + (-0x40C); /* 0x2B05C7D0: lea eax, [ebp - 0x40c] */
    152     PUSH32(esp, eax); /* 0x2B05C7D6: push eax */
    153     RECOMP_ICALL(ebx); /* 0x2B05C7D7: call ebx */
    154     RECOMP_FLAGS_IN();
    155     PUSH32(esp, 1); /* 0x2B05C7D9: push 1 */
    156     RECOMP_ICALL(MEM32(0x2B0B5F38)); /* 0x2B05C7DB: call dword ptr [0x2b0b5f38] */
    157     RECOMP_FLAGS_IN();
    158     PUSH32(esp, 2); /* 0x2B05C7E1: push 2 */
    159     MEM32(ebp + (-0x4)) = eax; /* 0x2B05C7E3: mov dword ptr [ebp - 4], eax */
    160     RECOMP_ICALL(MEM32(0x2B0B5F38)); /* 0x2B05C7E6: call dword ptr [0x2b0b5f38] */
    161     RECOMP_FLAGS_IN();
    162     PUSH32(esp, 3); /* 0x2B05C7EC: push 3 */
    163     MEM32(ebp + (-0x8)) = eax; /* 0x2B05C7EE: mov dword ptr [ebp - 8], eax */
    164     RECOMP_ICALL(MEM32(0x2B0B5F38)); /* 0x2B05C7F1: call dword ptr [0x2b0b5f38] */
    165     RECOMP_FLAGS_IN();
    166     PUSH32(esp, 4); /* 0x2B05C7F7: push 4 */
    167     MEM32(ebp + (-0xC)) = eax; /* 0x2B05C7F9: mov dword ptr [ebp - 0xc], eax */
    168     RECOMP_ICALL(MEM32(0x2B0B5F38)); /* 0x2B05C7FC: call dword ptr [0x2b0b5f38] */
    169     RECOMP_FLAGS_IN();
    170     ecx = MEM32(ebp + (-0xC)); /* 0x2B05C802: mov ecx, dword ptr [ebp - 0xc] */
    171     edx = MEM32(ebp + (-0x8)); /* 0x2B05C805: mov edx, dword ptr [ebp - 8] */
    172     PUSH32(esp, eax); /* 0x2B05C808: push eax */
    173     eax = MEM32(ebp + (-0x4)); /* 0x2B05C809: mov eax, dword ptr [ebp - 4] */
    174     PUSH32(esp, ecx); /* 0x2B05C80C: push ecx */
    175     PUSH32(esp, edx); /* 0x2B05C80D: push edx */
    176     PUSH32(esp, eax); /* 0x2B05C80E: push eax */
    177     ecx = ebp + (-0x40C); /* 0x2B05C80F: lea ecx, [ebp - 0x40c] */
    178     PUSH32(esp, 0x2B0E8FA4u); /* 0x2B05C815: push 0x2b0e8fa4 */
    179     PUSH32(esp, ecx); /* 0x2B05C81A: push ecx */
    180     RECOMP_ICALL(edi); /* 0x2B05C81B: call edi */
    181     RECOMP_FLAGS_IN();
    182     ecx = MEM32(esi + 0x4C); /* 0x2B05C81D: mov ecx, dword ptr [esi + 0x4c] */
    183     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u);
    184     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    185     esp = esp + 0x28u; /* 0x2B05C820: add esp, 0x28 */
    186     _flag_k = FK_ADD;
    187     edx = ebp + (-0x40C); /* 0x2B05C823: lea edx, [ebp - 0x40c] */
    188     PUSH32(esp, edx); /* 0x2B05C829: push edx */
    189     RECOMP_ICALL(ebx); /* 0x2B05C82A: call ebx */
    190     RECOMP_FLAGS_IN();
    191     PUSH32(esp, 1); /* 0x2B05C82C: push 1 */
    192     RECOMP_ICALL(MEM32(0x2B0B5F3C)); /* 0x2B05C82E: call dword ptr [0x2b0b5f3c] */
    193     RECOMP_FLAGS_IN();
    194     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2B05C834: fstp dword ptr [ebp - 0xc] */
    195     PUSH32(esp, 2); /* 0x2B05C837: push 2 */
    196     RECOMP_ICALL(MEM32(0x2B0B5F3C)); /* 0x2B05C839: call dword ptr [0x2b0b5f3c] */
    197     RECOMP_FLAGS_IN();
    198     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B05C83F: fstp dword ptr [ebp - 8] */
    199     PUSH32(esp, 3); /* 0x2B05C842: push 3 */
    200     RECOMP_ICALL(MEM32(0x2B0B5F3C)); /* 0x2B05C844: call dword ptr [0x2b0b5f3c] */
    201     RECOMP_FLAGS_IN();
    202     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B05C84A: fstp dword ptr [ebp - 4] */
    203     PUSH32(esp, 4); /* 0x2B05C84D: push 4 */
    204     RECOMP_ICALL(MEM32(0x2B0B5F3C)); /* 0x2B05C84F: call dword ptr [0x2b0b5f3c] */
    205     RECOMP_FLAGS_IN();
    206     { double _v = fp_pop(); *(double*)ADDR(esp + 0x8) = _v; } /* 0x2B05C855: fstp qword ptr [esp + 8] */
    207     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B05C859: fld dword ptr [ebp - 4] */
    208     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    209     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    210     esp = esp + 8; /* 0x2B05C85C: add esp, 8 */
    211     _flag_k = FK_ADD;
    212     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    214     esp = esp - 8; /* 0x2B05C85F: sub esp, 8 */
    215     _flag_k = FK_CMP;
    216     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B05C862: fstp qword ptr [esp] */
    217     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    219     esp = esp - 8; /* 0x2B05C865: sub esp, 8 */
    220     _flag_k = FK_CMP;
    221     fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B05C868: fld dword ptr [ebp - 8] */
    222     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    223     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    224     esp = esp - 8; /* 0x2B05C86B: sub esp, 8 */
    225     _flag_k = FK_CMP;
    226     { double _v = fp_pop(); *(double*)ADDR(esp + 0x8) = _v; } /* 0x2B05C86E: fstp qword ptr [esp + 8] */
    227     fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2B05C872: fld dword ptr [ebp - 0xc] */
    228     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B05C875: fstp qword ptr [esp] */
    229     PUSH32(esp, 0x2B0E8F74u); /* 0x2B05C878: push 0x2b0e8f74 */
    230     eax = ebp + (-0x40C); /* 0x2B05C87D: lea eax, [ebp - 0x40c] */
    231     PUSH32(esp, eax); /* 0x2B05C883: push eax */
    232     RECOMP_ICALL(edi); /* 0x2B05C884: call edi */
    233     RECOMP_FLAGS_IN();
    234     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u);
    235     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    236     esp = esp + 0x28u; /* 0x2B05C886: add esp, 0x28 */
    237     _flag_k = FK_ADD;
    238     ecx = ebp + (-0x40C); /* 0x2B05C889: lea ecx, [ebp - 0x40c] */
    239     PUSH32(esp, ecx); /* 0x2B05C88F: push ecx */
    240     ecx = MEM32(esi + 0x50); /* 0x2B05C890: mov ecx, dword ptr [esi + 0x50] */
    241     RECOMP_ICALL(ebx); /* 0x2B05C893: call ebx */
    242     RECOMP_FLAGS_IN();
    243     RECOMP_ICALL(MEM32(0x2B0B5F34)); /* 0x2B05C895: call dword ptr [0x2b0b5f34] */
    244     RECOMP_FLAGS_IN();
    245     if (10u) _cf = (((eax) >> 9) & 1u); /* 0x2B05C89B: shr eax, 0xa */
    246     if (10u) { _flag_a = recomp_flags_pack((eax >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    247     eax = eax >> 10u; /* 0x2B05C89B: shr eax, 0xa */
    248     PUSH32(esp, eax); /* 0x2B05C89E: push eax */
    249     edx = ebp + (-0x40C); /* 0x2B05C89F: lea edx, [ebp - 0x40c] */
    250     PUSH32(esp, 0x2B0E8F5Cu); /* 0x2B05C8A5: push 0x2b0e8f5c */
    251     PUSH32(esp, edx); /* 0x2B05C8AA: push edx */
    252     RECOMP_ICALL(edi); /* 0x2B05C8AB: call edi */
    253     RECOMP_FLAGS_IN();
    254     ecx = MEM32(esi + 0x34); /* 0x2B05C8AD: mov ecx, dword ptr [esi + 0x34] */
    255     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    256     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    257     esp = esp + 0xCu; /* 0x2B05C8B0: add esp, 0xc */
    258     _flag_k = FK_ADD;
    259     eax = ebp + (-0x40C); /* 0x2B05C8B3: lea eax, [ebp - 0x40c] */
    260     PUSH32(esp, eax); /* 0x2B05C8B9: push eax */
    261     RECOMP_ICALL(ebx); /* 0x2B05C8BA: call ebx */
    262     RECOMP_FLAGS_IN();
    263     RECOMP_ICALL(MEM32(0x2B0B5F44)); /* 0x2B05C8BC: call dword ptr [0x2b0b5f44] */
    264     RECOMP_FLAGS_IN();
    265     if (10u) _cf = (((eax) >> 9) & 1u); /* 0x2B05C8C2: shr eax, 0xa */
    266     if (10u) { _flag_a = recomp_flags_pack((eax >> 10u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    267     eax = eax >> 10u; /* 0x2B05C8C2: shr eax, 0xa */
    268     PUSH32(esp, eax); /* 0x2B05C8C5: push eax */
    269     ecx = ebp + (-0x40C); /* 0x2B05C8C6: lea ecx, [ebp - 0x40c] */
    270     PUSH32(esp, 0x2B0E8F40u); /* 0x2B05C8CC: push 0x2b0e8f40 */
    271     PUSH32(esp, ecx); /* 0x2B05C8D1: push ecx */
    272     RECOMP_ICALL(edi); /* 0x2B05C8D2: call edi */
    273     RECOMP_FLAGS_IN();
    274     ecx = MEM32(esi + 0x38); /* 0x2B05C8D4: mov ecx, dword ptr [esi + 0x38] */
    275     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    276     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    277     esp = esp + 0xCu; /* 0x2B05C8D7: add esp, 0xc */
    278     _flag_k = FK_ADD;
    279     edx = ebp + (-0x40C); /* 0x2B05C8DA: lea edx, [ebp - 0x40c] */
    280     PUSH32(esp, edx); /* 0x2B05C8E0: push edx */
    281     RECOMP_ICALL(ebx); /* 0x2B05C8E1: call ebx */
    282     RECOMP_FLAGS_IN();
    283     RECOMP_ICALL(MEM32(0x2B0B5F48)); /* 0x2B05C8E3: call dword ptr [0x2b0b5f48] */
    284     RECOMP_FLAGS_IN();
    285     PUSH32(esp, eax); /* 0x2B05C8E9: push eax */
    286     eax = ebp + (-0x40C); /* 0x2B05C8EA: lea eax, [ebp - 0x40c] */
    287     PUSH32(esp, 0x2B0E8F2Cu); /* 0x2B05C8F0: push 0x2b0e8f2c */
    288     PUSH32(esp, eax); /* 0x2B05C8F5: push eax */
    289     RECOMP_ICALL(edi); /* 0x2B05C8F6: call edi */
    290     RECOMP_FLAGS_IN();
    291     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    292     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    293     esp = esp + 0xCu; /* 0x2B05C8F8: add esp, 0xc */
    294     _flag_k = FK_ADD;
    295     ecx = ebp + (-0x40C); /* 0x2B05C8FB: lea ecx, [ebp - 0x40c] */
    296     PUSH32(esp, ecx); /* 0x2B05C901: push ecx */
    297     ecx = MEM32(esi + 0x3C); /* 0x2B05C902: mov ecx, dword ptr [esi + 0x3c] */
    298     RECOMP_ICALL(ebx); /* 0x2B05C905: call ebx */
    299     RECOMP_FLAGS_IN();
    300     RECOMP_ICALL(MEM32(0x2B0B5F4C)); /* 0x2B05C907: call dword ptr [0x2b0b5f4c] */
    301     RECOMP_FLAGS_IN();
    302     PUSH32(esp, eax); /* 0x2B05C90D: push eax */
    303     edx = ebp + (-0x40C); /* 0x2B05C90E: lea edx, [ebp - 0x40c] */
    304     PUSH32(esp, 0x2B0E8F14u); /* 0x2B05C914: push 0x2b0e8f14 */
    305     PUSH32(esp, edx); /* 0x2B05C919: push edx */
    306     RECOMP_ICALL(edi); /* 0x2B05C91A: call edi */
    307     RECOMP_FLAGS_IN();
    308     ecx = MEM32(esi + 0x40); /* 0x2B05C91C: mov ecx, dword ptr [esi + 0x40] */
    309     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    310     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    311     esp = esp + 0xCu; /* 0x2B05C91F: add esp, 0xc */
    312     _flag_k = FK_ADD;
    313     eax = ebp + (-0x40C); /* 0x2B05C922: lea eax, [ebp - 0x40c] */
    314     PUSH32(esp, eax); /* 0x2B05C928: push eax */
    315     RECOMP_ICALL(ebx); /* 0x2B05C929: call ebx */
    316     RECOMP_FLAGS_IN();
    317     RECOMP_ICALL(MEM32(0x2B0B5F50)); /* 0x2B05C92B: call dword ptr [0x2b0b5f50] */
    318     RECOMP_FLAGS_IN();
    319     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05C931: call 0x2b0ab220 */ /* not lifted */
    320     RECOMP_FLAGS_IN();
    321     PUSH32(esp, eax); /* 0x2B05C936: push eax */
    322     ecx = ebp + (-0x40C); /* 0x2B05C937: lea ecx, [ebp - 0x40c] */
    323     PUSH32(esp, 0x2B0E8F04u); /* 0x2B05C93D: push 0x2b0e8f04 */
    324     PUSH32(esp, ecx); /* 0x2B05C942: push ecx */
    325     RECOMP_ICALL(edi); /* 0x2B05C943: call edi */
    326     RECOMP_FLAGS_IN();
    327     ecx = MEM32(esi + 0x44); /* 0x2B05C945: mov ecx, dword ptr [esi + 0x44] */
    328     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    329     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    330     esp = esp + 0xCu; /* 0x2B05C948: add esp, 0xc */
    331     _flag_k = FK_ADD;
    332     edx = ebp + (-0x40C); /* 0x2B05C94B: lea edx, [ebp - 0x40c] */
    333     PUSH32(esp, edx); /* 0x2B05C951: push edx */
    334     RECOMP_ICALL(ebx); /* 0x2B05C952: call ebx */
    335     RECOMP_FLAGS_IN();
    336     RECOMP_ICALL(MEM32(0x2B0B5F40)); /* 0x2B05C954: call dword ptr [0x2b0b5f40] */
    337     RECOMP_FLAGS_IN();
    338     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B05C95A: fstp dword ptr [ebp - 4] */
    339     RECOMP_ICALL(MEM32(0x2B0B5F70)); /* 0x2B05C95D: call dword ptr [0x2b0b5f70] */
    340     RECOMP_FLAGS_IN();
    341     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFCu);
    342     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    343     eax = eax + 0xFCu; /* 0x2B05C963: add eax, 0xfc */
    344     _flag_k = FK_ADD;
    345     eax = MEM32(eax + 0x4); /* 0x2B05C968: mov eax, dword ptr [eax + 4] */
    346     /* test eax, eax */ /* 0x2B05C96B: test eax, eax */
    347     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    348     _cf = 0;
    349     _flag_k = FK_TEST;
    350     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05C974; /* 0x2B05C96D: jne 0x2b05c974 */
    351 L_2B05C96F:
    352     eax = MEM32(0x2B0B513C); /* 0x2B05C96F: mov eax, dword ptr [0x2b0b513c] */
    353 L_2B05C974:
    354     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B05C974: fld dword ptr [ebp - 4] */
    355     PUSH32(esp, eax); /* 0x2B05C977: push eax */
    356     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05C978: call 0x2b0ab220 */ /* not lifted */
    357     RECOMP_FLAGS_IN();
    358     PUSH32(esp, eax); /* 0x2B05C97D: push eax */
    359     eax = ebp + (-0x40C); /* 0x2B05C97E: lea eax, [ebp - 0x40c] */
    360     PUSH32(esp, 0x2B0E8EF0u); /* 0x2B05C984: push 0x2b0e8ef0 */
    361     PUSH32(esp, eax); /* 0x2B05C989: push eax */
    362     RECOMP_ICALL(edi); /* 0x2B05C98A: call edi */
    363     RECOMP_FLAGS_IN();
    364     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    365     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    366     esp = esp + 0x10u; /* 0x2B05C98C: add esp, 0x10 */
    367     _flag_k = FK_ADD;
    368     ecx = ebp + (-0x40C); /* 0x2B05C98F: lea ecx, [ebp - 0x40c] */
    369     PUSH32(esp, ecx); /* 0x2B05C995: push ecx */
    370     ecx = MEM32(esi + 0x48); /* 0x2B05C996: mov ecx, dword ptr [esi + 0x48] */
    371     RECOMP_ICALL(ebx); /* 0x2B05C999: call ebx */
    372     RECOMP_FLAGS_IN();
    373     ecx = esi; /* 0x2B05C99B: mov ecx, esi */
    374     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05C99D: call 0x2b03a2b0 */ /* not lifted */
    375     RECOMP_FLAGS_IN();
    376     edi = POP32_VAL(esp); /* 0x2B05C9A2: pop edi */
    377     esi = POP32_VAL(esp); /* 0x2B05C9A3: pop esi */
    378     ebx = POP32_VAL(esp); /* 0x2B05C9A4: pop ebx */
    379     esp = ebp; /* 0x2B05C9A5: mov esp, ebp */
    380     ebp = POP32_VAL(esp); /* 0x2B05C9A7: pop ebp */
    381     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05C9A8: ret  */
    382     RECOMP_REGS_OUT();
    383 }
    384 
    385 void sub_2B05C9B0(void) {
    386     int _fpu_cmp = 0;
    387     uint32_t _cf = 0;
    388     int _df = 1;
    389     uint32_t _flag_k = FK_NONE;
    390     uint32_t _flag_a = 0, _flag_b = 0;
    391     uint32_t _itail_tgt = 0;
    392     RECOMP_REGS_LOCALS
    393     RECOMP_ENTER(0x2B05C9B0u);
    394 
    395 L_2B05C9B0:
    396     PUSH32(esp, ebx); /* 0x2B05C9B0: push ebx */
    397     PUSH32(esp, esi); /* 0x2B05C9B1: push esi */
    398     esi = MEM32(0x2B0B53CC); /* 0x2B05C9B2: mov esi, dword ptr [0x2b0b53cc] */
    399     PUSH32(esp, edi); /* 0x2B05C9B8: push edi */
    400     edi = ecx; /* 0x2B05C9B9: mov edi, ecx */
    401     RECOMP_ICALL(esi); /* 0x2B05C9BB: call esi */
    402     RECOMP_FLAGS_IN();
    403     ecx = eax; /* 0x2B05C9BD: mov ecx, eax */
    404     RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B05C9BF: call dword ptr [0x2b0b5374] */
    405     RECOMP_FLAGS_IN();
    406     PUSH32(esp, 0x32C8u); /* 0x2B05C9C5: push 0x32c8 */
    407     PUSH32(esp, 0x3Cu); /* 0x2B05C9CA: push 0x3c */
    408     PUSH32(esp, 1); /* 0x2B05C9CC: push 1 */
    409     RECOMP_ICALL(esi); /* 0x2B05C9CE: call esi */
    410     RECOMP_FLAGS_IN();
    411     ecx = eax; /* 0x2B05C9D0: mov ecx, eax */
    412     RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B05C9D2: call dword ptr [0x2b0b5378] */
    413     RECOMP_FLAGS_IN();
    414     PUSH32(esp, 0x2B05CB40u); /* 0x2B05C9D8: push 0x2b05cb40 */
    415     RECOMP_ICALL(esi); /* 0x2B05C9DD: call esi */
    416     RECOMP_FLAGS_IN();
    417     ecx = eax; /* 0x2B05C9DF: mov ecx, eax */
    418     RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B05C9E1: call dword ptr [0x2b0b537c] */
    419     RECOMP_FLAGS_IN();
    420     PUSH32(esp, 0x2B05CAB0u); /* 0x2B05C9E7: push 0x2b05cab0 */
    421     PUSH32(esp, 5); /* 0x2B05C9EC: push 5 */
    422     RECOMP_ICALL(esi); /* 0x2B05C9EE: call esi */
    423     RECOMP_FLAGS_IN();
    424     ebx = MEM32(0x2B0B5324); /* 0x2B05C9F0: mov ebx, dword ptr [0x2b0b5324] */
    425     ecx = eax; /* 0x2B05C9F6: mov ecx, eax */
    426     RECOMP_ICALL(ebx); /* 0x2B05C9F8: call ebx */
    427     RECOMP_FLAGS_IN();
    428     PUSH32(esp, 0x2B05CB20u); /* 0x2B05C9FA: push 0x2b05cb20 */
    429     PUSH32(esp, 6); /* 0x2B05C9FF: push 6 */
    430     RECOMP_ICALL(esi); /* 0x2B05CA01: call esi */
    431     RECOMP_FLAGS_IN();
    432     ecx = eax; /* 0x2B05CA03: mov ecx, eax */
    433     RECOMP_ICALL(ebx); /* 0x2B05CA05: call ebx */
    434     RECOMP_FLAGS_IN();
    435     eax = edi; /* 0x2B05CA07: mov eax, edi */
    436     edi = POP32_VAL(esp); /* 0x2B05CA09: pop edi */
    437     esi = POP32_VAL(esp); /* 0x2B05CA0A: pop esi */
    438     MEM32(0x2B0EEC1C) = 0; /* 0x2B05CA0B: mov dword ptr [0x2b0eec1c], 0 */
    439     ebx = POP32_VAL(esp); /* 0x2B05CA15: pop ebx */
    440     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CA16: ret  */
    441     RECOMP_REGS_OUT();
    442 }
    443 
    444 void sub_2B05CA20(void) {
    445     int _fpu_cmp = 0;
    446     uint32_t _cf = 0;
    447     int _df = 1;
    448     uint32_t _flag_k = FK_NONE;
    449     uint32_t _flag_a = 0, _flag_b = 0;
    450     uint32_t _itail_tgt = 0;
    451     RECOMP_REGS_LOCALS
    452     RECOMP_ENTER(0x2B05CA20u);
    453 
    454 L_2B05CA20:
    455     RECOMP_ICALL(0x2B05CB20u); /* 0x2B05CA20: call 0x2b05cb20 */ /* not lifted */
    456     RECOMP_FLAGS_IN();
    457     MEM32(0x2B0EEC18) = 0; /* 0x2B05CA25: mov dword ptr [0x2b0eec18], 0 */
    458     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CA2F: ret  */
    459     RECOMP_REGS_OUT();
    460 }
    461 
    462 void sub_2B05CA30(void) {
    463     int _fpu_cmp = 0;
    464     uint32_t _cf = 0;
    465     int _df = 1;
    466     uint32_t _flag_k = FK_NONE;
    467     uint32_t _flag_a = 0, _flag_b = 0;
    468     uint32_t _itail_tgt = 0;
    469     RECOMP_REGS_LOCALS
    470     RECOMP_ENTER(0x2B05CA30u);
    471 
    472 L_2B05CA30:
    473     PUSH32(esp, ebp); /* 0x2B05CA30: push ebp */
    474     ebp = esp; /* 0x2B05CA31: mov ebp, esp */
    475     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05CA33: push -1 */
    476     PUSH32(esp, 0x2B0B03FBu); /* 0x2B05CA35: push 0x2b0b03fb */
    477     eax = MEM32(FS_BASE + (0)); /* 0x2B05CA3A: mov eax, dword ptr fs:[0] */
    478     PUSH32(esp, eax); /* 0x2B05CA40: push eax */
    479     MEM32(FS_BASE + (0)) = esp; /* 0x2B05CA41: mov dword ptr fs:[0], esp */
    480     PUSH32(esp, ecx); /* 0x2B05CA48: push ecx */
    481     eax = MEM32(0x2B0EEC18); /* 0x2B05CA49: mov eax, dword ptr [0x2b0eec18] */
    482     /* test eax, eax */ /* 0x2B05CA4E: test eax, eax */
    483     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    484     _cf = 0;
    485     _flag_k = FK_TEST;
    486     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05CA8B; /* 0x2B05CA50: jne 0x2b05ca8b */
    487 L_2B05CA52:
    488     PUSH32(esp, 1); /* 0x2B05CA52: push 1 */
    489     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CA54: call 0x2b0ab212 */ /* not lifted */
    490     RECOMP_FLAGS_IN();
    491     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    492     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    493     esp = esp + 4; /* 0x2B05CA59: add esp, 4 */
    494     _flag_k = FK_ADD;
    495     MEM32(ebp + (-0x10)) = eax; /* 0x2B05CA5C: mov dword ptr [ebp - 0x10], eax */
    496     /* test eax, eax */ /* 0x2B05CA5F: test eax, eax */
    497     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    498     _cf = 0;
    499     _flag_k = FK_TEST;
    500     MEM32(ebp + (-0x4)) = 0; /* 0x2B05CA61: mov dword ptr [ebp - 4], 0 */
    501     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05CA84; /* 0x2B05CA68: je 0x2b05ca84 */
    502 L_2B05CA6A:
    503     ecx = eax; /* 0x2B05CA6A: mov ecx, eax */
    504     RECOMP_ICALL(0x2B05C9B0u); /* 0x2B05CA6C: call 0x2b05c9b0 */ /* not lifted */
    505     RECOMP_FLAGS_IN();
    506     MEM32(0x2B0EEC18) = eax; /* 0x2B05CA71: mov dword ptr [0x2b0eec18], eax */
    507     ecx = MEM32(ebp + (-0xC)); /* 0x2B05CA76: mov ecx, dword ptr [ebp - 0xc] */
    508     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05CA79: mov dword ptr fs:[0], ecx */
    509     esp = ebp; /* 0x2B05CA80: mov esp, ebp */
    510     ebp = POP32_VAL(esp); /* 0x2B05CA82: pop ebp */
    511     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CA83: ret  */
    512 L_2B05CA84:
    513     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    514     eax = 0; /* 0x2B05CA84: xor eax, eax */
    515     _cf = 0;
    516     _flag_k = FK_TEST;
    517     MEM32(0x2B0EEC18) = eax; /* 0x2B05CA86: mov dword ptr [0x2b0eec18], eax */
    518 L_2B05CA8B:
    519     ecx = MEM32(ebp + (-0xC)); /* 0x2B05CA8B: mov ecx, dword ptr [ebp - 0xc] */
    520     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05CA8E: mov dword ptr fs:[0], ecx */
    521     esp = ebp; /* 0x2B05CA95: mov esp, ebp */
    522     ebp = POP32_VAL(esp); /* 0x2B05CA97: pop ebp */
    523     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CA98: ret  */
    524     RECOMP_REGS_OUT();
    525 }
    526 
    527 void sub_2B05CAA0(void) {
    528     int _fpu_cmp = 0;
    529     uint32_t _cf = 0;
    530     int _df = 1;
    531     uint32_t _flag_k = FK_NONE;
    532     uint32_t _flag_a = 0, _flag_b = 0;
    533     uint32_t _itail_tgt = 0;
    534     RECOMP_REGS_LOCALS
    535     RECOMP_ENTER(0x2B05CAA0u);
    536 
    537 L_2B05CAA0:
    538     eax = MEM32(0x2B0EEC18); /* 0x2B05CAA0: mov eax, dword ptr [0x2b0eec18] */
    539     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CAA5: ret  */
    540     RECOMP_REGS_OUT();
    541 }
    542 
    543 void sub_2B05CAB0(void) {
    544     int _fpu_cmp = 0;
    545     uint32_t _cf = 0;
    546     int _df = 1;
    547     uint32_t _flag_k = FK_NONE;
    548     uint32_t _flag_a = 0, _flag_b = 0;
    549     uint32_t _itail_tgt = 0;
    550     RECOMP_REGS_LOCALS
    551     RECOMP_ENTER(0x2B05CAB0u);
    552 
    553 L_2B05CAB0:
    554     PUSH32(esp, ebp); /* 0x2B05CAB0: push ebp */
    555     ebp = esp; /* 0x2B05CAB1: mov ebp, esp */
    556     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05CAB3: push -1 */
    557     PUSH32(esp, 0x2B0B041Bu); /* 0x2B05CAB5: push 0x2b0b041b */
    558     eax = MEM32(FS_BASE + (0)); /* 0x2B05CABA: mov eax, dword ptr fs:[0] */
    559     PUSH32(esp, eax); /* 0x2B05CAC0: push eax */
    560     MEM32(FS_BASE + (0)) = esp; /* 0x2B05CAC1: mov dword ptr fs:[0], esp */
    561     PUSH32(esp, ecx); /* 0x2B05CAC8: push ecx */
    562     eax = MEM32(0x2B0EEC1C); /* 0x2B05CAC9: mov eax, dword ptr [0x2b0eec1c] */
    563     /* test eax, eax */ /* 0x2B05CACE: test eax, eax */
    564     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    565     _cf = 0;
    566     _flag_k = FK_TEST;
    567     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05CB0B; /* 0x2B05CAD0: jne 0x2b05cb0b */
    568 L_2B05CAD2:
    569     PUSH32(esp, 0x54u); /* 0x2B05CAD2: push 0x54 */
    570     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CAD4: call 0x2b0ab212 */ /* not lifted */
    571     RECOMP_FLAGS_IN();
    572     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    573     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    574     esp = esp + 4; /* 0x2B05CAD9: add esp, 4 */
    575     _flag_k = FK_ADD;
    576     MEM32(ebp + (-0x10)) = eax; /* 0x2B05CADC: mov dword ptr [ebp - 0x10], eax */
    577     /* test eax, eax */ /* 0x2B05CADF: test eax, eax */
    578     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    579     _cf = 0;
    580     _flag_k = FK_TEST;
    581     MEM32(ebp + (-0x4)) = 0; /* 0x2B05CAE1: mov dword ptr [ebp - 4], 0 */
    582     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05CB04; /* 0x2B05CAE8: je 0x2b05cb04 */
    583 L_2B05CAEA:
    584     ecx = eax; /* 0x2B05CAEA: mov ecx, eax */
    585     RECOMP_ICALL(0x2B05BFC0u); /* 0x2B05CAEC: call 0x2b05bfc0 */ /* not lifted */
    586     RECOMP_FLAGS_IN();
    587     MEM32(0x2B0EEC1C) = eax; /* 0x2B05CAF1: mov dword ptr [0x2b0eec1c], eax */
    588     ecx = MEM32(ebp + (-0xC)); /* 0x2B05CAF6: mov ecx, dword ptr [ebp - 0xc] */
    589     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05CAF9: mov dword ptr fs:[0], ecx */
    590     esp = ebp; /* 0x2B05CB00: mov esp, ebp */
    591     ebp = POP32_VAL(esp); /* 0x2B05CB02: pop ebp */
    592     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CB03: ret  */
    593 L_2B05CB04:
    594     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    595     eax = 0; /* 0x2B05CB04: xor eax, eax */
    596     _cf = 0;
    597     _flag_k = FK_TEST;
    598     MEM32(0x2B0EEC1C) = eax; /* 0x2B05CB06: mov dword ptr [0x2b0eec1c], eax */
    599 L_2B05CB0B:
    600     ecx = MEM32(ebp + (-0xC)); /* 0x2B05CB0B: mov ecx, dword ptr [ebp - 0xc] */
    601     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05CB0E: mov dword ptr fs:[0], ecx */
    602     esp = ebp; /* 0x2B05CB15: mov esp, ebp */
    603     ebp = POP32_VAL(esp); /* 0x2B05CB17: pop ebp */
    604     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CB18: ret  */
    605     RECOMP_REGS_OUT();
    606 }
    607 
    608 void sub_2B05CB20(void) {
    609     int _fpu_cmp = 0;
    610     uint32_t _cf = 0;
    611     int _df = 1;
    612     uint32_t _flag_k = FK_NONE;
    613     uint32_t _flag_a = 0, _flag_b = 0;
    614     uint32_t _itail_tgt = 0;
    615     RECOMP_REGS_LOCALS
    616     RECOMP_ENTER(0x2B05CB20u);
    617 
    618 L_2B05CB20:
    619     ecx = MEM32(0x2B0EEC1C); /* 0x2B05CB20: mov ecx, dword ptr [0x2b0eec1c] */
    620     /* test ecx, ecx */ /* 0x2B05CB26: test ecx, ecx */
    621     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    622     _cf = 0;
    623     _flag_k = FK_TEST;
    624     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05CB30; /* 0x2B05CB28: je 0x2b05cb30 */
    625 L_2B05CB2A:
    626     eax = MEM32(ecx); /* 0x2B05CB2A: mov eax, dword ptr [ecx] */
    627     PUSH32(esp, 1); /* 0x2B05CB2C: push 1 */
    628     RECOMP_ICALL(MEM32(eax)); /* 0x2B05CB2E: call dword ptr [eax] */
    629     RECOMP_FLAGS_IN();
    630 L_2B05CB30:
    631     MEM32(0x2B0EEC1C) = 0; /* 0x2B05CB30: mov dword ptr [0x2b0eec1c], 0 */
    632     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CB3A: ret  */
    633     RECOMP_REGS_OUT();
    634 }
    635 
    636 void sub_2B05CB40(void) {
    637     int _fpu_cmp = 0;
    638     uint32_t _cf = 0;
    639     int _df = 1;
    640     uint32_t _flag_k = FK_NONE;
    641     uint32_t _flag_a = 0, _flag_b = 0;
    642     uint32_t _itail_tgt = 0;
    643     RECOMP_REGS_LOCALS
    644     RECOMP_ENTER(0x2B05CB40u);
    645 
    646 L_2B05CB40:
    647     RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B05CB40: call dword ptr [0x2b0b53bc] */
    648     RECOMP_FLAGS_IN();
    649     eax = MEM32(eax + 0x14); /* 0x2B05CB46: mov eax, dword ptr [eax + 0x14] */
    650     fp_push(*(float*)&MEM32(eax)); /* 0x2B05CB49: fld dword ptr [eax] */
    651     { float _v = (float)fp_pop(); *(float*)ADDR(0x2B0EEC28) = _v; } /* 0x2B05CB4B: fstp dword ptr [0x2b0eec28] */
    652     fp_push(*(float*)&MEM32(0x2B0EEC20)); /* 0x2B05CB51: fld dword ptr [0x2b0eec20] */
    653     _st[0] += (double)*(float*)ADDR(0x2B0EEC28); /* 0x2B05CB57: fadd dword ptr [0x2b0eec28] */
    654     { float _v = (float)fp_pop(); *(float*)ADDR(0x2B0EEC20) = _v; } /* 0x2B05CB5D: fstp dword ptr [0x2b0eec20] */
    655     fp_push(*(float*)&MEM32(0x2B0EEC24)); /* 0x2B05CB63: fld dword ptr [0x2b0eec24] */
    656     _st[0] += (double)*(float*)ADDR(0x2B0EEC28); /* 0x2B05CB69: fadd dword ptr [0x2b0eec28] */
    657     { float _v = (float)fp_pop(); *(float*)ADDR(0x2B0EEC24) = _v; } /* 0x2B05CB6F: fstp dword ptr [0x2b0eec24] */
    658     fp_push(*(float*)&MEM32(0x2B0EEC20)); /* 0x2B05CB75: fld dword ptr [0x2b0eec20] */
    659     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B05CB7B: fcomp dword ptr [0x2b0b63d0] */
    660     fp_pop();
    661     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B05CB81: fnstsw ax */
    662     /* test HI8(eax), 1 */ /* 0x2B05CB83: test ah, 1 */
    663     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    664     _cf = 0;
    665     _flag_k = FK_NARROW(FK_TEST, 24);
    666     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05CBA9; /* 0x2B05CB86: jne 0x2b05cba9 */
    667 L_2B05CB88:
    668     ecx = MEM32(0x2B0EEC1C); /* 0x2B05CB88: mov ecx, dword ptr [0x2b0eec1c] */
    669     /* test ecx, ecx */ /* 0x2B05CB8E: test ecx, ecx */
    670     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    671     _cf = 0;
    672     _flag_k = FK_TEST;
    673     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05CB97; /* 0x2B05CB90: je 0x2b05cb97 */
    674 L_2B05CB92:
    675     RECOMP_ICALL(0x2B05C770u); /* 0x2B05CB92: call 0x2b05c770 */ /* not lifted */
    676     RECOMP_FLAGS_IN();
    677 L_2B05CB97:
    678     fp_push(*(float*)&MEM32(0x2B0EEC20)); /* 0x2B05CB97: fld dword ptr [0x2b0eec20] */
    679     _st[0] -= (double)*(float*)ADDR(0x2B0B63D0); /* 0x2B05CB9D: fsub dword ptr [0x2b0b63d0] */
    680     { float _v = (float)fp_pop(); *(float*)ADDR(0x2B0EEC20) = _v; } /* 0x2B05CBA3: fstp dword ptr [0x2b0eec20] */
    681 L_2B05CBA9:
    682     fp_push(*(float*)&MEM32(0x2B0EEC24)); /* 0x2B05CBA9: fld dword ptr [0x2b0eec24] */
    683     _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6C80)); /* 0x2B05CBAF: fcomp dword ptr [0x2b0b6c80] */
    684     fp_pop();
    685     eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B05CBB5: fnstsw ax */
    686     /* test HI8(eax), 1 */ /* 0x2B05CBB7: test ah, 1 */
    687     _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    688     _cf = 0;
    689     _flag_k = FK_NARROW(FK_TEST, 24);
    690     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05CBEE; /* 0x2B05CBBA: jne 0x2b05cbee */
    691 L_2B05CBBC:
    692     PUSH32(esp, 0); /* 0x2B05CBBC: push 0 */
    693     RECOMP_ICALL(MEM32(0x2B0B5F70)); /* 0x2B05CBBE: call dword ptr [0x2b0b5f70] */
    694     RECOMP_FLAGS_IN();
    695     ecx = eax; /* 0x2B05CBC4: mov ecx, eax */
    696     RECOMP_ICALL(MEM32(0x2B0B5F78)); /* 0x2B05CBC6: call dword ptr [0x2b0b5f78] */
    697     RECOMP_FLAGS_IN();
    698     PUSH32(esp, 0); /* 0x2B05CBCC: push 0 */
    699     RECOMP_ICALL(MEM32(0x2B0B5F70)); /* 0x2B05CBCE: call dword ptr [0x2b0b5f70] */
    700     RECOMP_FLAGS_IN();
    701     ecx = eax; /* 0x2B05CBD4: mov ecx, eax */
    702     RECOMP_ICALL(MEM32(0x2B0B5F74)); /* 0x2B05CBD6: call dword ptr [0x2b0b5f74] */
    703     RECOMP_FLAGS_IN();
    704     fp_push(*(float*)&MEM32(0x2B0EEC24)); /* 0x2B05CBDC: fld dword ptr [0x2b0eec24] */
    705     _st[0] -= (double)*(float*)ADDR(0x2B0B6C80); /* 0x2B05CBE2: fsub dword ptr [0x2b0b6c80] */
    706     { float _v = (float)fp_pop(); *(float*)ADDR(0x2B0EEC24) = _v; } /* 0x2B05CBE8: fstp dword ptr [0x2b0eec24] */
    707 L_2B05CBEE:
    708     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05CBEE: ret  */
    709     RECOMP_REGS_OUT();
    710 }
    711 
    712 void sub_2B05CBF0(void) {
    713     int _fpu_cmp = 0;
    714     uint32_t _cf = 0;
    715     int _df = 1;
    716     uint32_t _flag_k = FK_NONE;
    717     uint32_t _flag_a = 0, _flag_b = 0;
    718     uint32_t _itail_tgt = 0;
    719     RECOMP_REGS_LOCALS
    720     RECOMP_ENTER(0x2B05CBF0u);
    721 
    722 L_2B05CBF0:
    723     PUSH32(esp, ebp); /* 0x2B05CBF0: push ebp */
    724     ebp = esp; /* 0x2B05CBF1: mov ebp, esp */
    725     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05CBF3: push -1 */
    726     PUSH32(esp, 0x2B0B0485u); /* 0x2B05CBF5: push 0x2b0b0485 */
    727     eax = MEM32(FS_BASE + (0)); /* 0x2B05CBFA: mov eax, dword ptr fs:[0] */
    728     PUSH32(esp, eax); /* 0x2B05CC00: push eax */
    729     MEM32(FS_BASE + (0)) = esp; /* 0x2B05CC01: mov dword ptr fs:[0], esp */
    730     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB4u);
    731     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    732     esp = esp - 0xB4u; /* 0x2B05CC08: sub esp, 0xb4 */
    733     _flag_k = FK_CMP;
    734     PUSH32(esp, ebx); /* 0x2B05CC0E: push ebx */
    735     PUSH32(esp, esi); /* 0x2B05CC0F: push esi */
    736     esi = ecx; /* 0x2B05CC10: mov esi, ecx */
    737     PUSH32(esp, edi); /* 0x2B05CC12: push edi */
    738     MEM32(ebp + (-0x60)) = esi; /* 0x2B05CC13: mov dword ptr [ebp - 0x60], esi */
    739     RECOMP_ICALL(0x2B03A220u); /* 0x2B05CC16: call 0x2b03a220 */ /* not lifted */
    740     RECOMP_FLAGS_IN();
    741     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    742     ebx = 0; /* 0x2B05CC1B: xor ebx, ebx */
    743     _cf = 0;
    744     _flag_k = FK_TEST;
    745     PUSH32(esp, 0x38u); /* 0x2B05CC1D: push 0x38 */
    746     MEM32(ebp + (-0x4)) = ebx; /* 0x2B05CC1F: mov dword ptr [ebp - 4], ebx */
    747     MEM8(esi + 0x48) = (uint8_t)(LO8(ebx)); /* 0x2B05CC22: mov byte ptr [esi + 0x48], bl */
    748     MEM32(esi + 0x4C) = ebx; /* 0x2B05CC25: mov dword ptr [esi + 0x4c], ebx */
    749     MEM8(esi + 0x50) = (uint8_t)(LO8(ebx)); /* 0x2B05CC28: mov byte ptr [esi + 0x50], bl */
    750     MEM8(esi + 0x51) = (uint8_t)(LO8(ebx)); /* 0x2B05CC2B: mov byte ptr [esi + 0x51], bl */
    751     MEM32(esi) = 0x2B0B6C88u; /* 0x2B05CC2E: mov dword ptr [esi], 0x2b0b6c88 */
    752     MEM32(esi + 0x30) = ebx; /* 0x2B05CC34: mov dword ptr [esi + 0x30], ebx */
    753     MEM32(esi + 0x34) = 0x1Bu; /* 0x2B05CC37: mov dword ptr [esi + 0x34], 0x1b */
    754     MEM32(ebp + (-0x20)) = ebx; /* 0x2B05CC3E: mov dword ptr [ebp - 0x20], ebx */
    755     MEM32(ebp + (-0x1C)) = ebx; /* 0x2B05CC41: mov dword ptr [ebp - 0x1c], ebx */
    756     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CC44: call 0x2b0ab212 */ /* not lifted */
    757     RECOMP_FLAGS_IN();
    758     edi = eax; /* 0x2B05CC49: mov edi, eax */
    759     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    760     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    761     esp = esp + 4; /* 0x2B05CC4B: add esp, 4 */
    762     _flag_k = FK_ADD;
    763     MEM32(ebp + (-0x10)) = edi; /* 0x2B05CC4E: mov dword ptr [ebp - 0x10], edi */
    764     /* cmp edi, ebx */ /* 0x2B05CC51: cmp edi, ebx */
    765     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
    766     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    767     _flag_k = FK_CMP;
    768     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05CC53: mov byte ptr [ebp - 4], 1 */
    769     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CC7D; /* 0x2B05CC57: je 0x2b05cc7d */
    770 L_2B05CC59:
    771     eax = MEM32(0x2B0EE9DC); /* 0x2B05CC59: mov eax, dword ptr [0x2b0ee9dc] */
    772     PUSH32(esp, eax); /* 0x2B05CC5E: push eax */
    773     PUSH32(esp, 0xFA0u); /* 0x2B05CC5F: push 0xfa0 */
    774     PUSH32(esp, 0x190u); /* 0x2B05CC64: push 0x190 */
    775     ecx = ebp + (-0x20); /* 0x2B05CC69: lea ecx, [ebp - 0x20] */
    776     PUSH32(esp, ecx); /* 0x2B05CC6C: push ecx */
    777     ecx = edi; /* 0x2B05CC6D: mov ecx, edi */
    778     RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B05CC6F: call dword ptr [0x2b0b5948] */
    779     RECOMP_FLAGS_IN();
    780     MEM32(edi) = 0x2B0B68F4u; /* 0x2B05CC75: mov dword ptr [edi], 0x2b0b68f4 */
    781     goto L_2B05CC7F; /* 0x2B05CC7B: jmp 0x2b05cc7f */
    782 L_2B05CC7D:
    783     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    784     edi = 0; /* 0x2B05CC7D: xor edi, edi */
    785     _cf = 0;
    786     _flag_k = FK_TEST;
    787 L_2B05CC7F:
    788     MEM32(esi + 0x28) = edi; /* 0x2B05CC7F: mov dword ptr [esi + 0x28], edi */
    789     MEM8(edi + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05CC82: mov byte ptr [edi + 8], bl */
    790     edx = MEM32(esi + 0x28); /* 0x2B05CC85: mov edx, dword ptr [esi + 0x28] */
    791     eax = MEM32(edx + 0x14); /* 0x2B05CC88: mov eax, dword ptr [edx + 0x14] */
    792     /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B05CC8B: cmp byte ptr [esi + 0x1c], bl */
    793     _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    795     _flag_k = FK_NARROW(FK_CMP, 24);
    796     eax = MEM32(eax + 0x8); /* 0x2B05CC8E: mov eax, dword ptr [eax + 8] */
    797     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CC91: mov byte ptr [ebp - 4], bl */
    798     MEM32(esi + 0x20) = eax; /* 0x2B05CC94: mov dword ptr [esi + 0x20], eax */
    799     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CCA1; /* 0x2B05CC97: je 0x2b05cca1 */
    800 L_2B05CC99:
    801     /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B05CC99: cmp byte ptr [esi + 0xc], bl */
    802     _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    803     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    804     _flag_k = FK_NARROW(FK_CMP, 24);
    805     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CCA1; /* 0x2B05CC9C: je 0x2b05cca1 */
    806 L_2B05CC9E:
    807     MEM32(esi + 0x18) = eax; /* 0x2B05CC9E: mov dword ptr [esi + 0x18], eax */
    808 L_2B05CCA1:
    809     PUSH32(esp, 0x2B0E9F54u); /* 0x2B05CCA1: push 0x2b0e9f54 */
    810     PUSH32(esp, ebx); /* 0x2B05CCA6: push ebx */
    811     ecx = esi; /* 0x2B05CCA7: mov ecx, esi */
    812     RECOMP_ICALL(0x2B03A2D0u); /* 0x2B05CCA9: call 0x2b03a2d0 */ /* not lifted */
    813     RECOMP_FLAGS_IN();
    814     PUSH32(esp, 1); /* 0x2B05CCAE: push 1 */
    815     ecx = esi; /* 0x2B05CCB0: mov ecx, esi */
    816     RECOMP_ICALL(0x2B03A350u); /* 0x2B05CCB2: call 0x2b03a350 */ /* not lifted */
    817     RECOMP_FLAGS_IN();
    818     eax = MEM32(esi + 0x34); /* 0x2B05CCB7: mov eax, dword ptr [esi + 0x34] */
    819     ecx = eax + eax * 4; /* 0x2B05CCBA: lea ecx, [eax + eax*4] */
    820     edx = eax + ecx * 2; /* 0x2B05CCBD: lea edx, [eax + ecx*2] */
    821     PUSH32(esp, 0x9Cu); /* 0x2B05CCC0: push 0x9c */
    822     MEM32(ebp + (-0x10)) = edx; /* 0x2B05CCC5: mov dword ptr [ebp - 0x10], edx */
    823     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CCC8: call 0x2b0ab212 */ /* not lifted */
    824     RECOMP_FLAGS_IN();
    825     edi = eax; /* 0x2B05CCCD: mov edi, eax */
    826     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    827     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    828     esp = esp + 4; /* 0x2B05CCCF: add esp, 4 */
    829     _flag_k = FK_ADD;
    830     MEM32(ebp + (-0x14)) = edi; /* 0x2B05CCD2: mov dword ptr [ebp - 0x14], edi */
    831     /* cmp edi, ebx */ /* 0x2B05CCD5: cmp edi, ebx */
    832     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
    833     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    834     _flag_k = FK_CMP;
    835     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05CCD7: mov byte ptr [ebp - 4], 2 */
    836     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CD0F; /* 0x2B05CCDB: je 0x2b05cd0f */
    837 L_2B05CCDD:
    838     eax = MEM32(0x2B0EE9DC); /* 0x2B05CCDD: mov eax, dword ptr [0x2b0ee9dc] */
    839     ecx = MEM32(ebp + (-0x10)); /* 0x2B05CCE2: mov ecx, dword ptr [ebp - 0x10] */
    840     edx = MEM32(ebp + (-0x1C)); /* 0x2B05CCE5: mov edx, dword ptr [ebp - 0x1c] */
    841     PUSH32(esp, eax); /* 0x2B05CCE8: push eax */
    842     PUSH32(esp, ebx); /* 0x2B05CCE9: push ebx */
    843     PUSH32(esp, ebx); /* 0x2B05CCEA: push ebx */
    844     PUSH32(esp, 0xFA0u); /* 0x2B05CCEB: push 0xfa0 */
    845     PUSH32(esp, ebx); /* 0x2B05CCF0: push ebx */
    846     PUSH32(esp, ebx); /* 0x2B05CCF1: push ebx */
    847     PUSH32(esp, ebx); /* 0x2B05CCF2: push ebx */
    848     PUSH32(esp, ecx); /* 0x2B05CCF3: push ecx */
    849     eax = 0xA9u; /* 0x2B05CCF4: mov eax, 0xa9 */
    850     PUSH32(esp, eax); /* 0x2B05CCF9: push eax */
    851     eax = MEM32(ebp + (-0x20)); /* 0x2B05CCFA: mov eax, dword ptr [ebp - 0x20] */
    852     PUSH32(esp, edx); /* 0x2B05CCFD: push edx */
    853     PUSH32(esp, eax); /* 0x2B05CCFE: push eax */
    854     ecx = edi; /* 0x2B05CCFF: mov ecx, edi */
    855     RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B05CD01: call dword ptr [0x2b0b5af0] */
    856     RECOMP_FLAGS_IN();
    857     MEM32(edi) = 0x2B0B642Cu; /* 0x2B05CD07: mov dword ptr [edi], 0x2b0b642c */
    858     goto L_2B05CD11; /* 0x2B05CD0D: jmp 0x2b05cd11 */
    859 L_2B05CD0F:
    860     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    861     edi = 0; /* 0x2B05CD0F: xor edi, edi */
    862     _cf = 0;
    863     _flag_k = FK_TEST;
    864 L_2B05CD11:
    865     PUSH32(esp, esi); /* 0x2B05CD11: push esi */
    866     PUSH32(esp, 0x2B05D4A0u); /* 0x2B05CD12: push 0x2b05d4a0 */
    867     ecx = edi; /* 0x2B05CD17: mov ecx, edi */
    868     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CD19: mov byte ptr [ebp - 4], bl */
    869     MEM32(esi + 0x38) = edi; /* 0x2B05CD1C: mov dword ptr [esi + 0x38], edi */
    870     RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B05CD1F: call dword ptr [0x2b0b5b44] */
    871     RECOMP_FLAGS_IN();
    872     eax = MEM32(esi + 0x38); /* 0x2B05CD25: mov eax, dword ptr [esi + 0x38] */
    873     PUSH32(esp, 0x34u); /* 0x2B05CD28: push 0x34 */
    874     MEM32(eax + 0x1C) = 0x2B05D490u; /* 0x2B05CD2A: mov dword ptr [eax + 0x1c], 0x2b05d490 */
    875     MEM32(eax + 0x20) = esi; /* 0x2B05CD31: mov dword ptr [eax + 0x20], esi */
    876     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CD34: call 0x2b0ab212 */ /* not lifted */
    877     RECOMP_FLAGS_IN();
    878     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    879     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    880     esp = esp + 4; /* 0x2B05CD39: add esp, 4 */
    881     _flag_k = FK_ADD;
    882     MEM32(ebp + (-0x10)) = eax; /* 0x2B05CD3C: mov dword ptr [ebp - 0x10], eax */
    883     /* cmp eax, ebx */ /* 0x2B05CD3F: cmp eax, ebx */
    884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    886     _flag_k = FK_CMP;
    887     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05CD41: mov byte ptr [ebp - 4], 3 */
    888     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CD5A; /* 0x2B05CD45: je 0x2b05cd5a */
    889 L_2B05CD47:
    890     PUSH32(esp, 2); /* 0x2B05CD47: push 2 */
    891     PUSH32(esp, 0x10u); /* 0x2B05CD49: push 0x10 */
    892     PUSH32(esp, 0x100u); /* 0x2B05CD4B: push 0x100 */
    893     ecx = eax; /* 0x2B05CD50: mov ecx, eax */
    894     RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B05CD52: call dword ptr [0x2b0b5650] */
    895     RECOMP_FLAGS_IN();
    896     goto L_2B05CD5C; /* 0x2B05CD58: jmp 0x2b05cd5c */
    897 L_2B05CD5A:
    898     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    899     eax = 0; /* 0x2B05CD5A: xor eax, eax */
    900     _cf = 0;
    901     _flag_k = FK_TEST;
    902 L_2B05CD5C:
    903     PUSH32(esp, ebx); /* 0x2B05CD5C: push ebx */
    904     PUSH32(esp, 0x00FFFFFFu); /* 0x2B05CD5D: push 0xffffff */
    905     PUSH32(esp, ebx); /* 0x2B05CD62: push ebx */
    906     ecx = eax; /* 0x2B05CD63: mov ecx, eax */
    907     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CD65: mov byte ptr [ebp - 4], bl */
    908     MEM32(esi + 0x40) = eax; /* 0x2B05CD68: mov dword ptr [esi + 0x40], eax */
    909     RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B05CD6B: call dword ptr [0x2b0b564c] */
    910     RECOMP_FLAGS_IN();
    911     PUSH32(esp, 0xD8u); /* 0x2B05CD71: push 0xd8 */
    912     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CD76: call 0x2b0ab212 */ /* not lifted */
    913     RECOMP_FLAGS_IN();
    914     edi = eax; /* 0x2B05CD7B: mov edi, eax */
    915     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    916     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    917     esp = esp + 4; /* 0x2B05CD7D: add esp, 4 */
    918     _flag_k = FK_ADD;
    919     MEM32(ebp + (-0x18)) = edi; /* 0x2B05CD80: mov dword ptr [ebp - 0x18], edi */
    920     /* cmp edi, ebx */ /* 0x2B05CD83: cmp edi, ebx */
    921     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
    922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    923     _flag_k = FK_CMP;
    924     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B05CD85: mov byte ptr [ebp - 4], 4 */
    925     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CDC1; /* 0x2B05CD89: je 0x2b05cdc1 */
    926 L_2B05CD8B:
    927     eax = MEM32(esi + 0x40); /* 0x2B05CD8B: mov eax, dword ptr [esi + 0x40] */
    928     ecx = ebp + (-0x10); /* 0x2B05CD8E: lea ecx, [ebp - 0x10] */
    929     PUSH32(esp, ecx); /* 0x2B05CD91: push ecx */
    930     edx = ebp + (-0x14); /* 0x2B05CD92: lea edx, [ebp - 0x14] */
    931     PUSH32(esp, edx); /* 0x2B05CD95: push edx */
    932     PUSH32(esp, ebx); /* 0x2B05CD96: push ebx */
    933     PUSH32(esp, 0xFA6u); /* 0x2B05CD97: push 0xfa6 */
    934     PUSH32(esp, eax); /* 0x2B05CD9C: push eax */
    935     ecx = ebp + (-0x20); /* 0x2B05CD9D: lea ecx, [ebp - 0x20] */
    936     PUSH32(esp, ecx); /* 0x2B05CDA0: push ecx */
    937     ecx = edi; /* 0x2B05CDA1: mov ecx, edi */
    938     MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B05CDA3: mov dword ptr [ebp - 0x10], 0x3f800000 */
    939     MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B05CDAA: mov dword ptr [ebp - 0x14], 0x3f800000 */
    940     RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B05CDB1: call dword ptr [0x2b0b5654] */
    941     RECOMP_FLAGS_IN();
    942     MEM32(edi) = 0x2B0B618Cu; /* 0x2B05CDB7: mov dword ptr [edi], 0x2b0b618c */
    943     ecx = edi; /* 0x2B05CDBD: mov ecx, edi */
    944     goto L_2B05CDC3; /* 0x2B05CDBF: jmp 0x2b05cdc3 */
    945 L_2B05CDC1:
    946     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    947     ecx = 0; /* 0x2B05CDC1: xor ecx, ecx */
    948     _cf = 0;
    949     _flag_k = FK_TEST;
    950 L_2B05CDC3:
    951     PUSH32(esp, 0x50u); /* 0x2B05CDC3: push 0x50 */
    952     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CDC5: mov byte ptr [ebp - 4], bl */
    953     MEM32(esi + 0x44) = ecx; /* 0x2B05CDC8: mov dword ptr [esi + 0x44], ecx */
    954     RECOMP_ICALL(MEM32(0x2B0B565C)); /* 0x2B05CDCB: call dword ptr [0x2b0b565c] */
    955     RECOMP_FLAGS_IN();
    956     ecx = MEM32(esi + 0x44); /* 0x2B05CDD1: mov ecx, dword ptr [esi + 0x44] */
    957     PUSH32(esp, 0x0033DD22u); /* 0x2B05CDD4: push 0x33dd22 */
    958     RECOMP_ICALL(MEM32(0x2B0B54EC)); /* 0x2B05CDD9: call dword ptr [0x2b0b54ec] */
    959     RECOMP_FLAGS_IN();
    960     ecx = MEM32(0x2B0E8FF8); /* 0x2B05CDDF: mov ecx, dword ptr [0x2b0e8ff8] */
    961     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    962     eax = 0; /* 0x2B05CDE5: xor eax, eax */
    963     _cf = 0;
    964     _flag_k = FK_TEST;
    965     /* cmp ecx, ebx */ /* 0x2B05CDE7: cmp ecx, ebx */
    966     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
    967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    968     _flag_k = FK_CMP;
    969     MEM32(ebp + (-0x14)) = eax; /* 0x2B05CDE9: mov dword ptr [ebp - 0x14], eax */
    970     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CEE3; /* 0x2B05CDEC: je 0x2b05cee3 */
    971 L_2B05CDF2:
    972     MEM32(ebp + (-0x10)) = 0x2B0E8FF8u; /* 0x2B05CDF2: mov dword ptr [ebp - 0x10], 0x2b0e8ff8 */
    973     MEM32(ebp + (-0x18)) = 0x2B0E9008u; /* 0x2B05CDF9: mov dword ptr [ebp - 0x18], 0x2b0e9008 */
    974 L_2B05CE00:
    975     PUSH32(esp, 0x50u); /* 0x2B05CE00: push 0x50 */
    976     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CE02: call 0x2b0ab212 */ /* not lifted */
    977     RECOMP_FLAGS_IN();
    978     edi = eax; /* 0x2B05CE07: mov edi, eax */
    979     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    980     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    981     esp = esp + 4; /* 0x2B05CE09: add esp, 4 */
    982     _flag_k = FK_ADD;
    983     MEM32(ebp + (-0x24)) = edi; /* 0x2B05CE0C: mov dword ptr [ebp - 0x24], edi */
    984     /* cmp edi, ebx */ /* 0x2B05CE0F: cmp edi, ebx */
    985     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
    986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    987     _flag_k = FK_CMP;
    988     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05CE11: mov byte ptr [ebp - 4], 5 */
    989     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CE45; /* 0x2B05CE15: je 0x2b05ce45 */
    990 L_2B05CE17:
    991     edx = MEM32(0x2B0EE9DC); /* 0x2B05CE17: mov edx, dword ptr [0x2b0ee9dc] */
    992     eax = MEM32(ebp + (-0x1C)); /* 0x2B05CE1D: mov eax, dword ptr [ebp - 0x1c] */
    993     ecx = MEM32(ebp + (-0x20)); /* 0x2B05CE20: mov ecx, dword ptr [ebp - 0x20] */
    994     PUSH32(esp, edx); /* 0x2B05CE23: push edx */
    995     edx = MEM32(ebp + (-0x18)); /* 0x2B05CE24: mov edx, dword ptr [ebp - 0x18] */
    996     PUSH32(esp, ebx); /* 0x2B05CE27: push ebx */
    997     PUSH32(esp, eax); /* 0x2B05CE28: push eax */
    998     eax = MEM32(edx + (-0xC)); /* 0x2B05CE29: mov eax, dword ptr [edx - 0xc] */
    999     PUSH32(esp, ecx); /* 0x2B05CE2C: push ecx */
   1000     PUSH32(esp, 0xFB2u); /* 0x2B05CE2D: push 0xfb2 */
   1001     PUSH32(esp, eax); /* 0x2B05CE32: push eax */
   1002     PUSH32(esp, 1); /* 0x2B05CE33: push 1 */
   1003     ecx = edi; /* 0x2B05CE35: mov ecx, edi */
   1004     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05CE37: call dword ptr [0x2b0b5950] */
   1005     RECOMP_FLAGS_IN();
   1006     MEM32(edi) = 0x2B0B6878u; /* 0x2B05CE3D: mov dword ptr [edi], 0x2b0b6878 */
   1007     goto L_2B05CE47; /* 0x2B05CE43: jmp 0x2b05ce47 */
   1008 L_2B05CE45:
   1009     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1010     edi = 0; /* 0x2B05CE45: xor edi, edi */
   1011     _cf = 0;
   1012     _flag_k = FK_TEST;
   1013 L_2B05CE47:
   1014     ecx = MEM32(ebp + (-0x18)); /* 0x2B05CE47: mov ecx, dword ptr [ebp - 0x18] */
   1015     PUSH32(esp, 0x50u); /* 0x2B05CE4A: push 0x50 */
   1016     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CE4C: mov byte ptr [ebp - 4], bl */
   1017     MEM32(ecx) = edi; /* 0x2B05CE4F: mov dword ptr [ecx], edi */
   1018     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CE51: call 0x2b0ab212 */ /* not lifted */
   1019     RECOMP_FLAGS_IN();
   1020     edi = eax; /* 0x2B05CE56: mov edi, eax */
   1021     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1022     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1023     esp = esp + 4; /* 0x2B05CE58: add esp, 4 */
   1024     _flag_k = FK_ADD;
   1025     MEM32(ebp + (-0x24)) = edi; /* 0x2B05CE5B: mov dword ptr [ebp - 0x24], edi */
   1026     /* cmp edi, ebx */ /* 0x2B05CE5E: cmp edi, ebx */
   1027     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1028     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1029     _flag_k = FK_CMP;
   1030     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B05CE60: mov byte ptr [ebp - 4], 6 */
   1031     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CE93; /* 0x2B05CE64: je 0x2b05ce93 */
   1032 L_2B05CE66:
   1033     edx = MEM32(0x2B0EE9DC); /* 0x2B05CE66: mov edx, dword ptr [0x2b0ee9dc] */
   1034     eax = MEM32(ebp + (-0x1C)); /* 0x2B05CE6C: mov eax, dword ptr [ebp - 0x1c] */
   1035     ecx = MEM32(ebp + (-0x20)); /* 0x2B05CE6F: mov ecx, dword ptr [ebp - 0x20] */
   1036     PUSH32(esp, edx); /* 0x2B05CE72: push edx */
   1037     PUSH32(esp, 0x10u); /* 0x2B05CE73: push 0x10 */
   1038     PUSH32(esp, eax); /* 0x2B05CE75: push eax */
   1039     PUSH32(esp, ecx); /* 0x2B05CE76: push ecx */
   1040     PUSH32(esp, 0xFB2u); /* 0x2B05CE77: push 0xfb2 */
   1041     PUSH32(esp, 0x2B0EE648u); /* 0x2B05CE7C: push 0x2b0ee648 */
   1042     PUSH32(esp, 1); /* 0x2B05CE81: push 1 */
   1043     ecx = edi; /* 0x2B05CE83: mov ecx, edi */
   1044     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05CE85: call dword ptr [0x2b0b5950] */
   1045     RECOMP_FLAGS_IN();
   1046     MEM32(edi) = 0x2B0B6878u; /* 0x2B05CE8B: mov dword ptr [edi], 0x2b0b6878 */
   1047     goto L_2B05CE95; /* 0x2B05CE91: jmp 0x2b05ce95 */
   1048 L_2B05CE93:
   1049     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1050     edi = 0; /* 0x2B05CE93: xor edi, edi */
   1051     _cf = 0;
   1052     _flag_k = FK_TEST;
   1053 L_2B05CE95:
   1054     eax = MEM32(ebp + (-0x18)); /* 0x2B05CE95: mov eax, dword ptr [ebp - 0x18] */
   1055     edx = MEM32(ebp + (-0x10)); /* 0x2B05CE98: mov edx, dword ptr [ebp - 0x10] */
   1056     MEM32(eax + 0x4) = edi; /* 0x2B05CE9B: mov dword ptr [eax + 4], edi */
   1057     /* cmp MEM32(edx), 0xFFFFFFFFu */ /* 0x2B05CE9E: cmp dword ptr [edx], -1 */
   1058     _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1059     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1060     _flag_k = FK_CMP;
   1061     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CEA1: mov byte ptr [ebp - 4], bl */
   1062     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05CEB2; /* 0x2B05CEA4: jne 0x2b05ceb2 */
   1063 L_2B05CEA6:
   1064     ecx = MEM32(eax); /* 0x2B05CEA6: mov ecx, dword ptr [eax] */
   1065     ecx = MEM32(ecx + 0x34); /* 0x2B05CEA8: mov ecx, dword ptr [ecx + 0x34] */
   1066     MEM32(ecx + 0x30) = 0x00FFFF33u; /* 0x2B05CEAB: mov dword ptr [ecx + 0x30], 0xffff33 */
   1067 L_2B05CEB2:
   1068     /* cmp MEM32(edx), 0xFFFFFFFEu */ /* 0x2B05CEB2: cmp dword ptr [edx], -2 */
   1069     _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(0xFFFFFFFEu);
   1070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1071     _flag_k = FK_CMP;
   1072     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05CEC3; /* 0x2B05CEB5: jne 0x2b05cec3 */
   1073 L_2B05CEB7:
   1074     edx = MEM32(eax); /* 0x2B05CEB7: mov edx, dword ptr [eax] */
   1075     ecx = MEM32(edx + 0x34); /* 0x2B05CEB9: mov ecx, dword ptr [edx + 0x34] */
   1076     MEM32(ecx + 0x30) = 0x00FF0000u; /* 0x2B05CEBC: mov dword ptr [ecx + 0x30], 0xff0000 */
   1077 L_2B05CEC3:
   1078     edi = MEM32(ebp + (-0x14)); /* 0x2B05CEC3: mov edi, dword ptr [ebp - 0x14] */
   1079     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Cu);
   1080     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1081     eax = eax + 0x1Cu; /* 0x2B05CEC6: add eax, 0x1c */
   1082     _flag_k = FK_ADD;
   1083     ecx = MEM32(eax + (-0x10)); /* 0x2B05CEC9: mov ecx, dword ptr [eax - 0x10] */
   1084     MEM32(ebp + (-0x18)) = eax; /* 0x2B05CECC: mov dword ptr [ebp - 0x18], eax */
   1085     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF0u);
   1086     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1087     eax = eax + 0xFFFFFFF0u; /* 0x2B05CECF: add eax, -0x10 */
   1088     _flag_k = FK_ADD;
   1089     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1090     edi = edi + 1; /* 0x2B05CED2: inc edi */
   1091     _flag_k = FK_INC;
   1092     /* cmp ecx, ebx */ /* 0x2B05CED3: cmp ecx, ebx */
   1093     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1094     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1095     _flag_k = FK_CMP;
   1096     MEM32(ebp + (-0x14)) = edi; /* 0x2B05CED5: mov dword ptr [ebp - 0x14], edi */
   1097     MEM32(ebp + (-0x10)) = eax; /* 0x2B05CED8: mov dword ptr [ebp - 0x10], eax */
   1098     RECOMP_BACKEDGE();
   1099     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05CE00; /* 0x2B05CEDB: jne 0x2b05ce00 */
   1100 L_2B05CEE1:
   1101     eax = edi; /* 0x2B05CEE1: mov eax, edi */
   1102 L_2B05CEE3:
   1103     MEM32(esi + 0x2C) = eax; /* 0x2B05CEE3: mov dword ptr [esi + 0x2c], eax */
   1104     MEM32(ebp + (-0x2C)) = eax; /* 0x2B05CEE6: mov dword ptr [ebp - 0x2c], eax */
   1105     eax = MEM32(esi + 0x34); /* 0x2B05CEE9: mov eax, dword ptr [esi + 0x34] */
   1106     MEM32(ebp + (-0x28)) = eax; /* 0x2B05CEEC: mov dword ptr [ebp - 0x28], eax */
   1107     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1108     eax = 0; /* 0x2B05CEEF: xor eax, eax */
   1109     _cf = 0;
   1110     _flag_k = FK_TEST;
   1111     ecx = 0xCu; /* 0x2B05CEF1: mov ecx, 0xc */
   1112     edi = ebp + (-0x90); /* 0x2B05CEF6: lea edi, [ebp - 0x90] */
   1113     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05CEFC: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
   1114     edx = 0xFBEu; /* 0x2B05CEFE: mov edx, 0xfbe */
   1115     ecx = 0xCu; /* 0x2B05CF03: mov ecx, 0xc */
   1116     edi = ebp + (-0xC0); /* 0x2B05CF08: lea edi, [ebp - 0xc0] */
   1117     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05CF0E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
   1118     PUSH32(esp, 0xCu); /* 0x2B05CF10: push 0xc */
   1119     MEM32(ebp + (-0x5C)) = 0x26u; /* 0x2B05CF12: mov dword ptr [ebp - 0x5c], 0x26 */
   1120     MEM32(ebp + (-0x58)) = ebx; /* 0x2B05CF19: mov dword ptr [ebp - 0x58], ebx */
   1121     MEM32(ebp + (-0x54)) = ebx; /* 0x2B05CF1C: mov dword ptr [ebp - 0x54], ebx */
   1122     MEM32(ebp + (-0x50)) = edx; /* 0x2B05CF1F: mov dword ptr [ebp - 0x50], edx */
   1123     MEM32(ebp + (-0x4C)) = 0x27u; /* 0x2B05CF22: mov dword ptr [ebp - 0x4c], 0x27 */
   1124     MEM32(ebp + (-0x48)) = ebx; /* 0x2B05CF29: mov dword ptr [ebp - 0x48], ebx */
   1125     MEM32(ebp + (-0x44)) = ebx; /* 0x2B05CF2C: mov dword ptr [ebp - 0x44], ebx */
   1126     MEM32(ebp + (-0x40)) = ebx; /* 0x2B05CF2F: mov dword ptr [ebp - 0x40], ebx */
   1127     MEM32(ebp + (-0x3C)) = 0x12Au; /* 0x2B05CF32: mov dword ptr [ebp - 0x3c], 0x12a */
   1128     MEM32(ebp + (-0x38)) = 0x1Au; /* 0x2B05CF39: mov dword ptr [ebp - 0x38], 0x1a */
   1129     MEM32(ebp + (-0x34)) = ebx; /* 0x2B05CF40: mov dword ptr [ebp - 0x34], ebx */
   1130     MEM32(ebp + (-0x30)) = ebx; /* 0x2B05CF43: mov dword ptr [ebp - 0x30], ebx */
   1131     MEM32(ebp + (-0x80)) = ebx; /* 0x2B05CF46: mov dword ptr [ebp - 0x80], ebx */
   1132     MEM32(ebp + (-0x7C)) = ebx; /* 0x2B05CF49: mov dword ptr [ebp - 0x7c], ebx */
   1133     MEM32(ebp + (-0x78)) = edx; /* 0x2B05CF4C: mov dword ptr [ebp - 0x78], edx */
   1134     MEM32(ebp + (-0x70)) = 0x28u; /* 0x2B05CF4F: mov dword ptr [ebp - 0x70], 0x28 */
   1135     MEM32(ebp + (-0x6C)) = 0x29u; /* 0x2B05CF56: mov dword ptr [ebp - 0x6c], 0x29 */
   1136     MEM32(ebp + (-0xB0)) = ebx; /* 0x2B05CF5D: mov dword ptr [ebp - 0xb0], ebx */
   1137     MEM32(ebp + (-0xAC)) = ebx; /* 0x2B05CF63: mov dword ptr [ebp - 0xac], ebx */
   1138     MEM32(ebp + (-0xA8)) = edx; /* 0x2B05CF69: mov dword ptr [ebp - 0xa8], edx */
   1139     MEM32(ebp + (-0xA0)) = 0x2Au; /* 0x2B05CF6F: mov dword ptr [ebp - 0xa0], 0x2a */
   1140     MEM32(ebp + (-0x9C)) = 0x2Bu; /* 0x2B05CF79: mov dword ptr [ebp - 0x9c], 0x2b */
   1141     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05CF83: call 0x2b0ab212 */ /* not lifted */
   1142     RECOMP_FLAGS_IN();
   1143     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1144     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1145     esp = esp + 4; /* 0x2B05CF88: add esp, 4 */
   1146     _flag_k = FK_ADD;
   1147     MEM32(ebp + (-0x24)) = eax; /* 0x2B05CF8B: mov dword ptr [ebp - 0x24], eax */
   1148     /* cmp eax, ebx */ /* 0x2B05CF8E: cmp eax, ebx */
   1149     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1150     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1151     _flag_k = FK_CMP;
   1152     MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B05CF90: mov byte ptr [ebp - 4], 7 */
   1153     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05CFB9; /* 0x2B05CF94: je 0x2b05cfb9 */
   1154 L_2B05CF96:
   1155     ecx = MEM32(0x2B0EE9DC); /* 0x2B05CF96: mov ecx, dword ptr [0x2b0ee9dc] */
   1156     PUSH32(esp, ecx); /* 0x2B05CF9C: push ecx */
   1157     edx = ebp + (-0x90); /* 0x2B05CF9D: lea edx, [ebp - 0x90] */
   1158     PUSH32(esp, edx); /* 0x2B05CFA3: push edx */
   1159     ecx = ebp + (-0xC0); /* 0x2B05CFA4: lea ecx, [ebp - 0xc0] */
   1160     PUSH32(esp, ecx); /* 0x2B05CFAA: push ecx */
   1161     edx = ebp + (-0x5C); /* 0x2B05CFAB: lea edx, [ebp - 0x5c] */
   1162     PUSH32(esp, edx); /* 0x2B05CFAE: push edx */
   1163     ecx = eax; /* 0x2B05CFAF: mov ecx, eax */
   1164     RECOMP_ICALL(MEM32(0x2B0B5BE4)); /* 0x2B05CFB1: call dword ptr [0x2b0b5be4] */
   1165     RECOMP_FLAGS_IN();
   1166     goto L_2B05CFBB; /* 0x2B05CFB7: jmp 0x2b05cfbb */
   1167 L_2B05CFB9:
   1168     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1169     eax = 0; /* 0x2B05CFB9: xor eax, eax */
   1170     _cf = 0;
   1171     _flag_k = FK_TEST;
   1172 L_2B05CFBB:
   1173     PUSH32(esp, esi); /* 0x2B05CFBB: push esi */
   1174     MEM32(esi + 0x3C) = eax; /* 0x2B05CFBC: mov dword ptr [esi + 0x3c], eax */
   1175     ecx = MEM32(eax); /* 0x2B05CFBF: mov ecx, dword ptr [eax] */
   1176     PUSH32(esp, 0x2B05D9F0u); /* 0x2B05CFC1: push 0x2b05d9f0 */
   1177     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05CFC6: mov byte ptr [ebp - 4], bl */
   1178     RECOMP_ICALL(MEM32(0x2B0B5BEC)); /* 0x2B05CFC9: call dword ptr [0x2b0b5bec] */
   1179     RECOMP_FLAGS_IN();
   1180     ecx = MEM32(esi + 0x3C); /* 0x2B05CFCF: mov ecx, dword ptr [esi + 0x3c] */
   1181     PUSH32(esp, 0x64u); /* 0x2B05CFD2: push 0x64 */
   1182     RECOMP_ICALL(MEM32(0x2B0B5BE8)); /* 0x2B05CFD4: call dword ptr [0x2b0b5be8] */
   1183     RECOMP_FLAGS_IN();
   1184     ecx = MEM32(esi + 0x3C); /* 0x2B05CFDA: mov ecx, dword ptr [esi + 0x3c] */
   1185     RECOMP_ICALL(MEM32(0x2B0B5BA8)); /* 0x2B05CFDD: call dword ptr [0x2b0b5ba8] */
   1186     RECOMP_FLAGS_IN();
   1187     ecx = esi; /* 0x2B05CFE3: mov ecx, esi */
   1188     RECOMP_ICALL(0x2B05D120u); /* 0x2B05CFE5: call 0x2b05d120 */ /* not lifted */
   1189     RECOMP_FLAGS_IN();
   1190     ecx = esi; /* 0x2B05CFEA: mov ecx, esi */
   1191     RECOMP_ICALL(0x2B05D320u); /* 0x2B05CFEC: call 0x2b05d320 */ /* not lifted */
   1192     RECOMP_FLAGS_IN();
   1193     ecx = MEM32(ebp + (-0xC)); /* 0x2B05CFF1: mov ecx, dword ptr [ebp - 0xc] */
   1194     edi = POP32_VAL(esp); /* 0x2B05CFF4: pop edi */
   1195     eax = esi; /* 0x2B05CFF5: mov eax, esi */
   1196     esi = POP32_VAL(esp); /* 0x2B05CFF7: pop esi */
   1197     ebx = POP32_VAL(esp); /* 0x2B05CFF8: pop ebx */
   1198     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05CFF9: mov dword ptr fs:[0], ecx */
   1199     esp = ebp; /* 0x2B05D000: mov esp, ebp */
   1200     ebp = POP32_VAL(esp); /* 0x2B05D002: pop ebp */
   1201     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D003: ret  */
   1202     RECOMP_REGS_OUT();
   1203 }
   1204 
   1205 void sub_2B05D010(void) {
   1206     int _fpu_cmp = 0;
   1207     uint32_t _cf = 0;
   1208     int _df = 1;
   1209     uint32_t _flag_k = FK_NONE;
   1210     uint32_t _flag_a = 0, _flag_b = 0;
   1211     uint32_t _itail_tgt = 0;
   1212     RECOMP_REGS_LOCALS
   1213     RECOMP_ENTER(0x2B05D010u);
   1214 
   1215 L_2B05D010:
   1216     PUSH32(esp, ebp); /* 0x2B05D010: push ebp */
   1217     ebp = esp; /* 0x2B05D011: mov ebp, esp */
   1218     PUSH32(esp, esi); /* 0x2B05D013: push esi */
   1219     esi = ecx; /* 0x2B05D014: mov esi, ecx */
   1220     RECOMP_ICALL(0x2B05D040u); /* 0x2B05D016: call 0x2b05d040 */ /* not lifted */
   1221     RECOMP_FLAGS_IN();
   1222     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05D01B: test byte ptr [ebp + 8], 1 */
   1223     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   1224     _cf = 0;
   1225     _flag_k = FK_NARROW(FK_TEST, 24);
   1226     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D02A; /* 0x2B05D01F: je 0x2b05d02a */
   1227 L_2B05D021:
   1228     PUSH32(esp, esi); /* 0x2B05D021: push esi */
   1229     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05D022: call 0x2b0ab1ba */ /* not lifted */
   1230     RECOMP_FLAGS_IN();
   1231     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1232     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1233     esp = esp + 4; /* 0x2B05D027: add esp, 4 */
   1234     _flag_k = FK_ADD;
   1235 L_2B05D02A:
   1236     eax = esi; /* 0x2B05D02A: mov eax, esi */
   1237     esi = POP32_VAL(esp); /* 0x2B05D02C: pop esi */
   1238     ebp = POP32_VAL(esp); /* 0x2B05D02D: pop ebp */
   1239     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05D02E: ret 4 */
   1240     RECOMP_REGS_OUT();
   1241 }
   1242 
   1243 void sub_2B05D040(void) {
   1244     int _fpu_cmp = 0;
   1245     uint32_t _cf = 0;
   1246     int _df = 1;
   1247     uint32_t _flag_k = FK_NONE;
   1248     uint32_t _flag_a = 0, _flag_b = 0;
   1249     uint32_t _itail_tgt = 0;
   1250     RECOMP_REGS_LOCALS
   1251     RECOMP_ENTER(0x2B05D040u);
   1252 
   1253 L_2B05D040:
   1254     PUSH32(esp, ebp); /* 0x2B05D040: push ebp */
   1255     ebp = esp; /* 0x2B05D041: mov ebp, esp */
   1256     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05D043: push -1 */
   1257     PUSH32(esp, 0x2B0B0498u); /* 0x2B05D045: push 0x2b0b0498 */
   1258     eax = MEM32(FS_BASE + (0)); /* 0x2B05D04A: mov eax, dword ptr fs:[0] */
   1259     PUSH32(esp, eax); /* 0x2B05D050: push eax */
   1260     MEM32(FS_BASE + (0)) = esp; /* 0x2B05D051: mov dword ptr fs:[0], esp */
   1261     PUSH32(esp, ecx); /* 0x2B05D058: push ecx */
   1262     PUSH32(esp, esi); /* 0x2B05D059: push esi */
   1263     PUSH32(esp, edi); /* 0x2B05D05A: push edi */
   1264     edi = ecx; /* 0x2B05D05B: mov edi, ecx */
   1265     MEM32(ebp + (-0x10)) = edi; /* 0x2B05D05D: mov dword ptr [ebp - 0x10], edi */
   1266     MEM32(edi) = 0x2B0B6C88u; /* 0x2B05D060: mov dword ptr [edi], 0x2b0b6c88 */
   1267     ecx = MEM32(edi + 0x28); /* 0x2B05D066: mov ecx, dword ptr [edi + 0x28] */
   1268     /* test ecx, ecx */ /* 0x2B05D069: test ecx, ecx */
   1269     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1270     _cf = 0;
   1271     _flag_k = FK_TEST;
   1272     MEM32(ebp + (-0x4)) = 0; /* 0x2B05D06B: mov dword ptr [ebp - 4], 0 */
   1273     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D07A; /* 0x2B05D072: je 0x2b05d07a */
   1274 L_2B05D074:
   1275     eax = MEM32(ecx); /* 0x2B05D074: mov eax, dword ptr [ecx] */
   1276     PUSH32(esp, 1); /* 0x2B05D076: push 1 */
   1277     RECOMP_ICALL(MEM32(eax)); /* 0x2B05D078: call dword ptr [eax] */
   1278     RECOMP_FLAGS_IN();
   1279 L_2B05D07A:
   1280     esi = MEM32(edi + 0x3C); /* 0x2B05D07A: mov esi, dword ptr [edi + 0x3c] */
   1281     /* test esi, esi */ /* 0x2B05D07D: test esi, esi */
   1282     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   1283     _cf = 0;
   1284     _flag_k = FK_TEST;
   1285     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D092; /* 0x2B05D07F: je 0x2b05d092 */
   1286 L_2B05D081:
   1287     ecx = esi; /* 0x2B05D081: mov ecx, esi */
   1288     RECOMP_ICALL(MEM32(0x2B0B5BC0)); /* 0x2B05D083: call dword ptr [0x2b0b5bc0] */
   1289     RECOMP_FLAGS_IN();
   1290     PUSH32(esp, esi); /* 0x2B05D089: push esi */
   1291     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05D08A: call 0x2b0ab1ba */ /* not lifted */
   1292     RECOMP_FLAGS_IN();
   1293     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1294     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1295     esp = esp + 4; /* 0x2B05D08F: add esp, 4 */
   1296     _flag_k = FK_ADD;
   1297 L_2B05D092:
   1298     eax = MEM32(0x2B0E8FF8); /* 0x2B05D092: mov eax, dword ptr [0x2b0e8ff8] */
   1299     /* test eax, eax */ /* 0x2B05D097: test eax, eax */
   1300     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1301     _cf = 0;
   1302     _flag_k = FK_TEST;
   1303     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D0C3; /* 0x2B05D099: je 0x2b05d0c3 */
   1304 L_2B05D09B:
   1305     esi = 0x2B0E900Cu; /* 0x2B05D09B: mov esi, 0x2b0e900c */
   1306 L_2B05D0A0:
   1307     ecx = MEM32(esi + (-0x4)); /* 0x2B05D0A0: mov ecx, dword ptr [esi - 4] */
   1308     /* test ecx, ecx */ /* 0x2B05D0A3: test ecx, ecx */
   1309     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1310     _cf = 0;
   1311     _flag_k = FK_TEST;
   1312     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D0AD; /* 0x2B05D0A5: je 0x2b05d0ad */
   1313 L_2B05D0A7:
   1314     edx = MEM32(ecx); /* 0x2B05D0A7: mov edx, dword ptr [ecx] */
   1315     PUSH32(esp, 1); /* 0x2B05D0A9: push 1 */
   1316     RECOMP_ICALL(MEM32(edx)); /* 0x2B05D0AB: call dword ptr [edx] */
   1317     RECOMP_FLAGS_IN();
   1318 L_2B05D0AD:
   1319     ecx = MEM32(esi); /* 0x2B05D0AD: mov ecx, dword ptr [esi] */
   1320     /* test ecx, ecx */ /* 0x2B05D0AF: test ecx, ecx */
   1321     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1322     _cf = 0;
   1323     _flag_k = FK_TEST;
   1324     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D0B9; /* 0x2B05D0B1: je 0x2b05d0b9 */
   1325 L_2B05D0B3:
   1326     eax = MEM32(ecx); /* 0x2B05D0B3: mov eax, dword ptr [ecx] */
   1327     PUSH32(esp, 1); /* 0x2B05D0B5: push 1 */
   1328     RECOMP_ICALL(MEM32(eax)); /* 0x2B05D0B7: call dword ptr [eax] */
   1329     RECOMP_FLAGS_IN();
   1330 L_2B05D0B9:
   1331     eax = MEM32(esi + 0x8); /* 0x2B05D0B9: mov eax, dword ptr [esi + 8] */
   1332     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x1Cu);
   1333     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1334     esi = esi + 0x1Cu; /* 0x2B05D0BC: add esi, 0x1c */
   1335     _flag_k = FK_ADD;
   1336     /* test eax, eax */ /* 0x2B05D0BF: test eax, eax */
   1337     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1338     _cf = 0;
   1339     _flag_k = FK_TEST;
   1340     RECOMP_BACKEDGE();
   1341     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D0A0; /* 0x2B05D0C1: jne 0x2b05d0a0 */
   1342 L_2B05D0C3:
   1343     ecx = MEM32(edi + 0x38); /* 0x2B05D0C3: mov ecx, dword ptr [edi + 0x38] */
   1344     /* test ecx, ecx */ /* 0x2B05D0C6: test ecx, ecx */
   1345     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1346     _cf = 0;
   1347     _flag_k = FK_TEST;
   1348     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D0D0; /* 0x2B05D0C8: je 0x2b05d0d0 */
   1349 L_2B05D0CA:
   1350     edx = MEM32(ecx); /* 0x2B05D0CA: mov edx, dword ptr [ecx] */
   1351     PUSH32(esp, 1); /* 0x2B05D0CC: push 1 */
   1352     RECOMP_ICALL(MEM32(edx)); /* 0x2B05D0CE: call dword ptr [edx] */
   1353     RECOMP_FLAGS_IN();
   1354 L_2B05D0D0:
   1355     ecx = MEM32(edi + 0x44); /* 0x2B05D0D0: mov ecx, dword ptr [edi + 0x44] */
   1356     /* test ecx, ecx */ /* 0x2B05D0D3: test ecx, ecx */
   1357     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1358     _cf = 0;
   1359     _flag_k = FK_TEST;
   1360     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D0DD; /* 0x2B05D0D5: je 0x2b05d0dd */
   1361 L_2B05D0D7:
   1362     eax = MEM32(ecx); /* 0x2B05D0D7: mov eax, dword ptr [ecx] */
   1363     PUSH32(esp, 1); /* 0x2B05D0D9: push 1 */
   1364     RECOMP_ICALL(MEM32(eax)); /* 0x2B05D0DB: call dword ptr [eax] */
   1365     RECOMP_FLAGS_IN();
   1366 L_2B05D0DD:
   1367     esi = MEM32(edi + 0x40); /* 0x2B05D0DD: mov esi, dword ptr [edi + 0x40] */
   1368     /* test esi, esi */ /* 0x2B05D0E0: test esi, esi */
   1369     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   1370     _cf = 0;
   1371     _flag_k = FK_TEST;
   1372     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D0F5; /* 0x2B05D0E2: je 0x2b05d0f5 */
   1373 L_2B05D0E4:
   1374     ecx = esi; /* 0x2B05D0E4: mov ecx, esi */
   1375     RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B05D0E6: call dword ptr [0x2b0b5644] */
   1376     RECOMP_FLAGS_IN();
   1377     PUSH32(esp, esi); /* 0x2B05D0EC: push esi */
   1378     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05D0ED: call 0x2b0ab1ba */ /* not lifted */
   1379     RECOMP_FLAGS_IN();
   1380     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1381     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1382     esp = esp + 4; /* 0x2B05D0F2: add esp, 4 */
   1383     _flag_k = FK_ADD;
   1384 L_2B05D0F5:
   1385     ecx = edi; /* 0x2B05D0F5: mov ecx, edi */
   1386     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05D0F7: mov dword ptr [ebp - 4], 0xffffffff */
   1387     RECOMP_ICALL(0x2B03A290u); /* 0x2B05D0FE: call 0x2b03a290 */ /* not lifted */
   1388     RECOMP_FLAGS_IN();
   1389     ecx = MEM32(ebp + (-0xC)); /* 0x2B05D103: mov ecx, dword ptr [ebp - 0xc] */
   1390     edi = POP32_VAL(esp); /* 0x2B05D106: pop edi */
   1391     esi = POP32_VAL(esp); /* 0x2B05D107: pop esi */
   1392     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05D108: mov dword ptr fs:[0], ecx */
   1393     esp = ebp; /* 0x2B05D10F: mov esp, ebp */
   1394     ebp = POP32_VAL(esp); /* 0x2B05D111: pop ebp */
   1395     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D112: ret  */
   1396     RECOMP_REGS_OUT();
   1397 }
   1398 
   1399 void sub_2B05D120(void) {
   1400     int _fpu_cmp = 0;
   1401     uint32_t _cf = 0;
   1402     int _df = 1;
   1403     uint32_t _flag_k = FK_NONE;
   1404     uint32_t _flag_a = 0, _flag_b = 0;
   1405     uint32_t _itail_tgt = 0;
   1406     RECOMP_REGS_LOCALS
   1407     RECOMP_ENTER(0x2B05D120u);
   1408 
   1409 L_2B05D120:
   1410     PUSH32(esp, ebp); /* 0x2B05D120: push ebp */
   1411     ebp = esp; /* 0x2B05D121: mov ebp, esp */
   1412     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xD0u);
   1413     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1414     esp = esp - 0xD0u; /* 0x2B05D123: sub esp, 0xd0 */
   1415     _flag_k = FK_CMP;
   1416     eax = MEM32(0x2B0E8FF8); /* 0x2B05D129: mov eax, dword ptr [0x2b0e8ff8] */
   1417     /* test eax, eax */ /* 0x2B05D12E: test eax, eax */
   1418     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1419     _cf = 0;
   1420     _flag_k = FK_TEST;
   1421     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2F5; /* 0x2B05D130: je 0x2b05d2f5 */
   1422 L_2B05D136:
   1423     PUSH32(esp, ebx); /* 0x2B05D136: push ebx */
   1424     PUSH32(esp, esi); /* 0x2B05D137: push esi */
   1425     PUSH32(esp, edi); /* 0x2B05D138: push edi */
   1426     eax = 0x2B0E8FF8u; /* 0x2B05D139: mov eax, 0x2b0e8ff8 */
   1427     ebx = 0x2B0E900Cu; /* 0x2B05D13E: mov ebx, 0x2b0e900c */
   1428 L_2B05D143:
   1429     /* cmp MEM32(eax), 0xFFFFFFFFu */ /* 0x2B05D143: cmp dword ptr [eax], -1 */
   1430     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1432     _flag_k = FK_CMP;
   1433     if (CMP_LE(_flag_a, _flag_b)) goto L_2B05D2E1; /* 0x2B05D146: jle 0x2b05d2e1 */
   1434 L_2B05D14C:
   1435     eax = MEM32(ebx + (-0x14)); /* 0x2B05D14C: mov eax, dword ptr [ebx - 0x14] */
   1436     edi = MEM32(0x2B0B5B64); /* 0x2B05D14F: mov edi, dword ptr [0x2b0b5b64] */
   1437     PUSH32(esp, eax); /* 0x2B05D155: push eax */
   1438     RECOMP_ICALL(edi); /* 0x2B05D156: call edi */
   1439     RECOMP_FLAGS_IN();
   1440     ecx = eax; /* 0x2B05D158: mov ecx, eax */
   1441     RECOMP_ICALL(MEM32(0x2B0B5728)); /* 0x2B05D15A: call dword ptr [0x2b0b5728] */
   1442     RECOMP_FLAGS_IN();
   1443     /* test eax, eax */ /* 0x2B05D160: test eax, eax */
   1444     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1445     _cf = 0;
   1446     _flag_k = FK_TEST;
   1447     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2E1; /* 0x2B05D162: je 0x2b05d2e1 */
   1448 L_2B05D168:
   1449     ecx = MEM32(eax + 0x8); /* 0x2B05D168: mov ecx, dword ptr [eax + 8] */
   1450     MEM32(ebx + 0x4) = ecx; /* 0x2B05D16B: mov dword ptr [ebx + 4], ecx */
   1451     esi = MEM32(eax + 0x8); /* 0x2B05D16E: mov esi, dword ptr [eax + 8] */
   1452     eax = ecx; /* 0x2B05D171: mov eax, ecx */
   1453     /* test eax, eax */ /* 0x2B05D173: test eax, eax */
   1454     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1455     _cf = 0;
   1456     _flag_k = FK_TEST;
   1457     MEM32(ebp + (-0x4)) = esi; /* 0x2B05D175: mov dword ptr [ebp - 4], esi */
   1458     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D1A2; /* 0x2B05D178: jne 0x2b05d1a2 */
   1459 L_2B05D17A:
   1460     ecx = MEM32(ebx); /* 0x2B05D17A: mov ecx, dword ptr [ebx] */
   1461     PUSH32(esp, 0x2B0E9F78u); /* 0x2B05D17C: push 0x2b0e9f78 */
   1462     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05D181: call dword ptr [0x2b0b5850] */
   1463     RECOMP_FLAGS_IN();
   1464     edx = MEM32(ebx); /* 0x2B05D187: mov edx, dword ptr [ebx] */
   1465     ecx = MEM32(edx + 0x34); /* 0x2B05D189: mov ecx, dword ptr [edx + 0x34] */
   1466     eax = 0x00FF0000u; /* 0x2B05D18C: mov eax, 0xff0000 */
   1467     MEM32(ecx + 0x30) = eax; /* 0x2B05D191: mov dword ptr [ecx + 0x30], eax */
   1468     edx = MEM32(ebx + (-0x4)); /* 0x2B05D194: mov edx, dword ptr [ebx - 4] */
   1469     ecx = MEM32(edx + 0x34); /* 0x2B05D197: mov ecx, dword ptr [edx + 0x34] */
   1470     MEM32(ecx + 0x30) = eax; /* 0x2B05D19A: mov dword ptr [ecx + 0x30], eax */
   1471     goto L_2B05D2E1; /* 0x2B05D19D: jmp 0x2b05d2e1 */
   1472 L_2B05D1A2:
   1473     PUSH32(esp, esi); /* 0x2B05D1A2: push esi */
   1474     RECOMP_ICALL(edi); /* 0x2B05D1A3: call edi */
   1475     RECOMP_FLAGS_IN();
   1476     ecx = eax; /* 0x2B05D1A5: mov ecx, eax */
   1477     RECOMP_ICALL(MEM32(0x2B0B5724)); /* 0x2B05D1A7: call dword ptr [0x2b0b5724] */
   1478     RECOMP_FLAGS_IN();
   1479     /* test esi, 0x00040000u */ /* 0x2B05D1AD: test esi, 0x40000 */
   1480     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00040000u);
   1481     _cf = 0;
   1482     _flag_k = FK_TEST;
   1483     MEM32(ebp + (-0x8)) = eax; /* 0x2B05D1B3: mov dword ptr [ebp - 8], eax */
   1484     MEM8(ebp + (-0xD0)) = (uint8_t)(0); /* 0x2B05D1B6: mov byte ptr [ebp - 0xd0], 0 */
   1485     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D1F2; /* 0x2B05D1BD: je 0x2b05d1f2 */
   1486 L_2B05D1BF:
   1487     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1488     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1BF: or ecx, 0xffffffff */
   1489     _cf = 0;
   1490     _flag_k = FK_TEST;
   1491     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1492     eax = 0; /* 0x2B05D1C2: xor eax, eax */
   1493     _cf = 0;
   1494     _flag_k = FK_TEST;
   1495     edi = 0x2B0E9F70u; /* 0x2B05D1C4: mov edi, 0x2b0e9f70 */
   1496     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; } /* 0x2B05D1C9: repne scasb al, byte ptr es:[edi] */
   1497     ecx = ~ecx; /* 0x2B05D1CB: not ecx */
   1498     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1499     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1500     edi = edi - ecx; /* 0x2B05D1CD: sub edi, ecx */
   1501     _flag_k = FK_CMP;
   1502     esi = edi; /* 0x2B05D1CF: mov esi, edi */
   1503     edx = ebp + (-0xD0); /* 0x2B05D1D1: lea edx, [ebp - 0xd0] */
   1504     edi = edx; /* 0x2B05D1D7: mov edi, edx */
   1505     edx = ecx; /* 0x2B05D1D9: mov edx, ecx */
   1506     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1507     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1DB: or ecx, 0xffffffff */
   1508     _cf = 0;
   1509     _flag_k = FK_TEST;
   1510     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; } /* 0x2B05D1DE: repne scasb al, byte ptr es:[edi] */
   1511     ecx = edx; /* 0x2B05D1E0: mov ecx, edx */
   1512     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D1E2: shr ecx, 2 */
   1513     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1514     ecx = ecx >> 2u; /* 0x2B05D1E2: shr ecx, 2 */
   1515     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1516     edi = edi - 1; /* 0x2B05D1E5: dec edi */
   1517     _flag_k = FK_DEC;
   1518     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D1E6: 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; }
   1519     ecx = edx; /* 0x2B05D1E8: mov ecx, edx */
   1520     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1521     ecx = ecx & 3; /* 0x2B05D1EA: and ecx, 3 */
   1522     _cf = 0;
   1523     _flag_k = FK_TEST;
   1524     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D1ED: 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; }
   1525     esi = MEM32(ebp + (-0x4)); /* 0x2B05D1EF: mov esi, dword ptr [ebp - 4] */
   1526 L_2B05D1F2:
   1527     /* test esi, 0x00080000u */ /* 0x2B05D1F2: test esi, 0x80000 */
   1528     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00080000u);
   1529     _cf = 0;
   1530     _flag_k = FK_TEST;
   1531     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D22D; /* 0x2B05D1F8: je 0x2b05d22d */
   1532 L_2B05D1FA:
   1533     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1534     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1FA: or ecx, 0xffffffff */
   1535     _cf = 0;
   1536     _flag_k = FK_TEST;
   1537     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1538     eax = 0; /* 0x2B05D1FD: xor eax, eax */
   1539     _cf = 0;
   1540     _flag_k = FK_TEST;
   1541     edi = 0x2B0E9F68u; /* 0x2B05D1FF: mov edi, 0x2b0e9f68 */
   1542     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; } /* 0x2B05D204: repne scasb al, byte ptr es:[edi] */
   1543     ecx = ~ecx; /* 0x2B05D206: not ecx */
   1544     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1545     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1546     edi = edi - ecx; /* 0x2B05D208: sub edi, ecx */
   1547     _flag_k = FK_CMP;
   1548     esi = edi; /* 0x2B05D20A: mov esi, edi */
   1549     edx = ebp + (-0xD0); /* 0x2B05D20C: lea edx, [ebp - 0xd0] */
   1550     edi = edx; /* 0x2B05D212: mov edi, edx */
   1551     edx = ecx; /* 0x2B05D214: mov edx, ecx */
   1552     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1553     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D216: or ecx, 0xffffffff */
   1554     _cf = 0;
   1555     _flag_k = FK_TEST;
   1556     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; } /* 0x2B05D219: repne scasb al, byte ptr es:[edi] */
   1557     ecx = edx; /* 0x2B05D21B: mov ecx, edx */
   1558     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D21D: shr ecx, 2 */
   1559     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1560     ecx = ecx >> 2u; /* 0x2B05D21D: shr ecx, 2 */
   1561     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1562     edi = edi - 1; /* 0x2B05D220: dec edi */
   1563     _flag_k = FK_DEC;
   1564     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D221: 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; }
   1565     ecx = edx; /* 0x2B05D223: mov ecx, edx */
   1566     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1567     ecx = ecx & 3; /* 0x2B05D225: and ecx, 3 */
   1568     _cf = 0;
   1569     _flag_k = FK_TEST;
   1570     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D228: 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; }
   1571     esi = MEM32(ebp + (-0x4)); /* 0x2B05D22A: mov esi, dword ptr [ebp - 4] */
   1572 L_2B05D22D:
   1573     /* test esi, 0x00020000u */ /* 0x2B05D22D: test esi, 0x20000 */
   1574     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00020000u);
   1575     _cf = 0;
   1576     _flag_k = FK_TEST;
   1577     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D265; /* 0x2B05D233: je 0x2b05d265 */
   1578 L_2B05D235:
   1579     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1580     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D235: or ecx, 0xffffffff */
   1581     _cf = 0;
   1582     _flag_k = FK_TEST;
   1583     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1584     eax = 0; /* 0x2B05D238: xor eax, eax */
   1585     _cf = 0;
   1586     _flag_k = FK_TEST;
   1587     edi = 0x2B0E9F60u; /* 0x2B05D23A: mov edi, 0x2b0e9f60 */
   1588     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; } /* 0x2B05D23F: repne scasb al, byte ptr es:[edi] */
   1589     ecx = ~ecx; /* 0x2B05D241: not ecx */
   1590     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1591     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1592     edi = edi - ecx; /* 0x2B05D243: sub edi, ecx */
   1593     _flag_k = FK_CMP;
   1594     esi = edi; /* 0x2B05D245: mov esi, edi */
   1595     edx = ebp + (-0xD0); /* 0x2B05D247: lea edx, [ebp - 0xd0] */
   1596     edi = edx; /* 0x2B05D24D: mov edi, edx */
   1597     edx = ecx; /* 0x2B05D24F: mov edx, ecx */
   1598     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1599     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D251: or ecx, 0xffffffff */
   1600     _cf = 0;
   1601     _flag_k = FK_TEST;
   1602     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; } /* 0x2B05D254: repne scasb al, byte ptr es:[edi] */
   1603     ecx = edx; /* 0x2B05D256: mov ecx, edx */
   1604     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D258: shr ecx, 2 */
   1605     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1606     ecx = ecx >> 2u; /* 0x2B05D258: shr ecx, 2 */
   1607     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1608     edi = edi - 1; /* 0x2B05D25B: dec edi */
   1609     _flag_k = FK_DEC;
   1610     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D25C: 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; }
   1611     ecx = edx; /* 0x2B05D25E: mov ecx, edx */
   1612     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1613     ecx = ecx & 3; /* 0x2B05D260: and ecx, 3 */
   1614     _cf = 0;
   1615     _flag_k = FK_TEST;
   1616     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D263: 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; }
   1617 L_2B05D265:
   1618     edi = MEM32(ebp + (-0x8)); /* 0x2B05D265: mov edi, dword ptr [ebp - 8] */
   1619     /* test edi, edi */ /* 0x2B05D268: test edi, edi */
   1620     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1621     _cf = 0;
   1622     _flag_k = FK_TEST;
   1623     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D297; /* 0x2B05D26A: je 0x2b05d297 */
   1624 L_2B05D26C:
   1625     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1626     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D26C: or ecx, 0xffffffff */
   1627     _cf = 0;
   1628     _flag_k = FK_TEST;
   1629     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1630     eax = 0; /* 0x2B05D26F: xor eax, eax */
   1631     _cf = 0;
   1632     _flag_k = FK_TEST;
   1633     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; } /* 0x2B05D271: repne scasb al, byte ptr es:[edi] */
   1634     ecx = ~ecx; /* 0x2B05D273: not ecx */
   1635     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1636     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1637     edi = edi - ecx; /* 0x2B05D275: sub edi, ecx */
   1638     _flag_k = FK_CMP;
   1639     esi = edi; /* 0x2B05D277: mov esi, edi */
   1640     edx = ebp + (-0xD0); /* 0x2B05D279: lea edx, [ebp - 0xd0] */
   1641     edi = edx; /* 0x2B05D27F: mov edi, edx */
   1642     edx = ecx; /* 0x2B05D281: mov edx, ecx */
   1643     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1644     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D283: or ecx, 0xffffffff */
   1645     _cf = 0;
   1646     _flag_k = FK_TEST;
   1647     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; } /* 0x2B05D286: repne scasb al, byte ptr es:[edi] */
   1648     ecx = edx; /* 0x2B05D288: mov ecx, edx */
   1649     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D28A: shr ecx, 2 */
   1650     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1651     ecx = ecx >> 2u; /* 0x2B05D28A: shr ecx, 2 */
   1652     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1653     edi = edi - 1; /* 0x2B05D28D: dec edi */
   1654     _flag_k = FK_DEC;
   1655     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D28E: 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; }
   1656     ecx = edx; /* 0x2B05D290: mov ecx, edx */
   1657     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1658     ecx = ecx & 3; /* 0x2B05D292: and ecx, 3 */
   1659     _cf = 0;
   1660     _flag_k = FK_TEST;
   1661     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D295: 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; }
   1662 L_2B05D297:
   1663     ecx = MEM32(ebx); /* 0x2B05D297: mov ecx, dword ptr [ebx] */
   1664     eax = ebp + (-0xD0); /* 0x2B05D299: lea eax, [ebp - 0xd0] */
   1665     PUSH32(esp, eax); /* 0x2B05D29F: push eax */
   1666     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05D2A0: call dword ptr [0x2b0b5850] */
   1667     RECOMP_FLAGS_IN();
   1668     SET_LO8(eax, MEM8(ebx + (-0x8))); /* 0x2B05D2A6: mov al, byte ptr [ebx - 8] */
   1669     /* test LO8(eax), LO8(eax) */ /* 0x2B05D2A9: test al, al */
   1670     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1671     _cf = 0;
   1672     _flag_k = FK_NARROW(FK_TEST, 24);
   1673     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2C8; /* 0x2B05D2AB: je 0x2b05d2c8 */
   1674 L_2B05D2AD:
   1675     ecx = MEM32(ebx); /* 0x2B05D2AD: mov ecx, dword ptr [ebx] */
   1676     edx = MEM32(ecx + 0x34); /* 0x2B05D2AF: mov edx, dword ptr [ecx + 0x34] */
   1677     MEM32(edx + 0x30) = 0x004444FFu; /* 0x2B05D2B2: mov dword ptr [edx + 0x30], 0x4444ff */
   1678     eax = MEM32(ebx + (-0x4)); /* 0x2B05D2B9: mov eax, dword ptr [ebx - 4] */
   1679     ecx = MEM32(eax + 0x34); /* 0x2B05D2BC: mov ecx, dword ptr [eax + 0x34] */
   1680     MEM32(ecx + 0x30) = 0x00FFFFFFu; /* 0x2B05D2BF: mov dword ptr [ecx + 0x30], 0xffffff */
   1681     goto L_2B05D2E1; /* 0x2B05D2C6: jmp 0x2b05d2e1 */
   1682 L_2B05D2C8:
   1683     edx = MEM32(ebx); /* 0x2B05D2C8: mov edx, dword ptr [ebx] */
   1684     eax = MEM32(edx + 0x34); /* 0x2B05D2CA: mov eax, dword ptr [edx + 0x34] */
   1685     MEM32(eax + 0x30) = 0x00EEEEFFu; /* 0x2B05D2CD: mov dword ptr [eax + 0x30], 0xeeeeff */
   1686     ecx = MEM32(ebx + (-0x4)); /* 0x2B05D2D4: mov ecx, dword ptr [ebx - 4] */
   1687     edx = MEM32(ecx + 0x34); /* 0x2B05D2D7: mov edx, dword ptr [ecx + 0x34] */
   1688     MEM32(edx + 0x30) = 0x00EEEECCu; /* 0x2B05D2DA: mov dword ptr [edx + 0x30], 0xeeeecc */
   1689 L_2B05D2E1:
   1690     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x1Cu);
   1691     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1692     ebx = ebx + 0x1Cu; /* 0x2B05D2E1: add ebx, 0x1c */
   1693     _flag_k = FK_ADD;
   1694     ecx = MEM32(ebx + (-0x14)); /* 0x2B05D2E4: mov ecx, dword ptr [ebx - 0x14] */
   1695     /* test ecx, ecx */ /* 0x2B05D2E7: test ecx, ecx */
   1696     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1697     _cf = 0;
   1698     _flag_k = FK_TEST;
   1699     eax = ebx + (-0x14); /* 0x2B05D2E9: lea eax, [ebx - 0x14] */
   1700     RECOMP_BACKEDGE();
   1701     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D143; /* 0x2B05D2EC: jne 0x2b05d143 */
   1702 L_2B05D2F2:
   1703     edi = POP32_VAL(esp); /* 0x2B05D2F2: pop edi */
   1704     esi = POP32_VAL(esp); /* 0x2B05D2F3: pop esi */
   1705     ebx = POP32_VAL(esp); /* 0x2B05D2F4: pop ebx */
   1706 L_2B05D2F5:
   1707     esp = ebp; /* 0x2B05D2F5: mov esp, ebp */
   1708     ebp = POP32_VAL(esp); /* 0x2B05D2F7: pop ebp */
   1709     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D2F8: ret  */
   1710     RECOMP_REGS_OUT();
   1711 }
   1712 
   1713 void sub_2B05D143(void) {
   1714     int _fpu_cmp = 0;
   1715     uint32_t _cf = 0;
   1716     int _df = 1;
   1717     uint32_t _flag_k = FK_NONE;
   1718     uint32_t _flag_a = 0, _flag_b = 0;
   1719     uint32_t _itail_tgt = 0;
   1720     RECOMP_REGS_LOCALS
   1721     RECOMP_ENTER(0x2B05D143u);
   1722 
   1723 L_2B05D143:
   1724     /* cmp MEM32(eax), 0xFFFFFFFFu */ /* 0x2B05D143: cmp dword ptr [eax], -1 */
   1725     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0xFFFFFFFFu);
   1726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1727     _flag_k = FK_CMP;
   1728     if (CMP_LE(_flag_a, _flag_b)) goto L_2B05D2E1; /* 0x2B05D146: jle 0x2b05d2e1 */
   1729 L_2B05D14C:
   1730     eax = MEM32(ebx + (-0x14)); /* 0x2B05D14C: mov eax, dword ptr [ebx - 0x14] */
   1731     edi = MEM32(0x2B0B5B64); /* 0x2B05D14F: mov edi, dword ptr [0x2b0b5b64] */
   1732     PUSH32(esp, eax); /* 0x2B05D155: push eax */
   1733     RECOMP_ICALL(edi); /* 0x2B05D156: call edi */
   1734     RECOMP_FLAGS_IN();
   1735     ecx = eax; /* 0x2B05D158: mov ecx, eax */
   1736     RECOMP_ICALL(MEM32(0x2B0B5728)); /* 0x2B05D15A: call dword ptr [0x2b0b5728] */
   1737     RECOMP_FLAGS_IN();
   1738     /* test eax, eax */ /* 0x2B05D160: test eax, eax */
   1739     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1740     _cf = 0;
   1741     _flag_k = FK_TEST;
   1742     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2E1; /* 0x2B05D162: je 0x2b05d2e1 */
   1743 L_2B05D168:
   1744     ecx = MEM32(eax + 0x8); /* 0x2B05D168: mov ecx, dword ptr [eax + 8] */
   1745     MEM32(ebx + 0x4) = ecx; /* 0x2B05D16B: mov dword ptr [ebx + 4], ecx */
   1746     esi = MEM32(eax + 0x8); /* 0x2B05D16E: mov esi, dword ptr [eax + 8] */
   1747     eax = ecx; /* 0x2B05D171: mov eax, ecx */
   1748     /* test eax, eax */ /* 0x2B05D173: test eax, eax */
   1749     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1750     _cf = 0;
   1751     _flag_k = FK_TEST;
   1752     MEM32(ebp + (-0x4)) = esi; /* 0x2B05D175: mov dword ptr [ebp - 4], esi */
   1753     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D1A2; /* 0x2B05D178: jne 0x2b05d1a2 */
   1754 L_2B05D17A:
   1755     ecx = MEM32(ebx); /* 0x2B05D17A: mov ecx, dword ptr [ebx] */
   1756     PUSH32(esp, 0x2B0E9F78u); /* 0x2B05D17C: push 0x2b0e9f78 */
   1757     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05D181: call dword ptr [0x2b0b5850] */
   1758     RECOMP_FLAGS_IN();
   1759     edx = MEM32(ebx); /* 0x2B05D187: mov edx, dword ptr [ebx] */
   1760     ecx = MEM32(edx + 0x34); /* 0x2B05D189: mov ecx, dword ptr [edx + 0x34] */
   1761     eax = 0x00FF0000u; /* 0x2B05D18C: mov eax, 0xff0000 */
   1762     MEM32(ecx + 0x30) = eax; /* 0x2B05D191: mov dword ptr [ecx + 0x30], eax */
   1763     edx = MEM32(ebx + (-0x4)); /* 0x2B05D194: mov edx, dword ptr [ebx - 4] */
   1764     ecx = MEM32(edx + 0x34); /* 0x2B05D197: mov ecx, dword ptr [edx + 0x34] */
   1765     MEM32(ecx + 0x30) = eax; /* 0x2B05D19A: mov dword ptr [ecx + 0x30], eax */
   1766     goto L_2B05D2E1; /* 0x2B05D19D: jmp 0x2b05d2e1 */
   1767 L_2B05D1A2:
   1768     PUSH32(esp, esi); /* 0x2B05D1A2: push esi */
   1769     RECOMP_ICALL(edi); /* 0x2B05D1A3: call edi */
   1770     RECOMP_FLAGS_IN();
   1771     ecx = eax; /* 0x2B05D1A5: mov ecx, eax */
   1772     RECOMP_ICALL(MEM32(0x2B0B5724)); /* 0x2B05D1A7: call dword ptr [0x2b0b5724] */
   1773     RECOMP_FLAGS_IN();
   1774     /* test esi, 0x00040000u */ /* 0x2B05D1AD: test esi, 0x40000 */
   1775     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00040000u);
   1776     _cf = 0;
   1777     _flag_k = FK_TEST;
   1778     MEM32(ebp + (-0x8)) = eax; /* 0x2B05D1B3: mov dword ptr [ebp - 8], eax */
   1779     MEM8(ebp + (-0xD0)) = (uint8_t)(0); /* 0x2B05D1B6: mov byte ptr [ebp - 0xd0], 0 */
   1780     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D1F2; /* 0x2B05D1BD: je 0x2b05d1f2 */
   1781 L_2B05D1BF:
   1782     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1783     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1BF: or ecx, 0xffffffff */
   1784     _cf = 0;
   1785     _flag_k = FK_TEST;
   1786     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1787     eax = 0; /* 0x2B05D1C2: xor eax, eax */
   1788     _cf = 0;
   1789     _flag_k = FK_TEST;
   1790     edi = 0x2B0E9F70u; /* 0x2B05D1C4: mov edi, 0x2b0e9f70 */
   1791     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; } /* 0x2B05D1C9: repne scasb al, byte ptr es:[edi] */
   1792     ecx = ~ecx; /* 0x2B05D1CB: not ecx */
   1793     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1795     edi = edi - ecx; /* 0x2B05D1CD: sub edi, ecx */
   1796     _flag_k = FK_CMP;
   1797     esi = edi; /* 0x2B05D1CF: mov esi, edi */
   1798     edx = ebp + (-0xD0); /* 0x2B05D1D1: lea edx, [ebp - 0xd0] */
   1799     edi = edx; /* 0x2B05D1D7: mov edi, edx */
   1800     edx = ecx; /* 0x2B05D1D9: mov edx, ecx */
   1801     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1802     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1DB: or ecx, 0xffffffff */
   1803     _cf = 0;
   1804     _flag_k = FK_TEST;
   1805     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; } /* 0x2B05D1DE: repne scasb al, byte ptr es:[edi] */
   1806     ecx = edx; /* 0x2B05D1E0: mov ecx, edx */
   1807     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D1E2: shr ecx, 2 */
   1808     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1809     ecx = ecx >> 2u; /* 0x2B05D1E2: shr ecx, 2 */
   1810     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1811     edi = edi - 1; /* 0x2B05D1E5: dec edi */
   1812     _flag_k = FK_DEC;
   1813     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D1E6: 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; }
   1814     ecx = edx; /* 0x2B05D1E8: mov ecx, edx */
   1815     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1816     ecx = ecx & 3; /* 0x2B05D1EA: and ecx, 3 */
   1817     _cf = 0;
   1818     _flag_k = FK_TEST;
   1819     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D1ED: 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; }
   1820     esi = MEM32(ebp + (-0x4)); /* 0x2B05D1EF: mov esi, dword ptr [ebp - 4] */
   1821 L_2B05D1F2:
   1822     /* test esi, 0x00080000u */ /* 0x2B05D1F2: test esi, 0x80000 */
   1823     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00080000u);
   1824     _cf = 0;
   1825     _flag_k = FK_TEST;
   1826     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D22D; /* 0x2B05D1F8: je 0x2b05d22d */
   1827 L_2B05D1FA:
   1828     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1829     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1FA: or ecx, 0xffffffff */
   1830     _cf = 0;
   1831     _flag_k = FK_TEST;
   1832     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1833     eax = 0; /* 0x2B05D1FD: xor eax, eax */
   1834     _cf = 0;
   1835     _flag_k = FK_TEST;
   1836     edi = 0x2B0E9F68u; /* 0x2B05D1FF: mov edi, 0x2b0e9f68 */
   1837     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; } /* 0x2B05D204: repne scasb al, byte ptr es:[edi] */
   1838     ecx = ~ecx; /* 0x2B05D206: not ecx */
   1839     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1841     edi = edi - ecx; /* 0x2B05D208: sub edi, ecx */
   1842     _flag_k = FK_CMP;
   1843     esi = edi; /* 0x2B05D20A: mov esi, edi */
   1844     edx = ebp + (-0xD0); /* 0x2B05D20C: lea edx, [ebp - 0xd0] */
   1845     edi = edx; /* 0x2B05D212: mov edi, edx */
   1846     edx = ecx; /* 0x2B05D214: mov edx, ecx */
   1847     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1848     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D216: or ecx, 0xffffffff */
   1849     _cf = 0;
   1850     _flag_k = FK_TEST;
   1851     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; } /* 0x2B05D219: repne scasb al, byte ptr es:[edi] */
   1852     ecx = edx; /* 0x2B05D21B: mov ecx, edx */
   1853     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D21D: shr ecx, 2 */
   1854     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1855     ecx = ecx >> 2u; /* 0x2B05D21D: shr ecx, 2 */
   1856     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1857     edi = edi - 1; /* 0x2B05D220: dec edi */
   1858     _flag_k = FK_DEC;
   1859     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D221: 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; }
   1860     ecx = edx; /* 0x2B05D223: mov ecx, edx */
   1861     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1862     ecx = ecx & 3; /* 0x2B05D225: and ecx, 3 */
   1863     _cf = 0;
   1864     _flag_k = FK_TEST;
   1865     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D228: 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; }
   1866     esi = MEM32(ebp + (-0x4)); /* 0x2B05D22A: mov esi, dword ptr [ebp - 4] */
   1867 L_2B05D22D:
   1868     /* test esi, 0x00020000u */ /* 0x2B05D22D: test esi, 0x20000 */
   1869     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00020000u);
   1870     _cf = 0;
   1871     _flag_k = FK_TEST;
   1872     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D265; /* 0x2B05D233: je 0x2b05d265 */
   1873 L_2B05D235:
   1874     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1875     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D235: or ecx, 0xffffffff */
   1876     _cf = 0;
   1877     _flag_k = FK_TEST;
   1878     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1879     eax = 0; /* 0x2B05D238: xor eax, eax */
   1880     _cf = 0;
   1881     _flag_k = FK_TEST;
   1882     edi = 0x2B0E9F60u; /* 0x2B05D23A: mov edi, 0x2b0e9f60 */
   1883     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; } /* 0x2B05D23F: repne scasb al, byte ptr es:[edi] */
   1884     ecx = ~ecx; /* 0x2B05D241: not ecx */
   1885     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1886     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1887     edi = edi - ecx; /* 0x2B05D243: sub edi, ecx */
   1888     _flag_k = FK_CMP;
   1889     esi = edi; /* 0x2B05D245: mov esi, edi */
   1890     edx = ebp + (-0xD0); /* 0x2B05D247: lea edx, [ebp - 0xd0] */
   1891     edi = edx; /* 0x2B05D24D: mov edi, edx */
   1892     edx = ecx; /* 0x2B05D24F: mov edx, ecx */
   1893     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1894     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D251: or ecx, 0xffffffff */
   1895     _cf = 0;
   1896     _flag_k = FK_TEST;
   1897     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; } /* 0x2B05D254: repne scasb al, byte ptr es:[edi] */
   1898     ecx = edx; /* 0x2B05D256: mov ecx, edx */
   1899     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D258: shr ecx, 2 */
   1900     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1901     ecx = ecx >> 2u; /* 0x2B05D258: shr ecx, 2 */
   1902     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1903     edi = edi - 1; /* 0x2B05D25B: dec edi */
   1904     _flag_k = FK_DEC;
   1905     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D25C: 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; }
   1906     ecx = edx; /* 0x2B05D25E: mov ecx, edx */
   1907     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1908     ecx = ecx & 3; /* 0x2B05D260: and ecx, 3 */
   1909     _cf = 0;
   1910     _flag_k = FK_TEST;
   1911     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D263: 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; }
   1912 L_2B05D265:
   1913     edi = MEM32(ebp + (-0x8)); /* 0x2B05D265: mov edi, dword ptr [ebp - 8] */
   1914     /* test edi, edi */ /* 0x2B05D268: test edi, edi */
   1915     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1916     _cf = 0;
   1917     _flag_k = FK_TEST;
   1918     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D297; /* 0x2B05D26A: je 0x2b05d297 */
   1919 L_2B05D26C:
   1920     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1921     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D26C: or ecx, 0xffffffff */
   1922     _cf = 0;
   1923     _flag_k = FK_TEST;
   1924     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1925     eax = 0; /* 0x2B05D26F: xor eax, eax */
   1926     _cf = 0;
   1927     _flag_k = FK_TEST;
   1928     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; } /* 0x2B05D271: repne scasb al, byte ptr es:[edi] */
   1929     ecx = ~ecx; /* 0x2B05D273: not ecx */
   1930     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1932     edi = edi - ecx; /* 0x2B05D275: sub edi, ecx */
   1933     _flag_k = FK_CMP;
   1934     esi = edi; /* 0x2B05D277: mov esi, edi */
   1935     edx = ebp + (-0xD0); /* 0x2B05D279: lea edx, [ebp - 0xd0] */
   1936     edi = edx; /* 0x2B05D27F: mov edi, edx */
   1937     edx = ecx; /* 0x2B05D281: mov edx, ecx */
   1938     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1939     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D283: or ecx, 0xffffffff */
   1940     _cf = 0;
   1941     _flag_k = FK_TEST;
   1942     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; } /* 0x2B05D286: repne scasb al, byte ptr es:[edi] */
   1943     ecx = edx; /* 0x2B05D288: mov ecx, edx */
   1944     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D28A: shr ecx, 2 */
   1945     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1946     ecx = ecx >> 2u; /* 0x2B05D28A: shr ecx, 2 */
   1947     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1948     edi = edi - 1; /* 0x2B05D28D: dec edi */
   1949     _flag_k = FK_DEC;
   1950     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D28E: 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; }
   1951     ecx = edx; /* 0x2B05D290: mov ecx, edx */
   1952     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1953     ecx = ecx & 3; /* 0x2B05D292: and ecx, 3 */
   1954     _cf = 0;
   1955     _flag_k = FK_TEST;
   1956     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D295: 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; }
   1957 L_2B05D297:
   1958     ecx = MEM32(ebx); /* 0x2B05D297: mov ecx, dword ptr [ebx] */
   1959     eax = ebp + (-0xD0); /* 0x2B05D299: lea eax, [ebp - 0xd0] */
   1960     PUSH32(esp, eax); /* 0x2B05D29F: push eax */
   1961     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05D2A0: call dword ptr [0x2b0b5850] */
   1962     RECOMP_FLAGS_IN();
   1963     SET_LO8(eax, MEM8(ebx + (-0x8))); /* 0x2B05D2A6: mov al, byte ptr [ebx - 8] */
   1964     /* test LO8(eax), LO8(eax) */ /* 0x2B05D2A9: test al, al */
   1965     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1966     _cf = 0;
   1967     _flag_k = FK_NARROW(FK_TEST, 24);
   1968     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2C8; /* 0x2B05D2AB: je 0x2b05d2c8 */
   1969 L_2B05D2AD:
   1970     ecx = MEM32(ebx); /* 0x2B05D2AD: mov ecx, dword ptr [ebx] */
   1971     edx = MEM32(ecx + 0x34); /* 0x2B05D2AF: mov edx, dword ptr [ecx + 0x34] */
   1972     MEM32(edx + 0x30) = 0x004444FFu; /* 0x2B05D2B2: mov dword ptr [edx + 0x30], 0x4444ff */
   1973     eax = MEM32(ebx + (-0x4)); /* 0x2B05D2B9: mov eax, dword ptr [ebx - 4] */
   1974     ecx = MEM32(eax + 0x34); /* 0x2B05D2BC: mov ecx, dword ptr [eax + 0x34] */
   1975     MEM32(ecx + 0x30) = 0x00FFFFFFu; /* 0x2B05D2BF: mov dword ptr [ecx + 0x30], 0xffffff */
   1976     goto L_2B05D2E1; /* 0x2B05D2C6: jmp 0x2b05d2e1 */
   1977 L_2B05D2C8:
   1978     edx = MEM32(ebx); /* 0x2B05D2C8: mov edx, dword ptr [ebx] */
   1979     eax = MEM32(edx + 0x34); /* 0x2B05D2CA: mov eax, dword ptr [edx + 0x34] */
   1980     MEM32(eax + 0x30) = 0x00EEEEFFu; /* 0x2B05D2CD: mov dword ptr [eax + 0x30], 0xeeeeff */
   1981     ecx = MEM32(ebx + (-0x4)); /* 0x2B05D2D4: mov ecx, dword ptr [ebx - 4] */
   1982     edx = MEM32(ecx + 0x34); /* 0x2B05D2D7: mov edx, dword ptr [ecx + 0x34] */
   1983     MEM32(edx + 0x30) = 0x00EEEECCu; /* 0x2B05D2DA: mov dword ptr [edx + 0x30], 0xeeeecc */
   1984 L_2B05D2E1:
   1985     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x1Cu);
   1986     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1987     ebx = ebx + 0x1Cu; /* 0x2B05D2E1: add ebx, 0x1c */
   1988     _flag_k = FK_ADD;
   1989     ecx = MEM32(ebx + (-0x14)); /* 0x2B05D2E4: mov ecx, dword ptr [ebx - 0x14] */
   1990     /* test ecx, ecx */ /* 0x2B05D2E7: test ecx, ecx */
   1991     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1992     _cf = 0;
   1993     _flag_k = FK_TEST;
   1994     eax = ebx + (-0x14); /* 0x2B05D2E9: lea eax, [ebx - 0x14] */
   1995     RECOMP_BACKEDGE();
   1996     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D143; /* 0x2B05D2EC: jne 0x2b05d143 */
   1997 L_2B05D2F2:
   1998     edi = POP32_VAL(esp); /* 0x2B05D2F2: pop edi */
   1999     esi = POP32_VAL(esp); /* 0x2B05D2F3: pop esi */
   2000     ebx = POP32_VAL(esp); /* 0x2B05D2F4: pop ebx */
   2001     esp = ebp; /* 0x2B05D2F5: mov esp, ebp */
   2002     ebp = POP32_VAL(esp); /* 0x2B05D2F7: pop ebp */
   2003     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D2F8: ret  */
   2004     RECOMP_REGS_OUT();
   2005 }
   2006 
   2007 void sub_2B05D2E1(void) {
   2008     int _fpu_cmp = 0;
   2009     uint32_t _cf = 0;
   2010     int _df = 1;
   2011     uint32_t _flag_k = FK_NONE;
   2012     uint32_t _flag_a = 0, _flag_b = 0;
   2013     uint32_t _itail_tgt = 0;
   2014     RECOMP_REGS_LOCALS
   2015     RECOMP_ENTER(0x2B05D2E1u);
   2016 
   2017     goto L_2B05D2E1;
   2018 L_2B05D143:
   2019     /* cmp MEM32(eax), 0xFFFFFFFFu */ /* 0x2B05D143: cmp dword ptr [eax], -1 */
   2020     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0xFFFFFFFFu);
   2021     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2022     _flag_k = FK_CMP;
   2023     if (CMP_LE(_flag_a, _flag_b)) goto L_2B05D2E1; /* 0x2B05D146: jle 0x2b05d2e1 */
   2024 L_2B05D14C:
   2025     eax = MEM32(ebx + (-0x14)); /* 0x2B05D14C: mov eax, dword ptr [ebx - 0x14] */
   2026     edi = MEM32(0x2B0B5B64); /* 0x2B05D14F: mov edi, dword ptr [0x2b0b5b64] */
   2027     PUSH32(esp, eax); /* 0x2B05D155: push eax */
   2028     RECOMP_ICALL(edi); /* 0x2B05D156: call edi */
   2029     RECOMP_FLAGS_IN();
   2030     ecx = eax; /* 0x2B05D158: mov ecx, eax */
   2031     RECOMP_ICALL(MEM32(0x2B0B5728)); /* 0x2B05D15A: call dword ptr [0x2b0b5728] */
   2032     RECOMP_FLAGS_IN();
   2033     /* test eax, eax */ /* 0x2B05D160: test eax, eax */
   2034     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2035     _cf = 0;
   2036     _flag_k = FK_TEST;
   2037     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2E1; /* 0x2B05D162: je 0x2b05d2e1 */
   2038 L_2B05D168:
   2039     ecx = MEM32(eax + 0x8); /* 0x2B05D168: mov ecx, dword ptr [eax + 8] */
   2040     MEM32(ebx + 0x4) = ecx; /* 0x2B05D16B: mov dword ptr [ebx + 4], ecx */
   2041     esi = MEM32(eax + 0x8); /* 0x2B05D16E: mov esi, dword ptr [eax + 8] */
   2042     eax = ecx; /* 0x2B05D171: mov eax, ecx */
   2043     /* test eax, eax */ /* 0x2B05D173: test eax, eax */
   2044     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2045     _cf = 0;
   2046     _flag_k = FK_TEST;
   2047     MEM32(ebp + (-0x4)) = esi; /* 0x2B05D175: mov dword ptr [ebp - 4], esi */
   2048     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D1A2; /* 0x2B05D178: jne 0x2b05d1a2 */
   2049 L_2B05D17A:
   2050     ecx = MEM32(ebx); /* 0x2B05D17A: mov ecx, dword ptr [ebx] */
   2051     PUSH32(esp, 0x2B0E9F78u); /* 0x2B05D17C: push 0x2b0e9f78 */
   2052     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05D181: call dword ptr [0x2b0b5850] */
   2053     RECOMP_FLAGS_IN();
   2054     edx = MEM32(ebx); /* 0x2B05D187: mov edx, dword ptr [ebx] */
   2055     ecx = MEM32(edx + 0x34); /* 0x2B05D189: mov ecx, dword ptr [edx + 0x34] */
   2056     eax = 0x00FF0000u; /* 0x2B05D18C: mov eax, 0xff0000 */
   2057     MEM32(ecx + 0x30) = eax; /* 0x2B05D191: mov dword ptr [ecx + 0x30], eax */
   2058     edx = MEM32(ebx + (-0x4)); /* 0x2B05D194: mov edx, dword ptr [ebx - 4] */
   2059     ecx = MEM32(edx + 0x34); /* 0x2B05D197: mov ecx, dword ptr [edx + 0x34] */
   2060     MEM32(ecx + 0x30) = eax; /* 0x2B05D19A: mov dword ptr [ecx + 0x30], eax */
   2061     goto L_2B05D2E1; /* 0x2B05D19D: jmp 0x2b05d2e1 */
   2062 L_2B05D1A2:
   2063     PUSH32(esp, esi); /* 0x2B05D1A2: push esi */
   2064     RECOMP_ICALL(edi); /* 0x2B05D1A3: call edi */
   2065     RECOMP_FLAGS_IN();
   2066     ecx = eax; /* 0x2B05D1A5: mov ecx, eax */
   2067     RECOMP_ICALL(MEM32(0x2B0B5724)); /* 0x2B05D1A7: call dword ptr [0x2b0b5724] */
   2068     RECOMP_FLAGS_IN();
   2069     /* test esi, 0x00040000u */ /* 0x2B05D1AD: test esi, 0x40000 */
   2070     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00040000u);
   2071     _cf = 0;
   2072     _flag_k = FK_TEST;
   2073     MEM32(ebp + (-0x8)) = eax; /* 0x2B05D1B3: mov dword ptr [ebp - 8], eax */
   2074     MEM8(ebp + (-0xD0)) = (uint8_t)(0); /* 0x2B05D1B6: mov byte ptr [ebp - 0xd0], 0 */
   2075     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D1F2; /* 0x2B05D1BD: je 0x2b05d1f2 */
   2076 L_2B05D1BF:
   2077     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2078     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1BF: or ecx, 0xffffffff */
   2079     _cf = 0;
   2080     _flag_k = FK_TEST;
   2081     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2082     eax = 0; /* 0x2B05D1C2: xor eax, eax */
   2083     _cf = 0;
   2084     _flag_k = FK_TEST;
   2085     edi = 0x2B0E9F70u; /* 0x2B05D1C4: mov edi, 0x2b0e9f70 */
   2086     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; } /* 0x2B05D1C9: repne scasb al, byte ptr es:[edi] */
   2087     ecx = ~ecx; /* 0x2B05D1CB: not ecx */
   2088     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2090     edi = edi - ecx; /* 0x2B05D1CD: sub edi, ecx */
   2091     _flag_k = FK_CMP;
   2092     esi = edi; /* 0x2B05D1CF: mov esi, edi */
   2093     edx = ebp + (-0xD0); /* 0x2B05D1D1: lea edx, [ebp - 0xd0] */
   2094     edi = edx; /* 0x2B05D1D7: mov edi, edx */
   2095     edx = ecx; /* 0x2B05D1D9: mov edx, ecx */
   2096     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2097     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1DB: or ecx, 0xffffffff */
   2098     _cf = 0;
   2099     _flag_k = FK_TEST;
   2100     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; } /* 0x2B05D1DE: repne scasb al, byte ptr es:[edi] */
   2101     ecx = edx; /* 0x2B05D1E0: mov ecx, edx */
   2102     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D1E2: shr ecx, 2 */
   2103     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2104     ecx = ecx >> 2u; /* 0x2B05D1E2: shr ecx, 2 */
   2105     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2106     edi = edi - 1; /* 0x2B05D1E5: dec edi */
   2107     _flag_k = FK_DEC;
   2108     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D1E6: 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; }
   2109     ecx = edx; /* 0x2B05D1E8: mov ecx, edx */
   2110     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2111     ecx = ecx & 3; /* 0x2B05D1EA: and ecx, 3 */
   2112     _cf = 0;
   2113     _flag_k = FK_TEST;
   2114     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D1ED: 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; }
   2115     esi = MEM32(ebp + (-0x4)); /* 0x2B05D1EF: mov esi, dword ptr [ebp - 4] */
   2116 L_2B05D1F2:
   2117     /* test esi, 0x00080000u */ /* 0x2B05D1F2: test esi, 0x80000 */
   2118     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00080000u);
   2119     _cf = 0;
   2120     _flag_k = FK_TEST;
   2121     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D22D; /* 0x2B05D1F8: je 0x2b05d22d */
   2122 L_2B05D1FA:
   2123     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2124     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D1FA: or ecx, 0xffffffff */
   2125     _cf = 0;
   2126     _flag_k = FK_TEST;
   2127     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2128     eax = 0; /* 0x2B05D1FD: xor eax, eax */
   2129     _cf = 0;
   2130     _flag_k = FK_TEST;
   2131     edi = 0x2B0E9F68u; /* 0x2B05D1FF: mov edi, 0x2b0e9f68 */
   2132     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; } /* 0x2B05D204: repne scasb al, byte ptr es:[edi] */
   2133     ecx = ~ecx; /* 0x2B05D206: not ecx */
   2134     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2136     edi = edi - ecx; /* 0x2B05D208: sub edi, ecx */
   2137     _flag_k = FK_CMP;
   2138     esi = edi; /* 0x2B05D20A: mov esi, edi */
   2139     edx = ebp + (-0xD0); /* 0x2B05D20C: lea edx, [ebp - 0xd0] */
   2140     edi = edx; /* 0x2B05D212: mov edi, edx */
   2141     edx = ecx; /* 0x2B05D214: mov edx, ecx */
   2142     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2143     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D216: or ecx, 0xffffffff */
   2144     _cf = 0;
   2145     _flag_k = FK_TEST;
   2146     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; } /* 0x2B05D219: repne scasb al, byte ptr es:[edi] */
   2147     ecx = edx; /* 0x2B05D21B: mov ecx, edx */
   2148     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D21D: shr ecx, 2 */
   2149     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2150     ecx = ecx >> 2u; /* 0x2B05D21D: shr ecx, 2 */
   2151     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2152     edi = edi - 1; /* 0x2B05D220: dec edi */
   2153     _flag_k = FK_DEC;
   2154     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D221: 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; }
   2155     ecx = edx; /* 0x2B05D223: mov ecx, edx */
   2156     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2157     ecx = ecx & 3; /* 0x2B05D225: and ecx, 3 */
   2158     _cf = 0;
   2159     _flag_k = FK_TEST;
   2160     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D228: 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; }
   2161     esi = MEM32(ebp + (-0x4)); /* 0x2B05D22A: mov esi, dword ptr [ebp - 4] */
   2162 L_2B05D22D:
   2163     /* test esi, 0x00020000u */ /* 0x2B05D22D: test esi, 0x20000 */
   2164     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x00020000u);
   2165     _cf = 0;
   2166     _flag_k = FK_TEST;
   2167     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D265; /* 0x2B05D233: je 0x2b05d265 */
   2168 L_2B05D235:
   2169     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2170     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D235: or ecx, 0xffffffff */
   2171     _cf = 0;
   2172     _flag_k = FK_TEST;
   2173     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2174     eax = 0; /* 0x2B05D238: xor eax, eax */
   2175     _cf = 0;
   2176     _flag_k = FK_TEST;
   2177     edi = 0x2B0E9F60u; /* 0x2B05D23A: mov edi, 0x2b0e9f60 */
   2178     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; } /* 0x2B05D23F: repne scasb al, byte ptr es:[edi] */
   2179     ecx = ~ecx; /* 0x2B05D241: not ecx */
   2180     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2182     edi = edi - ecx; /* 0x2B05D243: sub edi, ecx */
   2183     _flag_k = FK_CMP;
   2184     esi = edi; /* 0x2B05D245: mov esi, edi */
   2185     edx = ebp + (-0xD0); /* 0x2B05D247: lea edx, [ebp - 0xd0] */
   2186     edi = edx; /* 0x2B05D24D: mov edi, edx */
   2187     edx = ecx; /* 0x2B05D24F: mov edx, ecx */
   2188     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2189     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D251: or ecx, 0xffffffff */
   2190     _cf = 0;
   2191     _flag_k = FK_TEST;
   2192     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; } /* 0x2B05D254: repne scasb al, byte ptr es:[edi] */
   2193     ecx = edx; /* 0x2B05D256: mov ecx, edx */
   2194     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D258: shr ecx, 2 */
   2195     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2196     ecx = ecx >> 2u; /* 0x2B05D258: shr ecx, 2 */
   2197     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2198     edi = edi - 1; /* 0x2B05D25B: dec edi */
   2199     _flag_k = FK_DEC;
   2200     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D25C: 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; }
   2201     ecx = edx; /* 0x2B05D25E: mov ecx, edx */
   2202     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2203     ecx = ecx & 3; /* 0x2B05D260: and ecx, 3 */
   2204     _cf = 0;
   2205     _flag_k = FK_TEST;
   2206     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D263: 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; }
   2207 L_2B05D265:
   2208     edi = MEM32(ebp + (-0x8)); /* 0x2B05D265: mov edi, dword ptr [ebp - 8] */
   2209     /* test edi, edi */ /* 0x2B05D268: test edi, edi */
   2210     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2211     _cf = 0;
   2212     _flag_k = FK_TEST;
   2213     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D297; /* 0x2B05D26A: je 0x2b05d297 */
   2214 L_2B05D26C:
   2215     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2216     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D26C: or ecx, 0xffffffff */
   2217     _cf = 0;
   2218     _flag_k = FK_TEST;
   2219     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2220     eax = 0; /* 0x2B05D26F: xor eax, eax */
   2221     _cf = 0;
   2222     _flag_k = FK_TEST;
   2223     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; } /* 0x2B05D271: repne scasb al, byte ptr es:[edi] */
   2224     ecx = ~ecx; /* 0x2B05D273: not ecx */
   2225     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2227     edi = edi - ecx; /* 0x2B05D275: sub edi, ecx */
   2228     _flag_k = FK_CMP;
   2229     esi = edi; /* 0x2B05D277: mov esi, edi */
   2230     edx = ebp + (-0xD0); /* 0x2B05D279: lea edx, [ebp - 0xd0] */
   2231     edi = edx; /* 0x2B05D27F: mov edi, edx */
   2232     edx = ecx; /* 0x2B05D281: mov edx, ecx */
   2233     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2234     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D283: or ecx, 0xffffffff */
   2235     _cf = 0;
   2236     _flag_k = FK_TEST;
   2237     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; } /* 0x2B05D286: repne scasb al, byte ptr es:[edi] */
   2238     ecx = edx; /* 0x2B05D288: mov ecx, edx */
   2239     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05D28A: shr ecx, 2 */
   2240     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2241     ecx = ecx >> 2u; /* 0x2B05D28A: shr ecx, 2 */
   2242     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2243     edi = edi - 1; /* 0x2B05D28D: dec edi */
   2244     _flag_k = FK_DEC;
   2245     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05D28E: 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; }
   2246     ecx = edx; /* 0x2B05D290: mov ecx, edx */
   2247     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2248     ecx = ecx & 3; /* 0x2B05D292: and ecx, 3 */
   2249     _cf = 0;
   2250     _flag_k = FK_TEST;
   2251     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05D295: 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; }
   2252 L_2B05D297:
   2253     ecx = MEM32(ebx); /* 0x2B05D297: mov ecx, dword ptr [ebx] */
   2254     eax = ebp + (-0xD0); /* 0x2B05D299: lea eax, [ebp - 0xd0] */
   2255     PUSH32(esp, eax); /* 0x2B05D29F: push eax */
   2256     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05D2A0: call dword ptr [0x2b0b5850] */
   2257     RECOMP_FLAGS_IN();
   2258     SET_LO8(eax, MEM8(ebx + (-0x8))); /* 0x2B05D2A6: mov al, byte ptr [ebx - 8] */
   2259     /* test LO8(eax), LO8(eax) */ /* 0x2B05D2A9: test al, al */
   2260     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2261     _cf = 0;
   2262     _flag_k = FK_NARROW(FK_TEST, 24);
   2263     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D2C8; /* 0x2B05D2AB: je 0x2b05d2c8 */
   2264 L_2B05D2AD:
   2265     ecx = MEM32(ebx); /* 0x2B05D2AD: mov ecx, dword ptr [ebx] */
   2266     edx = MEM32(ecx + 0x34); /* 0x2B05D2AF: mov edx, dword ptr [ecx + 0x34] */
   2267     MEM32(edx + 0x30) = 0x004444FFu; /* 0x2B05D2B2: mov dword ptr [edx + 0x30], 0x4444ff */
   2268     eax = MEM32(ebx + (-0x4)); /* 0x2B05D2B9: mov eax, dword ptr [ebx - 4] */
   2269     ecx = MEM32(eax + 0x34); /* 0x2B05D2BC: mov ecx, dword ptr [eax + 0x34] */
   2270     MEM32(ecx + 0x30) = 0x00FFFFFFu; /* 0x2B05D2BF: mov dword ptr [ecx + 0x30], 0xffffff */
   2271     goto L_2B05D2E1; /* 0x2B05D2C6: jmp 0x2b05d2e1 */
   2272 L_2B05D2C8:
   2273     edx = MEM32(ebx); /* 0x2B05D2C8: mov edx, dword ptr [ebx] */
   2274     eax = MEM32(edx + 0x34); /* 0x2B05D2CA: mov eax, dword ptr [edx + 0x34] */
   2275     MEM32(eax + 0x30) = 0x00EEEEFFu; /* 0x2B05D2CD: mov dword ptr [eax + 0x30], 0xeeeeff */
   2276     ecx = MEM32(ebx + (-0x4)); /* 0x2B05D2D4: mov ecx, dword ptr [ebx - 4] */
   2277     edx = MEM32(ecx + 0x34); /* 0x2B05D2D7: mov edx, dword ptr [ecx + 0x34] */
   2278     MEM32(edx + 0x30) = 0x00EEEECCu; /* 0x2B05D2DA: mov dword ptr [edx + 0x30], 0xeeeecc */
   2279 L_2B05D2E1:
   2280     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x1Cu);
   2281     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2282     ebx = ebx + 0x1Cu; /* 0x2B05D2E1: add ebx, 0x1c */
   2283     _flag_k = FK_ADD;
   2284     ecx = MEM32(ebx + (-0x14)); /* 0x2B05D2E4: mov ecx, dword ptr [ebx - 0x14] */
   2285     /* test ecx, ecx */ /* 0x2B05D2E7: test ecx, ecx */
   2286     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2287     _cf = 0;
   2288     _flag_k = FK_TEST;
   2289     eax = ebx + (-0x14); /* 0x2B05D2E9: lea eax, [ebx - 0x14] */
   2290     RECOMP_BACKEDGE();
   2291     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D143; /* 0x2B05D2EC: jne 0x2b05d143 */
   2292 L_2B05D2F2:
   2293     edi = POP32_VAL(esp); /* 0x2B05D2F2: pop edi */
   2294     esi = POP32_VAL(esp); /* 0x2B05D2F3: pop esi */
   2295     ebx = POP32_VAL(esp); /* 0x2B05D2F4: pop ebx */
   2296     esp = ebp; /* 0x2B05D2F5: mov esp, ebp */
   2297     ebp = POP32_VAL(esp); /* 0x2B05D2F7: pop ebp */
   2298     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D2F8: ret  */
   2299     RECOMP_REGS_OUT();
   2300 }
   2301 
   2302 void sub_2B05D300(void) {
   2303     int _fpu_cmp = 0;
   2304     uint32_t _cf = 0;
   2305     int _df = 1;
   2306     uint32_t _flag_k = FK_NONE;
   2307     uint32_t _flag_a = 0, _flag_b = 0;
   2308     uint32_t _itail_tgt = 0;
   2309     RECOMP_REGS_LOCALS
   2310     RECOMP_ENTER(0x2B05D300u);
   2311 
   2312 L_2B05D300:
   2313     edx = MEM32(ecx + 0x28); /* 0x2B05D300: mov edx, dword ptr [ecx + 0x28] */
   2314 L_2B05D303:
   2315     SET_LO8(eax, 1); /* 0x2B05D303: mov al, 1 */
   2316 L_2B05D305:
   2317     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05D305: mov byte ptr [edx + 8], al */
   2318 L_2B05D308:
   2319     edx = MEM32(ecx + 0x38); /* 0x2B05D308: mov edx, dword ptr [ecx + 0x38] */
   2320 L_2B05D30B:
   2321     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05D30B: mov byte ptr [edx + 8], al */
   2322 L_2B05D30E:
   2323     ecx = MEM32(ecx + 0x3C); /* 0x2B05D30E: mov ecx, dword ptr [ecx + 0x3c] */
   2324 L_2B05D311:
   2325     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5BB0)); goto _ljump; }
   2326     { RECOMP_REGS_OUT(); return; } /* end of function */
   2327   _ljump:
   2328     switch (_itail_tgt) {
   2329       case 0x2B05D300u: goto L_2B05D300;
   2330       case 0x2B05D303u: goto L_2B05D303;
   2331       case 0x2B05D305u: goto L_2B05D305;
   2332       case 0x2B05D308u: goto L_2B05D308;
   2333       case 0x2B05D30Bu: goto L_2B05D30B;
   2334       case 0x2B05D30Eu: goto L_2B05D30E;
   2335       case 0x2B05D311u: goto L_2B05D311;
   2336       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2337     }
   2338     RECOMP_REGS_OUT();
   2339 }
   2340 
   2341 void sub_2B05D320(void) {
   2342     int _fpu_cmp = 0;
   2343     uint32_t _cf = 0;
   2344     int _df = 1;
   2345     uint32_t _flag_k = FK_NONE;
   2346     uint32_t _flag_a = 0, _flag_b = 0;
   2347     uint32_t _itail_tgt = 0;
   2348     RECOMP_REGS_LOCALS
   2349     RECOMP_ENTER(0x2B05D320u);
   2350 
   2351 L_2B05D320:
   2352     PUSH32(esp, ebx); /* 0x2B05D320: push ebx */
   2353     PUSH32(esp, esi); /* 0x2B05D321: push esi */
   2354     esi = ecx; /* 0x2B05D322: mov esi, ecx */
   2355     ecx = MEM32(esi + 0x44); /* 0x2B05D324: mov ecx, dword ptr [esi + 0x44] */
   2356     eax = MEM32(ecx); /* 0x2B05D327: mov eax, dword ptr [ecx] */
   2357     RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B05D329: call dword ptr [eax + 0xc] */
   2358     RECOMP_FLAGS_IN();
   2359     ecx = MEM32(esi + 0x38); /* 0x2B05D32C: mov ecx, dword ptr [esi + 0x38] */
   2360     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2361     ebx = 0; /* 0x2B05D32F: xor ebx, ebx */
   2362     _cf = 0;
   2363     _flag_k = FK_TEST;
   2364     MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05D331: mov byte ptr [ecx + 8], bl */
   2365     edx = MEM32(esi + 0x28); /* 0x2B05D334: mov edx, dword ptr [esi + 0x28] */
   2366     MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05D337: mov byte ptr [edx + 8], bl */
   2367     ecx = MEM32(esi + 0x3C); /* 0x2B05D33A: mov ecx, dword ptr [esi + 0x3c] */
   2368     RECOMP_ICALL(MEM32(0x2B0B5BA8)); /* 0x2B05D33D: call dword ptr [0x2b0b5ba8] */
   2369     RECOMP_FLAGS_IN();
   2370     eax = MEM32(esi + 0x2C); /* 0x2B05D343: mov eax, dword ptr [esi + 0x2c] */
   2371     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2372     ecx = 0; /* 0x2B05D346: xor ecx, ecx */
   2373     _cf = 0;
   2374     _flag_k = FK_TEST;
   2375     /* cmp eax, ebx */ /* 0x2B05D348: cmp eax, ebx */
   2376     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2377     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2378     _flag_k = FK_CMP;
   2379     if (CMP_LE(_flag_a, _flag_b)) goto L_2B05D367; /* 0x2B05D34A: jle 0x2b05d367 */
   2380 L_2B05D34C:
   2381     eax = 0x2B0E900Cu; /* 0x2B05D34C: mov eax, 0x2b0e900c */
   2382 L_2B05D351:
   2383     edx = MEM32(eax + (-0x4)); /* 0x2B05D351: mov edx, dword ptr [eax - 4] */
   2384     MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05D354: mov byte ptr [edx + 8], bl */
   2385     edx = MEM32(eax); /* 0x2B05D357: mov edx, dword ptr [eax] */
   2386     MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B05D359: mov byte ptr [edx + 8], bl */
   2387     edx = MEM32(esi + 0x2C); /* 0x2B05D35C: mov edx, dword ptr [esi + 0x2c] */
   2388     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2389     ecx = ecx + 1; /* 0x2B05D35F: inc ecx */
   2390     _flag_k = FK_INC;
   2391     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Cu);
   2392     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2393     eax = eax + 0x1Cu; /* 0x2B05D360: add eax, 0x1c */
   2394     _flag_k = FK_ADD;
   2395     /* cmp ecx, edx */ /* 0x2B05D363: cmp ecx, edx */
   2396     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2397     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2398     _flag_k = FK_CMP;
   2399     RECOMP_BACKEDGE();
   2400     if (CMP_L(_flag_a, _flag_b)) goto L_2B05D351; /* 0x2B05D365: jl 0x2b05d351 */
   2401 L_2B05D367:
   2402     esi = POP32_VAL(esp); /* 0x2B05D367: pop esi */
   2403     ebx = POP32_VAL(esp); /* 0x2B05D368: pop ebx */
   2404     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D369: ret  */
   2405     RECOMP_REGS_OUT();
   2406 }
   2407 
   2408 void sub_2B05D370(void) {
   2409     int _fpu_cmp = 0;
   2410     uint32_t _cf = 0;
   2411     int _df = 1;
   2412     uint32_t _flag_k = FK_NONE;
   2413     uint32_t _flag_a = 0, _flag_b = 0;
   2414     uint32_t _itail_tgt = 0;
   2415     RECOMP_REGS_LOCALS
   2416     RECOMP_ENTER(0x2B05D370u);
   2417 
   2418 L_2B05D370:
   2419     PUSH32(esp, ebp); /* 0x2B05D370: push ebp */
   2420     ebp = esp; /* 0x2B05D371: mov ebp, esp */
   2421     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2423     esp = esp - 8; /* 0x2B05D373: sub esp, 8 */
   2424     _flag_k = FK_CMP;
   2425     PUSH32(esp, ebx); /* 0x2B05D376: push ebx */
   2426     PUSH32(esp, esi); /* 0x2B05D377: push esi */
   2427     esi = ecx; /* 0x2B05D378: mov esi, ecx */
   2428     ecx = MEM32(esi + 0x8); /* 0x2B05D37A: mov ecx, dword ptr [esi + 8] */
   2429     eax = MEM32(esi + 0x4); /* 0x2B05D37D: mov eax, dword ptr [esi + 4] */
   2430     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
   2431     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2432     ecx = ecx + 0x14u; /* 0x2B05D380: add ecx, 0x14 */
   2433     _flag_k = FK_ADD;
   2434     PUSH32(esp, edi); /* 0x2B05D383: push edi */
   2435     edx = ebp + (-0x8); /* 0x2B05D384: lea edx, [ebp - 8] */
   2436     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05D387: mov dword ptr [ebp - 4], ecx */
   2437     ecx = MEM32(esi + 0x28); /* 0x2B05D38A: mov ecx, dword ptr [esi + 0x28] */
   2438     PUSH32(esp, edx); /* 0x2B05D38D: push edx */
   2439     MEM32(ebp + (-0x8)) = eax; /* 0x2B05D38E: mov dword ptr [ebp - 8], eax */
   2440     RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B05D391: call dword ptr [0x2b0b5940] */
   2441     RECOMP_FLAGS_IN();
   2442     eax = MEM32(esi + 0x28); /* 0x2B05D397: mov eax, dword ptr [esi + 0x28] */
   2443     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B05D39A: mov byte ptr [eax + 9], 1 */
   2444     eax = MEM32(ebp + (-0x4)); /* 0x2B05D39E: mov eax, dword ptr [ebp - 4] */
   2445     ebx = MEM32(ebp + (-0x8)); /* 0x2B05D3A1: mov ebx, dword ptr [ebp - 8] */
   2446     ecx = MEM32(esi + 0x38); /* 0x2B05D3A4: mov ecx, dword ptr [esi + 0x38] */
   2447     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x12u);
   2448     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2449     eax = eax + 0x12u; /* 0x2B05D3A7: add eax, 0x12 */
   2450     _flag_k = FK_ADD;
   2451     MEM32(ebp + (-0x4)) = eax; /* 0x2B05D3AA: mov dword ptr [ebp - 4], eax */
   2452     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(6);
   2453     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2454     ebx = ebx + 6; /* 0x2B05D3AD: add ebx, 6 */
   2455     _flag_k = FK_ADD;
   2456     eax = ebp + (-0x8); /* 0x2B05D3B0: lea eax, [ebp - 8] */
   2457     MEM32(ebp + (-0x8)) = ebx; /* 0x2B05D3B3: mov dword ptr [ebp - 8], ebx */
   2458     edx = MEM32(ecx); /* 0x2B05D3B6: mov edx, dword ptr [ecx] */
   2459     PUSH32(esp, eax); /* 0x2B05D3B8: push eax */
   2460     RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B05D3B9: call dword ptr [edx + 0x14] */
   2461     RECOMP_FLAGS_IN();
   2462     ecx = MEM32(ebp + (-0x8)); /* 0x2B05D3BC: mov ecx, dword ptr [ebp - 8] */
   2463     eax = MEM32(esi + 0x2C); /* 0x2B05D3BF: mov eax, dword ptr [esi + 0x2c] */
   2464     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   2465     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2466     ecx = ecx + 2; /* 0x2B05D3C2: add ecx, 2 */
   2467     _flag_k = FK_ADD;
   2468     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2469     ebx = 0; /* 0x2B05D3C5: xor ebx, ebx */
   2470     _cf = 0;
   2471     _flag_k = FK_TEST;
   2472     /* test eax, eax */ /* 0x2B05D3C7: test eax, eax */
   2473     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2474     _cf = 0;
   2475     _flag_k = FK_TEST;
   2476     MEM32(ebp + (-0x8)) = ecx; /* 0x2B05D3C9: mov dword ptr [ebp - 8], ecx */
   2477     if (TEST_LE(_flag_a, _flag_b)) goto L_2B05D447; /* 0x2B05D3CC: jle 0x2b05d447 */
   2478 L_2B05D3CE:
   2479     edi = 0x2B0E900Cu; /* 0x2B05D3CE: mov edi, 0x2b0e900c */
   2480 L_2B05D3D3:
   2481     eax = MEM32(esi + 0x30); /* 0x2B05D3D3: mov eax, dword ptr [esi + 0x30] */
   2482     /* cmp ebx, eax */ /* 0x2B05D3D6: cmp ebx, eax */
   2483     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   2484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2485     _flag_k = FK_CMP;
   2486     if (CMP_L(_flag_a, _flag_b)) goto L_2B05D42F; /* 0x2B05D3D8: jl 0x2b05d42f */
   2487 L_2B05D3DA:
   2488     ecx = MEM32(esi + 0x34); /* 0x2B05D3DA: mov ecx, dword ptr [esi + 0x34] */
   2489     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2490     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2491     ecx = ecx + eax; /* 0x2B05D3DD: add ecx, eax */
   2492     _flag_k = FK_ADD;
   2493     /* cmp ebx, ecx */ /* 0x2B05D3DF: cmp ebx, ecx */
   2494     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   2495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2496     _flag_k = FK_CMP;
   2497     if (CMP_GE(_flag_a, _flag_b)) goto L_2B05D42F; /* 0x2B05D3E1: jge 0x2b05d42f */
   2498 L_2B05D3E3:
   2499     edx = MEM32(ebp + (-0x4)); /* 0x2B05D3E3: mov edx, dword ptr [ebp - 4] */
   2500     eax = MEM32(ebp + (-0x8)); /* 0x2B05D3E6: mov eax, dword ptr [ebp - 8] */
   2501     ecx = MEM32(edi); /* 0x2B05D3E9: mov ecx, dword ptr [edi] */
   2502     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2);
   2503     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2504     edx = edx + 2; /* 0x2B05D3EB: add edx, 2 */
   2505     _flag_k = FK_ADD;
   2506     PUSH32(esp, edx); /* 0x2B05D3EE: push edx */
   2507     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xA3u);
   2508     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2509     eax = eax + 0xA3u; /* 0x2B05D3EF: add eax, 0xa3 */
   2510     _flag_k = FK_ADD;
   2511     PUSH32(esp, eax); /* 0x2B05D3F4: push eax */
   2512     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B05D3F5: call dword ptr [0x2b0b5924] */
   2513     RECOMP_FLAGS_IN();
   2514     ecx = MEM32(edi); /* 0x2B05D3FB: mov ecx, dword ptr [edi] */
   2515     MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B05D3FD: mov byte ptr [ecx + 9], 1 */
   2516     edx = MEM32(ebp + (-0x4)); /* 0x2B05D401: mov edx, dword ptr [ebp - 4] */
   2517     eax = MEM32(ebp + (-0x8)); /* 0x2B05D404: mov eax, dword ptr [ebp - 8] */
   2518     ecx = MEM32(edi + (-0x4)); /* 0x2B05D407: mov ecx, dword ptr [edi - 4] */
   2519     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2);
   2520     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2521     edx = edx + 2; /* 0x2B05D40A: add edx, 2 */
   2522     _flag_k = FK_ADD;
   2523     PUSH32(esp, edx); /* 0x2B05D40D: push edx */
   2524     PUSH32(esp, eax); /* 0x2B05D40E: push eax */
   2525     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B05D40F: call dword ptr [0x2b0b5924] */
   2526     RECOMP_FLAGS_IN();
   2527     ecx = MEM32(edi + (-0x4)); /* 0x2B05D415: mov ecx, dword ptr [edi - 4] */
   2528     MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B05D418: mov byte ptr [ecx + 9], 1 */
   2529     edx = MEM32(edi + (-0x4)); /* 0x2B05D41C: mov edx, dword ptr [edi - 4] */
   2530     MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B05D41F: mov byte ptr [edx + 8], 1 */
   2531     eax = MEM32(edi); /* 0x2B05D423: mov eax, dword ptr [edi] */
   2532     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05D425: mov byte ptr [eax + 8], 1 */
   2533     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0xBu);
   2534     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2535     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + 0xBu; /* 0x2B05D429: add dword ptr [ebp - 4], 0xb */
   2536     _flag_k = FK_ADD;
   2537     goto L_2B05D43C; /* 0x2B05D42D: jmp 0x2b05d43c */
   2538 L_2B05D42F:
   2539     ecx = MEM32(edi + (-0x4)); /* 0x2B05D42F: mov ecx, dword ptr [edi - 4] */
   2540     MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B05D432: mov byte ptr [ecx + 8], 0 */
   2541     edx = MEM32(edi); /* 0x2B05D436: mov edx, dword ptr [edi] */
   2542     MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B05D438: mov byte ptr [edx + 8], 0 */
   2543 L_2B05D43C:
   2544     eax = MEM32(esi + 0x2C); /* 0x2B05D43C: mov eax, dword ptr [esi + 0x2c] */
   2545     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   2546     ebx = ebx + 1; /* 0x2B05D43F: inc ebx */
   2547     _flag_k = FK_INC;
   2548     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu);
   2549     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2550     edi = edi + 0x1Cu; /* 0x2B05D440: add edi, 0x1c */
   2551     _flag_k = FK_ADD;
   2552     /* cmp ebx, eax */ /* 0x2B05D443: cmp ebx, eax */
   2553     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   2554     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2555     _flag_k = FK_CMP;
   2556     RECOMP_BACKEDGE();
   2557     if (CMP_L(_flag_a, _flag_b)) goto L_2B05D3D3; /* 0x2B05D445: jl 0x2b05d3d3 */
   2558 L_2B05D447:
   2559     ecx = MEM32(esi + 0x8); /* 0x2B05D447: mov ecx, dword ptr [esi + 8] */
   2560     eax = MEM32(esi + 0x4); /* 0x2B05D44A: mov eax, dword ptr [esi + 4] */
   2561     edi = ecx + 0x1D; /* 0x2B05D44D: lea edi, [ecx + 0x1d] */
   2562     PUSH32(esp, edi); /* 0x2B05D450: push edi */
   2563     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xB4u);
   2564     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2565     eax = eax + 0xB4u; /* 0x2B05D451: add eax, 0xb4 */
   2566     _flag_k = FK_ADD;
   2567     edx = ecx + 0x28; /* 0x2B05D456: lea edx, [ecx + 0x28] */
   2568     PUSH32(esp, eax); /* 0x2B05D459: push eax */
   2569     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x152u);
   2570     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2571     ecx = ecx + 0x152u; /* 0x2B05D45A: add ecx, 0x152 */
   2572     _flag_k = FK_ADD;
   2573     PUSH32(esp, ecx); /* 0x2B05D460: push ecx */
   2574     ecx = MEM32(esi + 0x3C); /* 0x2B05D461: mov ecx, dword ptr [esi + 0x3c] */
   2575     PUSH32(esp, eax); /* 0x2B05D464: push eax */
   2576     PUSH32(esp, edx); /* 0x2B05D465: push edx */
   2577     PUSH32(esp, eax); /* 0x2B05D466: push eax */
   2578     RECOMP_ICALL(MEM32(0x2B0B585C)); /* 0x2B05D467: call dword ptr [0x2b0b585c] */
   2579     RECOMP_FLAGS_IN();
   2580     ecx = MEM32(esi + 0x3C); /* 0x2B05D46D: mov ecx, dword ptr [esi + 0x3c] */
   2581     RECOMP_ICALL(MEM32(0x2B0B5BB0)); /* 0x2B05D470: call dword ptr [0x2b0b5bb0] */
   2582     RECOMP_FLAGS_IN();
   2583     ecx = MEM32(esi + 0x3C); /* 0x2B05D476: mov ecx, dword ptr [esi + 0x3c] */
   2584     RECOMP_ICALL(MEM32(0x2B0B5B74)); /* 0x2B05D479: call dword ptr [0x2b0b5b74] */
   2585     RECOMP_FLAGS_IN();
   2586     edi = POP32_VAL(esp); /* 0x2B05D47F: pop edi */
   2587     esi = POP32_VAL(esp); /* 0x2B05D480: pop esi */
   2588     ebx = POP32_VAL(esp); /* 0x2B05D481: pop ebx */
   2589     esp = ebp; /* 0x2B05D482: mov esp, ebp */
   2590     ebp = POP32_VAL(esp); /* 0x2B05D484: pop ebp */
   2591     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D485: ret  */
   2592     RECOMP_REGS_OUT();
   2593 }
   2594 
   2595 void sub_2B05D490(void) {
   2596     int _fpu_cmp = 0;
   2597     uint32_t _cf = 0;
   2598     int _df = 1;
   2599     uint32_t _flag_k = FK_NONE;
   2600     uint32_t _flag_a = 0, _flag_b = 0;
   2601     uint32_t _itail_tgt = 0;
   2602     RECOMP_REGS_LOCALS
   2603     RECOMP_ENTER(0x2B05D490u);
   2604 
   2605 L_2B05D490:
   2606     PUSH32(esp, ebp); /* 0x2B05D490: push ebp */
   2607     ebp = esp; /* 0x2B05D491: mov ebp, esp */
   2608     ecx = MEM32(ebp + 0x8); /* 0x2B05D493: mov ecx, dword ptr [ebp + 8] */
   2609     RECOMP_ICALL(0x2B05D4B0u); /* 0x2B05D496: call 0x2b05d4b0 */ /* not lifted */
   2610     RECOMP_FLAGS_IN();
   2611     ebp = POP32_VAL(esp); /* 0x2B05D49B: pop ebp */
   2612     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D49C: ret  */
   2613     RECOMP_REGS_OUT();
   2614 }
   2615 
   2616 void sub_2B05D4A0(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(0x2B05D4A0u);
   2625 
   2626 L_2B05D4A0:
   2627     PUSH32(esp, ebp); /* 0x2B05D4A0: push ebp */
   2628     ebp = esp; /* 0x2B05D4A1: mov ebp, esp */
   2629     ecx = MEM32(ebp + 0x8); /* 0x2B05D4A3: mov ecx, dword ptr [ebp + 8] */
   2630     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05D4A6: push -1 */
   2631     RECOMP_ICALL(0x2B05D5E0u); /* 0x2B05D4A8: call 0x2b05d5e0 */ /* not lifted */
   2632     RECOMP_FLAGS_IN();
   2633     ebp = POP32_VAL(esp); /* 0x2B05D4AD: pop ebp */
   2634     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D4AE: ret  */
   2635     RECOMP_REGS_OUT();
   2636 }
   2637 
   2638 void sub_2B05D4B0(void) {
   2639     int _fpu_cmp = 0;
   2640     uint32_t _cf = 0;
   2641     int _df = 1;
   2642     uint32_t _flag_k = FK_NONE;
   2643     uint32_t _flag_a = 0, _flag_b = 0;
   2644     uint32_t _itail_tgt = 0;
   2645     RECOMP_REGS_LOCALS
   2646     RECOMP_ENTER(0x2B05D4B0u);
   2647 
   2648 L_2B05D4B0:
   2649     PUSH32(esp, ebp); /* 0x2B05D4B0: push ebp */
   2650     ebp = esp; /* 0x2B05D4B1: mov ebp, esp */
   2651     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2652     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2653     esp = esp - 0x10u; /* 0x2B05D4B3: sub esp, 0x10 */
   2654     _flag_k = FK_CMP;
   2655     PUSH32(esp, esi); /* 0x2B05D4B6: push esi */
   2656     PUSH32(esp, edi); /* 0x2B05D4B7: push edi */
   2657     esi = ecx; /* 0x2B05D4B8: mov esi, ecx */
   2658     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D4BA: call dword ptr [0x2b0b5b64] */
   2659     RECOMP_FLAGS_IN();
   2660     ecx = MEM32(eax + 0x108); /* 0x2B05D4C0: mov ecx, dword ptr [eax + 0x108] */
   2661     eax = MEM32(eax + 0x10C); /* 0x2B05D4C6: mov eax, dword ptr [eax + 0x10c] */
   2662     edi = MEM32(esi + 0x8); /* 0x2B05D4CC: mov edi, dword ptr [esi + 8] */
   2663     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   2664     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2665     eax = eax - edi; /* 0x2B05D4CF: sub eax, edi */
   2666     _flag_k = FK_CMP;
   2667     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u);
   2668     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2669     eax = eax - 0x14u; /* 0x2B05D4D1: sub eax, 0x14 */
   2670     _flag_k = FK_CMP;
   2671     /* cmp eax, 0x12u */ /* 0x2B05D4D4: cmp eax, 0x12 */
   2672     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x12u);
   2673     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2674     _flag_k = FK_CMP;
   2675     MEM32(ebp + (-0x10)) = ecx; /* 0x2B05D4D7: mov dword ptr [ebp - 0x10], ecx */
   2676     if (CMP_L(_flag_a, _flag_b)) goto L_2B05D5D5; /* 0x2B05D4DA: jl 0x2b05d5d5 */
   2677 L_2B05D4E0:
   2678     SET_LO8(ecx, MEM8(esi + 0x50)); /* 0x2B05D4E0: mov cl, byte ptr [esi + 0x50] */
   2679     /* test LO8(ecx), LO8(ecx) */ /* 0x2B05D4E3: test cl, cl */
   2680     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   2681     _cf = 0;
   2682     _flag_k = FK_NARROW(FK_TEST, 24);
   2683     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D4FD; /* 0x2B05D4E5: jne 0x2b05d4fd */
   2684 L_2B05D4E7:
   2685     ecx = eax + (-0x12); /* 0x2B05D4E7: lea ecx, [eax - 0x12] */
   2686     eax = 0x2E8BA2E9u; /* 0x2B05D4EA: mov eax, 0x2e8ba2e9 */
   2687     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B05D4EF: imul ecx */
   2688       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2689       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2690     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B05D4F1: sar edx, 1 */
   2691     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2692     edx = (uint32_t)((int32_t)edx >> 1u);
   2693     eax = edx; /* 0x2B05D4F3: mov eax, edx */
   2694     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B05D4F5: shr eax, 0x1f */
   2695     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2696     eax = eax >> 31u; /* 0x2B05D4F5: shr eax, 0x1f */
   2697     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2698     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2699     edx = edx + eax; /* 0x2B05D4F8: add edx, eax */
   2700     _flag_k = FK_ADD;
   2701     MEM32(esi + 0x4C) = edx; /* 0x2B05D4FA: mov dword ptr [esi + 0x4c], edx */
   2702 L_2B05D4FD:
   2703     ecx = MEM32(esi + 0x4C); /* 0x2B05D4FD: mov ecx, dword ptr [esi + 0x4c] */
   2704     edx = MEM32(esi + 0x30); /* 0x2B05D500: mov edx, dword ptr [esi + 0x30] */
   2705     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2706     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2707     edx = edx + ecx; /* 0x2B05D503: add edx, ecx */
   2708     _flag_k = FK_ADD;
   2709     eax = edx * 8; /* 0x2B05D505: lea eax, [edx*8] */
   2710     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2711     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2712     eax = eax - edx; /* 0x2B05D50C: sub eax, edx */
   2713     _flag_k = FK_CMP;
   2714     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B05D50E: shl eax, 2 */
   2715     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2716     eax = eax << 2u; /* 0x2B05D50E: shl eax, 2 */
   2717     SET_LO8(edx, MEM8(eax + 0x2B0E9004)); /* 0x2B05D511: mov dl, byte ptr [eax + 0x2b0e9004] */
   2718     /* test LO8(edx), LO8(edx) */ /* 0x2B05D517: test dl, dl */
   2719     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2720     _cf = 0;
   2721     _flag_k = FK_NARROW(FK_TEST, 24);
   2722     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D528; /* 0x2B05D519: jne 0x2b05d528 */
   2723 L_2B05D51B:
   2724     /* cmp MEM32(eax + 0x2B0E8FF8), 0xFFFFFFFEu */ /* 0x2B05D51B: cmp dword ptr [eax + 0x2b0e8ff8], -2 */
   2725     _flag_a = (uint32_t)(MEM32(eax + 0x2B0E8FF8)); _flag_b = (uint32_t)(0xFFFFFFFEu);
   2726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2727     _flag_k = FK_CMP;
   2728     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05D5D5; /* 0x2B05D522: jne 0x2b05d5d5 */
   2729 L_2B05D528:
   2730     eax = MEM32(esi + 0x4); /* 0x2B05D528: mov eax, dword ptr [esi + 4] */
   2731     edx = ecx + ecx * 4; /* 0x2B05D52B: lea edx, [ecx + ecx*4] */
   2732     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2733     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2734     edi = edi + ecx; /* 0x2B05D52E: add edi, ecx */
   2735     _flag_k = FK_ADD;
   2736     edi = edi + edx * 2 + 0x26; /* 0x2B05D530: lea edi, [edi + edx*2 + 0x26] */
   2737     edx = MEM32(0x2B0EE9DC); /* 0x2B05D534: mov edx, dword ptr [0x2b0ee9dc] */
   2738     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6);
   2739     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2740     eax = eax + 6; /* 0x2B05D53A: add eax, 6 */
   2741     _flag_k = FK_ADD;
   2742     /* test edx, edx */ /* 0x2B05D53D: test edx, edx */
   2743     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   2744     _cf = 0;
   2745     _flag_k = FK_TEST;
   2746     ecx = edi; /* 0x2B05D53F: mov ecx, edi */
   2747     PUSH32(esp, ebx); /* 0x2B05D541: push ebx */
   2748     MEM32(ebp + (-0x8)) = eax; /* 0x2B05D542: mov dword ptr [ebp - 8], eax */
   2749     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05D545: mov dword ptr [ebp - 4], ecx */
   2750     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D558; /* 0x2B05D548: je 0x2b05d558 */
   2751 L_2B05D54A:
   2752     ebx = MEM32(edx + 0x2C); /* 0x2B05D54A: mov ebx, dword ptr [edx + 0x2c] */
   2753     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   2754     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2755     ebx = ebx + eax; /* 0x2B05D54D: add ebx, eax */
   2756     _flag_k = FK_ADD;
   2757     MEM32(ebp + (-0x8)) = ebx; /* 0x2B05D54F: mov dword ptr [ebp - 8], ebx */
   2758     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x30));
   2759     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2760     ecx = ecx + MEM32(edx + 0x30); /* 0x2B05D552: add ecx, dword ptr [edx + 0x30] */
   2761     _flag_k = FK_ADD;
   2762     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05D555: mov dword ptr [ebp - 4], ecx */
   2763 L_2B05D558:
   2764     ecx = MEM32(esi + 0x44); /* 0x2B05D558: mov ecx, dword ptr [esi + 0x44] */
   2765     eax = ebp + (-0x8); /* 0x2B05D55B: lea eax, [ebp - 8] */
   2766     PUSH32(esp, eax); /* 0x2B05D55E: push eax */
   2767     RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B05D55F: call dword ptr [0x2b0b5640] */
   2768     RECOMP_FLAGS_IN();
   2769     RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B05D565: call dword ptr [0x2b0b5690] */
   2770     RECOMP_FLAGS_IN();
   2771     ecx = eax; /* 0x2B05D56B: mov ecx, eax */
   2772     RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B05D56D: call dword ptr [0x2b0b568c] */
   2773     RECOMP_FLAGS_IN();
   2774     ecx = 0xFFFFFFECu; /* 0x2B05D573: mov ecx, 0xffffffec */
   2775     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   2776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2777     ecx = ecx - edi; /* 0x2B05D578: sub ecx, edi */
   2778     _flag_k = FK_CMP;
   2779     ebx = eax; /* 0x2B05D57A: mov ebx, eax */
   2780     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   2781     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2782     ebx = ebx + ecx; /* 0x2B05D57C: add ebx, ecx */
   2783     _flag_k = FK_ADD;
   2784     ecx = MEM32(esi + 0x44); /* 0x2B05D57E: mov ecx, dword ptr [esi + 0x44] */
   2785     if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B05D597; /* 0x2B05D581: jns 0x2b05d597 */
   2786 L_2B05D583:
   2787     edx = MEM32(ecx); /* 0x2B05D583: mov edx, dword ptr [ecx] */
   2788     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B05D585: call dword ptr [edx + 0xc] */
   2789     RECOMP_FLAGS_IN();
   2790     ebx = POP32_VAL(esp); /* 0x2B05D588: pop ebx */
   2791     SET_LO8(eax, 1); /* 0x2B05D589: mov al, 1 */
   2792     edi = POP32_VAL(esp); /* 0x2B05D58B: pop edi */
   2793     MEM8(esi + 0x51) = (uint8_t)(LO8(eax)); /* 0x2B05D58C: mov byte ptr [esi + 0x51], al */
   2794     MEM8(esi + 0x48) = (uint8_t)(LO8(eax)); /* 0x2B05D58F: mov byte ptr [esi + 0x48], al */
   2795     esi = POP32_VAL(esp); /* 0x2B05D592: pop esi */
   2796     esp = ebp; /* 0x2B05D593: mov esp, ebp */
   2797     ebp = POP32_VAL(esp); /* 0x2B05D595: pop ebp */
   2798     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D596: ret  */
   2799 L_2B05D597:
   2800     eax = MEM32(ecx); /* 0x2B05D597: mov eax, dword ptr [ecx] */
   2801     RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B05D599: call dword ptr [eax + 8] */
   2802     RECOMP_FLAGS_IN();
   2803     /* cmp ebx, 0xBu */ /* 0x2B05D59C: cmp ebx, 0xb */
   2804     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xBu);
   2805     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2806     _flag_k = FK_CMP;
   2807     if (CMP_GE(_flag_a, _flag_b)) goto L_2B05D5B1; /* 0x2B05D59F: jge 0x2b05d5b1 */
   2808 L_2B05D5A1:
   2809     ecx = ebp + (-0x10); /* 0x2B05D5A1: lea ecx, [ebp - 0x10] */
   2810     MEM32(ebp + (-0x10)) = 0xA9u; /* 0x2B05D5A4: mov dword ptr [ebp - 0x10], 0xa9 */
   2811     MEM32(ebp + (-0xC)) = ebx; /* 0x2B05D5AB: mov dword ptr [ebp - 0xc], ebx */
   2812     PUSH32(esp, ecx); /* 0x2B05D5AE: push ecx */
   2813     goto L_2B05D5C3; /* 0x2B05D5AF: jmp 0x2b05d5c3 */
   2814 L_2B05D5B1:
   2815     edx = ebp + (-0x10); /* 0x2B05D5B1: lea edx, [ebp - 0x10] */
   2816     MEM32(ebp + (-0x10)) = 0xA9u; /* 0x2B05D5B4: mov dword ptr [ebp - 0x10], 0xa9 */
   2817     MEM32(ebp + (-0xC)) = 0xBu; /* 0x2B05D5BB: mov dword ptr [ebp - 0xc], 0xb */
   2818     PUSH32(esp, edx); /* 0x2B05D5C2: push edx */
   2819 L_2B05D5C3:
   2820     ecx = MEM32(esi + 0x44); /* 0x2B05D5C3: mov ecx, dword ptr [esi + 0x44] */
   2821     RECOMP_ICALL(MEM32(0x2B0B5558)); /* 0x2B05D5C6: call dword ptr [0x2b0b5558] */
   2822     RECOMP_FLAGS_IN();
   2823     SET_LO8(eax, 1); /* 0x2B05D5CC: mov al, 1 */
   2824     MEM8(esi + 0x51) = (uint8_t)(LO8(eax)); /* 0x2B05D5CE: mov byte ptr [esi + 0x51], al */
   2825     MEM8(esi + 0x48) = (uint8_t)(LO8(eax)); /* 0x2B05D5D1: mov byte ptr [esi + 0x48], al */
   2826     ebx = POP32_VAL(esp); /* 0x2B05D5D4: pop ebx */
   2827 L_2B05D5D5:
   2828     edi = POP32_VAL(esp); /* 0x2B05D5D5: pop edi */
   2829     esi = POP32_VAL(esp); /* 0x2B05D5D6: pop esi */
   2830     esp = ebp; /* 0x2B05D5D7: mov esp, ebp */
   2831     ebp = POP32_VAL(esp); /* 0x2B05D5D9: pop ebp */
   2832     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D5DA: ret  */
   2833     RECOMP_REGS_OUT();
   2834 }
   2835 
   2836 void sub_2B05D5E0(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(0x2B05D5E0u);
   2845 
   2846 L_2B05D5E0:
   2847     PUSH32(esp, ebp); /* 0x2B05D5E0: push ebp */
   2848     ebp = esp; /* 0x2B05D5E1: mov ebp, esp */
   2849     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   2850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2851     esp = esp - 0x10u; /* 0x2B05D5E3: sub esp, 0x10 */
   2852     _flag_k = FK_CMP;
   2853     eax = MEM32(ebp + 0x8); /* 0x2B05D5E6: mov eax, dword ptr [ebp + 8] */
   2854     /* cmp eax, 0xFFFFFFFFu */ /* 0x2B05D5E9: cmp eax, -1 */
   2855     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   2856     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2857     _flag_k = FK_CMP;
   2858     PUSH32(esp, ebx); /* 0x2B05D5EC: push ebx */
   2859     PUSH32(esp, esi); /* 0x2B05D5ED: push esi */
   2860     PUSH32(esp, edi); /* 0x2B05D5EE: push edi */
   2861     esi = ecx; /* 0x2B05D5EF: mov esi, ecx */
   2862     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05D60A; /* 0x2B05D5F1: jne 0x2b05d60a */
   2863 L_2B05D5F3:
   2864     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D5F3: call dword ptr [0x2b0b5b64] */
   2865     RECOMP_FLAGS_IN();
   2866     ecx = MEM32(eax + 0x108); /* 0x2B05D5F9: mov ecx, dword ptr [eax + 0x108] */
   2867     edi = MEM32(eax + 0x10C); /* 0x2B05D5FF: mov edi, dword ptr [eax + 0x10c] */
   2868     MEM32(ebp + (-0x10)) = ecx; /* 0x2B05D605: mov dword ptr [ebp - 0x10], ecx */
   2869     goto L_2B05D635; /* 0x2B05D608: jmp 0x2b05d635 */
   2870 L_2B05D60A:
   2871     ecx = MEM32(esi + 0x34); /* 0x2B05D60A: mov ecx, dword ptr [esi + 0x34] */
   2872     edx = MEM32(esi + 0x30); /* 0x2B05D60D: mov edx, dword ptr [esi + 0x30] */
   2873     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2874     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2875     edx = edx + ecx; /* 0x2B05D610: add edx, ecx */
   2876     _flag_k = FK_ADD;
   2877     /* cmp eax, edx */ /* 0x2B05D612: cmp eax, edx */
   2878     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2880     _flag_k = FK_CMP;
   2881     if (CMP_L(_flag_a, _flag_b)) goto L_2B05D61E; /* 0x2B05D614: jl 0x2b05d61e */
   2882 L_2B05D616:
   2883     edx = eax; /* 0x2B05D616: mov edx, eax */
   2884     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2886     edx = edx - ecx; /* 0x2B05D618: sub edx, ecx */
   2887     _flag_k = FK_CMP;
   2888     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   2889     edx = edx + 1; /* 0x2B05D61A: inc edx */
   2890     _flag_k = FK_INC;
   2891     MEM32(esi + 0x30) = edx; /* 0x2B05D61B: mov dword ptr [esi + 0x30], edx */
   2892 L_2B05D61E:
   2893     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x30));
   2894     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2895     eax = eax - MEM32(esi + 0x30); /* 0x2B05D61E: sub eax, dword ptr [esi + 0x30] */
   2896     _flag_k = FK_CMP;
   2897     ecx = eax + eax * 4; /* 0x2B05D621: lea ecx, [eax + eax*4] */
   2898     edx = eax + ecx * 2; /* 0x2B05D624: lea edx, [eax + ecx*2] */
   2899     eax = MEM32(esi + 0x8); /* 0x2B05D627: mov eax, dword ptr [esi + 8] */
   2900     ecx = esi; /* 0x2B05D62A: mov ecx, esi */
   2901     edi = edx + eax + 0x2B; /* 0x2B05D62C: lea edi, [edx + eax + 0x2b] */
   2902     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05D630: call 0x2b03a2b0 */ /* not lifted */
   2903     RECOMP_FLAGS_IN();
   2904 L_2B05D635:
   2905     ebx = MEM32(esi + 0x8); /* 0x2B05D635: mov ebx, dword ptr [esi + 8] */
   2906     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   2907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2908     edi = edi - ebx; /* 0x2B05D638: sub edi, ebx */
   2909     _flag_k = FK_CMP;
   2910     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u);
   2911     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2912     edi = edi - 0x14u; /* 0x2B05D63A: sub edi, 0x14 */
   2913     _flag_k = FK_CMP;
   2914     /* cmp edi, 0x12u */ /* 0x2B05D63D: cmp edi, 0x12 */
   2915     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x12u);
   2916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2917     _flag_k = FK_CMP;
   2918     if (CMP_L(_flag_a, _flag_b)) goto L_2B05D737; /* 0x2B05D640: jl 0x2b05d737 */
   2919 L_2B05D646:
   2920     ecx = edi + (-0x12); /* 0x2B05D646: lea ecx, [edi - 0x12] */
   2921     eax = 0x2E8BA2E9u; /* 0x2B05D649: mov eax, 0x2e8ba2e9 */
   2922     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B05D64E: imul ecx */
   2923       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2924       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2925     SET_LO8(eax, MEM8(esi + 0x50)); /* 0x2B05D650: mov al, byte ptr [esi + 0x50] */
   2926     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B05D653: sar edx, 1 */
   2927     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2928     edx = (uint32_t)((int32_t)edx >> 1u);
   2929     ecx = edx; /* 0x2B05D655: mov ecx, edx */
   2930     if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B05D657: shr ecx, 0x1f */
   2931     if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2932     ecx = ecx >> 31u; /* 0x2B05D657: shr ecx, 0x1f */
   2933     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2934     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2935     edx = edx + ecx; /* 0x2B05D65A: add edx, ecx */
   2936     _flag_k = FK_ADD;
   2937     /* test LO8(eax), LO8(eax) */ /* 0x2B05D65C: test al, al */
   2938     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2939     _cf = 0;
   2940     _flag_k = FK_NARROW(FK_TEST, 24);
   2941     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D675; /* 0x2B05D65E: je 0x2b05d675 */
   2942 L_2B05D660:
   2943     /* cmp MEM32(esi + 0x4C), edx */ /* 0x2B05D660: cmp dword ptr [esi + 0x4c], edx */
   2944     _flag_a = (uint32_t)(MEM32(esi + 0x4C)); _flag_b = (uint32_t)(edx);
   2945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2946     _flag_k = FK_CMP;
   2947     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05D675; /* 0x2B05D663: jne 0x2b05d675 */
   2948 L_2B05D665:
   2949     ecx = esi; /* 0x2B05D665: mov ecx, esi */
   2950     RECOMP_ICALL(0x2B05D780u); /* 0x2B05D667: call 0x2b05d780 */ /* not lifted */
   2951     RECOMP_FLAGS_IN();
   2952     edi = POP32_VAL(esp); /* 0x2B05D66C: pop edi */
   2953     esi = POP32_VAL(esp); /* 0x2B05D66D: pop esi */
   2954     ebx = POP32_VAL(esp); /* 0x2B05D66E: pop ebx */
   2955     esp = ebp; /* 0x2B05D66F: mov esp, ebp */
   2956     ebp = POP32_VAL(esp); /* 0x2B05D671: pop ebp */
   2957     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05D672: ret 4 */
   2958 L_2B05D675:
   2959     eax = MEM32(esi + 0x30); /* 0x2B05D675: mov eax, dword ptr [esi + 0x30] */
   2960     ecx = MEM32(esi + 0x2C); /* 0x2B05D678: mov ecx, dword ptr [esi + 0x2c] */
   2961     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2962     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2963     eax = eax + edx; /* 0x2B05D67B: add eax, edx */
   2964     _flag_k = FK_ADD;
   2965     /* cmp eax, ecx */ /* 0x2B05D67D: cmp eax, ecx */
   2966     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   2967     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2968     _flag_k = FK_CMP;
   2969     if (CMP_GE(_flag_a, _flag_b)) goto L_2B05D737; /* 0x2B05D67F: jge 0x2b05d737 */
   2970 L_2B05D685:
   2971     /* test eax, eax */ /* 0x2B05D685: test eax, eax */
   2972     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2973     _cf = 0;
   2974     _flag_k = FK_TEST;
   2975     if (TEST_S(_flag_a, _flag_b)) goto L_2B05D737; /* 0x2B05D687: jl 0x2b05d737 */
   2976 L_2B05D68D:
   2977     ecx = eax * 8; /* 0x2B05D68D: lea ecx, [eax*8] */
   2978     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2980     ecx = ecx - eax; /* 0x2B05D694: sub ecx, eax */
   2981     _flag_k = FK_CMP;
   2982     if (2u) _cf = (((ecx) >> 30) & 1u); /* 0x2B05D696: shl ecx, 2 */
   2983     if (2u) { _flag_a = recomp_flags_pack((ecx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2984     ecx = ecx << 2u; /* 0x2B05D696: shl ecx, 2 */
   2985     /* cmp MEM32(ecx + 0x2B0E8FF8), 0xFFFFFFFEu */ /* 0x2B05D699: cmp dword ptr [ecx + 0x2b0e8ff8], -2 */
   2986     _flag_a = (uint32_t)(MEM32(ecx + 0x2B0E8FF8)); _flag_b = (uint32_t)(0xFFFFFFFEu);
   2987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2988     _flag_k = FK_CMP;
   2989     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05D6C7; /* 0x2B05D6A0: jne 0x2b05d6c7 */
   2990 L_2B05D6A2:
   2991     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D6A2: call dword ptr [0x2b0b5b64] */
   2992     RECOMP_FLAGS_IN();
   2993     ecx = eax; /* 0x2B05D6A8: mov ecx, eax */
   2994     RECOMP_ICALL(MEM32(0x2B0B56F0)); /* 0x2B05D6AA: call dword ptr [0x2b0b56f0] */
   2995     RECOMP_FLAGS_IN();
   2996     ecx = esi; /* 0x2B05D6B0: mov ecx, esi */
   2997     RECOMP_ICALL(0x2B05D120u); /* 0x2B05D6B2: call 0x2b05d120 */ /* not lifted */
   2998     RECOMP_FLAGS_IN();
   2999     ecx = esi; /* 0x2B05D6B7: mov ecx, esi */
   3000     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05D6B9: call 0x2b03a2b0 */ /* not lifted */
   3001     RECOMP_FLAGS_IN();
   3002     edi = POP32_VAL(esp); /* 0x2B05D6BE: pop edi */
   3003     esi = POP32_VAL(esp); /* 0x2B05D6BF: pop esi */
   3004     ebx = POP32_VAL(esp); /* 0x2B05D6C0: pop ebx */
   3005     esp = ebp; /* 0x2B05D6C1: mov esp, ebp */
   3006     ebp = POP32_VAL(esp); /* 0x2B05D6C3: pop ebp */
   3007     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05D6C4: ret 4 */
   3008 L_2B05D6C7:
   3009     SET_LO8(eax, MEM8(ecx + 0x2B0E9004)); /* 0x2B05D6C7: mov al, byte ptr [ecx + 0x2b0e9004] */
   3010     /* test LO8(eax), LO8(eax) */ /* 0x2B05D6CD: test al, al */
   3011     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3012     _cf = 0;
   3013     _flag_k = FK_NARROW(FK_TEST, 24);
   3014     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D737; /* 0x2B05D6CF: je 0x2b05d737 */
   3015 L_2B05D6D1:
   3016     eax = MEM32(esi + 0x4); /* 0x2B05D6D1: mov eax, dword ptr [esi + 4] */
   3017     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
   3018     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3019     ebx = ebx + edx; /* 0x2B05D6D4: add ebx, edx */
   3020     _flag_k = FK_ADD;
   3021     ecx = edx + edx * 4; /* 0x2B05D6D6: lea ecx, [edx + edx*4] */
   3022     MEM32(esi + 0x4C) = edx; /* 0x2B05D6D9: mov dword ptr [esi + 0x4c], edx */
   3023     edx = MEM32(0x2B0EE9DC); /* 0x2B05D6DC: mov edx, dword ptr [0x2b0ee9dc] */
   3024     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6);
   3025     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3026     eax = eax + 6; /* 0x2B05D6E2: add eax, 6 */
   3027     _flag_k = FK_ADD;
   3028     /* test edx, edx */ /* 0x2B05D6E5: test edx, edx */
   3029     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   3030     _cf = 0;
   3031     _flag_k = FK_TEST;
   3032     ecx = ebx + ecx * 2 + 0x26; /* 0x2B05D6E7: lea ecx, [ebx + ecx*2 + 0x26] */
   3033     MEM32(ebp + (-0x8)) = eax; /* 0x2B05D6EB: mov dword ptr [ebp - 8], eax */
   3034     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05D6EE: mov dword ptr [ebp - 4], ecx */
   3035     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D701; /* 0x2B05D6F1: je 0x2b05d701 */
   3036 L_2B05D6F3:
   3037     edi = MEM32(edx + 0x2C); /* 0x2B05D6F3: mov edi, dword ptr [edx + 0x2c] */
   3038     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3039     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3040     edi = edi + eax; /* 0x2B05D6F6: add edi, eax */
   3041     _flag_k = FK_ADD;
   3042     MEM32(ebp + (-0x8)) = edi; /* 0x2B05D6F8: mov dword ptr [ebp - 8], edi */
   3043     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x30));
   3044     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3045     ecx = ecx + MEM32(edx + 0x30); /* 0x2B05D6FB: add ecx, dword ptr [edx + 0x30] */
   3046     _flag_k = FK_ADD;
   3047     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05D6FE: mov dword ptr [ebp - 4], ecx */
   3048 L_2B05D701:
   3049     ecx = MEM32(esi + 0x44); /* 0x2B05D701: mov ecx, dword ptr [esi + 0x44] */
   3050     edx = ebp + (-0x8); /* 0x2B05D704: lea edx, [ebp - 8] */
   3051     PUSH32(esp, edx); /* 0x2B05D707: push edx */
   3052     RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B05D708: call dword ptr [0x2b0b5640] */
   3053     RECOMP_FLAGS_IN();
   3054     ecx = MEM32(esi + 0x44); /* 0x2B05D70E: mov ecx, dword ptr [esi + 0x44] */
   3055     PUSH32(esp, 0x00DDDD22u); /* 0x2B05D711: push 0xdddd22 */
   3056     RECOMP_ICALL(MEM32(0x2B0B54EC)); /* 0x2B05D716: call dword ptr [0x2b0b54ec] */
   3057     RECOMP_FLAGS_IN();
   3058     MEM8(esi + 0x50) = (uint8_t)(1); /* 0x2B05D71C: mov byte ptr [esi + 0x50], 1 */
   3059     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D720: call dword ptr [0x2b0b5b64] */
   3060     RECOMP_FLAGS_IN();
   3061     MEM8(eax) = (uint8_t)(1); /* 0x2B05D726: mov byte ptr [eax], 1 */
   3062     MEM32(eax + 0x4) = 0x3Au; /* 0x2B05D729: mov dword ptr [eax + 4], 0x3a */
   3063     MEM32(eax + 0x8) = 0x17Fu; /* 0x2B05D730: mov dword ptr [eax + 8], 0x17f */
   3064 L_2B05D737:
   3065     edi = POP32_VAL(esp); /* 0x2B05D737: pop edi */
   3066     esi = POP32_VAL(esp); /* 0x2B05D738: pop esi */
   3067     ebx = POP32_VAL(esp); /* 0x2B05D739: pop ebx */
   3068     esp = ebp; /* 0x2B05D73A: mov esp, ebp */
   3069     ebp = POP32_VAL(esp); /* 0x2B05D73C: pop ebp */
   3070     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05D73D: ret 4 */
   3071     RECOMP_REGS_OUT();
   3072 }
   3073 
   3074 void sub_2B05D740(void) {
   3075     int _fpu_cmp = 0;
   3076     uint32_t _cf = 0;
   3077     int _df = 1;
   3078     uint32_t _flag_k = FK_NONE;
   3079     uint32_t _flag_a = 0, _flag_b = 0;
   3080     uint32_t _itail_tgt = 0;
   3081     RECOMP_REGS_LOCALS
   3082     RECOMP_ENTER(0x2B05D740u);
   3083 
   3084 L_2B05D740:
   3085     PUSH32(esp, esi); /* 0x2B05D740: push esi */
   3086     esi = ecx; /* 0x2B05D741: mov esi, ecx */
   3087     SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B05D743: mov al, byte ptr [esi + 0xc] */
   3088     /* test LO8(eax), LO8(eax) */ /* 0x2B05D746: test al, al */
   3089     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3090     _cf = 0;
   3091     _flag_k = FK_NARROW(FK_TEST, 24);
   3092     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D776; /* 0x2B05D748: je 0x2b05d776 */
   3093 L_2B05D74A:
   3094     SET_LO8(eax, MEM8(esi + 0x48)); /* 0x2B05D74A: mov al, byte ptr [esi + 0x48] */
   3095     /* test LO8(eax), LO8(eax) */ /* 0x2B05D74D: test al, al */
   3096     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3097     _cf = 0;
   3098     _flag_k = FK_NARROW(FK_TEST, 24);
   3099     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D759; /* 0x2B05D74F: jne 0x2b05d759 */
   3100 L_2B05D751:
   3101     ecx = MEM32(esi + 0x44); /* 0x2B05D751: mov ecx, dword ptr [esi + 0x44] */
   3102     eax = MEM32(ecx); /* 0x2B05D754: mov eax, dword ptr [ecx] */
   3103     RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B05D756: call dword ptr [eax + 0xc] */
   3104     RECOMP_FLAGS_IN();
   3105 L_2B05D759:
   3106     SET_LO8(eax, MEM8(esi + 0x51)); /* 0x2B05D759: mov al, byte ptr [esi + 0x51] */
   3107     /* test LO8(eax), LO8(eax) */ /* 0x2B05D75C: test al, al */
   3108     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3109     _cf = 0;
   3110     _flag_k = FK_NARROW(FK_TEST, 24);
   3111     MEM8(esi + 0x48) = (uint8_t)(0); /* 0x2B05D75E: mov byte ptr [esi + 0x48], 0 */
   3112     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D772; /* 0x2B05D762: jne 0x2b05d772 */
   3113 L_2B05D764:
   3114     SET_LO8(eax, MEM8(esi + 0x50)); /* 0x2B05D764: mov al, byte ptr [esi + 0x50] */
   3115     /* test LO8(eax), LO8(eax) */ /* 0x2B05D767: test al, al */
   3116     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3117     _cf = 0;
   3118     _flag_k = FK_NARROW(FK_TEST, 24);
   3119     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D772; /* 0x2B05D769: je 0x2b05d772 */
   3120 L_2B05D76B:
   3121     ecx = esi; /* 0x2B05D76B: mov ecx, esi */
   3122     RECOMP_ICALL(0x2B05D780u); /* 0x2B05D76D: call 0x2b05d780 */ /* not lifted */
   3123     RECOMP_FLAGS_IN();
   3124 L_2B05D772:
   3125     MEM8(esi + 0x51) = (uint8_t)(0); /* 0x2B05D772: mov byte ptr [esi + 0x51], 0 */
   3126 L_2B05D776:
   3127     esi = POP32_VAL(esp); /* 0x2B05D776: pop esi */
   3128     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D777: ret  */
   3129     RECOMP_REGS_OUT();
   3130 }
   3131 
   3132 void sub_2B05D780(void) {
   3133     int _fpu_cmp = 0;
   3134     uint32_t _cf = 0;
   3135     int _df = 1;
   3136     uint32_t _flag_k = FK_NONE;
   3137     uint32_t _flag_a = 0, _flag_b = 0;
   3138     uint32_t _itail_tgt = 0;
   3139     RECOMP_REGS_LOCALS
   3140     RECOMP_ENTER(0x2B05D780u);
   3141 
   3142 L_2B05D780:
   3143     PUSH32(esp, esi); /* 0x2B05D780: push esi */
   3144     esi = ecx; /* 0x2B05D781: mov esi, ecx */
   3145     SET_LO8(eax, MEM8(esi + 0x50)); /* 0x2B05D783: mov al, byte ptr [esi + 0x50] */
   3146     /* test LO8(eax), LO8(eax) */ /* 0x2B05D786: test al, al */
   3147     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3148     _cf = 0;
   3149     _flag_k = FK_NARROW(FK_TEST, 24);
   3150     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D7A5; /* 0x2B05D788: je 0x2b05d7a5 */
   3151 L_2B05D78A:
   3152     MEM8(esi + 0x50) = (uint8_t)(0); /* 0x2B05D78A: mov byte ptr [esi + 0x50], 0 */
   3153     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D78E: call dword ptr [0x2b0b5b64] */
   3154     RECOMP_FLAGS_IN();
   3155     MEM8(eax) = (uint8_t)(0); /* 0x2B05D794: mov byte ptr [eax], 0 */
   3156     ecx = MEM32(esi + 0x44); /* 0x2B05D797: mov ecx, dword ptr [esi + 0x44] */
   3157     PUSH32(esp, 0x0033DD22u); /* 0x2B05D79A: push 0x33dd22 */
   3158     RECOMP_ICALL(MEM32(0x2B0B54EC)); /* 0x2B05D79F: call dword ptr [0x2b0b54ec] */
   3159     RECOMP_FLAGS_IN();
   3160 L_2B05D7A5:
   3161     esi = POP32_VAL(esp); /* 0x2B05D7A5: pop esi */
   3162     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D7A6: ret  */
   3163     RECOMP_REGS_OUT();
   3164 }
   3165 
   3166 void sub_2B05D7B0(void) {
   3167     int _fpu_cmp = 0;
   3168     uint32_t _cf = 0;
   3169     int _df = 1;
   3170     uint32_t _flag_k = FK_NONE;
   3171     uint32_t _flag_a = 0, _flag_b = 0;
   3172     uint32_t _itail_tgt = 0;
   3173     RECOMP_REGS_LOCALS
   3174     RECOMP_ENTER(0x2B05D7B0u);
   3175 
   3176 L_2B05D7B0:
   3177     PUSH32(esp, ebp); /* 0x2B05D7B0: push ebp */
   3178 L_2B05D7B1:
   3179     ebp = esp; /* 0x2B05D7B1: mov ebp, esp */
   3180 L_2B05D7B3:
   3181     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCCu);
   3182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3183     esp = esp - 0xCCu; /* 0x2B05D7B3: sub esp, 0xcc */
   3184     _flag_k = FK_CMP;
   3185 L_2B05D7B9:
   3186     SET_LO8(eax, MEM8(ecx + 0x50)); /* 0x2B05D7B9: mov al, byte ptr [ecx + 0x50] */
   3187 L_2B05D7BC:
   3188     /* test LO8(eax), LO8(eax) */ /* 0x2B05D7BC: test al, al */
   3189     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3190     _cf = 0;
   3191     _flag_k = FK_NARROW(FK_TEST, 24);
   3192 L_2B05D7BE:
   3193     PUSH32(esp, ebx); /* 0x2B05D7BE: push ebx */
   3194 L_2B05D7BF:
   3195     PUSH32(esp, esi); /* 0x2B05D7BF: push esi */
   3196 L_2B05D7C0:
   3197     PUSH32(esp, edi); /* 0x2B05D7C0: push edi */
   3198 L_2B05D7C1:
   3199     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05D7C1: mov dword ptr [ebp - 4], ecx */
   3200 L_2B05D7C4:
   3201     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B05D90F; /* 0x2B05D7C4: je 0x2b05d90f */
   3202 L_2B05D7CA:
   3203     edi = MEM32(ecx + 0x4C); /* 0x2B05D7CA: mov edi, dword ptr [ecx + 0x4c] */
   3204 L_2B05D7CD:
   3205     edx = MEM32(ecx + 0x30); /* 0x2B05D7CD: mov edx, dword ptr [ecx + 0x30] */
   3206 L_2B05D7D0:
   3207     eax = MEM32(ecx + 0x2C); /* 0x2B05D7D0: mov eax, dword ptr [ecx + 0x2c] */
   3208 L_2B05D7D3:
   3209     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   3210     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3211     edi = edi + edx; /* 0x2B05D7D3: add edi, edx */
   3212     _flag_k = FK_ADD;
   3213 L_2B05D7D5:
   3214     /* cmp edi, eax */ /* 0x2B05D7D5: cmp edi, eax */
   3215     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   3216     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3217     _flag_k = FK_CMP;
   3218 L_2B05D7D7:
   3219     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B05D90F; /* 0x2B05D7D7: jge 0x2b05d90f */
   3220 L_2B05D7DD:
   3221     /* test edi, edi */ /* 0x2B05D7DD: test edi, edi */
   3222     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   3223     _cf = 0;
   3224     _flag_k = FK_TEST;
   3225 L_2B05D7DF:
   3226     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_L, _cf)) goto L_2B05D90F; /* 0x2B05D7DF: jl 0x2b05d90f */
   3227 L_2B05D7E5:
   3228     ebx = MEM32(ebp + 0x8); /* 0x2B05D7E5: mov ebx, dword ptr [ebp + 8] */
   3229 L_2B05D7E8:
   3230     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFu);
   3231     ebx = ebx & 0xFFFFu; /* 0x2B05D7E8: and ebx, 0xffff */
   3232     _cf = 0;
   3233     _flag_k = FK_TEST;
   3234 L_2B05D7EE:
   3235     eax = ebx + (-0xE); /* 0x2B05D7EE: lea eax, [ebx - 0xe] */
   3236 L_2B05D7F1:
   3237     /* cmp eax, 0x67u */ /* 0x2B05D7F1: cmp eax, 0x67 */
   3238     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x67u);
   3239     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3240     _flag_k = FK_CMP;
   3241 L_2B05D7F4:
   3242     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B05D85C; /* 0x2B05D7F4: ja 0x2b05d85c */
   3243 L_2B05D7F6:
   3244     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3245     ecx = 0; /* 0x2B05D7F6: xor ecx, ecx */
   3246     _cf = 0;
   3247     _flag_k = FK_TEST;
   3248 L_2B05D7F8:
   3249     SET_LO8(ecx, MEM8(eax + 0x2B05D920)); /* 0x2B05D7F8: mov cl, byte ptr [eax + 0x2b05d920] */
   3250 L_2B05D7FE:
   3251     { _itail_tgt = (uint32_t)(MEM32(ecx * 4 + 0x2B05D918)); goto _ljump; }
   3252 L_2B05D805:
   3253     PUSH32(esp, ebx); /* 0x2B05D805: push ebx */
   3254 L_2B05D806:
   3255     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D806: call dword ptr [0x2b0b5b64] */
   3256     RECOMP_FLAGS_IN();
   3257 L_2B05D80C:
   3258     ecx = eax; /* 0x2B05D80C: mov ecx, eax */
   3259 L_2B05D80E:
   3260     RECOMP_ICALL(MEM32(0x2B0B5724)); /* 0x2B05D80E: call dword ptr [0x2b0b5724] */
   3261     RECOMP_FLAGS_IN();
   3262 L_2B05D814:
   3263     PUSH32(esp, eax); /* 0x2B05D814: push eax */
   3264 L_2B05D815:
   3265     edx = ebp + (-0xCC); /* 0x2B05D815: lea edx, [ebp - 0xcc] */
   3266 L_2B05D81B:
   3267     PUSH32(esp, 0x2B0E9F80u); /* 0x2B05D81B: push 0x2b0e9f80 */
   3268 L_2B05D820:
   3269     PUSH32(esp, edx); /* 0x2B05D820: push edx */
   3270 L_2B05D821:
   3271     RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B05D821: call dword ptr [0x2b0b51f0] */
   3272     RECOMP_FLAGS_IN();
   3273 L_2B05D827:
   3274     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3275     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3276     esp = esp + 0xCu; /* 0x2B05D827: add esp, 0xc */
   3277     _flag_k = FK_ADD;
   3278 L_2B05D82A:
   3279     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   3280     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05D82A: or ecx, 0xffffffff */
   3281     _cf = 0;
   3282     _flag_k = FK_TEST;
   3283 L_2B05D82D:
   3284     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3285     eax = 0; /* 0x2B05D82D: xor eax, eax */
   3286     _cf = 0;
   3287     _flag_k = FK_TEST;
   3288 L_2B05D82F:
   3289     edi = ebp + (-0xCC); /* 0x2B05D82F: lea edi, [ebp - 0xcc] */
   3290 L_2B05D835:
   3291     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; } /* 0x2B05D835: repne scasb al, byte ptr es:[edi] */
   3292 L_2B05D837:
   3293     ecx = ~ecx; /* 0x2B05D837: not ecx */
   3294 L_2B05D839:
   3295     PUSH32(esp, ecx); /* 0x2B05D839: push ecx */
   3296 L_2B05D83A:
   3297     eax = ebp + (-0xCC); /* 0x2B05D83A: lea eax, [ebp - 0xcc] */
   3298 L_2B05D840:
   3299     PUSH32(esp, eax); /* 0x2B05D840: push eax */
   3300 L_2B05D841:
   3301     PUSH32(esp, 0x3Fu); /* 0x2B05D841: push 0x3f */
   3302 L_2B05D843:
   3303     PUSH32(esp, 3); /* 0x2B05D843: push 3 */
   3304 L_2B05D845:
   3305     RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B05D845: call dword ptr [0x2b0b53cc] */
   3306     RECOMP_FLAGS_IN();
   3307 L_2B05D84B:
   3308     ecx = eax; /* 0x2B05D84B: mov ecx, eax */
   3309 L_2B05D84D:
   3310     RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B05D84D: call dword ptr [0x2b0b53c4] */
   3311     RECOMP_FLAGS_IN();
   3312 L_2B05D853:
   3313     edi = POP32_VAL(esp); /* 0x2B05D853: pop edi */
   3314 L_2B05D854:
   3315     esi = POP32_VAL(esp); /* 0x2B05D854: pop esi */
   3316 L_2B05D855:
   3317     ebx = POP32_VAL(esp); /* 0x2B05D855: pop ebx */
   3318 L_2B05D856:
   3319     esp = ebp; /* 0x2B05D856: mov esp, ebp */
   3320 L_2B05D858:
   3321     ebp = POP32_VAL(esp); /* 0x2B05D858: pop ebp */
   3322 L_2B05D859:
   3323     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05D859: ret 4 */
   3324 L_2B05D85C:
   3325     esi = edi * 8; /* 0x2B05D85C: lea esi, [edi*8] */
   3326 L_2B05D863:
   3327     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
   3328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3329     esi = esi - edi; /* 0x2B05D863: sub esi, edi */
   3330     _flag_k = FK_CMP;
   3331 L_2B05D865:
   3332     if (2u) _cf = (((esi) >> 30) & 1u); /* 0x2B05D865: shl esi, 2 */
   3333     if (2u) { _flag_a = recomp_flags_pack((esi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3334     esi = esi << 2u; /* 0x2B05D865: shl esi, 2 */
   3335 L_2B05D868:
   3336     ecx = MEM32(esi + 0x2B0E8FF8); /* 0x2B05D868: mov ecx, dword ptr [esi + 0x2b0e8ff8] */
   3337 L_2B05D86E:
   3338     PUSH32(esp, ebx); /* 0x2B05D86E: push ebx */
   3339 L_2B05D86F:
   3340     PUSH32(esp, ecx); /* 0x2B05D86F: push ecx */
   3341 L_2B05D870:
   3342     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D870: call dword ptr [0x2b0b5b64] */
   3343     RECOMP_FLAGS_IN();
   3344 L_2B05D876:
   3345     ecx = eax; /* 0x2B05D876: mov ecx, eax */
   3346 L_2B05D878:
   3347     RECOMP_ICALL(MEM32(0x2B0B56E0)); /* 0x2B05D878: call dword ptr [0x2b0b56e0] */
   3348     RECOMP_FLAGS_IN();
   3349 L_2B05D87E:
   3350     eax = MEM32(esi + 0x2B0E9000); /* 0x2B05D87E: mov eax, dword ptr [esi + 0x2b0e9000] */
   3351 L_2B05D884:
   3352     /* test eax, eax */ /* 0x2B05D884: test eax, eax */
   3353     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3354     _cf = 0;
   3355     _flag_k = FK_TEST;
   3356 L_2B05D886:
   3357     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B05D8A0; /* 0x2B05D886: je 0x2b05d8a0 */
   3358 L_2B05D888:
   3359     edx = ebx; /* 0x2B05D888: mov edx, ebx */
   3360 L_2B05D88A:
   3361     _flag_a = (uint32_t)((edx | 0x00100000u)); _flag_b = (uint32_t)((edx | 0x00100000u));
   3362     edx = edx | 0x00100000u; /* 0x2B05D88A: or edx, 0x100000 */
   3363     _cf = 0;
   3364     _flag_k = FK_TEST;
   3365 L_2B05D890:
   3366     PUSH32(esp, edx); /* 0x2B05D890: push edx */
   3367 L_2B05D891:
   3368     PUSH32(esp, eax); /* 0x2B05D891: push eax */
   3369 L_2B05D892:
   3370     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B05D892: call dword ptr [0x2b0b5b64] */
   3371     RECOMP_FLAGS_IN();
   3372 L_2B05D898:
   3373     ecx = eax; /* 0x2B05D898: mov ecx, eax */
   3374 L_2B05D89A:
   3375     RECOMP_ICALL(MEM32(0x2B0B56E0)); /* 0x2B05D89A: call dword ptr [0x2b0b56e0] */
   3376     RECOMP_FLAGS_IN();
   3377 L_2B05D8A0:
   3378     eax = MEM32(esi + 0x2B0E8FF8); /* 0x2B05D8A0: mov eax, dword ptr [esi + 0x2b0e8ff8] */
   3379 L_2B05D8A6:
   3380     esi = MEM32(ebp + (-0x4)); /* 0x2B05D8A6: mov esi, dword ptr [ebp - 4] */
   3381 L_2B05D8A9:
   3382     PUSH32(esp, ebx); /* 0x2B05D8A9: push ebx */
   3383 L_2B05D8AA:
   3384     PUSH32(esp, eax); /* 0x2B05D8AA: push eax */
   3385 L_2B05D8AB:
   3386     ecx = esi; /* 0x2B05D8AB: mov ecx, esi */
   3387 L_2B05D8AD:
   3388     RECOMP_ICALL(0x2B05D990u); /* 0x2B05D8AD: call 0x2b05d990 */ /* not lifted */
   3389     RECOMP_FLAGS_IN();
   3390 L_2B05D8B2:
   3391     ecx = esi; /* 0x2B05D8B2: mov ecx, esi */
   3392 L_2B05D8B4:
   3393     RECOMP_ICALL(0x2B05D120u); /* 0x2B05D8B4: call 0x2b05d120 */ /* not lifted */
   3394     RECOMP_FLAGS_IN();
   3395 L_2B05D8B9:
   3396     ecx = esi; /* 0x2B05D8B9: mov ecx, esi */
   3397 L_2B05D8BB:
   3398     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05D8BB: call 0x2b03a2b0 */ /* not lifted */
   3399     RECOMP_FLAGS_IN();
   3400 L_2B05D8C0:
   3401     ecx = esi; /* 0x2B05D8C0: mov ecx, esi */
   3402 L_2B05D8C2:
   3403     RECOMP_ICALL(0x2B05D780u); /* 0x2B05D8C2: call 0x2b05d780 */ /* not lifted */
   3404     RECOMP_FLAGS_IN();
   3405 L_2B05D8C7:
   3406     ecx = MEM32(0x2B0B6118); /* 0x2B05D8C7: mov ecx, dword ptr [0x2b0b6118] */
   3407 L_2B05D8CD:
   3408     ecx = MEM32(ecx); /* 0x2B05D8CD: mov ecx, dword ptr [ecx] */
   3409 L_2B05D8CF:
   3410     /* test ecx, ecx */ /* 0x2B05D8CF: test ecx, ecx */
   3411     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3412     _cf = 0;
   3413     _flag_k = FK_TEST;
   3414 L_2B05D8D1:
   3415     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B05D8D9; /* 0x2B05D8D1: je 0x2b05d8d9 */
   3416 L_2B05D8D3:
   3417     RECOMP_ICALL(MEM32(0x2B0B6120)); /* 0x2B05D8D3: call dword ptr [0x2b0b6120] */
   3418     RECOMP_FLAGS_IN();
   3419 L_2B05D8D9:
   3420     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   3421     edi = edi + 1; /* 0x2B05D8D9: inc edi */
   3422     _flag_k = FK_INC;
   3423 L_2B05D8DA:
   3424     edx = edi * 8; /* 0x2B05D8DA: lea edx, [edi*8] */
   3425 L_2B05D8E1:
   3426     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   3427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3428     edx = edx - edi; /* 0x2B05D8E1: sub edx, edi */
   3429     _flag_k = FK_CMP;
   3430 L_2B05D8E3:
   3431     SET_LO8(ecx, MEM8(edx * 4 + 0x2B0E9004)); /* 0x2B05D8E3: mov cl, byte ptr [edx*4 + 0x2b0e9004] */
   3432 L_2B05D8EA:
   3433     /* test LO8(ecx), LO8(ecx) */ /* 0x2B05D8EA: test cl, cl */
   3434     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   3435     _cf = 0;
   3436     _flag_k = FK_NARROW(FK_TEST, 24);
   3437 L_2B05D8EC:
   3438     eax = edx * 4 + 0x2B0E9004; /* 0x2B05D8EC: lea eax, [edx*4 + 0x2b0e9004] */
   3439 L_2B05D8F3:
   3440     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B05D907; /* 0x2B05D8F3: jne 0x2b05d907 */
   3441 L_2B05D8F5:
   3442     ecx = MEM32(esi + 0x2C); /* 0x2B05D8F5: mov ecx, dword ptr [esi + 0x2c] */
   3443 L_2B05D8F8:
   3444     /* cmp edi, ecx */ /* 0x2B05D8F8: cmp edi, ecx */
   3445     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   3446     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3447     _flag_k = FK_CMP;
   3448 L_2B05D8FA:
   3449     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B05D90F; /* 0x2B05D8FA: jge 0x2b05d90f */
   3450 L_2B05D8FC:
   3451     SET_LO8(edx, MEM8(eax + 0x1C)); /* 0x2B05D8FC: mov dl, byte ptr [eax + 0x1c] */
   3452 L_2B05D8FF:
   3453     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Cu);
   3454     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3455     eax = eax + 0x1Cu; /* 0x2B05D8FF: add eax, 0x1c */
   3456     _flag_k = FK_ADD;
   3457 L_2B05D902:
   3458     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   3459     edi = edi + 1; /* 0x2B05D902: inc edi */
   3460     _flag_k = FK_INC;
   3461 L_2B05D903:
   3462     /* test LO8(edx), LO8(edx) */ /* 0x2B05D903: test dl, dl */
   3463     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3464     _cf = 0;
   3465     _flag_k = FK_NARROW(FK_TEST, 24);
   3466 L_2B05D905:
   3467     RECOMP_BACKEDGE();
   3468     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B05D8F8; /* 0x2B05D905: je 0x2b05d8f8 */
   3469 L_2B05D907:
   3470     PUSH32(esp, edi); /* 0x2B05D907: push edi */
   3471 L_2B05D908:
   3472     ecx = esi; /* 0x2B05D908: mov ecx, esi */
   3473 L_2B05D90A:
   3474     RECOMP_ICALL(0x2B05D5E0u); /* 0x2B05D90A: call 0x2b05d5e0 */ /* not lifted */
   3475     RECOMP_FLAGS_IN();
   3476 L_2B05D90F:
   3477     edi = POP32_VAL(esp); /* 0x2B05D90F: pop edi */
   3478 L_2B05D910:
   3479     esi = POP32_VAL(esp); /* 0x2B05D910: pop esi */
   3480 L_2B05D911:
   3481     ebx = POP32_VAL(esp); /* 0x2B05D911: pop ebx */
   3482 L_2B05D912:
   3483     esp = ebp; /* 0x2B05D912: mov esp, ebp */
   3484 L_2B05D914:
   3485     ebp = POP32_VAL(esp); /* 0x2B05D914: pop ebp */
   3486 L_2B05D915:
   3487     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05D915: ret 4 */
   3488   _ljump:
   3489     switch (_itail_tgt) {
   3490       case 0x2B05D7B0u: goto L_2B05D7B0;
   3491       case 0x2B05D7B1u: goto L_2B05D7B1;
   3492       case 0x2B05D7B3u: goto L_2B05D7B3;
   3493       case 0x2B05D7B9u: goto L_2B05D7B9;
   3494       case 0x2B05D7BCu: goto L_2B05D7BC;
   3495       case 0x2B05D7BEu: goto L_2B05D7BE;
   3496       case 0x2B05D7BFu: goto L_2B05D7BF;
   3497       case 0x2B05D7C0u: goto L_2B05D7C0;
   3498       case 0x2B05D7C1u: goto L_2B05D7C1;
   3499       case 0x2B05D7C4u: goto L_2B05D7C4;
   3500       case 0x2B05D7CAu: goto L_2B05D7CA;
   3501       case 0x2B05D7CDu: goto L_2B05D7CD;
   3502       case 0x2B05D7D0u: goto L_2B05D7D0;
   3503       case 0x2B05D7D3u: goto L_2B05D7D3;
   3504       case 0x2B05D7D5u: goto L_2B05D7D5;
   3505       case 0x2B05D7D7u: goto L_2B05D7D7;
   3506       case 0x2B05D7DDu: goto L_2B05D7DD;
   3507       case 0x2B05D7DFu: goto L_2B05D7DF;
   3508       case 0x2B05D7E5u: goto L_2B05D7E5;
   3509       case 0x2B05D7E8u: goto L_2B05D7E8;
   3510       case 0x2B05D7EEu: goto L_2B05D7EE;
   3511       case 0x2B05D7F1u: goto L_2B05D7F1;
   3512       case 0x2B05D7F4u: goto L_2B05D7F4;
   3513       case 0x2B05D7F6u: goto L_2B05D7F6;
   3514       case 0x2B05D7F8u: goto L_2B05D7F8;
   3515       case 0x2B05D7FEu: goto L_2B05D7FE;
   3516       case 0x2B05D805u: goto L_2B05D805;
   3517       case 0x2B05D806u: goto L_2B05D806;
   3518       case 0x2B05D80Cu: goto L_2B05D80C;
   3519       case 0x2B05D80Eu: goto L_2B05D80E;
   3520       case 0x2B05D814u: goto L_2B05D814;
   3521       case 0x2B05D815u: goto L_2B05D815;
   3522       case 0x2B05D81Bu: goto L_2B05D81B;
   3523       case 0x2B05D820u: goto L_2B05D820;
   3524       case 0x2B05D821u: goto L_2B05D821;
   3525       case 0x2B05D827u: goto L_2B05D827;
   3526       case 0x2B05D82Au: goto L_2B05D82A;
   3527       case 0x2B05D82Du: goto L_2B05D82D;
   3528       case 0x2B05D82Fu: goto L_2B05D82F;
   3529       case 0x2B05D835u: goto L_2B05D835;
   3530       case 0x2B05D837u: goto L_2B05D837;
   3531       case 0x2B05D839u: goto L_2B05D839;
   3532       case 0x2B05D83Au: goto L_2B05D83A;
   3533       case 0x2B05D840u: goto L_2B05D840;
   3534       case 0x2B05D841u: goto L_2B05D841;
   3535       case 0x2B05D843u: goto L_2B05D843;
   3536       case 0x2B05D845u: goto L_2B05D845;
   3537       case 0x2B05D84Bu: goto L_2B05D84B;
   3538       case 0x2B05D84Du: goto L_2B05D84D;
   3539       case 0x2B05D853u: goto L_2B05D853;
   3540       case 0x2B05D854u: goto L_2B05D854;
   3541       case 0x2B05D855u: goto L_2B05D855;
   3542       case 0x2B05D856u: goto L_2B05D856;
   3543       case 0x2B05D858u: goto L_2B05D858;
   3544       case 0x2B05D859u: goto L_2B05D859;
   3545       case 0x2B05D85Cu: goto L_2B05D85C;
   3546       case 0x2B05D863u: goto L_2B05D863;
   3547       case 0x2B05D865u: goto L_2B05D865;
   3548       case 0x2B05D868u: goto L_2B05D868;
   3549       case 0x2B05D86Eu: goto L_2B05D86E;
   3550       case 0x2B05D86Fu: goto L_2B05D86F;
   3551       case 0x2B05D870u: goto L_2B05D870;
   3552       case 0x2B05D876u: goto L_2B05D876;
   3553       case 0x2B05D878u: goto L_2B05D878;
   3554       case 0x2B05D87Eu: goto L_2B05D87E;
   3555       case 0x2B05D884u: goto L_2B05D884;
   3556       case 0x2B05D886u: goto L_2B05D886;
   3557       case 0x2B05D888u: goto L_2B05D888;
   3558       case 0x2B05D88Au: goto L_2B05D88A;
   3559       case 0x2B05D890u: goto L_2B05D890;
   3560       case 0x2B05D891u: goto L_2B05D891;
   3561       case 0x2B05D892u: goto L_2B05D892;
   3562       case 0x2B05D898u: goto L_2B05D898;
   3563       case 0x2B05D89Au: goto L_2B05D89A;
   3564       case 0x2B05D8A0u: goto L_2B05D8A0;
   3565       case 0x2B05D8A6u: goto L_2B05D8A6;
   3566       case 0x2B05D8A9u: goto L_2B05D8A9;
   3567       case 0x2B05D8AAu: goto L_2B05D8AA;
   3568       case 0x2B05D8ABu: goto L_2B05D8AB;
   3569       case 0x2B05D8ADu: goto L_2B05D8AD;
   3570       case 0x2B05D8B2u: goto L_2B05D8B2;
   3571       case 0x2B05D8B4u: goto L_2B05D8B4;
   3572       case 0x2B05D8B9u: goto L_2B05D8B9;
   3573       case 0x2B05D8BBu: goto L_2B05D8BB;
   3574       case 0x2B05D8C0u: goto L_2B05D8C0;
   3575       case 0x2B05D8C2u: goto L_2B05D8C2;
   3576       case 0x2B05D8C7u: goto L_2B05D8C7;
   3577       case 0x2B05D8CDu: goto L_2B05D8CD;
   3578       case 0x2B05D8CFu: goto L_2B05D8CF;
   3579       case 0x2B05D8D1u: goto L_2B05D8D1;
   3580       case 0x2B05D8D3u: goto L_2B05D8D3;
   3581       case 0x2B05D8D9u: goto L_2B05D8D9;
   3582       case 0x2B05D8DAu: goto L_2B05D8DA;
   3583       case 0x2B05D8E1u: goto L_2B05D8E1;
   3584       case 0x2B05D8E3u: goto L_2B05D8E3;
   3585       case 0x2B05D8EAu: goto L_2B05D8EA;
   3586       case 0x2B05D8ECu: goto L_2B05D8EC;
   3587       case 0x2B05D8F3u: goto L_2B05D8F3;
   3588       case 0x2B05D8F5u: goto L_2B05D8F5;
   3589       case 0x2B05D8F8u: goto L_2B05D8F8;
   3590       case 0x2B05D8FAu: goto L_2B05D8FA;
   3591       case 0x2B05D8FCu: goto L_2B05D8FC;
   3592       case 0x2B05D8FFu: goto L_2B05D8FF;
   3593       case 0x2B05D902u: goto L_2B05D902;
   3594       case 0x2B05D903u: goto L_2B05D903;
   3595       case 0x2B05D905u: goto L_2B05D905;
   3596       case 0x2B05D907u: goto L_2B05D907;
   3597       case 0x2B05D908u: goto L_2B05D908;
   3598       case 0x2B05D90Au: goto L_2B05D90A;
   3599       case 0x2B05D90Fu: goto L_2B05D90F;
   3600       case 0x2B05D910u: goto L_2B05D910;
   3601       case 0x2B05D911u: goto L_2B05D911;
   3602       case 0x2B05D912u: goto L_2B05D912;
   3603       case 0x2B05D914u: goto L_2B05D914;
   3604       case 0x2B05D915u: goto L_2B05D915;
   3605       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3606     }
   3607     RECOMP_REGS_OUT();
   3608 }
   3609 
   3610 void sub_2B05D990(void) {
   3611     int _fpu_cmp = 0;
   3612     uint32_t _cf = 0;
   3613     int _df = 1;
   3614     uint32_t _flag_k = FK_NONE;
   3615     uint32_t _flag_a = 0, _flag_b = 0;
   3616     uint32_t _itail_tgt = 0;
   3617     RECOMP_REGS_LOCALS
   3618     RECOMP_ENTER(0x2B05D990u);
   3619 
   3620 L_2B05D990:
   3621     PUSH32(esp, ebp); /* 0x2B05D990: push ebp */
   3622     ebp = esp; /* 0x2B05D991: mov ebp, esp */
   3623     eax = MEM32(0x2B0E8FF8); /* 0x2B05D993: mov eax, dword ptr [0x2b0e8ff8] */
   3624     /* test eax, eax */ /* 0x2B05D998: test eax, eax */
   3625     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3626     _cf = 0;
   3627     _flag_k = FK_TEST;
   3628     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D9DF; /* 0x2B05D99A: je 0x2b05d9df */
   3629 L_2B05D99C:
   3630     PUSH32(esp, ebx); /* 0x2B05D99C: push ebx */
   3631     ebx = MEM32(0x2B0B5B64); /* 0x2B05D99D: mov ebx, dword ptr [0x2b0b5b64] */
   3632     PUSH32(esp, esi); /* 0x2B05D9A3: push esi */
   3633     eax = 0x2B0E8FF8u; /* 0x2B05D9A4: mov eax, 0x2b0e8ff8 */
   3634     PUSH32(esp, edi); /* 0x2B05D9A9: push edi */
   3635     edi = MEM32(0x2B0B56E0); /* 0x2B05D9AA: mov edi, dword ptr [0x2b0b56e0] */
   3636     esi = eax; /* 0x2B05D9B0: mov esi, eax */
   3637 L_2B05D9B2:
   3638     ecx = MEM32(ebp + 0x8); /* 0x2B05D9B2: mov ecx, dword ptr [ebp + 8] */
   3639     /* cmp MEM32(eax), ecx */ /* 0x2B05D9B5: cmp dword ptr [eax], ecx */
   3640     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(ecx);
   3641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3642     _flag_k = FK_CMP;
   3643     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05D9D0; /* 0x2B05D9B7: je 0x2b05d9d0 */
   3644 L_2B05D9B9:
   3645     eax = MEM32(esi + 0x18); /* 0x2B05D9B9: mov eax, dword ptr [esi + 0x18] */
   3646     /* test eax, eax */ /* 0x2B05D9BC: test eax, eax */
   3647     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3648     _cf = 0;
   3649     _flag_k = FK_TEST;
   3650     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D9D0; /* 0x2B05D9BE: je 0x2b05d9d0 */
   3651 L_2B05D9C0:
   3652     /* cmp eax, MEM32(ebp + 0xC) */ /* 0x2B05D9C0: cmp eax, dword ptr [ebp + 0xc] */
   3653     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0xC));
   3654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3655     _flag_k = FK_CMP;
   3656     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05D9D0; /* 0x2B05D9C3: jne 0x2b05d9d0 */
   3657 L_2B05D9C5:
   3658     edx = MEM32(esi); /* 0x2B05D9C5: mov edx, dword ptr [esi] */
   3659     PUSH32(esp, 0); /* 0x2B05D9C7: push 0 */
   3660     PUSH32(esp, edx); /* 0x2B05D9C9: push edx */
   3661     RECOMP_ICALL(ebx); /* 0x2B05D9CA: call ebx */
   3662     RECOMP_FLAGS_IN();
   3663     ecx = eax; /* 0x2B05D9CC: mov ecx, eax */
   3664     RECOMP_ICALL(edi); /* 0x2B05D9CE: call edi */
   3665     RECOMP_FLAGS_IN();
   3666 L_2B05D9D0:
   3667     ecx = MEM32(esi + 0x1C); /* 0x2B05D9D0: mov ecx, dword ptr [esi + 0x1c] */
   3668     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x1Cu);
   3669     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3670     esi = esi + 0x1Cu; /* 0x2B05D9D3: add esi, 0x1c */
   3671     _flag_k = FK_ADD;
   3672     /* test ecx, ecx */ /* 0x2B05D9D6: test ecx, ecx */
   3673     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3674     _cf = 0;
   3675     _flag_k = FK_TEST;
   3676     eax = esi; /* 0x2B05D9D8: mov eax, esi */
   3677     RECOMP_BACKEDGE();
   3678     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D9B2; /* 0x2B05D9DA: jne 0x2b05d9b2 */
   3679 L_2B05D9DC:
   3680     edi = POP32_VAL(esp); /* 0x2B05D9DC: pop edi */
   3681     esi = POP32_VAL(esp); /* 0x2B05D9DD: pop esi */
   3682     ebx = POP32_VAL(esp); /* 0x2B05D9DE: pop ebx */
   3683 L_2B05D9DF:
   3684     ebp = POP32_VAL(esp); /* 0x2B05D9DF: pop ebp */
   3685     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B05D9E0: ret 8 */
   3686     RECOMP_REGS_OUT();
   3687 }
   3688 
   3689 void sub_2B05D9F0(void) {
   3690     int _fpu_cmp = 0;
   3691     uint32_t _cf = 0;
   3692     int _df = 1;
   3693     uint32_t _flag_k = FK_NONE;
   3694     uint32_t _flag_a = 0, _flag_b = 0;
   3695     uint32_t _itail_tgt = 0;
   3696     RECOMP_REGS_LOCALS
   3697     RECOMP_ENTER(0x2B05D9F0u);
   3698 
   3699 L_2B05D9F0:
   3700     PUSH32(esp, ebp); /* 0x2B05D9F0: push ebp */
   3701     ebp = esp; /* 0x2B05D9F1: mov ebp, esp */
   3702     PUSH32(esp, esi); /* 0x2B05D9F3: push esi */
   3703     esi = MEM32(ebp + 0xC); /* 0x2B05D9F4: mov esi, dword ptr [ebp + 0xc] */
   3704     eax = MEM32(esi + 0x3C); /* 0x2B05D9F7: mov eax, dword ptr [esi + 0x3c] */
   3705     ecx = MEM32(eax); /* 0x2B05D9FA: mov ecx, dword ptr [eax] */
   3706     RECOMP_ICALL(MEM32(0x2B0B5840)); /* 0x2B05D9FC: call dword ptr [0x2b0b5840] */
   3707     RECOMP_FLAGS_IN();
   3708     ecx = esi; /* 0x2B05DA02: mov ecx, esi */
   3709     MEM32(esi + 0x30) = eax; /* 0x2B05DA04: mov dword ptr [esi + 0x30], eax */
   3710     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05DA07: call 0x2b03a2b0 */ /* not lifted */
   3711     RECOMP_FLAGS_IN();
   3712     esi = POP32_VAL(esp); /* 0x2B05DA0C: pop esi */
   3713     ebp = POP32_VAL(esp); /* 0x2B05DA0D: pop ebp */
   3714     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DA0E: ret  */
   3715     RECOMP_REGS_OUT();
   3716 }
   3717 
   3718 void sub_2B05DA10(void) {
   3719     int _fpu_cmp = 0;
   3720     uint32_t _cf = 0;
   3721     int _df = 1;
   3722     uint32_t _flag_k = FK_NONE;
   3723     uint32_t _flag_a = 0, _flag_b = 0;
   3724     uint32_t _itail_tgt = 0;
   3725     RECOMP_REGS_LOCALS
   3726     RECOMP_ENTER(0x2B05DA10u);
   3727 
   3728 L_2B05DA10:
   3729     MEM32(0x2B0EEC2C) = 0; /* 0x2B05DA10: mov dword ptr [0x2b0eec2c], 0 */
   3730     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DA1A: ret  */
   3731     RECOMP_REGS_OUT();
   3732 }
   3733 
   3734 void sub_2B05DA20(void) {
   3735     int _fpu_cmp = 0;
   3736     uint32_t _cf = 0;
   3737     int _df = 1;
   3738     uint32_t _flag_k = FK_NONE;
   3739     uint32_t _flag_a = 0, _flag_b = 0;
   3740     uint32_t _itail_tgt = 0;
   3741     RECOMP_REGS_LOCALS
   3742     RECOMP_ENTER(0x2B05DA20u);
   3743 
   3744 L_2B05DA20:
   3745     PUSH32(esp, ebp); /* 0x2B05DA20: push ebp */
   3746     ebp = esp; /* 0x2B05DA21: mov ebp, esp */
   3747     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05DA23: push -1 */
   3748     PUSH32(esp, 0x2B0B04BBu); /* 0x2B05DA25: push 0x2b0b04bb */
   3749     eax = MEM32(FS_BASE + (0)); /* 0x2B05DA2A: mov eax, dword ptr fs:[0] */
   3750     PUSH32(esp, eax); /* 0x2B05DA30: push eax */
   3751     MEM32(FS_BASE + (0)) = esp; /* 0x2B05DA31: mov dword ptr fs:[0], esp */
   3752     PUSH32(esp, ecx); /* 0x2B05DA38: push ecx */
   3753     eax = MEM32(0x2B0EEC2C); /* 0x2B05DA39: mov eax, dword ptr [0x2b0eec2c] */
   3754     /* test eax, eax */ /* 0x2B05DA3E: test eax, eax */
   3755     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3756     _cf = 0;
   3757     _flag_k = FK_TEST;
   3758     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05DA7B; /* 0x2B05DA40: jne 0x2b05da7b */
   3759 L_2B05DA42:
   3760     PUSH32(esp, 1); /* 0x2B05DA42: push 1 */
   3761     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DA44: call 0x2b0ab212 */ /* not lifted */
   3762     RECOMP_FLAGS_IN();
   3763     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3764     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3765     esp = esp + 4; /* 0x2B05DA49: add esp, 4 */
   3766     _flag_k = FK_ADD;
   3767     MEM32(ebp + (-0x10)) = eax; /* 0x2B05DA4C: mov dword ptr [ebp - 0x10], eax */
   3768     /* test eax, eax */ /* 0x2B05DA4F: test eax, eax */
   3769     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3770     _cf = 0;
   3771     _flag_k = FK_TEST;
   3772     MEM32(ebp + (-0x4)) = 0; /* 0x2B05DA51: mov dword ptr [ebp - 4], 0 */
   3773     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DA74; /* 0x2B05DA58: je 0x2b05da74 */
   3774 L_2B05DA5A:
   3775     ecx = eax; /* 0x2B05DA5A: mov ecx, eax */
   3776     RECOMP_ICALL(0x2B05DAA0u); /* 0x2B05DA5C: call 0x2b05daa0 */ /* not lifted */
   3777     RECOMP_FLAGS_IN();
   3778     MEM32(0x2B0EEC2C) = eax; /* 0x2B05DA61: mov dword ptr [0x2b0eec2c], eax */
   3779     ecx = MEM32(ebp + (-0xC)); /* 0x2B05DA66: mov ecx, dword ptr [ebp - 0xc] */
   3780     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05DA69: mov dword ptr fs:[0], ecx */
   3781     esp = ebp; /* 0x2B05DA70: mov esp, ebp */
   3782     ebp = POP32_VAL(esp); /* 0x2B05DA72: pop ebp */
   3783     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DA73: ret  */
   3784 L_2B05DA74:
   3785     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3786     eax = 0; /* 0x2B05DA74: xor eax, eax */
   3787     _cf = 0;
   3788     _flag_k = FK_TEST;
   3789     MEM32(0x2B0EEC2C) = eax; /* 0x2B05DA76: mov dword ptr [0x2b0eec2c], eax */
   3790 L_2B05DA7B:
   3791     ecx = MEM32(ebp + (-0xC)); /* 0x2B05DA7B: mov ecx, dword ptr [ebp - 0xc] */
   3792     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05DA7E: mov dword ptr fs:[0], ecx */
   3793     esp = ebp; /* 0x2B05DA85: mov esp, ebp */
   3794     ebp = POP32_VAL(esp); /* 0x2B05DA87: pop ebp */
   3795     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DA88: ret  */
   3796     RECOMP_REGS_OUT();
   3797 }
   3798 
   3799 void sub_2B05DA90(void) {
   3800     int _fpu_cmp = 0;
   3801     uint32_t _cf = 0;
   3802     int _df = 1;
   3803     uint32_t _flag_k = FK_NONE;
   3804     uint32_t _flag_a = 0, _flag_b = 0;
   3805     uint32_t _itail_tgt = 0;
   3806     RECOMP_REGS_LOCALS
   3807     RECOMP_ENTER(0x2B05DA90u);
   3808 
   3809 L_2B05DA90:
   3810     eax = MEM32(0x2B0EEC2C); /* 0x2B05DA90: mov eax, dword ptr [0x2b0eec2c] */
   3811     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DA95: ret  */
   3812     RECOMP_REGS_OUT();
   3813 }
   3814 
   3815 void sub_2B05DAA0(void) {
   3816     int _fpu_cmp = 0;
   3817     uint32_t _cf = 0;
   3818     int _df = 1;
   3819     uint32_t _flag_k = FK_NONE;
   3820     uint32_t _flag_a = 0, _flag_b = 0;
   3821     uint32_t _itail_tgt = 0;
   3822     RECOMP_REGS_LOCALS
   3823     RECOMP_ENTER(0x2B05DAA0u);
   3824 
   3825 L_2B05DAA0:
   3826     PUSH32(esp, ebx); /* 0x2B05DAA0: push ebx */
   3827     PUSH32(esp, esi); /* 0x2B05DAA1: push esi */
   3828     esi = MEM32(0x2B0B53CC); /* 0x2B05DAA2: mov esi, dword ptr [0x2b0b53cc] */
   3829     PUSH32(esp, edi); /* 0x2B05DAA8: push edi */
   3830     ebx = ecx; /* 0x2B05DAA9: mov ebx, ecx */
   3831     RECOMP_ICALL(esi); /* 0x2B05DAAB: call esi */
   3832     RECOMP_FLAGS_IN();
   3833     ecx = eax; /* 0x2B05DAAD: mov ecx, eax */
   3834     RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B05DAAF: call dword ptr [0x2b0b5374] */
   3835     RECOMP_FLAGS_IN();
   3836     PUSH32(esp, 0); /* 0x2B05DAB5: push 0 */
   3837     PUSH32(esp, 0x3Au); /* 0x2B05DAB7: push 0x3a */
   3838     PUSH32(esp, 1); /* 0x2B05DAB9: push 1 */
   3839     RECOMP_ICALL(esi); /* 0x2B05DABB: call esi */
   3840     RECOMP_FLAGS_IN();
   3841     ecx = eax; /* 0x2B05DABD: mov ecx, eax */
   3842     RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B05DABF: call dword ptr [0x2b0b5378] */
   3843     RECOMP_FLAGS_IN();
   3844     PUSH32(esp, 0x2B05DB90u); /* 0x2B05DAC5: push 0x2b05db90 */
   3845     RECOMP_ICALL(esi); /* 0x2B05DACA: call esi */
   3846     RECOMP_FLAGS_IN();
   3847     ecx = eax; /* 0x2B05DACC: mov ecx, eax */
   3848     RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B05DACE: call dword ptr [0x2b0b537c] */
   3849     RECOMP_FLAGS_IN();
   3850     PUSH32(esp, 0x2B05DB10u); /* 0x2B05DAD4: push 0x2b05db10 */
   3851     PUSH32(esp, 5); /* 0x2B05DAD9: push 5 */
   3852     RECOMP_ICALL(esi); /* 0x2B05DADB: call esi */
   3853     RECOMP_FLAGS_IN();
   3854     edi = MEM32(0x2B0B5324); /* 0x2B05DADD: mov edi, dword ptr [0x2b0b5324] */
   3855     ecx = eax; /* 0x2B05DAE3: mov ecx, eax */
   3856     RECOMP_ICALL(edi); /* 0x2B05DAE5: call edi */
   3857     RECOMP_FLAGS_IN();
   3858     PUSH32(esp, 0x2B05DB70u); /* 0x2B05DAE7: push 0x2b05db70 */
   3859     PUSH32(esp, 6); /* 0x2B05DAEC: push 6 */
   3860     RECOMP_ICALL(esi); /* 0x2B05DAEE: call esi */
   3861     RECOMP_FLAGS_IN();
   3862     ecx = eax; /* 0x2B05DAF0: mov ecx, eax */
   3863     RECOMP_ICALL(edi); /* 0x2B05DAF2: call edi */
   3864     RECOMP_FLAGS_IN();
   3865     PUSH32(esp, 0x2B05DBA0u); /* 0x2B05DAF4: push 0x2b05dba0 */
   3866     PUSH32(esp, 0x17Fu); /* 0x2B05DAF9: push 0x17f */
   3867     RECOMP_ICALL(esi); /* 0x2B05DAFE: call esi */
   3868     RECOMP_FLAGS_IN();
   3869     ecx = eax; /* 0x2B05DB00: mov ecx, eax */
   3870     RECOMP_ICALL(edi); /* 0x2B05DB02: call edi */
   3871     RECOMP_FLAGS_IN();
   3872     edi = POP32_VAL(esp); /* 0x2B05DB04: pop edi */
   3873     esi = POP32_VAL(esp); /* 0x2B05DB05: pop esi */
   3874     eax = ebx; /* 0x2B05DB06: mov eax, ebx */
   3875     ebx = POP32_VAL(esp); /* 0x2B05DB08: pop ebx */
   3876     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DB09: ret  */
   3877     RECOMP_REGS_OUT();
   3878 }
   3879 
   3880 void sub_2B05DB10(void) {
   3881     int _fpu_cmp = 0;
   3882     uint32_t _cf = 0;
   3883     int _df = 1;
   3884     uint32_t _flag_k = FK_NONE;
   3885     uint32_t _flag_a = 0, _flag_b = 0;
   3886     uint32_t _itail_tgt = 0;
   3887     RECOMP_REGS_LOCALS
   3888     RECOMP_ENTER(0x2B05DB10u);
   3889 
   3890 L_2B05DB10:
   3891     PUSH32(esp, ebp); /* 0x2B05DB10: push ebp */
   3892     ebp = esp; /* 0x2B05DB11: mov ebp, esp */
   3893     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05DB13: push -1 */
   3894     PUSH32(esp, 0x2B0B04DBu); /* 0x2B05DB15: push 0x2b0b04db */
   3895     eax = MEM32(FS_BASE + (0)); /* 0x2B05DB1A: mov eax, dword ptr fs:[0] */
   3896     PUSH32(esp, eax); /* 0x2B05DB20: push eax */
   3897     MEM32(FS_BASE + (0)) = esp; /* 0x2B05DB21: mov dword ptr fs:[0], esp */
   3898     PUSH32(esp, ecx); /* 0x2B05DB28: push ecx */
   3899     PUSH32(esp, 0x54u); /* 0x2B05DB29: push 0x54 */
   3900     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DB2B: call 0x2b0ab212 */ /* not lifted */
   3901     RECOMP_FLAGS_IN();
   3902     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3903     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3904     esp = esp + 4; /* 0x2B05DB30: add esp, 4 */
   3905     _flag_k = FK_ADD;
   3906     MEM32(ebp + (-0x10)) = eax; /* 0x2B05DB33: mov dword ptr [ebp - 0x10], eax */
   3907     /* test eax, eax */ /* 0x2B05DB36: test eax, eax */
   3908     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3909     _cf = 0;
   3910     _flag_k = FK_TEST;
   3911     MEM32(ebp + (-0x4)) = 0; /* 0x2B05DB38: mov dword ptr [ebp - 4], 0 */
   3912     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DB5B; /* 0x2B05DB3F: je 0x2b05db5b */
   3913 L_2B05DB41:
   3914     ecx = eax; /* 0x2B05DB41: mov ecx, eax */
   3915     RECOMP_ICALL(0x2B05CBF0u); /* 0x2B05DB43: call 0x2b05cbf0 */ /* not lifted */
   3916     RECOMP_FLAGS_IN();
   3917     MEM32(0x2B0EEC30) = eax; /* 0x2B05DB48: mov dword ptr [0x2b0eec30], eax */
   3918     ecx = MEM32(ebp + (-0xC)); /* 0x2B05DB4D: mov ecx, dword ptr [ebp - 0xc] */
   3919     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05DB50: mov dword ptr fs:[0], ecx */
   3920     esp = ebp; /* 0x2B05DB57: mov esp, ebp */
   3921     ebp = POP32_VAL(esp); /* 0x2B05DB59: pop ebp */
   3922     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DB5A: ret  */
   3923 L_2B05DB5B:
   3924     ecx = MEM32(ebp + (-0xC)); /* 0x2B05DB5B: mov ecx, dword ptr [ebp - 0xc] */
   3925     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3926     eax = 0; /* 0x2B05DB5E: xor eax, eax */
   3927     _cf = 0;
   3928     _flag_k = FK_TEST;
   3929     MEM32(0x2B0EEC30) = eax; /* 0x2B05DB60: mov dword ptr [0x2b0eec30], eax */
   3930     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05DB65: mov dword ptr fs:[0], ecx */
   3931     esp = ebp; /* 0x2B05DB6C: mov esp, ebp */
   3932     ebp = POP32_VAL(esp); /* 0x2B05DB6E: pop ebp */
   3933     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DB6F: ret  */
   3934     RECOMP_REGS_OUT();
   3935 }
   3936 
   3937 void sub_2B05DB70(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(0x2B05DB70u);
   3946 
   3947 L_2B05DB70:
   3948     ecx = MEM32(0x2B0EEC30); /* 0x2B05DB70: mov ecx, dword ptr [0x2b0eec30] */
   3949     /* test ecx, ecx */ /* 0x2B05DB76: test ecx, ecx */
   3950     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3951     _cf = 0;
   3952     _flag_k = FK_TEST;
   3953     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DB80; /* 0x2B05DB78: je 0x2b05db80 */
   3954 L_2B05DB7A:
   3955     eax = MEM32(ecx); /* 0x2B05DB7A: mov eax, dword ptr [ecx] */
   3956     PUSH32(esp, 1); /* 0x2B05DB7C: push 1 */
   3957     RECOMP_ICALL(MEM32(eax)); /* 0x2B05DB7E: call dword ptr [eax] */
   3958     RECOMP_FLAGS_IN();
   3959 L_2B05DB80:
   3960     MEM32(0x2B0EEC30) = 0; /* 0x2B05DB80: mov dword ptr [0x2b0eec30], 0 */
   3961     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DB8A: ret  */
   3962     RECOMP_REGS_OUT();
   3963 }
   3964 
   3965 void sub_2B05DB90(void) {
   3966     int _fpu_cmp = 0;
   3967     uint32_t _cf = 0;
   3968     int _df = 1;
   3969     uint32_t _flag_k = FK_NONE;
   3970     uint32_t _flag_a = 0, _flag_b = 0;
   3971     uint32_t _itail_tgt = 0;
   3972     RECOMP_REGS_LOCALS
   3973     RECOMP_ENTER(0x2B05DB90u);
   3974 
   3975     goto L_2B05DB90;
   3976 L_2B05D740:
   3977     PUSH32(esp, esi); /* 0x2B05D740: push esi */
   3978     esi = ecx; /* 0x2B05D741: mov esi, ecx */
   3979     SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B05D743: mov al, byte ptr [esi + 0xc] */
   3980     /* test LO8(eax), LO8(eax) */ /* 0x2B05D746: test al, al */
   3981     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3982     _cf = 0;
   3983     _flag_k = FK_NARROW(FK_TEST, 24);
   3984     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D776; /* 0x2B05D748: je 0x2b05d776 */
   3985 L_2B05D74A:
   3986     SET_LO8(eax, MEM8(esi + 0x48)); /* 0x2B05D74A: mov al, byte ptr [esi + 0x48] */
   3987     /* test LO8(eax), LO8(eax) */ /* 0x2B05D74D: test al, al */
   3988     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3989     _cf = 0;
   3990     _flag_k = FK_NARROW(FK_TEST, 24);
   3991     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D759; /* 0x2B05D74F: jne 0x2b05d759 */
   3992 L_2B05D751:
   3993     ecx = MEM32(esi + 0x44); /* 0x2B05D751: mov ecx, dword ptr [esi + 0x44] */
   3994     eax = MEM32(ecx); /* 0x2B05D754: mov eax, dword ptr [ecx] */
   3995     RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B05D756: call dword ptr [eax + 0xc] */
   3996     RECOMP_FLAGS_IN();
   3997 L_2B05D759:
   3998     SET_LO8(eax, MEM8(esi + 0x51)); /* 0x2B05D759: mov al, byte ptr [esi + 0x51] */
   3999     /* test LO8(eax), LO8(eax) */ /* 0x2B05D75C: test al, al */
   4000     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4001     _cf = 0;
   4002     _flag_k = FK_NARROW(FK_TEST, 24);
   4003     MEM8(esi + 0x48) = (uint8_t)(0); /* 0x2B05D75E: mov byte ptr [esi + 0x48], 0 */
   4004     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05D772; /* 0x2B05D762: jne 0x2b05d772 */
   4005 L_2B05D764:
   4006     SET_LO8(eax, MEM8(esi + 0x50)); /* 0x2B05D764: mov al, byte ptr [esi + 0x50] */
   4007     /* test LO8(eax), LO8(eax) */ /* 0x2B05D767: test al, al */
   4008     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4009     _cf = 0;
   4010     _flag_k = FK_NARROW(FK_TEST, 24);
   4011     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05D772; /* 0x2B05D769: je 0x2b05d772 */
   4012 L_2B05D76B:
   4013     ecx = esi; /* 0x2B05D76B: mov ecx, esi */
   4014     RECOMP_ICALL(0x2B05D780u); /* 0x2B05D76D: call 0x2b05d780 */ /* not lifted */
   4015     RECOMP_FLAGS_IN();
   4016 L_2B05D772:
   4017     MEM8(esi + 0x51) = (uint8_t)(0); /* 0x2B05D772: mov byte ptr [esi + 0x51], 0 */
   4018 L_2B05D776:
   4019     esi = POP32_VAL(esp); /* 0x2B05D776: pop esi */
   4020     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05D777: ret  */
   4021 L_2B05DB90:
   4022     ecx = MEM32(0x2B0EEC30); /* 0x2B05DB90: mov ecx, dword ptr [0x2b0eec30] */
   4023     RECOMP_BACKEDGE();
   4024     goto L_2B05D740; /* 0x2B05DB96: jmp 0x2b05d740 */
   4025     { RECOMP_REGS_OUT(); return; } /* end of function */
   4026     RECOMP_REGS_OUT();
   4027 }
   4028 
   4029 void sub_2B05DBA0(void) {
   4030     int _fpu_cmp = 0;
   4031     uint32_t _cf = 0;
   4032     int _df = 1;
   4033     uint32_t _flag_k = FK_NONE;
   4034     uint32_t _flag_a = 0, _flag_b = 0;
   4035     uint32_t _itail_tgt = 0;
   4036     RECOMP_REGS_LOCALS
   4037     RECOMP_ENTER(0x2B05DBA0u);
   4038 
   4039 L_2B05DBA0:
   4040     PUSH32(esp, ebp); /* 0x2B05DBA0: push ebp */
   4041     ebp = esp; /* 0x2B05DBA1: mov ebp, esp */
   4042     PUSH32(esp, ecx); /* 0x2B05DBA3: push ecx */
   4043     eax = ebp + (-0x4); /* 0x2B05DBA4: lea eax, [ebp - 4] */
   4044     PUSH32(esp, eax); /* 0x2B05DBA7: push eax */
   4045     RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B05DBA8: call dword ptr [0x2b0b53cc] */
   4046     RECOMP_FLAGS_IN();
   4047     ecx = eax; /* 0x2B05DBAE: mov ecx, eax */
   4048     RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B05DBB0: call dword ptr [0x2b0b53a8] */
   4049     RECOMP_FLAGS_IN();
   4050     ecx = MEM32(0x2B0EEC30); /* 0x2B05DBB6: mov ecx, dword ptr [0x2b0eec30] */
   4051     /* test ecx, ecx */ /* 0x2B05DBBC: test ecx, ecx */
   4052     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4053     _cf = 0;
   4054     _flag_k = FK_TEST;
   4055     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DBC9; /* 0x2B05DBBE: je 0x2b05dbc9 */
   4056 L_2B05DBC0:
   4057     edx = MEM32(ebp + (-0x4)); /* 0x2B05DBC0: mov edx, dword ptr [ebp - 4] */
   4058     PUSH32(esp, edx); /* 0x2B05DBC3: push edx */
   4059     RECOMP_ICALL(0x2B05D7B0u); /* 0x2B05DBC4: call 0x2b05d7b0 */ /* not lifted */
   4060     RECOMP_FLAGS_IN();
   4061 L_2B05DBC9:
   4062     esp = ebp; /* 0x2B05DBC9: mov esp, ebp */
   4063     ebp = POP32_VAL(esp); /* 0x2B05DBCB: pop ebp */
   4064     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DBCC: ret  */
   4065     RECOMP_REGS_OUT();
   4066 }
   4067 
   4068 void sub_2B05DBD0(void) {
   4069     int _fpu_cmp = 0;
   4070     uint32_t _cf = 0;
   4071     int _df = 1;
   4072     uint32_t _flag_k = FK_NONE;
   4073     uint32_t _flag_a = 0, _flag_b = 0;
   4074     uint32_t _itail_tgt = 0;
   4075     RECOMP_REGS_LOCALS
   4076     RECOMP_ENTER(0x2B05DBD0u);
   4077 
   4078 L_2B05DBD0:
   4079     PUSH32(esp, ebp); /* 0x2B05DBD0: push ebp */
   4080     ebp = esp; /* 0x2B05DBD1: mov ebp, esp */
   4081     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05DBD3: push -1 */
   4082     PUSH32(esp, 0x2B0B0550u); /* 0x2B05DBD5: push 0x2b0b0550 */
   4083     eax = MEM32(FS_BASE + (0)); /* 0x2B05DBDA: mov eax, dword ptr fs:[0] */
   4084     PUSH32(esp, eax); /* 0x2B05DBE0: push eax */
   4085     MEM32(FS_BASE + (0)) = esp; /* 0x2B05DBE1: mov dword ptr fs:[0], esp */
   4086     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4087     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4088     esp = esp - 0x10u; /* 0x2B05DBE8: sub esp, 0x10 */
   4089     _flag_k = FK_CMP;
   4090     PUSH32(esp, ebx); /* 0x2B05DBEB: push ebx */
   4091     PUSH32(esp, esi); /* 0x2B05DBEC: push esi */
   4092     esi = ecx; /* 0x2B05DBED: mov esi, ecx */
   4093     PUSH32(esp, edi); /* 0x2B05DBEF: push edi */
   4094     MEM32(ebp + (-0x10)) = esi; /* 0x2B05DBF0: mov dword ptr [ebp - 0x10], esi */
   4095     RECOMP_ICALL(0x2B03A220u); /* 0x2B05DBF3: call 0x2b03a220 */ /* not lifted */
   4096     RECOMP_FLAGS_IN();
   4097     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4098     ebx = 0; /* 0x2B05DBF8: xor ebx, ebx */
   4099     _cf = 0;
   4100     _flag_k = FK_TEST;
   4101     PUSH32(esp, 0x38u); /* 0x2B05DBFA: push 0x38 */
   4102     MEM32(ebp + (-0x4)) = ebx; /* 0x2B05DBFC: mov dword ptr [ebp - 4], ebx */
   4103     MEM32(esi) = 0x2B0B6CACu; /* 0x2B05DBFF: mov dword ptr [esi], 0x2b0b6cac */
   4104     MEM32(ebp + (-0x1C)) = ebx; /* 0x2B05DC05: mov dword ptr [ebp - 0x1c], ebx */
   4105     MEM32(ebp + (-0x18)) = ebx; /* 0x2B05DC08: mov dword ptr [ebp - 0x18], ebx */
   4106     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DC0B: call 0x2b0ab212 */ /* not lifted */
   4107     RECOMP_FLAGS_IN();
   4108     edi = eax; /* 0x2B05DC10: mov edi, eax */
   4109     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4110     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4111     esp = esp + 4; /* 0x2B05DC12: add esp, 4 */
   4112     _flag_k = FK_ADD;
   4113     MEM32(ebp + (-0x14)) = edi; /* 0x2B05DC15: mov dword ptr [ebp - 0x14], edi */
   4114     /* cmp edi, ebx */ /* 0x2B05DC18: cmp edi, ebx */
   4115     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   4116     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4117     _flag_k = FK_CMP;
   4118     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05DC1A: mov byte ptr [ebp - 4], 1 */
   4119     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DC46; /* 0x2B05DC1E: je 0x2b05dc46 */
   4120 L_2B05DC20:
   4121     eax = MEM32(0x2B0EE9DC); /* 0x2B05DC20: mov eax, dword ptr [0x2b0ee9dc] */
   4122     PUSH32(esp, eax); /* 0x2B05DC25: push eax */
   4123     PUSH32(esp, 0xFA2u); /* 0x2B05DC26: push 0xfa2 */
   4124     PUSH32(esp, 0x190u); /* 0x2B05DC2B: push 0x190 */
   4125     ecx = ebp + (-0x1C); /* 0x2B05DC30: lea ecx, [ebp - 0x1c] */
   4126     PUSH32(esp, ecx); /* 0x2B05DC33: push ecx */
   4127     ecx = edi; /* 0x2B05DC34: mov ecx, edi */
   4128     RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B05DC36: call dword ptr [0x2b0b5948] */
   4129     RECOMP_FLAGS_IN();
   4130     MEM32(edi) = 0x2B0B68F4u; /* 0x2B05DC3C: mov dword ptr [edi], 0x2b0b68f4 */
   4131     eax = edi; /* 0x2B05DC42: mov eax, edi */
   4132     goto L_2B05DC48; /* 0x2B05DC44: jmp 0x2b05dc48 */
   4133 L_2B05DC46:
   4134     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4135     eax = 0; /* 0x2B05DC46: xor eax, eax */
   4136     _cf = 0;
   4137     _flag_k = FK_TEST;
   4138 L_2B05DC48:
   4139     /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B05DC48: cmp byte ptr [esi + 0x1c], bl */
   4140     _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4141     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4142     _flag_k = FK_NARROW(FK_CMP, 24);
   4143     MEM32(esi + 0x28) = eax; /* 0x2B05DC4B: mov dword ptr [esi + 0x28], eax */
   4144     eax = MEM32(eax + 0x14); /* 0x2B05DC4E: mov eax, dword ptr [eax + 0x14] */
   4145     eax = MEM32(eax + 0x8); /* 0x2B05DC51: mov eax, dword ptr [eax + 8] */
   4146     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DC54: mov byte ptr [ebp - 4], bl */
   4147     MEM32(esi + 0x20) = eax; /* 0x2B05DC57: mov dword ptr [esi + 0x20], eax */
   4148     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DC64; /* 0x2B05DC5A: je 0x2b05dc64 */
   4149 L_2B05DC5C:
   4150     /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B05DC5C: cmp byte ptr [esi + 0xc], bl */
   4151     _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4152     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4153     _flag_k = FK_NARROW(FK_CMP, 24);
   4154     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DC64; /* 0x2B05DC5F: je 0x2b05dc64 */
   4155 L_2B05DC61:
   4156     MEM32(esi + 0x18) = eax; /* 0x2B05DC61: mov dword ptr [esi + 0x18], eax */
   4157 L_2B05DC64:
   4158     PUSH32(esp, 0x2Cu); /* 0x2B05DC64: push 0x2c */
   4159     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DC66: call 0x2b0ab212 */ /* not lifted */
   4160     RECOMP_FLAGS_IN();
   4161     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4162     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4163     esp = esp + 4; /* 0x2B05DC6B: add esp, 4 */
   4164     _flag_k = FK_ADD;
   4165     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DC6E: mov dword ptr [ebp - 0x14], eax */
   4166     /* cmp eax, ebx */ /* 0x2B05DC71: cmp eax, ebx */
   4167     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4168     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4169     _flag_k = FK_CMP;
   4170     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05DC73: mov byte ptr [ebp - 4], 2 */
   4171     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DC9D; /* 0x2B05DC77: je 0x2b05dc9d */
   4172 L_2B05DC79:
   4173     edx = MEM32(0x2B0EE9DC); /* 0x2B05DC79: mov edx, dword ptr [0x2b0ee9dc] */
   4174     PUSH32(esp, edx); /* 0x2B05DC7F: push edx */
   4175     PUSH32(esp, ebx); /* 0x2B05DC80: push ebx */
   4176     PUSH32(esp, 0x2B05E310u); /* 0x2B05DC81: push 0x2b05e310 */
   4177     PUSH32(esp, 3); /* 0x2B05DC86: push 3 */
   4178     PUSH32(esp, ebx); /* 0x2B05DC88: push ebx */
   4179     PUSH32(esp, ebx); /* 0x2B05DC89: push ebx */
   4180     PUSH32(esp, 0x2B0EA0F0u); /* 0x2B05DC8A: push 0x2b0ea0f0 */
   4181     PUSH32(esp, 0x2B0EA0DCu); /* 0x2B05DC8F: push 0x2b0ea0dc */
   4182     ecx = eax; /* 0x2B05DC94: mov ecx, eax */
   4183     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05DC96: call 0x2b05f3c0 */ /* not lifted */
   4184     RECOMP_FLAGS_IN();
   4185     goto L_2B05DC9F; /* 0x2B05DC9B: jmp 0x2b05dc9f */
   4186 L_2B05DC9D:
   4187     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4188     eax = 0; /* 0x2B05DC9D: xor eax, eax */
   4189     _cf = 0;
   4190     _flag_k = FK_TEST;
   4191 L_2B05DC9F:
   4192     PUSH32(esp, 0x2Cu); /* 0x2B05DC9F: push 0x2c */
   4193     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DCA1: mov byte ptr [ebp - 4], bl */
   4194     MEM32(esi + 0x2C) = eax; /* 0x2B05DCA4: mov dword ptr [esi + 0x2c], eax */
   4195     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DCA7: call 0x2b0ab212 */ /* not lifted */
   4196     RECOMP_FLAGS_IN();
   4197     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4198     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4199     esp = esp + 4; /* 0x2B05DCAC: add esp, 4 */
   4200     _flag_k = FK_ADD;
   4201     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DCAF: mov dword ptr [ebp - 0x14], eax */
   4202     /* cmp eax, ebx */ /* 0x2B05DCB2: cmp eax, ebx */
   4203     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4205     _flag_k = FK_CMP;
   4206     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05DCB4: mov byte ptr [ebp - 4], 3 */
   4207     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DCDF; /* 0x2B05DCB8: je 0x2b05dcdf */
   4208 L_2B05DCBA:
   4209     ecx = MEM32(0x2B0EE9DC); /* 0x2B05DCBA: mov ecx, dword ptr [0x2b0ee9dc] */
   4210     PUSH32(esp, ecx); /* 0x2B05DCC0: push ecx */
   4211     PUSH32(esp, 1); /* 0x2B05DCC1: push 1 */
   4212     PUSH32(esp, 0x2B05E310u); /* 0x2B05DCC3: push 0x2b05e310 */
   4213     PUSH32(esp, 3); /* 0x2B05DCC8: push 3 */
   4214     PUSH32(esp, ebx); /* 0x2B05DCCA: push ebx */
   4215     PUSH32(esp, ebx); /* 0x2B05DCCB: push ebx */
   4216     PUSH32(esp, 0x2B0EA0C8u); /* 0x2B05DCCC: push 0x2b0ea0c8 */
   4217     PUSH32(esp, 0x2B0EA0B4u); /* 0x2B05DCD1: push 0x2b0ea0b4 */
   4218     ecx = eax; /* 0x2B05DCD6: mov ecx, eax */
   4219     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05DCD8: call 0x2b05f3c0 */ /* not lifted */
   4220     RECOMP_FLAGS_IN();
   4221     goto L_2B05DCE1; /* 0x2B05DCDD: jmp 0x2b05dce1 */
   4222 L_2B05DCDF:
   4223     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4224     eax = 0; /* 0x2B05DCDF: xor eax, eax */
   4225     _cf = 0;
   4226     _flag_k = FK_TEST;
   4227 L_2B05DCE1:
   4228     PUSH32(esp, 0x1Cu); /* 0x2B05DCE1: push 0x1c */
   4229     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DCE3: mov byte ptr [ebp - 4], bl */
   4230     MEM32(esi + 0x30) = eax; /* 0x2B05DCE6: mov dword ptr [esi + 0x30], eax */
   4231     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DCE9: call 0x2b0ab212 */ /* not lifted */
   4232     RECOMP_FLAGS_IN();
   4233     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4234     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4235     esp = esp + 4; /* 0x2B05DCEE: add esp, 4 */
   4236     _flag_k = FK_ADD;
   4237     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DCF1: mov dword ptr [ebp - 0x14], eax */
   4238     /* cmp eax, ebx */ /* 0x2B05DCF4: cmp eax, ebx */
   4239     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4240     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4241     _flag_k = FK_CMP;
   4242     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B05DCF6: mov byte ptr [ebp - 4], 4 */
   4243     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DD17; /* 0x2B05DCFA: je 0x2b05dd17 */
   4244 L_2B05DCFC:
   4245     edx = MEM32(0x2B0EE9DC); /* 0x2B05DCFC: mov edx, dword ptr [0x2b0ee9dc] */
   4246     PUSH32(esp, edx); /* 0x2B05DD02: push edx */
   4247     PUSH32(esp, ebx); /* 0x2B05DD03: push ebx */
   4248     PUSH32(esp, 0x2B0EA0A0u); /* 0x2B05DD04: push 0x2b0ea0a0 */
   4249     PUSH32(esp, 0x2B0EA088u); /* 0x2B05DD09: push 0x2b0ea088 */
   4250     ecx = eax; /* 0x2B05DD0E: mov ecx, eax */
   4251     RECOMP_ICALL(0x2B05F070u); /* 0x2B05DD10: call 0x2b05f070 */ /* not lifted */
   4252     RECOMP_FLAGS_IN();
   4253     goto L_2B05DD19; /* 0x2B05DD15: jmp 0x2b05dd19 */
   4254 L_2B05DD17:
   4255     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4256     eax = 0; /* 0x2B05DD17: xor eax, eax */
   4257     _cf = 0;
   4258     _flag_k = FK_TEST;
   4259 L_2B05DD19:
   4260     PUSH32(esp, 0x2Cu); /* 0x2B05DD19: push 0x2c */
   4261     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DD1B: mov byte ptr [ebp - 4], bl */
   4262     MEM32(esi + 0x34) = eax; /* 0x2B05DD1E: mov dword ptr [esi + 0x34], eax */
   4263     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DD21: call 0x2b0ab212 */ /* not lifted */
   4264     RECOMP_FLAGS_IN();
   4265     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4266     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4267     esp = esp + 4; /* 0x2B05DD26: add esp, 4 */
   4268     _flag_k = FK_ADD;
   4269     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DD29: mov dword ptr [ebp - 0x14], eax */
   4270     /* cmp eax, ebx */ /* 0x2B05DD2C: cmp eax, ebx */
   4271     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4273     _flag_k = FK_CMP;
   4274     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05DD2E: mov byte ptr [ebp - 4], 5 */
   4275     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DD5B; /* 0x2B05DD32: je 0x2b05dd5b */
   4276 L_2B05DD34:
   4277     ecx = MEM32(0x2B0EE9DC); /* 0x2B05DD34: mov ecx, dword ptr [0x2b0ee9dc] */
   4278     PUSH32(esp, ecx); /* 0x2B05DD3A: push ecx */
   4279     PUSH32(esp, 2); /* 0x2B05DD3B: push 2 */
   4280     PUSH32(esp, 0x2B05E310u); /* 0x2B05DD3D: push 0x2b05e310 */
   4281     PUSH32(esp, 0x15u); /* 0x2B05DD42: push 0x15 */
   4282     PUSH32(esp, 1); /* 0x2B05DD44: push 1 */
   4283     PUSH32(esp, 1); /* 0x2B05DD46: push 1 */
   4284     PUSH32(esp, 0x2B0EA078u); /* 0x2B05DD48: push 0x2b0ea078 */
   4285     PUSH32(esp, 0x2B0EA068u); /* 0x2B05DD4D: push 0x2b0ea068 */
   4286     ecx = eax; /* 0x2B05DD52: mov ecx, eax */
   4287     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05DD54: call 0x2b05f3c0 */ /* not lifted */
   4288     RECOMP_FLAGS_IN();
   4289     goto L_2B05DD5D; /* 0x2B05DD59: jmp 0x2b05dd5d */
   4290 L_2B05DD5B:
   4291     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4292     eax = 0; /* 0x2B05DD5B: xor eax, eax */
   4293     _cf = 0;
   4294     _flag_k = FK_TEST;
   4295 L_2B05DD5D:
   4296     PUSH32(esp, 0x2Cu); /* 0x2B05DD5D: push 0x2c */
   4297     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DD5F: mov byte ptr [ebp - 4], bl */
   4298     MEM32(esi + 0x38) = eax; /* 0x2B05DD62: mov dword ptr [esi + 0x38], eax */
   4299     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DD65: call 0x2b0ab212 */ /* not lifted */
   4300     RECOMP_FLAGS_IN();
   4301     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4302     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4303     esp = esp + 4; /* 0x2B05DD6A: add esp, 4 */
   4304     _flag_k = FK_ADD;
   4305     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DD6D: mov dword ptr [ebp - 0x14], eax */
   4306     /* cmp eax, ebx */ /* 0x2B05DD70: cmp eax, ebx */
   4307     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4308     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4309     _flag_k = FK_CMP;
   4310     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B05DD72: mov byte ptr [ebp - 4], 6 */
   4311     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DD9E; /* 0x2B05DD76: je 0x2b05dd9e */
   4312 L_2B05DD78:
   4313     edx = MEM32(0x2B0EE9DC); /* 0x2B05DD78: mov edx, dword ptr [0x2b0ee9dc] */
   4314     PUSH32(esp, edx); /* 0x2B05DD7E: push edx */
   4315     PUSH32(esp, 3); /* 0x2B05DD7F: push 3 */
   4316     PUSH32(esp, 0x2B05E310u); /* 0x2B05DD81: push 0x2b05e310 */
   4317     PUSH32(esp, 0x4Cu); /* 0x2B05DD86: push 0x4c */
   4318     PUSH32(esp, ebx); /* 0x2B05DD88: push ebx */
   4319     PUSH32(esp, 1); /* 0x2B05DD89: push 1 */
   4320     PUSH32(esp, 0x2B0EA054u); /* 0x2B05DD8B: push 0x2b0ea054 */
   4321     PUSH32(esp, 0x2B0EA038u); /* 0x2B05DD90: push 0x2b0ea038 */
   4322     ecx = eax; /* 0x2B05DD95: mov ecx, eax */
   4323     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05DD97: call 0x2b05f3c0 */ /* not lifted */
   4324     RECOMP_FLAGS_IN();
   4325     goto L_2B05DDA0; /* 0x2B05DD9C: jmp 0x2b05dda0 */
   4326 L_2B05DD9E:
   4327     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4328     eax = 0; /* 0x2B05DD9E: xor eax, eax */
   4329     _cf = 0;
   4330     _flag_k = FK_TEST;
   4331 L_2B05DDA0:
   4332     PUSH32(esp, 0x2Cu); /* 0x2B05DDA0: push 0x2c */
   4333     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DDA2: mov byte ptr [ebp - 4], bl */
   4334     MEM32(esi + 0x3C) = eax; /* 0x2B05DDA5: mov dword ptr [esi + 0x3c], eax */
   4335     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DDA8: call 0x2b0ab212 */ /* not lifted */
   4336     RECOMP_FLAGS_IN();
   4337     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4338     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4339     esp = esp + 4; /* 0x2B05DDAD: add esp, 4 */
   4340     _flag_k = FK_ADD;
   4341     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DDB0: mov dword ptr [ebp - 0x14], eax */
   4342     /* cmp eax, ebx */ /* 0x2B05DDB3: cmp eax, ebx */
   4343     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4345     _flag_k = FK_CMP;
   4346     MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B05DDB5: mov byte ptr [ebp - 4], 7 */
   4347     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DDE1; /* 0x2B05DDB9: je 0x2b05dde1 */
   4348 L_2B05DDBB:
   4349     ecx = MEM32(0x2B0EE9DC); /* 0x2B05DDBB: mov ecx, dword ptr [0x2b0ee9dc] */
   4350     PUSH32(esp, ecx); /* 0x2B05DDC1: push ecx */
   4351     PUSH32(esp, 4); /* 0x2B05DDC2: push 4 */
   4352     PUSH32(esp, 0x2B05E310u); /* 0x2B05DDC4: push 0x2b05e310 */
   4353     PUSH32(esp, 0xBu); /* 0x2B05DDC9: push 0xb */
   4354     PUSH32(esp, ebx); /* 0x2B05DDCB: push ebx */
   4355     PUSH32(esp, 1); /* 0x2B05DDCC: push 1 */
   4356     PUSH32(esp, 0x2B0EA028u); /* 0x2B05DDCE: push 0x2b0ea028 */
   4357     PUSH32(esp, 0x2B0EA018u); /* 0x2B05DDD3: push 0x2b0ea018 */
   4358     ecx = eax; /* 0x2B05DDD8: mov ecx, eax */
   4359     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05DDDA: call 0x2b05f3c0 */ /* not lifted */
   4360     RECOMP_FLAGS_IN();
   4361     goto L_2B05DDE3; /* 0x2B05DDDF: jmp 0x2b05dde3 */
   4362 L_2B05DDE1:
   4363     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4364     eax = 0; /* 0x2B05DDE1: xor eax, eax */
   4365     _cf = 0;
   4366     _flag_k = FK_TEST;
   4367 L_2B05DDE3:
   4368     PUSH32(esp, 0x2Cu); /* 0x2B05DDE3: push 0x2c */
   4369     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DDE5: mov byte ptr [ebp - 4], bl */
   4370     MEM32(esi + 0x40) = eax; /* 0x2B05DDE8: mov dword ptr [esi + 0x40], eax */
   4371     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05DDEB: call 0x2b0ab212 */ /* not lifted */
   4372     RECOMP_FLAGS_IN();
   4373     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4374     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4375     esp = esp + 4; /* 0x2B05DDF0: add esp, 4 */
   4376     _flag_k = FK_ADD;
   4377     MEM32(ebp + (-0x14)) = eax; /* 0x2B05DDF3: mov dword ptr [ebp - 0x14], eax */
   4378     /* cmp eax, ebx */ /* 0x2B05DDF6: cmp eax, ebx */
   4379     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4380     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4381     _flag_k = FK_CMP;
   4382     MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B05DDF8: mov byte ptr [ebp - 4], 8 */
   4383     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05DE24; /* 0x2B05DDFC: je 0x2b05de24 */
   4384 L_2B05DDFE:
   4385     edx = MEM32(0x2B0EE9DC); /* 0x2B05DDFE: mov edx, dword ptr [0x2b0ee9dc] */
   4386     PUSH32(esp, edx); /* 0x2B05DE04: push edx */
   4387     PUSH32(esp, 5); /* 0x2B05DE05: push 5 */
   4388     PUSH32(esp, 0x2B05E310u); /* 0x2B05DE07: push 0x2b05e310 */
   4389     PUSH32(esp, 0x10u); /* 0x2B05DE0C: push 0x10 */
   4390     PUSH32(esp, ebx); /* 0x2B05DE0E: push ebx */
   4391     PUSH32(esp, 1); /* 0x2B05DE0F: push 1 */
   4392     PUSH32(esp, 0x2B0EA000u); /* 0x2B05DE11: push 0x2b0ea000 */
   4393     PUSH32(esp, 0x2B0E9FE4u); /* 0x2B05DE16: push 0x2b0e9fe4 */
   4394     ecx = eax; /* 0x2B05DE1B: mov ecx, eax */
   4395     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B05DE1D: call 0x2b05f3c0 */ /* not lifted */
   4396     RECOMP_FLAGS_IN();
   4397     goto L_2B05DE26; /* 0x2B05DE22: jmp 0x2b05de26 */
   4398 L_2B05DE24:
   4399     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4400     eax = 0; /* 0x2B05DE24: xor eax, eax */
   4401     _cf = 0;
   4402     _flag_k = FK_TEST;
   4403 L_2B05DE26:
   4404     ecx = esi; /* 0x2B05DE26: mov ecx, esi */
   4405     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05DE28: mov byte ptr [ebp - 4], bl */
   4406     MEM32(esi + 0x44) = eax; /* 0x2B05DE2B: mov dword ptr [esi + 0x44], eax */
   4407     RECOMP_ICALL(0x2B05E110u); /* 0x2B05DE2E: call 0x2b05e110 */ /* not lifted */
   4408     RECOMP_FLAGS_IN();
   4409     ecx = esi; /* 0x2B05DE33: mov ecx, esi */
   4410     RECOMP_ICALL(0x2B05E160u); /* 0x2B05DE35: call 0x2b05e160 */ /* not lifted */
   4411     RECOMP_FLAGS_IN();
   4412     PUSH32(esp, 0x2B0E9FDCu); /* 0x2B05DE3A: push 0x2b0e9fdc */
   4413     PUSH32(esp, ebx); /* 0x2B05DE3F: push ebx */
   4414     ecx = esi; /* 0x2B05DE40: mov ecx, esi */
   4415     RECOMP_ICALL(0x2B03A2D0u); /* 0x2B05DE42: call 0x2b03a2d0 */ /* not lifted */
   4416     RECOMP_FLAGS_IN();
   4417     PUSH32(esp, 1); /* 0x2B05DE47: push 1 */
   4418     ecx = esi; /* 0x2B05DE49: mov ecx, esi */
   4419     RECOMP_ICALL(0x2B03A350u); /* 0x2B05DE4B: call 0x2b03a350 */ /* not lifted */
   4420     RECOMP_FLAGS_IN();
   4421     ecx = MEM32(ebp + (-0xC)); /* 0x2B05DE50: mov ecx, dword ptr [ebp - 0xc] */
   4422     edi = POP32_VAL(esp); /* 0x2B05DE53: pop edi */
   4423     eax = esi; /* 0x2B05DE54: mov eax, esi */
   4424     esi = POP32_VAL(esp); /* 0x2B05DE56: pop esi */
   4425     ebx = POP32_VAL(esp); /* 0x2B05DE57: pop ebx */
   4426     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05DE58: mov dword ptr fs:[0], ecx */
   4427     esp = ebp; /* 0x2B05DE5F: mov esp, ebp */
   4428     ebp = POP32_VAL(esp); /* 0x2B05DE61: pop ebp */
   4429     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DE62: ret  */
   4430     RECOMP_REGS_OUT();
   4431 }
   4432 
   4433 void sub_2B05DE70(void) {
   4434     int _fpu_cmp = 0;
   4435     uint32_t _cf = 0;
   4436     int _df = 1;
   4437     uint32_t _flag_k = FK_NONE;
   4438     uint32_t _flag_a = 0, _flag_b = 0;
   4439     uint32_t _itail_tgt = 0;
   4440     RECOMP_REGS_LOCALS
   4441     RECOMP_ENTER(0x2B05DE70u);
   4442 
   4443 L_2B05DE70:
   4444     PUSH32(esp, ebp); /* 0x2B05DE70: push ebp */
   4445     ebp = esp; /* 0x2B05DE71: mov ebp, esp */
   4446     PUSH32(esp, esi); /* 0x2B05DE73: push esi */
   4447     esi = ecx; /* 0x2B05DE74: mov esi, ecx */
   4448     RECOMP_ICALL(0x2B05DEA0u); /* 0x2B05DE76: call 0x2b05dea0 */ /* not lifted */
   4449     RECOMP_FLAGS_IN();
   4450     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05DE7B: test byte ptr [ebp + 8], 1 */
   4451     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4452     _cf = 0;
   4453     _flag_k = FK_NARROW(FK_TEST, 24);
   4454     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DE8A; /* 0x2B05DE7F: je 0x2b05de8a */
   4455 L_2B05DE81:
   4456     PUSH32(esp, esi); /* 0x2B05DE81: push esi */
   4457     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DE82: call 0x2b0ab1ba */ /* not lifted */
   4458     RECOMP_FLAGS_IN();
   4459     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4460     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4461     esp = esp + 4; /* 0x2B05DE87: add esp, 4 */
   4462     _flag_k = FK_ADD;
   4463 L_2B05DE8A:
   4464     eax = esi; /* 0x2B05DE8A: mov eax, esi */
   4465     esi = POP32_VAL(esp); /* 0x2B05DE8C: pop esi */
   4466     ebp = POP32_VAL(esp); /* 0x2B05DE8D: pop ebp */
   4467     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05DE8E: ret 4 */
   4468     RECOMP_REGS_OUT();
   4469 }
   4470 
   4471 void sub_2B05DEA0(void) {
   4472     int _fpu_cmp = 0;
   4473     uint32_t _cf = 0;
   4474     int _df = 1;
   4475     uint32_t _flag_k = FK_NONE;
   4476     uint32_t _flag_a = 0, _flag_b = 0;
   4477     uint32_t _itail_tgt = 0;
   4478     RECOMP_REGS_LOCALS
   4479     RECOMP_ENTER(0x2B05DEA0u);
   4480 
   4481 L_2B05DEA0:
   4482     PUSH32(esp, ebp); /* 0x2B05DEA0: push ebp */
   4483     ebp = esp; /* 0x2B05DEA1: mov ebp, esp */
   4484     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05DEA3: push -1 */
   4485     PUSH32(esp, 0x2B0B0568u); /* 0x2B05DEA5: push 0x2b0b0568 */
   4486     eax = MEM32(FS_BASE + (0)); /* 0x2B05DEAA: mov eax, dword ptr fs:[0] */
   4487     PUSH32(esp, eax); /* 0x2B05DEB0: push eax */
   4488     MEM32(FS_BASE + (0)) = esp; /* 0x2B05DEB1: mov dword ptr fs:[0], esp */
   4489     PUSH32(esp, ecx); /* 0x2B05DEB8: push ecx */
   4490     PUSH32(esp, esi); /* 0x2B05DEB9: push esi */
   4491     esi = ecx; /* 0x2B05DEBA: mov esi, ecx */
   4492     PUSH32(esp, edi); /* 0x2B05DEBC: push edi */
   4493     MEM32(ebp + (-0x10)) = esi; /* 0x2B05DEBD: mov dword ptr [ebp - 0x10], esi */
   4494     MEM32(esi) = 0x2B0B6CACu; /* 0x2B05DEC0: mov dword ptr [esi], 0x2b0b6cac */
   4495     MEM32(ebp + (-0x4)) = 0; /* 0x2B05DEC6: mov dword ptr [ebp - 4], 0 */
   4496     RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B05DECD: call dword ptr [0x2b0b5690] */
   4497     RECOMP_FLAGS_IN();
   4498     ecx = eax; /* 0x2B05DED3: mov ecx, eax */
   4499     RECOMP_ICALL(MEM32(0x2B0B54E8)); /* 0x2B05DED5: call dword ptr [0x2b0b54e8] */
   4500     RECOMP_FLAGS_IN();
   4501     RECOMP_ICALL(MEM32(0x2B0B6154)); /* 0x2B05DEDB: call dword ptr [0x2b0b6154] */
   4502     RECOMP_FLAGS_IN();
   4503     edx = MEM32(eax); /* 0x2B05DEE1: mov edx, dword ptr [eax] */
   4504     ecx = eax; /* 0x2B05DEE3: mov ecx, eax */
   4505     RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B05DEE5: call dword ptr [edx + 0xc] */
   4506     RECOMP_FLAGS_IN();
   4507     ecx = MEM32(esi + 0x28); /* 0x2B05DEE8: mov ecx, dword ptr [esi + 0x28] */
   4508     /* test ecx, ecx */ /* 0x2B05DEEB: test ecx, ecx */
   4509     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4510     _cf = 0;
   4511     _flag_k = FK_TEST;
   4512     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DEF5; /* 0x2B05DEED: je 0x2b05def5 */
   4513 L_2B05DEEF:
   4514     eax = MEM32(ecx); /* 0x2B05DEEF: mov eax, dword ptr [ecx] */
   4515     PUSH32(esp, 1); /* 0x2B05DEF1: push 1 */
   4516     RECOMP_ICALL(MEM32(eax)); /* 0x2B05DEF3: call dword ptr [eax] */
   4517     RECOMP_FLAGS_IN();
   4518 L_2B05DEF5:
   4519     edi = MEM32(esi + 0x2C); /* 0x2B05DEF5: mov edi, dword ptr [esi + 0x2c] */
   4520     /* test edi, edi */ /* 0x2B05DEF8: test edi, edi */
   4521     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4522     _cf = 0;
   4523     _flag_k = FK_TEST;
   4524     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF0C; /* 0x2B05DEFA: je 0x2b05df0c */
   4525 L_2B05DEFC:
   4526     ecx = edi; /* 0x2B05DEFC: mov ecx, edi */
   4527     RECOMP_ICALL(0x2B05F670u); /* 0x2B05DEFE: call 0x2b05f670 */ /* not lifted */
   4528     RECOMP_FLAGS_IN();
   4529     PUSH32(esp, edi); /* 0x2B05DF03: push edi */
   4530     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF04: call 0x2b0ab1ba */ /* not lifted */
   4531     RECOMP_FLAGS_IN();
   4532     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4533     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4534     esp = esp + 4; /* 0x2B05DF09: add esp, 4 */
   4535     _flag_k = FK_ADD;
   4536 L_2B05DF0C:
   4537     edi = MEM32(esi + 0x30); /* 0x2B05DF0C: mov edi, dword ptr [esi + 0x30] */
   4538     /* test edi, edi */ /* 0x2B05DF0F: test edi, edi */
   4539     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4540     _cf = 0;
   4541     _flag_k = FK_TEST;
   4542     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF23; /* 0x2B05DF11: je 0x2b05df23 */
   4543 L_2B05DF13:
   4544     ecx = edi; /* 0x2B05DF13: mov ecx, edi */
   4545     RECOMP_ICALL(0x2B05F670u); /* 0x2B05DF15: call 0x2b05f670 */ /* not lifted */
   4546     RECOMP_FLAGS_IN();
   4547     PUSH32(esp, edi); /* 0x2B05DF1A: push edi */
   4548     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF1B: call 0x2b0ab1ba */ /* not lifted */
   4549     RECOMP_FLAGS_IN();
   4550     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4551     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4552     esp = esp + 4; /* 0x2B05DF20: add esp, 4 */
   4553     _flag_k = FK_ADD;
   4554 L_2B05DF23:
   4555     edi = MEM32(esi + 0x34); /* 0x2B05DF23: mov edi, dword ptr [esi + 0x34] */
   4556     /* test edi, edi */ /* 0x2B05DF26: test edi, edi */
   4557     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4558     _cf = 0;
   4559     _flag_k = FK_TEST;
   4560     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF3A; /* 0x2B05DF28: je 0x2b05df3a */
   4561 L_2B05DF2A:
   4562     ecx = edi; /* 0x2B05DF2A: mov ecx, edi */
   4563     RECOMP_ICALL(0x2B05F200u); /* 0x2B05DF2C: call 0x2b05f200 */ /* not lifted */
   4564     RECOMP_FLAGS_IN();
   4565     PUSH32(esp, edi); /* 0x2B05DF31: push edi */
   4566     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF32: call 0x2b0ab1ba */ /* not lifted */
   4567     RECOMP_FLAGS_IN();
   4568     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4569     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4570     esp = esp + 4; /* 0x2B05DF37: add esp, 4 */
   4571     _flag_k = FK_ADD;
   4572 L_2B05DF3A:
   4573     edi = MEM32(esi + 0x38); /* 0x2B05DF3A: mov edi, dword ptr [esi + 0x38] */
   4574     /* test edi, edi */ /* 0x2B05DF3D: test edi, edi */
   4575     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4576     _cf = 0;
   4577     _flag_k = FK_TEST;
   4578     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF51; /* 0x2B05DF3F: je 0x2b05df51 */
   4579 L_2B05DF41:
   4580     ecx = edi; /* 0x2B05DF41: mov ecx, edi */
   4581     RECOMP_ICALL(0x2B05F670u); /* 0x2B05DF43: call 0x2b05f670 */ /* not lifted */
   4582     RECOMP_FLAGS_IN();
   4583     PUSH32(esp, edi); /* 0x2B05DF48: push edi */
   4584     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF49: call 0x2b0ab1ba */ /* not lifted */
   4585     RECOMP_FLAGS_IN();
   4586     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4587     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4588     esp = esp + 4; /* 0x2B05DF4E: add esp, 4 */
   4589     _flag_k = FK_ADD;
   4590 L_2B05DF51:
   4591     edi = MEM32(esi + 0x3C); /* 0x2B05DF51: mov edi, dword ptr [esi + 0x3c] */
   4592     /* test edi, edi */ /* 0x2B05DF54: test edi, edi */
   4593     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4594     _cf = 0;
   4595     _flag_k = FK_TEST;
   4596     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF68; /* 0x2B05DF56: je 0x2b05df68 */
   4597 L_2B05DF58:
   4598     ecx = edi; /* 0x2B05DF58: mov ecx, edi */
   4599     RECOMP_ICALL(0x2B05F670u); /* 0x2B05DF5A: call 0x2b05f670 */ /* not lifted */
   4600     RECOMP_FLAGS_IN();
   4601     PUSH32(esp, edi); /* 0x2B05DF5F: push edi */
   4602     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF60: call 0x2b0ab1ba */ /* not lifted */
   4603     RECOMP_FLAGS_IN();
   4604     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4605     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4606     esp = esp + 4; /* 0x2B05DF65: add esp, 4 */
   4607     _flag_k = FK_ADD;
   4608 L_2B05DF68:
   4609     edi = MEM32(esi + 0x40); /* 0x2B05DF68: mov edi, dword ptr [esi + 0x40] */
   4610     /* test edi, edi */ /* 0x2B05DF6B: test edi, edi */
   4611     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4612     _cf = 0;
   4613     _flag_k = FK_TEST;
   4614     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF7F; /* 0x2B05DF6D: je 0x2b05df7f */
   4615 L_2B05DF6F:
   4616     ecx = edi; /* 0x2B05DF6F: mov ecx, edi */
   4617     RECOMP_ICALL(0x2B05F670u); /* 0x2B05DF71: call 0x2b05f670 */ /* not lifted */
   4618     RECOMP_FLAGS_IN();
   4619     PUSH32(esp, edi); /* 0x2B05DF76: push edi */
   4620     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF77: call 0x2b0ab1ba */ /* not lifted */
   4621     RECOMP_FLAGS_IN();
   4622     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4623     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4624     esp = esp + 4; /* 0x2B05DF7C: add esp, 4 */
   4625     _flag_k = FK_ADD;
   4626 L_2B05DF7F:
   4627     edi = MEM32(esi + 0x44); /* 0x2B05DF7F: mov edi, dword ptr [esi + 0x44] */
   4628     /* test edi, edi */ /* 0x2B05DF82: test edi, edi */
   4629     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4630     _cf = 0;
   4631     _flag_k = FK_TEST;
   4632     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05DF96; /* 0x2B05DF84: je 0x2b05df96 */
   4633 L_2B05DF86:
   4634     ecx = edi; /* 0x2B05DF86: mov ecx, edi */
   4635     RECOMP_ICALL(0x2B05F670u); /* 0x2B05DF88: call 0x2b05f670 */ /* not lifted */
   4636     RECOMP_FLAGS_IN();
   4637     PUSH32(esp, edi); /* 0x2B05DF8D: push edi */
   4638     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05DF8E: call 0x2b0ab1ba */ /* not lifted */
   4639     RECOMP_FLAGS_IN();
   4640     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4641     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4642     esp = esp + 4; /* 0x2B05DF93: add esp, 4 */
   4643     _flag_k = FK_ADD;
   4644 L_2B05DF96:
   4645     ecx = esi; /* 0x2B05DF96: mov ecx, esi */
   4646     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05DF98: mov dword ptr [ebp - 4], 0xffffffff */
   4647     RECOMP_ICALL(0x2B03A290u); /* 0x2B05DF9F: call 0x2b03a290 */ /* not lifted */
   4648     RECOMP_FLAGS_IN();
   4649     ecx = MEM32(ebp + (-0xC)); /* 0x2B05DFA4: mov ecx, dword ptr [ebp - 0xc] */
   4650     edi = POP32_VAL(esp); /* 0x2B05DFA7: pop edi */
   4651     esi = POP32_VAL(esp); /* 0x2B05DFA8: pop esi */
   4652     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05DFA9: mov dword ptr fs:[0], ecx */
   4653     esp = ebp; /* 0x2B05DFB0: mov esp, ebp */
   4654     ebp = POP32_VAL(esp); /* 0x2B05DFB2: pop ebp */
   4655     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05DFB3: ret  */
   4656     RECOMP_REGS_OUT();
   4657 }
   4658 
   4659 void sub_2B05DFC0(void) {
   4660     int _fpu_cmp = 0;
   4661     uint32_t _cf = 0;
   4662     int _df = 1;
   4663     uint32_t _flag_k = FK_NONE;
   4664     uint32_t _flag_a = 0, _flag_b = 0;
   4665     uint32_t _itail_tgt = 0;
   4666     RECOMP_REGS_LOCALS
   4667     RECOMP_ENTER(0x2B05DFC0u);
   4668 
   4669 L_2B05DFC0:
   4670     PUSH32(esp, ebp); /* 0x2B05DFC0: push ebp */
   4671     ebp = esp; /* 0x2B05DFC1: mov ebp, esp */
   4672     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4673     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4674     esp = esp - 8; /* 0x2B05DFC3: sub esp, 8 */
   4675     _flag_k = FK_CMP;
   4676     PUSH32(esp, esi); /* 0x2B05DFC6: push esi */
   4677     esi = ecx; /* 0x2B05DFC7: mov esi, ecx */
   4678     ecx = MEM32(esi + 0x8); /* 0x2B05DFC9: mov ecx, dword ptr [esi + 8] */
   4679     eax = MEM32(esi + 0x4); /* 0x2B05DFCC: mov eax, dword ptr [esi + 4] */
   4680     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
   4681     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4682     ecx = ecx + 0x14u; /* 0x2B05DFCF: add ecx, 0x14 */
   4683     _flag_k = FK_ADD;
   4684     PUSH32(esp, edi); /* 0x2B05DFD2: push edi */
   4685     edx = ebp + (-0x8); /* 0x2B05DFD3: lea edx, [ebp - 8] */
   4686     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05DFD6: mov dword ptr [ebp - 4], ecx */
   4687     ecx = MEM32(esi + 0x28); /* 0x2B05DFD9: mov ecx, dword ptr [esi + 0x28] */
   4688     PUSH32(esp, edx); /* 0x2B05DFDC: push edx */
   4689     MEM32(ebp + (-0x8)) = eax; /* 0x2B05DFDD: mov dword ptr [ebp - 8], eax */
   4690     RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B05DFE0: call dword ptr [0x2b0b5940] */
   4691     RECOMP_FLAGS_IN();
   4692     eax = MEM32(esi + 0x28); /* 0x2B05DFE6: mov eax, dword ptr [esi + 0x28] */
   4693     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B05DFE9: mov byte ptr [eax + 9], 1 */
   4694     ecx = MEM32(ebp + (-0x8)); /* 0x2B05DFED: mov ecx, dword ptr [ebp - 8] */
   4695     eax = MEM32(ebp + (-0x4)); /* 0x2B05DFF0: mov eax, dword ptr [ebp - 4] */
   4696     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5);
   4697     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4698     ecx = ecx + 5; /* 0x2B05DFF3: add ecx, 5 */
   4699     _flag_k = FK_ADD;
   4700     MEM32(ebp + (-0x8)) = ecx; /* 0x2B05DFF6: mov dword ptr [ebp - 8], ecx */
   4701     ecx = ebp + (-0x8); /* 0x2B05DFF9: lea ecx, [ebp - 8] */
   4702     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu);
   4703     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4704     eax = eax + 0xFu; /* 0x2B05DFFC: add eax, 0xf */
   4705     _flag_k = FK_ADD;
   4706     PUSH32(esp, ecx); /* 0x2B05DFFF: push ecx */
   4707     ecx = MEM32(esi + 0x2C); /* 0x2B05E000: mov ecx, dword ptr [esi + 0x2c] */
   4708     MEM32(ebp + (-0x4)) = eax; /* 0x2B05E003: mov dword ptr [ebp - 4], eax */
   4709     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05E006: call 0x2b05f7b0 */ /* not lifted */
   4710     RECOMP_FLAGS_IN();
   4711     ecx = MEM32(esi + 0x2C); /* 0x2B05E00B: mov ecx, dword ptr [esi + 0x2c] */
   4712     RECOMP_ICALL(0x2B05F790u); /* 0x2B05E00E: call 0x2b05f790 */ /* not lifted */
   4713     RECOMP_FLAGS_IN();
   4714     edx = MEM32(ebp + (-0x4)); /* 0x2B05E013: mov edx, dword ptr [ebp - 4] */
   4715     ecx = MEM32(esi + 0x30); /* 0x2B05E016: mov ecx, dword ptr [esi + 0x30] */
   4716     edi = 0x18u; /* 0x2B05E019: mov edi, 0x18 */
   4717     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   4718     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4719     edx = edx + edi; /* 0x2B05E01E: add edx, edi */
   4720     _flag_k = FK_ADD;
   4721     MEM32(ebp + (-0x4)) = edx; /* 0x2B05E020: mov dword ptr [ebp - 4], edx */
   4722     edx = ebp + (-0x8); /* 0x2B05E023: lea edx, [ebp - 8] */
   4723     PUSH32(esp, edx); /* 0x2B05E026: push edx */
   4724     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05E027: call 0x2b05f7b0 */ /* not lifted */
   4725     RECOMP_FLAGS_IN();
   4726     ecx = MEM32(esi + 0x30); /* 0x2B05E02C: mov ecx, dword ptr [esi + 0x30] */
   4727     RECOMP_ICALL(0x2B05F790u); /* 0x2B05E02F: call 0x2b05f790 */ /* not lifted */
   4728     RECOMP_FLAGS_IN();
   4729     eax = MEM32(ebp + (-0x4)); /* 0x2B05E034: mov eax, dword ptr [ebp - 4] */
   4730     ecx = MEM32(esi + 0x34); /* 0x2B05E037: mov ecx, dword ptr [esi + 0x34] */
   4731     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4732     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4733     eax = eax + edi; /* 0x2B05E03A: add eax, edi */
   4734     _flag_k = FK_ADD;
   4735     MEM32(ebp + (-0x4)) = eax; /* 0x2B05E03C: mov dword ptr [ebp - 4], eax */
   4736     eax = ebp + (-0x8); /* 0x2B05E03F: lea eax, [ebp - 8] */
   4737     PUSH32(esp, eax); /* 0x2B05E042: push eax */
   4738     RECOMP_ICALL(0x2B05F300u); /* 0x2B05E043: call 0x2b05f300 */ /* not lifted */
   4739     RECOMP_FLAGS_IN();
   4740     ecx = MEM32(esi + 0x34); /* 0x2B05E048: mov ecx, dword ptr [esi + 0x34] */
   4741     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05E04B: call 0x2b05f2e0 */ /* not lifted */
   4742     RECOMP_FLAGS_IN();
   4743     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0x24u);
   4744     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4745     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + 0x24u; /* 0x2B05E050: add dword ptr [ebp - 4], 0x24 */
   4746     _flag_k = FK_ADD;
   4747     ecx = ebp + (-0x8); /* 0x2B05E054: lea ecx, [ebp - 8] */
   4748     PUSH32(esp, ecx); /* 0x2B05E057: push ecx */
   4749     ecx = MEM32(esi + 0x38); /* 0x2B05E058: mov ecx, dword ptr [esi + 0x38] */
   4750     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05E05B: call 0x2b05f7b0 */ /* not lifted */
   4751     RECOMP_FLAGS_IN();
   4752     ecx = MEM32(esi + 0x38); /* 0x2B05E060: mov ecx, dword ptr [esi + 0x38] */
   4753     RECOMP_ICALL(0x2B05F790u); /* 0x2B05E063: call 0x2b05f790 */ /* not lifted */
   4754     RECOMP_FLAGS_IN();
   4755     edx = MEM32(ebp + (-0x4)); /* 0x2B05E068: mov edx, dword ptr [ebp - 4] */
   4756     ecx = MEM32(esi + 0x3C); /* 0x2B05E06B: mov ecx, dword ptr [esi + 0x3c] */
   4757     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   4758     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4759     edx = edx + edi; /* 0x2B05E06E: add edx, edi */
   4760     _flag_k = FK_ADD;
   4761     MEM32(ebp + (-0x4)) = edx; /* 0x2B05E070: mov dword ptr [ebp - 4], edx */
   4762     edx = ebp + (-0x8); /* 0x2B05E073: lea edx, [ebp - 8] */
   4763     PUSH32(esp, edx); /* 0x2B05E076: push edx */
   4764     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05E077: call 0x2b05f7b0 */ /* not lifted */
   4765     RECOMP_FLAGS_IN();
   4766     ecx = MEM32(esi + 0x3C); /* 0x2B05E07C: mov ecx, dword ptr [esi + 0x3c] */
   4767     RECOMP_ICALL(0x2B05F790u); /* 0x2B05E07F: call 0x2b05f790 */ /* not lifted */
   4768     RECOMP_FLAGS_IN();
   4769     eax = MEM32(ebp + (-0x4)); /* 0x2B05E084: mov eax, dword ptr [ebp - 4] */
   4770     ecx = MEM32(esi + 0x40); /* 0x2B05E087: mov ecx, dword ptr [esi + 0x40] */
   4771     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4772     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4773     eax = eax + edi; /* 0x2B05E08A: add eax, edi */
   4774     _flag_k = FK_ADD;
   4775     MEM32(ebp + (-0x4)) = eax; /* 0x2B05E08C: mov dword ptr [ebp - 4], eax */
   4776     eax = ebp + (-0x8); /* 0x2B05E08F: lea eax, [ebp - 8] */
   4777     PUSH32(esp, eax); /* 0x2B05E092: push eax */
   4778     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05E093: call 0x2b05f7b0 */ /* not lifted */
   4779     RECOMP_FLAGS_IN();
   4780     ecx = MEM32(esi + 0x40); /* 0x2B05E098: mov ecx, dword ptr [esi + 0x40] */
   4781     RECOMP_ICALL(0x2B05F790u); /* 0x2B05E09B: call 0x2b05f790 */ /* not lifted */
   4782     RECOMP_FLAGS_IN();
   4783     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(edi);
   4784     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4785     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + edi; /* 0x2B05E0A0: add dword ptr [ebp - 4], edi */
   4786     _flag_k = FK_ADD;
   4787     ecx = ebp + (-0x8); /* 0x2B05E0A3: lea ecx, [ebp - 8] */
   4788     PUSH32(esp, ecx); /* 0x2B05E0A6: push ecx */
   4789     ecx = MEM32(esi + 0x44); /* 0x2B05E0A7: mov ecx, dword ptr [esi + 0x44] */
   4790     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05E0AA: call 0x2b05f7b0 */ /* not lifted */
   4791     RECOMP_FLAGS_IN();
   4792     ecx = MEM32(esi + 0x44); /* 0x2B05E0AF: mov ecx, dword ptr [esi + 0x44] */
   4793     RECOMP_ICALL(0x2B05F790u); /* 0x2B05E0B2: call 0x2b05f790 */ /* not lifted */
   4794     RECOMP_FLAGS_IN();
   4795     edi = POP32_VAL(esp); /* 0x2B05E0B7: pop edi */
   4796     esi = POP32_VAL(esp); /* 0x2B05E0B8: pop esi */
   4797     esp = ebp; /* 0x2B05E0B9: mov esp, ebp */
   4798     ebp = POP32_VAL(esp); /* 0x2B05E0BB: pop ebp */
   4799     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E0BC: ret  */
   4800     RECOMP_REGS_OUT();
   4801 }
   4802 
   4803 void sub_2B05E0C0(void) {
   4804     int _fpu_cmp = 0;
   4805     uint32_t _cf = 0;
   4806     int _df = 1;
   4807     uint32_t _flag_k = FK_NONE;
   4808     uint32_t _flag_a = 0, _flag_b = 0;
   4809     uint32_t _itail_tgt = 0;
   4810     RECOMP_REGS_LOCALS
   4811     RECOMP_ENTER(0x2B05E0C0u);
   4812 
   4813 L_2B05E0C0:
   4814     PUSH32(esp, esi); /* 0x2B05E0C0: push esi */
   4815     esi = ecx; /* 0x2B05E0C1: mov esi, ecx */
   4816     SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B05E0C3: mov al, byte ptr [esi + 0xc] */
   4817     /* test LO8(eax), LO8(eax) */ /* 0x2B05E0C6: 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_2B05E109; /* 0x2B05E0C8: je 0x2b05e109 */
   4822 L_2B05E0CA:
   4823     eax = MEM32(esi + 0x28); /* 0x2B05E0CA: mov eax, dword ptr [esi + 0x28] */
   4824     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05E0CD: mov byte ptr [eax + 8], 1 */
   4825     ecx = MEM32(esi + 0x2C); /* 0x2B05E0D1: mov ecx, dword ptr [esi + 0x2c] */
   4826     RECOMP_ICALL(0x2B05F750u); /* 0x2B05E0D4: call 0x2b05f750 */ /* not lifted */
   4827     RECOMP_FLAGS_IN();
   4828     ecx = MEM32(esi + 0x30); /* 0x2B05E0D9: mov ecx, dword ptr [esi + 0x30] */
   4829     RECOMP_ICALL(0x2B05F750u); /* 0x2B05E0DC: call 0x2b05f750 */ /* not lifted */
   4830     RECOMP_FLAGS_IN();
   4831     ecx = MEM32(esi + 0x34); /* 0x2B05E0E1: mov ecx, dword ptr [esi + 0x34] */
   4832     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05E0E4: call 0x2b05f2a0 */ /* not lifted */
   4833     RECOMP_FLAGS_IN();
   4834     ecx = MEM32(esi + 0x38); /* 0x2B05E0E9: mov ecx, dword ptr [esi + 0x38] */
   4835     RECOMP_ICALL(0x2B05F750u); /* 0x2B05E0EC: call 0x2b05f750 */ /* not lifted */
   4836     RECOMP_FLAGS_IN();
   4837     ecx = MEM32(esi + 0x3C); /* 0x2B05E0F1: mov ecx, dword ptr [esi + 0x3c] */
   4838     RECOMP_ICALL(0x2B05F750u); /* 0x2B05E0F4: call 0x2b05f750 */ /* not lifted */
   4839     RECOMP_FLAGS_IN();
   4840     ecx = MEM32(esi + 0x40); /* 0x2B05E0F9: mov ecx, dword ptr [esi + 0x40] */
   4841     RECOMP_ICALL(0x2B05F750u); /* 0x2B05E0FC: call 0x2b05f750 */ /* not lifted */
   4842     RECOMP_FLAGS_IN();
   4843     ecx = MEM32(esi + 0x44); /* 0x2B05E101: mov ecx, dword ptr [esi + 0x44] */
   4844     RECOMP_ICALL(0x2B05F750u); /* 0x2B05E104: call 0x2b05f750 */ /* not lifted */
   4845     RECOMP_FLAGS_IN();
   4846 L_2B05E109:
   4847     esi = POP32_VAL(esp); /* 0x2B05E109: pop esi */
   4848     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E10A: ret  */
   4849     RECOMP_REGS_OUT();
   4850 }
   4851 
   4852 void sub_2B05E110(void) {
   4853     int _fpu_cmp = 0;
   4854     uint32_t _cf = 0;
   4855     int _df = 1;
   4856     uint32_t _flag_k = FK_NONE;
   4857     uint32_t _flag_a = 0, _flag_b = 0;
   4858     uint32_t _itail_tgt = 0;
   4859     RECOMP_REGS_LOCALS
   4860     RECOMP_ENTER(0x2B05E110u);
   4861 
   4862 L_2B05E110:
   4863     PUSH32(esp, esi); /* 0x2B05E110: push esi */
   4864     esi = ecx; /* 0x2B05E111: mov esi, ecx */
   4865     eax = MEM32(esi + 0x28); /* 0x2B05E113: mov eax, dword ptr [esi + 0x28] */
   4866     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05E116: mov byte ptr [eax + 8], 0 */
   4867     ecx = MEM32(esi + 0x2C); /* 0x2B05E11A: mov ecx, dword ptr [esi + 0x2c] */
   4868     RECOMP_ICALL(0x2B05F770u); /* 0x2B05E11D: call 0x2b05f770 */ /* not lifted */
   4869     RECOMP_FLAGS_IN();
   4870     ecx = MEM32(esi + 0x30); /* 0x2B05E122: mov ecx, dword ptr [esi + 0x30] */
   4871     RECOMP_ICALL(0x2B05F770u); /* 0x2B05E125: call 0x2b05f770 */ /* not lifted */
   4872     RECOMP_FLAGS_IN();
   4873     ecx = MEM32(esi + 0x34); /* 0x2B05E12A: mov ecx, dword ptr [esi + 0x34] */
   4874     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05E12D: call 0x2b05f2c0 */ /* not lifted */
   4875     RECOMP_FLAGS_IN();
   4876     ecx = MEM32(esi + 0x38); /* 0x2B05E132: mov ecx, dword ptr [esi + 0x38] */
   4877     RECOMP_ICALL(0x2B05F770u); /* 0x2B05E135: call 0x2b05f770 */ /* not lifted */
   4878     RECOMP_FLAGS_IN();
   4879     ecx = MEM32(esi + 0x3C); /* 0x2B05E13A: mov ecx, dword ptr [esi + 0x3c] */
   4880     RECOMP_ICALL(0x2B05F770u); /* 0x2B05E13D: call 0x2b05f770 */ /* not lifted */
   4881     RECOMP_FLAGS_IN();
   4882     ecx = MEM32(esi + 0x40); /* 0x2B05E142: mov ecx, dword ptr [esi + 0x40] */
   4883     RECOMP_ICALL(0x2B05F770u); /* 0x2B05E145: call 0x2b05f770 */ /* not lifted */
   4884     RECOMP_FLAGS_IN();
   4885     ecx = MEM32(esi + 0x44); /* 0x2B05E14A: mov ecx, dword ptr [esi + 0x44] */
   4886     RECOMP_ICALL(0x2B05F770u); /* 0x2B05E14D: call 0x2b05f770 */ /* not lifted */
   4887     RECOMP_FLAGS_IN();
   4888     esi = POP32_VAL(esp); /* 0x2B05E152: pop esi */
   4889     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E153: ret  */
   4890     RECOMP_REGS_OUT();
   4891 }
   4892 
   4893 void sub_2B05E160(void) {
   4894     int _fpu_cmp = 0;
   4895     uint32_t _cf = 0;
   4896     int _df = 1;
   4897     uint32_t _flag_k = FK_NONE;
   4898     uint32_t _flag_a = 0, _flag_b = 0;
   4899     uint32_t _itail_tgt = 0;
   4900     RECOMP_REGS_LOCALS
   4901     RECOMP_ENTER(0x2B05E160u);
   4902 
   4903 L_2B05E160:
   4904     PUSH32(esp, ebp); /* 0x2B05E160: push ebp */
   4905     ebp = esp; /* 0x2B05E161: mov ebp, esp */
   4906     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   4907     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4908     esp = esp - 0x20u; /* 0x2B05E163: sub esp, 0x20 */
   4909     _flag_k = FK_CMP;
   4910     eax = MEM32(0x2B0B6048); /* 0x2B05E166: mov eax, dword ptr [0x2b0b6048] */
   4911     PUSH32(esp, ebx); /* 0x2B05E16B: push ebx */
   4912     PUSH32(esp, esi); /* 0x2B05E16C: push esi */
   4913     PUSH32(esp, edi); /* 0x2B05E16D: push edi */
   4914     PUSH32(esp, 0); /* 0x2B05E16E: push 0 */
   4915     ebx = ecx; /* 0x2B05E170: mov ebx, ecx */
   4916     ecx = MEM32(eax); /* 0x2B05E172: mov ecx, dword ptr [eax] */
   4917     PUSH32(esp, 0x2B0EA0F0u); /* 0x2B05E174: push 0x2b0ea0f0 */
   4918     RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05E179: call dword ptr [0x2b0b602c] */
   4919     RECOMP_FLAGS_IN();
   4920     /* cmp eax, 1 */ /* 0x2B05E17F: cmp eax, 1 */
   4921     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4922     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4923     _flag_k = FK_CMP;
   4924     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05E18E; /* 0x2B05E182: jne 0x2b05e18e */
   4925 L_2B05E184:
   4926     edx = ebp + (-0x20); /* 0x2B05E184: lea edx, [ebp - 0x20] */
   4927     edi = 0x2B0EA138u; /* 0x2B05E187: mov edi, 0x2b0ea138 */
   4928     goto L_2B05E1A0; /* 0x2B05E18C: jmp 0x2b05e1a0 */
   4929 L_2B05E18E:
   4930     /* cmp eax, 2 */ /* 0x2B05E18E: cmp eax, 2 */
   4931     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   4932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4933     _flag_k = FK_CMP;
   4934     edx = ebp + (-0x20); /* 0x2B05E191: lea edx, [ebp - 0x20] */
   4935     edi = 0x2B0EA130u; /* 0x2B05E194: mov edi, 0x2b0ea130 */
   4936     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E1A0; /* 0x2B05E199: je 0x2b05e1a0 */
   4937 L_2B05E19B:
   4938     edi = 0x2B0EA128u; /* 0x2B05E19B: mov edi, 0x2b0ea128 */
   4939 L_2B05E1A0:
   4940     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   4941     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05E1A0: or ecx, 0xffffffff */
   4942     _cf = 0;
   4943     _flag_k = FK_TEST;
   4944     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4945     eax = 0; /* 0x2B05E1A3: xor eax, eax */
   4946     _cf = 0;
   4947     _flag_k = FK_TEST;
   4948     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; } /* 0x2B05E1A5: repne scasb al, byte ptr es:[edi] */
   4949     ecx = ~ecx; /* 0x2B05E1A7: not ecx */
   4950     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   4951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4952     edi = edi - ecx; /* 0x2B05E1A9: sub edi, ecx */
   4953     _flag_k = FK_CMP;
   4954     eax = ecx; /* 0x2B05E1AB: mov eax, ecx */
   4955     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05E1AD: shr ecx, 2 */
   4956     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4957     ecx = ecx >> 2u; /* 0x2B05E1AD: shr ecx, 2 */
   4958     esi = edi; /* 0x2B05E1B0: mov esi, edi */
   4959     edi = edx; /* 0x2B05E1B2: mov edi, edx */
   4960     edx = MEM32(ebx + 0x2C); /* 0x2B05E1B4: mov edx, dword ptr [ebx + 0x2c] */
   4961     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05E1B7: 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; }
   4962     ecx = eax; /* 0x2B05E1B9: mov ecx, eax */
   4963     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   4964     ecx = ecx & 3; /* 0x2B05E1BB: and ecx, 3 */
   4965     _cf = 0;
   4966     _flag_k = FK_TEST;
   4967     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05E1BE: 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; }
   4968     ecx = ebp + (-0x20); /* 0x2B05E1C0: lea ecx, [ebp - 0x20] */
   4969     PUSH32(esp, ecx); /* 0x2B05E1C3: push ecx */
   4970     ecx = MEM32(edx + 0x8); /* 0x2B05E1C4: mov ecx, dword ptr [edx + 8] */
   4971     RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B05E1C7: call dword ptr [0x2b0b5850] */
   4972     RECOMP_FLAGS_IN();
   4973     eax = MEM32(0x2B0B6048); /* 0x2B05E1CD: mov eax, dword ptr [0x2b0b6048] */
   4974     ecx = MEM32(eax); /* 0x2B05E1D2: mov ecx, dword ptr [eax] */
   4975     PUSH32(esp, 0); /* 0x2B05E1D4: push 0 */
   4976     PUSH32(esp, 0x2B0EA0C8u); /* 0x2B05E1D6: push 0x2b0ea0c8 */
   4977     RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05E1DB: call dword ptr [0x2b0b602c] */
   4978     RECOMP_FLAGS_IN();
   4979     /* test eax, eax */ /* 0x2B05E1E1: test eax, eax */
   4980     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4981     _cf = 0;
   4982     _flag_k = FK_TEST;
   4983     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05E1EF; /* 0x2B05E1E3: jne 0x2b05e1ef */
   4984 L_2B05E1E5:
   4985     edx = ebp + (-0x20); /* 0x2B05E1E5: lea edx, [ebp - 0x20] */
   4986     edi = 0x2B0EA120u; /* 0x2B05E1E8: mov edi, 0x2b0ea120 */
   4987     goto L_2B05E201; /* 0x2B05E1ED: jmp 0x2b05e201 */
   4988 L_2B05E1EF:
   4989     /* cmp eax, 1 */ /* 0x2B05E1EF: cmp eax, 1 */
   4990     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4991     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4992     _flag_k = FK_CMP;
   4993     edx = ebp + (-0x20); /* 0x2B05E1F2: lea edx, [ebp - 0x20] */
   4994     edi = 0x2B0EA114u; /* 0x2B05E1F5: mov edi, 0x2b0ea114 */
   4995     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E201; /* 0x2B05E1FA: je 0x2b05e201 */
   4996 L_2B05E1FC:
   4997     edi = 0x2B0EA10Cu; /* 0x2B05E1FC: mov edi, 0x2b0ea10c */
   4998 L_2B05E201:
   4999     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   5000     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05E201: or ecx, 0xffffffff */
   5001     _cf = 0;
   5002     _flag_k = FK_TEST;
   5003     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5004     eax = 0; /* 0x2B05E204: xor eax, eax */
   5005     _cf = 0;
   5006     _flag_k = FK_TEST;
   5007     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; } /* 0x2B05E206: repne scasb al, byte ptr es:[edi] */
   5008     ecx = ~ecx; /* 0x2B05E208: not ecx */
   5009     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   5010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5011     edi = edi - ecx; /* 0x2B05E20A: sub edi, ecx */
   5012     _flag_k = FK_CMP;
   5013     eax = ecx; /* 0x2B05E20C: mov eax, ecx */
   5014     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05E20E: shr ecx, 2 */
   5015     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5016     ecx = ecx >> 2u; /* 0x2B05E20E: shr ecx, 2 */
   5017     esi = edi; /* 0x2B05E211: mov esi, edi */
   5018     edi = edx; /* 0x2B05E213: mov edi, edx */
   5019     edx = MEM32(ebx + 0x30); /* 0x2B05E215: mov edx, dword ptr [ebx + 0x30] */
   5020     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05E218: 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; }
   5021     ecx = eax; /* 0x2B05E21A: mov ecx, eax */
   5022     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   5023     ecx = ecx & 3; /* 0x2B05E21C: and ecx, 3 */
   5024     _cf = 0;
   5025     _flag_k = FK_TEST;
   5026     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05E21F: 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; }
   5027     esi = MEM32(0x2B0B5850); /* 0x2B05E221: mov esi, dword ptr [0x2b0b5850] */
   5028     ecx = ebp + (-0x20); /* 0x2B05E227: lea ecx, [ebp - 0x20] */
   5029     PUSH32(esp, ecx); /* 0x2B05E22A: push ecx */
   5030     ecx = MEM32(edx + 0x8); /* 0x2B05E22B: mov ecx, dword ptr [edx + 8] */
   5031     RECOMP_ICALL(esi); /* 0x2B05E22E: call esi */
   5032     RECOMP_FLAGS_IN();
   5033     eax = MEM32(0x2B0B6048); /* 0x2B05E230: mov eax, dword ptr [0x2b0b6048] */
   5034     ecx = MEM32(eax); /* 0x2B05E235: mov ecx, dword ptr [eax] */
   5035     PUSH32(esp, 1); /* 0x2B05E237: push 1 */
   5036     PUSH32(esp, 0x2B0EA078u); /* 0x2B05E239: push 0x2b0ea078 */
   5037     RECOMP_ICALL(MEM32(0x2B0B6024)); /* 0x2B05E23E: call dword ptr [0x2b0b6024] */
   5038     RECOMP_FLAGS_IN();
   5039     _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B05E244: fmul dword ptr [0x2b0b63b8] */
   5040     edi = MEM32(0x2B0B51F0); /* 0x2B05E24A: mov edi, dword ptr [0x2b0b51f0] */
   5041     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5042     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5043     esp = esp - 8; /* 0x2B05E250: sub esp, 8 */
   5044     _flag_k = FK_CMP;
   5045     ecx = ebp + (-0x20); /* 0x2B05E253: lea ecx, [ebp - 0x20] */
   5046     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B05E256: fstp qword ptr [esp] */
   5047     PUSH32(esp, 0x2B0E8978u); /* 0x2B05E259: push 0x2b0e8978 */
   5048     PUSH32(esp, ecx); /* 0x2B05E25E: push ecx */
   5049     RECOMP_ICALL(edi); /* 0x2B05E25F: call edi */
   5050     RECOMP_FLAGS_IN();
   5051     eax = MEM32(ebx + 0x38); /* 0x2B05E261: mov eax, dword ptr [ebx + 0x38] */
   5052     ecx = MEM32(eax + 0x8); /* 0x2B05E264: mov ecx, dword ptr [eax + 8] */
   5053     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5054     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5055     esp = esp + 0x10u; /* 0x2B05E267: add esp, 0x10 */
   5056     _flag_k = FK_ADD;
   5057     edx = ebp + (-0x20); /* 0x2B05E26A: lea edx, [ebp - 0x20] */
   5058     PUSH32(esp, edx); /* 0x2B05E26D: push edx */
   5059     RECOMP_ICALL(esi); /* 0x2B05E26E: call esi */
   5060     RECOMP_FLAGS_IN();
   5061     ecx = MEM32(0x2B0B6048); /* 0x2B05E270: mov ecx, dword ptr [0x2b0b6048] */
   5062     ecx = MEM32(ecx); /* 0x2B05E276: mov ecx, dword ptr [ecx] */
   5063     PUSH32(esp, 1); /* 0x2B05E278: push 1 */
   5064     PUSH32(esp, 0x2B0EA054u); /* 0x2B05E27A: push 0x2b0ea054 */
   5065     RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05E27F: call dword ptr [0x2b0b602c] */
   5066     RECOMP_FLAGS_IN();
   5067     PUSH32(esp, eax); /* 0x2B05E285: push eax */
   5068     edx = ebp + (-0x20); /* 0x2B05E286: lea edx, [ebp - 0x20] */
   5069     PUSH32(esp, 0x2B0EA104u); /* 0x2B05E289: push 0x2b0ea104 */
   5070     PUSH32(esp, edx); /* 0x2B05E28E: push edx */
   5071     RECOMP_ICALL(edi); /* 0x2B05E28F: call edi */
   5072     RECOMP_FLAGS_IN();
   5073     ecx = MEM32(ebx + 0x3C); /* 0x2B05E291: mov ecx, dword ptr [ebx + 0x3c] */
   5074     ecx = MEM32(ecx + 0x8); /* 0x2B05E294: mov ecx, dword ptr [ecx + 8] */
   5075     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5076     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5077     esp = esp + 0xCu; /* 0x2B05E297: add esp, 0xc */
   5078     _flag_k = FK_ADD;
   5079     eax = ebp + (-0x20); /* 0x2B05E29A: lea eax, [ebp - 0x20] */
   5080     PUSH32(esp, eax); /* 0x2B05E29D: push eax */
   5081     RECOMP_ICALL(esi); /* 0x2B05E29E: call esi */
   5082     RECOMP_FLAGS_IN();
   5083     edx = MEM32(0x2B0B6048); /* 0x2B05E2A0: mov edx, dword ptr [0x2b0b6048] */
   5084     ecx = MEM32(edx); /* 0x2B05E2A6: mov ecx, dword ptr [edx] */
   5085     PUSH32(esp, 1); /* 0x2B05E2A8: push 1 */
   5086     PUSH32(esp, 0x2B0EA028u); /* 0x2B05E2AA: push 0x2b0ea028 */
   5087     RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05E2AF: call dword ptr [0x2b0b602c] */
   5088     RECOMP_FLAGS_IN();
   5089     PUSH32(esp, eax); /* 0x2B05E2B5: push eax */
   5090     eax = ebp + (-0x20); /* 0x2B05E2B6: lea eax, [ebp - 0x20] */
   5091     PUSH32(esp, 0x2B0E7354u); /* 0x2B05E2B9: push 0x2b0e7354 */
   5092     PUSH32(esp, eax); /* 0x2B05E2BE: push eax */
   5093     RECOMP_ICALL(edi); /* 0x2B05E2BF: call edi */
   5094     RECOMP_FLAGS_IN();
   5095     edx = MEM32(ebx + 0x40); /* 0x2B05E2C1: mov edx, dword ptr [ebx + 0x40] */
   5096     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5097     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5098     esp = esp + 0xCu; /* 0x2B05E2C4: add esp, 0xc */
   5099     _flag_k = FK_ADD;
   5100     ecx = ebp + (-0x20); /* 0x2B05E2C7: lea ecx, [ebp - 0x20] */
   5101     PUSH32(esp, ecx); /* 0x2B05E2CA: push ecx */
   5102     ecx = MEM32(edx + 0x8); /* 0x2B05E2CB: mov ecx, dword ptr [edx + 8] */
   5103     RECOMP_ICALL(esi); /* 0x2B05E2CE: call esi */
   5104     RECOMP_FLAGS_IN();
   5105     eax = MEM32(0x2B0B6048); /* 0x2B05E2D0: mov eax, dword ptr [0x2b0b6048] */
   5106     ecx = MEM32(eax); /* 0x2B05E2D5: mov ecx, dword ptr [eax] */
   5107     PUSH32(esp, 1); /* 0x2B05E2D7: push 1 */
   5108     PUSH32(esp, 0x2B0EA000u); /* 0x2B05E2D9: push 0x2b0ea000 */
   5109     RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05E2DE: call dword ptr [0x2b0b602c] */
   5110     RECOMP_FLAGS_IN();
   5111     PUSH32(esp, eax); /* 0x2B05E2E4: push eax */
   5112     ecx = ebp + (-0x20); /* 0x2B05E2E5: lea ecx, [ebp - 0x20] */
   5113     PUSH32(esp, 0x2B0E7354u); /* 0x2B05E2E8: push 0x2b0e7354 */
   5114     PUSH32(esp, ecx); /* 0x2B05E2ED: push ecx */
   5115     RECOMP_ICALL(edi); /* 0x2B05E2EE: call edi */
   5116     RECOMP_FLAGS_IN();
   5117     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5119     esp = esp + 0xCu; /* 0x2B05E2F0: add esp, 0xc */
   5120     _flag_k = FK_ADD;
   5121     eax = MEM32(ebx + 0x44); /* 0x2B05E2F3: mov eax, dword ptr [ebx + 0x44] */
   5122     ecx = MEM32(eax + 0x8); /* 0x2B05E2F6: mov ecx, dword ptr [eax + 8] */
   5123     edx = ebp + (-0x20); /* 0x2B05E2F9: lea edx, [ebp - 0x20] */
   5124     PUSH32(esp, edx); /* 0x2B05E2FC: push edx */
   5125     RECOMP_ICALL(esi); /* 0x2B05E2FD: call esi */
   5126     RECOMP_FLAGS_IN();
   5127     ecx = ebx; /* 0x2B05E2FF: mov ecx, ebx */
   5128     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B05E301: call 0x2b03a2b0 */ /* not lifted */
   5129     RECOMP_FLAGS_IN();
   5130     edi = POP32_VAL(esp); /* 0x2B05E306: pop edi */
   5131     esi = POP32_VAL(esp); /* 0x2B05E307: pop esi */
   5132     ebx = POP32_VAL(esp); /* 0x2B05E308: pop ebx */
   5133     esp = ebp; /* 0x2B05E309: mov esp, ebp */
   5134     ebp = POP32_VAL(esp); /* 0x2B05E30B: pop ebp */
   5135     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E30C: ret  */
   5136     RECOMP_REGS_OUT();
   5137 }
   5138 
   5139 void sub_2B05E310(void) {
   5140     int _fpu_cmp = 0;
   5141     uint32_t _cf = 0;
   5142     int _df = 1;
   5143     uint32_t _flag_k = FK_NONE;
   5144     uint32_t _flag_a = 0, _flag_b = 0;
   5145     uint32_t _itail_tgt = 0;
   5146     RECOMP_REGS_LOCALS
   5147     RECOMP_ENTER(0x2B05E310u);
   5148 
   5149 L_2B05E310:
   5150     PUSH32(esp, ebp); /* 0x2B05E310: push ebp */
   5151     ebp = esp; /* 0x2B05E311: mov ebp, esp */
   5152     ecx = MEM32(0x2B0EEC38); /* 0x2B05E313: mov ecx, dword ptr [0x2b0eec38] */
   5153     /* test ecx, ecx */ /* 0x2B05E319: test ecx, ecx */
   5154     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5155     _cf = 0;
   5156     _flag_k = FK_TEST;
   5157     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05E333; /* 0x2B05E31B: je 0x2b05e333 */
   5158 L_2B05E31D:
   5159     eax = MEM32(ebp + 0x10); /* 0x2B05E31D: mov eax, dword ptr [ebp + 0x10] */
   5160     edx = MEM32(ebp + 0xC); /* 0x2B05E320: mov edx, dword ptr [ebp + 0xc] */
   5161     PUSH32(esp, eax); /* 0x2B05E323: push eax */
   5162     eax = MEM32(ebp + 0x8); /* 0x2B05E324: mov eax, dword ptr [ebp + 8] */
   5163     fp_push(*(double*)ADDR(eax)); /* 0x2B05E327: fld qword ptr [eax] */
   5164     PUSH32(esp, edx); /* 0x2B05E329: push edx */
   5165     PUSH32(esp, ecx); /* 0x2B05E32A: push ecx */
   5166     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B05E32B: fstp dword ptr [esp] */
   5167     RECOMP_ICALL(0x2B05E340u); /* 0x2B05E32E: call 0x2b05e340 */ /* not lifted */
   5168     RECOMP_FLAGS_IN();
   5169 L_2B05E333:
   5170     ebp = POP32_VAL(esp); /* 0x2B05E333: pop ebp */
   5171     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E334: ret  */
   5172     RECOMP_REGS_OUT();
   5173 }
   5174 
   5175 void sub_2B05E340(void) {
   5176     int _fpu_cmp = 0;
   5177     uint32_t _cf = 0;
   5178     int _df = 1;
   5179     uint32_t _flag_k = FK_NONE;
   5180     uint32_t _flag_a = 0, _flag_b = 0;
   5181     uint32_t _itail_tgt = 0;
   5182     RECOMP_REGS_LOCALS
   5183     RECOMP_ENTER(0x2B05E340u);
   5184 
   5185 L_2B05E340:
   5186     PUSH32(esp, ebp); /* 0x2B05E340: push ebp */
   5187 L_2B05E341:
   5188     ebp = esp; /* 0x2B05E341: mov ebp, esp */
   5189 L_2B05E343:
   5190     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x64u);
   5191     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5192     esp = esp - 0x64u; /* 0x2B05E343: sub esp, 0x64 */
   5193     _flag_k = FK_CMP;
   5194 L_2B05E346:
   5195     eax = MEM32(ebp + 0xC); /* 0x2B05E346: mov eax, dword ptr [ebp + 0xc] */
   5196 L_2B05E349:
   5197     /* cmp eax, 5 */ /* 0x2B05E349: cmp eax, 5 */
   5198     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5);
   5199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5200     _flag_k = FK_CMP;
   5201 L_2B05E34C:
   5202     PUSH32(esp, ebx); /* 0x2B05E34C: push ebx */
   5203 L_2B05E34D:
   5204     PUSH32(esp, esi); /* 0x2B05E34D: push esi */
   5205 L_2B05E34E:
   5206     PUSH32(esp, edi); /* 0x2B05E34E: push edi */
   5207 L_2B05E34F:
   5208     esi = ecx; /* 0x2B05E34F: mov esi, ecx */
   5209 L_2B05E351:
   5210     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B05E4FD; /* 0x2B05E351: ja 0x2b05e4fd */
   5211 L_2B05E357:
   5212     { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B05E510)); goto _ljump; }
   5213 L_2B05E35E:
   5214     SET_LO8(ebx, MEM8(ebp + 0x10)); /* 0x2B05E35E: mov bl, byte ptr [ebp + 0x10] */
   5215 L_2B05E361:
   5216     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E361: fld dword ptr [ebp + 8] */
   5217 L_2B05E364:
   5218     _st[0] *= (double)*(float*)ADDR(0x2B0B6CD8); /* 0x2B05E364: fmul dword ptr [0x2b0b6cd8] */
   5219 L_2B05E36A:
   5220     /* test LO8(ebx), LO8(ebx) */ /* 0x2B05E36A: test bl, bl */
   5221     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5222     _cf = 0;
   5223     _flag_k = FK_NARROW(FK_TEST, 24);
   5224 L_2B05E36C:
   5225     SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) ? 1 : 0); /* 0x2B05E36C: sete al */
   5226 L_2B05E36F:
   5227     PUSH32(esp, eax); /* 0x2B05E36F: push eax */
   5228 L_2B05E370:
   5229     PUSH32(esp, 0); /* 0x2B05E370: push 0 */
   5230 L_2B05E372:
   5231     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05E372: call 0x2b0ab220 */ /* not lifted */
   5232     RECOMP_FLAGS_IN();
   5233 L_2B05E377:
   5234     edx = MEM32(0x2B0B6048); /* 0x2B05E377: mov edx, dword ptr [0x2b0b6048] */
   5235 L_2B05E37D:
   5236     ecx = 1; /* 0x2B05E37D: mov ecx, 1 */
   5237 L_2B05E382:
   5238     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   5239     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5240     ecx = ecx - eax; /* 0x2B05E382: sub ecx, eax */
   5241     _flag_k = FK_CMP;
   5242 L_2B05E384:
   5243     PUSH32(esp, ecx); /* 0x2B05E384: push ecx */
   5244 L_2B05E385:
   5245     ecx = MEM32(edx); /* 0x2B05E385: mov ecx, dword ptr [edx] */
   5246 L_2B05E387:
   5247     PUSH32(esp, 0x2B0EA0F0u); /* 0x2B05E387: push 0x2b0ea0f0 */
   5248 L_2B05E38C:
   5249     RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05E38C: call dword ptr [0x2b0b604c] */
   5250     RECOMP_FLAGS_IN();
   5251 L_2B05E392:
   5252     /* test LO8(ebx), LO8(ebx) */ /* 0x2B05E392: test bl, bl */
   5253     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5254     _cf = 0;
   5255     _flag_k = FK_NARROW(FK_TEST, 24);
   5256 L_2B05E394:
   5257     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B05E4FD; /* 0x2B05E394: jne 0x2b05e4fd */
   5258 L_2B05E39A:
   5259     eax = ebp + (-0x64); /* 0x2B05E39A: lea eax, [ebp - 0x64] */
   5260 L_2B05E39D:
   5261     PUSH32(esp, 0x2B0EA190u); /* 0x2B05E39D: push 0x2b0ea190 */
   5262 L_2B05E3A2:
   5263     PUSH32(esp, eax); /* 0x2B05E3A2: push eax */
   5264 L_2B05E3A3:
   5265     RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B05E3A3: call dword ptr [0x2b0b51f0] */
   5266     RECOMP_FLAGS_IN();
   5267 L_2B05E3A9:
   5268     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   5269     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05E3A9: or ecx, 0xffffffff */
   5270     _cf = 0;
   5271     _flag_k = FK_TEST;
   5272 L_2B05E3AC:
   5273     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5274     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5275     esp = esp + 8; /* 0x2B05E3AC: add esp, 8 */
   5276     _flag_k = FK_ADD;
   5277 L_2B05E3AF:
   5278     edi = ebp + (-0x64); /* 0x2B05E3AF: lea edi, [ebp - 0x64] */
   5279 L_2B05E3B2:
   5280     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5281     eax = 0; /* 0x2B05E3B2: xor eax, eax */
   5282     _cf = 0;
   5283     _flag_k = FK_TEST;
   5284 L_2B05E3B4:
   5285     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; } /* 0x2B05E3B4: repne scasb al, byte ptr es:[edi] */
   5286 L_2B05E3B6:
   5287     ecx = ~ecx; /* 0x2B05E3B6: not ecx */
   5288 L_2B05E3B8:
   5289     PUSH32(esp, ecx); /* 0x2B05E3B8: push ecx */
   5290 L_2B05E3B9:
   5291     ecx = ebp + (-0x64); /* 0x2B05E3B9: lea ecx, [ebp - 0x64] */
   5292 L_2B05E3BC:
   5293     PUSH32(esp, ecx); /* 0x2B05E3BC: push ecx */
   5294 L_2B05E3BD:
   5295     goto L_2B05E412; /* 0x2B05E3BD: jmp 0x2b05e412 */
   5296 L_2B05E3BF:
   5297     SET_LO8(ebx, MEM8(ebp + 0x10)); /* 0x2B05E3BF: mov bl, byte ptr [ebp + 0x10] */
   5298 L_2B05E3C2:
   5299     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E3C2: fld dword ptr [ebp + 8] */
   5300 L_2B05E3C5:
   5301     /* test LO8(ebx), LO8(ebx) */ /* 0x2B05E3C5: test bl, bl */
   5302     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5303     _cf = 0;
   5304     _flag_k = FK_NARROW(FK_TEST, 24);
   5305 L_2B05E3C7:
   5306     _st[0] += _st[0]; /* 0x2B05E3C7: fadd st(0), st(0) */
   5307 L_2B05E3C9:
   5308     SET_LO8(edx, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) ? 1 : 0); /* 0x2B05E3C9: sete dl */
   5309 L_2B05E3CC:
   5310     PUSH32(esp, edx); /* 0x2B05E3CC: push edx */
   5311 L_2B05E3CD:
   5312     PUSH32(esp, 0); /* 0x2B05E3CD: push 0 */
   5313 L_2B05E3CF:
   5314     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05E3CF: call 0x2b0ab220 */ /* not lifted */
   5315     RECOMP_FLAGS_IN();
   5316 L_2B05E3D4:
   5317     PUSH32(esp, eax); /* 0x2B05E3D4: push eax */
   5318 L_2B05E3D5:
   5319     eax = MEM32(0x2B0B6048); /* 0x2B05E3D5: mov eax, dword ptr [0x2b0b6048] */
   5320 L_2B05E3DA:
   5321     ecx = MEM32(eax); /* 0x2B05E3DA: mov ecx, dword ptr [eax] */
   5322 L_2B05E3DC:
   5323     PUSH32(esp, 0x2B0EA0C8u); /* 0x2B05E3DC: push 0x2b0ea0c8 */
   5324 L_2B05E3E1:
   5325     RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05E3E1: call dword ptr [0x2b0b604c] */
   5326     RECOMP_FLAGS_IN();
   5327 L_2B05E3E7:
   5328     /* test LO8(ebx), LO8(ebx) */ /* 0x2B05E3E7: test bl, bl */
   5329     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5330     _cf = 0;
   5331     _flag_k = FK_NARROW(FK_TEST, 24);
   5332 L_2B05E3E9:
   5333     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B05E4FD; /* 0x2B05E3E9: jne 0x2b05e4fd */
   5334 L_2B05E3EF:
   5335     ecx = ebp + (-0x64); /* 0x2B05E3EF: lea ecx, [ebp - 0x64] */
   5336 L_2B05E3F2:
   5337     PUSH32(esp, 0x2B0EA13Cu); /* 0x2B05E3F2: push 0x2b0ea13c */
   5338 L_2B05E3F7:
   5339     PUSH32(esp, ecx); /* 0x2B05E3F7: push ecx */
   5340 L_2B05E3F8:
   5341     RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B05E3F8: call dword ptr [0x2b0b51f0] */
   5342     RECOMP_FLAGS_IN();
   5343 L_2B05E3FE:
   5344     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5346     esp = esp + 8; /* 0x2B05E3FE: add esp, 8 */
   5347     _flag_k = FK_ADD;
   5348 L_2B05E401:
   5349     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   5350     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05E401: or ecx, 0xffffffff */
   5351     _cf = 0;
   5352     _flag_k = FK_TEST;
   5353 L_2B05E404:
   5354     edi = ebp + (-0x64); /* 0x2B05E404: lea edi, [ebp - 0x64] */
   5355 L_2B05E407:
   5356     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5357     eax = 0; /* 0x2B05E407: xor eax, eax */
   5358     _cf = 0;
   5359     _flag_k = FK_TEST;
   5360 L_2B05E409:
   5361     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; } /* 0x2B05E409: repne scasb al, byte ptr es:[edi] */
   5362 L_2B05E40B:
   5363     ecx = ~ecx; /* 0x2B05E40B: not ecx */
   5364 L_2B05E40D:
   5365     PUSH32(esp, ecx); /* 0x2B05E40D: push ecx */
   5366 L_2B05E40E:
   5367     edx = ebp + (-0x64); /* 0x2B05E40E: lea edx, [ebp - 0x64] */
   5368 L_2B05E411:
   5369     PUSH32(esp, edx); /* 0x2B05E411: push edx */
   5370 L_2B05E412:
   5371     edi = MEM32(0x2B0B53CC); /* 0x2B05E412: mov edi, dword ptr [0x2b0b53cc] */
   5372 L_2B05E418:
   5373     PUSH32(esp, 0x99u); /* 0x2B05E418: push 0x99 */
   5374 L_2B05E41D:
   5375     PUSH32(esp, 3); /* 0x2B05E41D: push 3 */
   5376 L_2B05E41F:
   5377     RECOMP_ICALL(edi); /* 0x2B05E41F: call edi */
   5378     RECOMP_FLAGS_IN();
   5379 L_2B05E421:
   5380     ecx = eax; /* 0x2B05E421: mov ecx, eax */
   5381 L_2B05E423:
   5382     RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B05E423: call dword ptr [0x2b0b53c4] */
   5383     RECOMP_FLAGS_IN();
   5384 L_2B05E429:
   5385     PUSH32(esp, 0xEu); /* 0x2B05E429: push 0xe */
   5386 L_2B05E42B:
   5387     RECOMP_ICALL(edi); /* 0x2B05E42B: call edi */
   5388     RECOMP_FLAGS_IN();
   5389 L_2B05E42D:
   5390     ecx = eax; /* 0x2B05E42D: mov ecx, eax */
   5391 L_2B05E42F:
   5392     RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B05E42F: call dword ptr [0x2b0b53b0] */
   5393     RECOMP_FLAGS_IN();
   5394 L_2B05E435:
   5395     ecx = esi; /* 0x2B05E435: mov ecx, esi */
   5396 L_2B05E437:
   5397     RECOMP_ICALL(0x2B05E160u); /* 0x2B05E437: call 0x2b05e160 */ /* not lifted */
   5398     RECOMP_FLAGS_IN();
   5399 L_2B05E43C:
   5400     edi = POP32_VAL(esp); /* 0x2B05E43C: pop edi */
   5401 L_2B05E43D:
   5402     esi = POP32_VAL(esp); /* 0x2B05E43D: pop esi */
   5403 L_2B05E43E:
   5404     ebx = POP32_VAL(esp); /* 0x2B05E43E: pop ebx */
   5405 L_2B05E43F:
   5406     esp = ebp; /* 0x2B05E43F: mov esp, ebp */
   5407 L_2B05E441:
   5408     ebp = POP32_VAL(esp); /* 0x2B05E441: pop ebp */
   5409 L_2B05E442:
   5410     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B05E442: ret 0xc */
   5411 L_2B05E445:
   5412     SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B05E445: mov al, byte ptr [ebp + 0x10] */
   5413 L_2B05E448:
   5414     ecx = MEM32(ebp + 0x8); /* 0x2B05E448: mov ecx, dword ptr [ebp + 8] */
   5415 L_2B05E44B:
   5416     edx = MEM32(0x2B0B6048); /* 0x2B05E44B: mov edx, dword ptr [0x2b0b6048] */
   5417 L_2B05E451:
   5418     /* test LO8(eax), LO8(eax) */ /* 0x2B05E451: test al, al */
   5419     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5420     _cf = 0;
   5421     _flag_k = FK_NARROW(FK_TEST, 24);
   5422 L_2B05E453:
   5423     SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) ? 1 : 0); /* 0x2B05E453: sete al */
   5424 L_2B05E456:
   5425     PUSH32(esp, eax); /* 0x2B05E456: push eax */
   5426 L_2B05E457:
   5427     PUSH32(esp, 1); /* 0x2B05E457: push 1 */
   5428 L_2B05E459:
   5429     PUSH32(esp, ecx); /* 0x2B05E459: push ecx */
   5430 L_2B05E45A:
   5431     ecx = MEM32(edx); /* 0x2B05E45A: mov ecx, dword ptr [edx] */
   5432 L_2B05E45C:
   5433     PUSH32(esp, 0x2B0EA078u); /* 0x2B05E45C: push 0x2b0ea078 */
   5434 L_2B05E461:
   5435     RECOMP_ICALL(MEM32(0x2B0B6060)); /* 0x2B05E461: call dword ptr [0x2b0b6060] */
   5436     RECOMP_FLAGS_IN();
   5437 L_2B05E467:
   5438     { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B05E467: fstp st(0) */
   5439 L_2B05E469:
   5440     ecx = esi; /* 0x2B05E469: mov ecx, esi */
   5441 L_2B05E46B:
   5442     RECOMP_ICALL(0x2B05E160u); /* 0x2B05E46B: call 0x2b05e160 */ /* not lifted */
   5443     RECOMP_FLAGS_IN();
   5444 L_2B05E470:
   5445     edi = POP32_VAL(esp); /* 0x2B05E470: pop edi */
   5446 L_2B05E471:
   5447     esi = POP32_VAL(esp); /* 0x2B05E471: pop esi */
   5448 L_2B05E472:
   5449     ebx = POP32_VAL(esp); /* 0x2B05E472: pop ebx */
   5450 L_2B05E473:
   5451     esp = ebp; /* 0x2B05E473: mov esp, ebp */
   5452 L_2B05E475:
   5453     ebp = POP32_VAL(esp); /* 0x2B05E475: pop ebp */
   5454 L_2B05E476:
   5455     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B05E476: ret 0xc */
   5456 L_2B05E479:
   5457     SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B05E479: mov dl, byte ptr [ebp + 0x10] */
   5458 L_2B05E47C:
   5459     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E47C: fld dword ptr [ebp + 8] */
   5460 L_2B05E47F:
   5461     _st[0] *= (double)*(float*)ADDR(0x2B0B6CD4); /* 0x2B05E47F: fmul dword ptr [0x2b0b6cd4] */
   5462 L_2B05E485:
   5463     /* test LO8(edx), LO8(edx) */ /* 0x2B05E485: test dl, dl */
   5464     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5465     _cf = 0;
   5466     _flag_k = FK_NARROW(FK_TEST, 24);
   5467 L_2B05E487:
   5468     SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) ? 1 : 0); /* 0x2B05E487: sete al */
   5469 L_2B05E48A:
   5470     PUSH32(esp, eax); /* 0x2B05E48A: push eax */
   5471 L_2B05E48B:
   5472     PUSH32(esp, 1); /* 0x2B05E48B: push 1 */
   5473 L_2B05E48D:
   5474     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05E48D: call 0x2b0ab220 */ /* not lifted */
   5475     RECOMP_FLAGS_IN();
   5476 L_2B05E492:
   5477     ecx = 5; /* 0x2B05E492: mov ecx, 5 */
   5478 L_2B05E497:
   5479     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   5480     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5481     ecx = ecx - eax; /* 0x2B05E497: sub ecx, eax */
   5482     _flag_k = FK_CMP;
   5483 L_2B05E499:
   5484     PUSH32(esp, ecx); /* 0x2B05E499: push ecx */
   5485 L_2B05E49A:
   5486     PUSH32(esp, 0x2B0EA054u); /* 0x2B05E49A: push 0x2b0ea054 */
   5487 L_2B05E49F:
   5488     goto L_2B05E4EF; /* 0x2B05E49F: jmp 0x2b05e4ef */
   5489 L_2B05E4A1:
   5490     SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B05E4A1: mov dl, byte ptr [ebp + 0x10] */
   5491 L_2B05E4A4:
   5492     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E4A4: fld dword ptr [ebp + 8] */
   5493 L_2B05E4A7:
   5494     _st[0] *= (double)*(float*)ADDR(0x2B0B6CD0); /* 0x2B05E4A7: fmul dword ptr [0x2b0b6cd0] */
   5495 L_2B05E4AD:
   5496     /* test LO8(edx), LO8(edx) */ /* 0x2B05E4AD: test dl, dl */
   5497     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5498     _cf = 0;
   5499     _flag_k = FK_NARROW(FK_TEST, 24);
   5500 L_2B05E4AF:
   5501     SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) ? 1 : 0); /* 0x2B05E4AF: sete al */
   5502 L_2B05E4B2:
   5503     PUSH32(esp, eax); /* 0x2B05E4B2: push eax */
   5504 L_2B05E4B3:
   5505     PUSH32(esp, 1); /* 0x2B05E4B3: push 1 */
   5506 L_2B05E4B5:
   5507     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05E4B5: call 0x2b0ab220 */ /* not lifted */
   5508     RECOMP_FLAGS_IN();
   5509 L_2B05E4BA:
   5510     ecx = 0x64u; /* 0x2B05E4BA: mov ecx, 0x64 */
   5511 L_2B05E4BF:
   5512     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   5513     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5514     ecx = ecx - eax; /* 0x2B05E4BF: sub ecx, eax */
   5515     _flag_k = FK_CMP;
   5516 L_2B05E4C1:
   5517     PUSH32(esp, ecx); /* 0x2B05E4C1: push ecx */
   5518 L_2B05E4C2:
   5519     PUSH32(esp, 0x2B0EA028u); /* 0x2B05E4C2: push 0x2b0ea028 */
   5520 L_2B05E4C7:
   5521     goto L_2B05E4EF; /* 0x2B05E4C7: jmp 0x2b05e4ef */
   5522 L_2B05E4C9:
   5523     SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B05E4C9: mov dl, byte ptr [ebp + 0x10] */
   5524 L_2B05E4CC:
   5525     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E4CC: fld dword ptr [ebp + 8] */
   5526 L_2B05E4CF:
   5527     _st[0] *= (double)*(float*)ADDR(0x2B0B6CCC); /* 0x2B05E4CF: fmul dword ptr [0x2b0b6ccc] */
   5528 L_2B05E4D5:
   5529     /* test LO8(edx), LO8(edx) */ /* 0x2B05E4D5: test dl, dl */
   5530     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   5531     _cf = 0;
   5532     _flag_k = FK_NARROW(FK_TEST, 24);
   5533 L_2B05E4D7:
   5534     SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) ? 1 : 0); /* 0x2B05E4D7: sete al */
   5535 L_2B05E4DA:
   5536     PUSH32(esp, eax); /* 0x2B05E4DA: push eax */
   5537 L_2B05E4DB:
   5538     PUSH32(esp, 1); /* 0x2B05E4DB: push 1 */
   5539 L_2B05E4DD:
   5540     RECOMP_ICALL(0x2B0AB220u); /* 0x2B05E4DD: call 0x2b0ab220 */ /* not lifted */
   5541     RECOMP_FLAGS_IN();
   5542 L_2B05E4E2:
   5543     ecx = 3; /* 0x2B05E4E2: mov ecx, 3 */
   5544 L_2B05E4E7:
   5545     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   5546     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5547     ecx = ecx - eax; /* 0x2B05E4E7: sub ecx, eax */
   5548     _flag_k = FK_CMP;
   5549 L_2B05E4E9:
   5550     PUSH32(esp, ecx); /* 0x2B05E4E9: push ecx */
   5551 L_2B05E4EA:
   5552     PUSH32(esp, 0x2B0EA000u); /* 0x2B05E4EA: push 0x2b0ea000 */
   5553 L_2B05E4EF:
   5554     edx = MEM32(0x2B0B6048); /* 0x2B05E4EF: mov edx, dword ptr [0x2b0b6048] */
   5555 L_2B05E4F5:
   5556     ecx = MEM32(edx); /* 0x2B05E4F5: mov ecx, dword ptr [edx] */
   5557 L_2B05E4F7:
   5558     RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05E4F7: call dword ptr [0x2b0b604c] */
   5559     RECOMP_FLAGS_IN();
   5560 L_2B05E4FD:
   5561     ecx = esi; /* 0x2B05E4FD: mov ecx, esi */
   5562 L_2B05E4FF:
   5563     RECOMP_ICALL(0x2B05E160u); /* 0x2B05E4FF: call 0x2b05e160 */ /* not lifted */
   5564     RECOMP_FLAGS_IN();
   5565 L_2B05E504:
   5566     edi = POP32_VAL(esp); /* 0x2B05E504: pop edi */
   5567 L_2B05E505:
   5568     esi = POP32_VAL(esp); /* 0x2B05E505: pop esi */
   5569 L_2B05E506:
   5570     ebx = POP32_VAL(esp); /* 0x2B05E506: pop ebx */
   5571 L_2B05E507:
   5572     esp = ebp; /* 0x2B05E507: mov esp, ebp */
   5573 L_2B05E509:
   5574     ebp = POP32_VAL(esp); /* 0x2B05E509: pop ebp */
   5575 L_2B05E50A:
   5576     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B05E50A: ret 0xc */
   5577   _ljump:
   5578     switch (_itail_tgt) {
   5579       case 0x2B05E340u: goto L_2B05E340;
   5580       case 0x2B05E341u: goto L_2B05E341;
   5581       case 0x2B05E343u: goto L_2B05E343;
   5582       case 0x2B05E346u: goto L_2B05E346;
   5583       case 0x2B05E349u: goto L_2B05E349;
   5584       case 0x2B05E34Cu: goto L_2B05E34C;
   5585       case 0x2B05E34Du: goto L_2B05E34D;
   5586       case 0x2B05E34Eu: goto L_2B05E34E;
   5587       case 0x2B05E34Fu: goto L_2B05E34F;
   5588       case 0x2B05E351u: goto L_2B05E351;
   5589       case 0x2B05E357u: goto L_2B05E357;
   5590       case 0x2B05E35Eu: goto L_2B05E35E;
   5591       case 0x2B05E361u: goto L_2B05E361;
   5592       case 0x2B05E364u: goto L_2B05E364;
   5593       case 0x2B05E36Au: goto L_2B05E36A;
   5594       case 0x2B05E36Cu: goto L_2B05E36C;
   5595       case 0x2B05E36Fu: goto L_2B05E36F;
   5596       case 0x2B05E370u: goto L_2B05E370;
   5597       case 0x2B05E372u: goto L_2B05E372;
   5598       case 0x2B05E377u: goto L_2B05E377;
   5599       case 0x2B05E37Du: goto L_2B05E37D;
   5600       case 0x2B05E382u: goto L_2B05E382;
   5601       case 0x2B05E384u: goto L_2B05E384;
   5602       case 0x2B05E385u: goto L_2B05E385;
   5603       case 0x2B05E387u: goto L_2B05E387;
   5604       case 0x2B05E38Cu: goto L_2B05E38C;
   5605       case 0x2B05E392u: goto L_2B05E392;
   5606       case 0x2B05E394u: goto L_2B05E394;
   5607       case 0x2B05E39Au: goto L_2B05E39A;
   5608       case 0x2B05E39Du: goto L_2B05E39D;
   5609       case 0x2B05E3A2u: goto L_2B05E3A2;
   5610       case 0x2B05E3A3u: goto L_2B05E3A3;
   5611       case 0x2B05E3A9u: goto L_2B05E3A9;
   5612       case 0x2B05E3ACu: goto L_2B05E3AC;
   5613       case 0x2B05E3AFu: goto L_2B05E3AF;
   5614       case 0x2B05E3B2u: goto L_2B05E3B2;
   5615       case 0x2B05E3B4u: goto L_2B05E3B4;
   5616       case 0x2B05E3B6u: goto L_2B05E3B6;
   5617       case 0x2B05E3B8u: goto L_2B05E3B8;
   5618       case 0x2B05E3B9u: goto L_2B05E3B9;
   5619       case 0x2B05E3BCu: goto L_2B05E3BC;
   5620       case 0x2B05E3BDu: goto L_2B05E3BD;
   5621       case 0x2B05E3BFu: goto L_2B05E3BF;
   5622       case 0x2B05E3C2u: goto L_2B05E3C2;
   5623       case 0x2B05E3C5u: goto L_2B05E3C5;
   5624       case 0x2B05E3C7u: goto L_2B05E3C7;
   5625       case 0x2B05E3C9u: goto L_2B05E3C9;
   5626       case 0x2B05E3CCu: goto L_2B05E3CC;
   5627       case 0x2B05E3CDu: goto L_2B05E3CD;
   5628       case 0x2B05E3CFu: goto L_2B05E3CF;
   5629       case 0x2B05E3D4u: goto L_2B05E3D4;
   5630       case 0x2B05E3D5u: goto L_2B05E3D5;
   5631       case 0x2B05E3DAu: goto L_2B05E3DA;
   5632       case 0x2B05E3DCu: goto L_2B05E3DC;
   5633       case 0x2B05E3E1u: goto L_2B05E3E1;
   5634       case 0x2B05E3E7u: goto L_2B05E3E7;
   5635       case 0x2B05E3E9u: goto L_2B05E3E9;
   5636       case 0x2B05E3EFu: goto L_2B05E3EF;
   5637       case 0x2B05E3F2u: goto L_2B05E3F2;
   5638       case 0x2B05E3F7u: goto L_2B05E3F7;
   5639       case 0x2B05E3F8u: goto L_2B05E3F8;
   5640       case 0x2B05E3FEu: goto L_2B05E3FE;
   5641       case 0x2B05E401u: goto L_2B05E401;
   5642       case 0x2B05E404u: goto L_2B05E404;
   5643       case 0x2B05E407u: goto L_2B05E407;
   5644       case 0x2B05E409u: goto L_2B05E409;
   5645       case 0x2B05E40Bu: goto L_2B05E40B;
   5646       case 0x2B05E40Du: goto L_2B05E40D;
   5647       case 0x2B05E40Eu: goto L_2B05E40E;
   5648       case 0x2B05E411u: goto L_2B05E411;
   5649       case 0x2B05E412u: goto L_2B05E412;
   5650       case 0x2B05E418u: goto L_2B05E418;
   5651       case 0x2B05E41Du: goto L_2B05E41D;
   5652       case 0x2B05E41Fu: goto L_2B05E41F;
   5653       case 0x2B05E421u: goto L_2B05E421;
   5654       case 0x2B05E423u: goto L_2B05E423;
   5655       case 0x2B05E429u: goto L_2B05E429;
   5656       case 0x2B05E42Bu: goto L_2B05E42B;
   5657       case 0x2B05E42Du: goto L_2B05E42D;
   5658       case 0x2B05E42Fu: goto L_2B05E42F;
   5659       case 0x2B05E435u: goto L_2B05E435;
   5660       case 0x2B05E437u: goto L_2B05E437;
   5661       case 0x2B05E43Cu: goto L_2B05E43C;
   5662       case 0x2B05E43Du: goto L_2B05E43D;
   5663       case 0x2B05E43Eu: goto L_2B05E43E;
   5664       case 0x2B05E43Fu: goto L_2B05E43F;
   5665       case 0x2B05E441u: goto L_2B05E441;
   5666       case 0x2B05E442u: goto L_2B05E442;
   5667       case 0x2B05E445u: goto L_2B05E445;
   5668       case 0x2B05E448u: goto L_2B05E448;
   5669       case 0x2B05E44Bu: goto L_2B05E44B;
   5670       case 0x2B05E451u: goto L_2B05E451;
   5671       case 0x2B05E453u: goto L_2B05E453;
   5672       case 0x2B05E456u: goto L_2B05E456;
   5673       case 0x2B05E457u: goto L_2B05E457;
   5674       case 0x2B05E459u: goto L_2B05E459;
   5675       case 0x2B05E45Au: goto L_2B05E45A;
   5676       case 0x2B05E45Cu: goto L_2B05E45C;
   5677       case 0x2B05E461u: goto L_2B05E461;
   5678       case 0x2B05E467u: goto L_2B05E467;
   5679       case 0x2B05E469u: goto L_2B05E469;
   5680       case 0x2B05E46Bu: goto L_2B05E46B;
   5681       case 0x2B05E470u: goto L_2B05E470;
   5682       case 0x2B05E471u: goto L_2B05E471;
   5683       case 0x2B05E472u: goto L_2B05E472;
   5684       case 0x2B05E473u: goto L_2B05E473;
   5685       case 0x2B05E475u: goto L_2B05E475;
   5686       case 0x2B05E476u: goto L_2B05E476;
   5687       case 0x2B05E479u: goto L_2B05E479;
   5688       case 0x2B05E47Cu: goto L_2B05E47C;
   5689       case 0x2B05E47Fu: goto L_2B05E47F;
   5690       case 0x2B05E485u: goto L_2B05E485;
   5691       case 0x2B05E487u: goto L_2B05E487;
   5692       case 0x2B05E48Au: goto L_2B05E48A;
   5693       case 0x2B05E48Bu: goto L_2B05E48B;
   5694       case 0x2B05E48Du: goto L_2B05E48D;
   5695       case 0x2B05E492u: goto L_2B05E492;
   5696       case 0x2B05E497u: goto L_2B05E497;
   5697       case 0x2B05E499u: goto L_2B05E499;
   5698       case 0x2B05E49Au: goto L_2B05E49A;
   5699       case 0x2B05E49Fu: goto L_2B05E49F;
   5700       case 0x2B05E4A1u: goto L_2B05E4A1;
   5701       case 0x2B05E4A4u: goto L_2B05E4A4;
   5702       case 0x2B05E4A7u: goto L_2B05E4A7;
   5703       case 0x2B05E4ADu: goto L_2B05E4AD;
   5704       case 0x2B05E4AFu: goto L_2B05E4AF;
   5705       case 0x2B05E4B2u: goto L_2B05E4B2;
   5706       case 0x2B05E4B3u: goto L_2B05E4B3;
   5707       case 0x2B05E4B5u: goto L_2B05E4B5;
   5708       case 0x2B05E4BAu: goto L_2B05E4BA;
   5709       case 0x2B05E4BFu: goto L_2B05E4BF;
   5710       case 0x2B05E4C1u: goto L_2B05E4C1;
   5711       case 0x2B05E4C2u: goto L_2B05E4C2;
   5712       case 0x2B05E4C7u: goto L_2B05E4C7;
   5713       case 0x2B05E4C9u: goto L_2B05E4C9;
   5714       case 0x2B05E4CCu: goto L_2B05E4CC;
   5715       case 0x2B05E4CFu: goto L_2B05E4CF;
   5716       case 0x2B05E4D5u: goto L_2B05E4D5;
   5717       case 0x2B05E4D7u: goto L_2B05E4D7;
   5718       case 0x2B05E4DAu: goto L_2B05E4DA;
   5719       case 0x2B05E4DBu: goto L_2B05E4DB;
   5720       case 0x2B05E4DDu: goto L_2B05E4DD;
   5721       case 0x2B05E4E2u: goto L_2B05E4E2;
   5722       case 0x2B05E4E7u: goto L_2B05E4E7;
   5723       case 0x2B05E4E9u: goto L_2B05E4E9;
   5724       case 0x2B05E4EAu: goto L_2B05E4EA;
   5725       case 0x2B05E4EFu: goto L_2B05E4EF;
   5726       case 0x2B05E4F5u: goto L_2B05E4F5;
   5727       case 0x2B05E4F7u: goto L_2B05E4F7;
   5728       case 0x2B05E4FDu: goto L_2B05E4FD;
   5729       case 0x2B05E4FFu: goto L_2B05E4FF;
   5730       case 0x2B05E504u: goto L_2B05E504;
   5731       case 0x2B05E505u: goto L_2B05E505;
   5732       case 0x2B05E506u: goto L_2B05E506;
   5733       case 0x2B05E507u: goto L_2B05E507;
   5734       case 0x2B05E509u: goto L_2B05E509;
   5735       case 0x2B05E50Au: goto L_2B05E50A;
   5736       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5737     }
   5738     RECOMP_REGS_OUT();
   5739 }
   5740 
   5741 void sub_2B05E530(void) {
   5742     int _fpu_cmp = 0;
   5743     uint32_t _cf = 0;
   5744     int _df = 1;
   5745     uint32_t _flag_k = FK_NONE;
   5746     uint32_t _flag_a = 0, _flag_b = 0;
   5747     uint32_t _itail_tgt = 0;
   5748     RECOMP_REGS_LOCALS
   5749     RECOMP_ENTER(0x2B05E530u);
   5750 
   5751 L_2B05E530:
   5752     PUSH32(esp, ebp); /* 0x2B05E530: push ebp */
   5753     ebp = esp; /* 0x2B05E531: mov ebp, esp */
   5754     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5756     esp = esp - 8; /* 0x2B05E533: sub esp, 8 */
   5757     _flag_k = FK_CMP;
   5758     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E536: fld dword ptr [ebp + 8] */
   5759     ecx = MEM32(ecx + 0x3C); /* 0x2B05E539: mov ecx, dword ptr [ecx + 0x3c] */
   5760     PUSH32(esp, 0); /* 0x2B05E53C: push 0 */
   5761     { double _v = fp_pop(); *(double*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B05E53E: fstp qword ptr [ebp - 8] */
   5762     ecx = MEM32(ecx); /* 0x2B05E541: mov ecx, dword ptr [ecx] */
   5763     eax = ebp + (-0x8); /* 0x2B05E543: lea eax, [ebp - 8] */
   5764     PUSH32(esp, eax); /* 0x2B05E546: push eax */
   5765     RECOMP_ICALL(MEM32(0x2B0B5BA4)); /* 0x2B05E547: call dword ptr [0x2b0b5ba4] */
   5766     RECOMP_FLAGS_IN();
   5767     esp = ebp; /* 0x2B05E54D: mov esp, ebp */
   5768     ebp = POP32_VAL(esp); /* 0x2B05E54F: pop ebp */
   5769     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05E550: ret 4 */
   5770     RECOMP_REGS_OUT();
   5771 }
   5772 
   5773 void sub_2B05E560(void) {
   5774     int _fpu_cmp = 0;
   5775     uint32_t _cf = 0;
   5776     int _df = 1;
   5777     uint32_t _flag_k = FK_NONE;
   5778     uint32_t _flag_a = 0, _flag_b = 0;
   5779     uint32_t _itail_tgt = 0;
   5780     RECOMP_REGS_LOCALS
   5781     RECOMP_ENTER(0x2B05E560u);
   5782 
   5783 L_2B05E560:
   5784     PUSH32(esp, ebp); /* 0x2B05E560: push ebp */
   5785     ebp = esp; /* 0x2B05E561: mov ebp, esp */
   5786     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5787     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5788     esp = esp - 8; /* 0x2B05E563: sub esp, 8 */
   5789     _flag_k = FK_CMP;
   5790     fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B05E566: fld dword ptr [ebp + 8] */
   5791     ecx = MEM32(ecx + 0x38); /* 0x2B05E569: mov ecx, dword ptr [ecx + 0x38] */
   5792     PUSH32(esp, 0); /* 0x2B05E56C: push 0 */
   5793     { double _v = fp_pop(); *(double*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B05E56E: fstp qword ptr [ebp - 8] */
   5794     ecx = MEM32(ecx); /* 0x2B05E571: mov ecx, dword ptr [ecx] */
   5795     eax = ebp + (-0x8); /* 0x2B05E573: lea eax, [ebp - 8] */
   5796     PUSH32(esp, eax); /* 0x2B05E576: push eax */
   5797     RECOMP_ICALL(MEM32(0x2B0B5BA4)); /* 0x2B05E577: call dword ptr [0x2b0b5ba4] */
   5798     RECOMP_FLAGS_IN();
   5799     esp = ebp; /* 0x2B05E57D: mov esp, ebp */
   5800     ebp = POP32_VAL(esp); /* 0x2B05E57F: pop ebp */
   5801     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05E580: ret 4 */
   5802     RECOMP_REGS_OUT();
   5803 }
   5804 
   5805 void sub_2B05E590(void) {
   5806     int _fpu_cmp = 0;
   5807     uint32_t _cf = 0;
   5808     int _df = 1;
   5809     uint32_t _flag_k = FK_NONE;
   5810     uint32_t _flag_a = 0, _flag_b = 0;
   5811     uint32_t _itail_tgt = 0;
   5812     RECOMP_REGS_LOCALS
   5813     RECOMP_ENTER(0x2B05E590u);
   5814 
   5815 L_2B05E590:
   5816     PUSH32(esp, ebx); /* 0x2B05E590: push ebx */
   5817     PUSH32(esp, esi); /* 0x2B05E591: push esi */
   5818     esi = MEM32(0x2B0B53CC); /* 0x2B05E592: mov esi, dword ptr [0x2b0b53cc] */
   5819     PUSH32(esp, edi); /* 0x2B05E598: push edi */
   5820     ebx = ecx; /* 0x2B05E599: mov ebx, ecx */
   5821     RECOMP_ICALL(esi); /* 0x2B05E59B: call esi */
   5822     RECOMP_FLAGS_IN();
   5823     ecx = eax; /* 0x2B05E59D: mov ecx, eax */
   5824     RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B05E59F: call dword ptr [0x2b0b5374] */
   5825     RECOMP_FLAGS_IN();
   5826     PUSH32(esp, 0x2EE0u); /* 0x2B05E5A5: push 0x2ee0 */
   5827     PUSH32(esp, 0x19u); /* 0x2B05E5AA: push 0x19 */
   5828     PUSH32(esp, 1); /* 0x2B05E5AC: push 1 */
   5829     RECOMP_ICALL(esi); /* 0x2B05E5AE: call esi */
   5830     RECOMP_FLAGS_IN();
   5831     ecx = eax; /* 0x2B05E5B0: mov ecx, eax */
   5832     RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B05E5B2: call dword ptr [0x2b0b5378] */
   5833     RECOMP_FLAGS_IN();
   5834     PUSH32(esp, 0x2B05E6A0u); /* 0x2B05E5B8: push 0x2b05e6a0 */
   5835     PUSH32(esp, 5); /* 0x2B05E5BD: push 5 */
   5836     RECOMP_ICALL(esi); /* 0x2B05E5BF: call esi */
   5837     RECOMP_FLAGS_IN();
   5838     edi = MEM32(0x2B0B5324); /* 0x2B05E5C1: mov edi, dword ptr [0x2b0b5324] */
   5839     ecx = eax; /* 0x2B05E5C7: mov ecx, eax */
   5840     RECOMP_ICALL(edi); /* 0x2B05E5C9: call edi */
   5841     RECOMP_FLAGS_IN();
   5842     PUSH32(esp, 0x2B05E710u); /* 0x2B05E5CB: push 0x2b05e710 */
   5843     PUSH32(esp, 6); /* 0x2B05E5D0: push 6 */
   5844     RECOMP_ICALL(esi); /* 0x2B05E5D2: call esi */
   5845     RECOMP_FLAGS_IN();
   5846     ecx = eax; /* 0x2B05E5D4: mov ecx, eax */
   5847     RECOMP_ICALL(edi); /* 0x2B05E5D6: call edi */
   5848     RECOMP_FLAGS_IN();
   5849     PUSH32(esp, 0x2B05E730u); /* 0x2B05E5D8: push 0x2b05e730 */
   5850     PUSH32(esp, 0x7Au); /* 0x2B05E5DD: push 0x7a */
   5851     RECOMP_ICALL(esi); /* 0x2B05E5DF: call esi */
   5852     RECOMP_FLAGS_IN();
   5853     ecx = eax; /* 0x2B05E5E1: mov ecx, eax */
   5854     RECOMP_ICALL(edi); /* 0x2B05E5E3: call edi */
   5855     RECOMP_FLAGS_IN();
   5856     PUSH32(esp, 0x2B05E770u); /* 0x2B05E5E5: push 0x2b05e770 */
   5857     PUSH32(esp, 0x7Bu); /* 0x2B05E5EA: push 0x7b */
   5858     RECOMP_ICALL(esi); /* 0x2B05E5EC: call esi */
   5859     RECOMP_FLAGS_IN();
   5860     ecx = eax; /* 0x2B05E5EE: mov ecx, eax */
   5861     RECOMP_ICALL(edi); /* 0x2B05E5F0: call edi */
   5862     RECOMP_FLAGS_IN();
   5863     edi = POP32_VAL(esp); /* 0x2B05E5F2: pop edi */
   5864     esi = POP32_VAL(esp); /* 0x2B05E5F3: pop esi */
   5865     eax = ebx; /* 0x2B05E5F4: mov eax, ebx */
   5866     MEM32(0x2B0EEC38) = 0; /* 0x2B05E5F6: mov dword ptr [0x2b0eec38], 0 */
   5867     ebx = POP32_VAL(esp); /* 0x2B05E600: pop ebx */
   5868     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E601: ret  */
   5869     RECOMP_REGS_OUT();
   5870 }
   5871 
   5872 void sub_2B05E610(void) {
   5873     int _fpu_cmp = 0;
   5874     uint32_t _cf = 0;
   5875     int _df = 1;
   5876     uint32_t _flag_k = FK_NONE;
   5877     uint32_t _flag_a = 0, _flag_b = 0;
   5878     uint32_t _itail_tgt = 0;
   5879     RECOMP_REGS_LOCALS
   5880     RECOMP_ENTER(0x2B05E610u);
   5881 
   5882 L_2B05E610:
   5883     RECOMP_ICALL(0x2B05E710u); /* 0x2B05E610: call 0x2b05e710 */ /* not lifted */
   5884     RECOMP_FLAGS_IN();
   5885     MEM32(0x2B0EEC38) = 0; /* 0x2B05E615: mov dword ptr [0x2b0eec38], 0 */
   5886     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E61F: ret  */
   5887     RECOMP_REGS_OUT();
   5888 }
   5889 
   5890 void sub_2B05E620(void) {
   5891     int _fpu_cmp = 0;
   5892     uint32_t _cf = 0;
   5893     int _df = 1;
   5894     uint32_t _flag_k = FK_NONE;
   5895     uint32_t _flag_a = 0, _flag_b = 0;
   5896     uint32_t _itail_tgt = 0;
   5897     RECOMP_REGS_LOCALS
   5898     RECOMP_ENTER(0x2B05E620u);
   5899 
   5900 L_2B05E620:
   5901     PUSH32(esp, ebp); /* 0x2B05E620: push ebp */
   5902     ebp = esp; /* 0x2B05E621: mov ebp, esp */
   5903     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05E623: push -1 */
   5904     PUSH32(esp, 0x2B0B058Bu); /* 0x2B05E625: push 0x2b0b058b */
   5905     eax = MEM32(FS_BASE + (0)); /* 0x2B05E62A: mov eax, dword ptr fs:[0] */
   5906     PUSH32(esp, eax); /* 0x2B05E630: push eax */
   5907     MEM32(FS_BASE + (0)) = esp; /* 0x2B05E631: mov dword ptr fs:[0], esp */
   5908     PUSH32(esp, ecx); /* 0x2B05E638: push ecx */
   5909     eax = MEM32(0x2B0EEC34); /* 0x2B05E639: mov eax, dword ptr [0x2b0eec34] */
   5910     /* test eax, eax */ /* 0x2B05E63E: test eax, eax */
   5911     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5912     _cf = 0;
   5913     _flag_k = FK_TEST;
   5914     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05E67B; /* 0x2B05E640: jne 0x2b05e67b */
   5915 L_2B05E642:
   5916     PUSH32(esp, 1); /* 0x2B05E642: push 1 */
   5917     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E644: call 0x2b0ab212 */ /* not lifted */
   5918     RECOMP_FLAGS_IN();
   5919     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5920     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5921     esp = esp + 4; /* 0x2B05E649: add esp, 4 */
   5922     _flag_k = FK_ADD;
   5923     MEM32(ebp + (-0x10)) = eax; /* 0x2B05E64C: mov dword ptr [ebp - 0x10], eax */
   5924     /* test eax, eax */ /* 0x2B05E64F: test eax, eax */
   5925     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5926     _cf = 0;
   5927     _flag_k = FK_TEST;
   5928     MEM32(ebp + (-0x4)) = 0; /* 0x2B05E651: mov dword ptr [ebp - 4], 0 */
   5929     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05E674; /* 0x2B05E658: je 0x2b05e674 */
   5930 L_2B05E65A:
   5931     ecx = eax; /* 0x2B05E65A: mov ecx, eax */
   5932     RECOMP_ICALL(0x2B05E590u); /* 0x2B05E65C: call 0x2b05e590 */ /* not lifted */
   5933     RECOMP_FLAGS_IN();
   5934     MEM32(0x2B0EEC34) = eax; /* 0x2B05E661: mov dword ptr [0x2b0eec34], eax */
   5935     ecx = MEM32(ebp + (-0xC)); /* 0x2B05E666: mov ecx, dword ptr [ebp - 0xc] */
   5936     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05E669: mov dword ptr fs:[0], ecx */
   5937     esp = ebp; /* 0x2B05E670: mov esp, ebp */
   5938     ebp = POP32_VAL(esp); /* 0x2B05E672: pop ebp */
   5939     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E673: ret  */
   5940 L_2B05E674:
   5941     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5942     eax = 0; /* 0x2B05E674: xor eax, eax */
   5943     _cf = 0;
   5944     _flag_k = FK_TEST;
   5945     MEM32(0x2B0EEC34) = eax; /* 0x2B05E676: mov dword ptr [0x2b0eec34], eax */
   5946 L_2B05E67B:
   5947     ecx = MEM32(ebp + (-0xC)); /* 0x2B05E67B: mov ecx, dword ptr [ebp - 0xc] */
   5948     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05E67E: mov dword ptr fs:[0], ecx */
   5949     esp = ebp; /* 0x2B05E685: mov esp, ebp */
   5950     ebp = POP32_VAL(esp); /* 0x2B05E687: pop ebp */
   5951     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E688: ret  */
   5952     RECOMP_REGS_OUT();
   5953 }
   5954 
   5955 void sub_2B05E690(void) {
   5956     int _fpu_cmp = 0;
   5957     uint32_t _cf = 0;
   5958     int _df = 1;
   5959     uint32_t _flag_k = FK_NONE;
   5960     uint32_t _flag_a = 0, _flag_b = 0;
   5961     uint32_t _itail_tgt = 0;
   5962     RECOMP_REGS_LOCALS
   5963     RECOMP_ENTER(0x2B05E690u);
   5964 
   5965 L_2B05E690:
   5966     eax = MEM32(0x2B0EEC34); /* 0x2B05E690: mov eax, dword ptr [0x2b0eec34] */
   5967     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E695: ret  */
   5968     RECOMP_REGS_OUT();
   5969 }
   5970 
   5971 void sub_2B05E6A0(void) {
   5972     int _fpu_cmp = 0;
   5973     uint32_t _cf = 0;
   5974     int _df = 1;
   5975     uint32_t _flag_k = FK_NONE;
   5976     uint32_t _flag_a = 0, _flag_b = 0;
   5977     uint32_t _itail_tgt = 0;
   5978     RECOMP_REGS_LOCALS
   5979     RECOMP_ENTER(0x2B05E6A0u);
   5980 
   5981 L_2B05E6A0:
   5982     PUSH32(esp, ebp); /* 0x2B05E6A0: push ebp */
   5983     ebp = esp; /* 0x2B05E6A1: mov ebp, esp */
   5984     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05E6A3: push -1 */
   5985     PUSH32(esp, 0x2B0B05ABu); /* 0x2B05E6A5: push 0x2b0b05ab */
   5986     eax = MEM32(FS_BASE + (0)); /* 0x2B05E6AA: mov eax, dword ptr fs:[0] */
   5987     PUSH32(esp, eax); /* 0x2B05E6B0: push eax */
   5988     MEM32(FS_BASE + (0)) = esp; /* 0x2B05E6B1: mov dword ptr fs:[0], esp */
   5989     PUSH32(esp, ecx); /* 0x2B05E6B8: push ecx */
   5990     eax = MEM32(0x2B0EEC38); /* 0x2B05E6B9: mov eax, dword ptr [0x2b0eec38] */
   5991     /* test eax, eax */ /* 0x2B05E6BE: test eax, eax */
   5992     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5993     _cf = 0;
   5994     _flag_k = FK_TEST;
   5995     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05E6FB; /* 0x2B05E6C0: jne 0x2b05e6fb */
   5996 L_2B05E6C2:
   5997     PUSH32(esp, 0x48u); /* 0x2B05E6C2: push 0x48 */
   5998     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E6C4: call 0x2b0ab212 */ /* not lifted */
   5999     RECOMP_FLAGS_IN();
   6000     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6001     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6002     esp = esp + 4; /* 0x2B05E6C9: add esp, 4 */
   6003     _flag_k = FK_ADD;
   6004     MEM32(ebp + (-0x10)) = eax; /* 0x2B05E6CC: mov dword ptr [ebp - 0x10], eax */
   6005     /* test eax, eax */ /* 0x2B05E6CF: test eax, eax */
   6006     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6007     _cf = 0;
   6008     _flag_k = FK_TEST;
   6009     MEM32(ebp + (-0x4)) = 0; /* 0x2B05E6D1: mov dword ptr [ebp - 4], 0 */
   6010     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05E6F4; /* 0x2B05E6D8: je 0x2b05e6f4 */
   6011 L_2B05E6DA:
   6012     ecx = eax; /* 0x2B05E6DA: mov ecx, eax */
   6013     RECOMP_ICALL(0x2B05DBD0u); /* 0x2B05E6DC: call 0x2b05dbd0 */ /* not lifted */
   6014     RECOMP_FLAGS_IN();
   6015     MEM32(0x2B0EEC38) = eax; /* 0x2B05E6E1: mov dword ptr [0x2b0eec38], eax */
   6016     ecx = MEM32(ebp + (-0xC)); /* 0x2B05E6E6: mov ecx, dword ptr [ebp - 0xc] */
   6017     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05E6E9: mov dword ptr fs:[0], ecx */
   6018     esp = ebp; /* 0x2B05E6F0: mov esp, ebp */
   6019     ebp = POP32_VAL(esp); /* 0x2B05E6F2: pop ebp */
   6020     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E6F3: ret  */
   6021 L_2B05E6F4:
   6022     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6023     eax = 0; /* 0x2B05E6F4: xor eax, eax */
   6024     _cf = 0;
   6025     _flag_k = FK_TEST;
   6026     MEM32(0x2B0EEC38) = eax; /* 0x2B05E6F6: mov dword ptr [0x2b0eec38], eax */
   6027 L_2B05E6FB:
   6028     ecx = MEM32(ebp + (-0xC)); /* 0x2B05E6FB: mov ecx, dword ptr [ebp - 0xc] */
   6029     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05E6FE: mov dword ptr fs:[0], ecx */
   6030     esp = ebp; /* 0x2B05E705: mov esp, ebp */
   6031     ebp = POP32_VAL(esp); /* 0x2B05E707: pop ebp */
   6032     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E708: ret  */
   6033     RECOMP_REGS_OUT();
   6034 }
   6035 
   6036 void sub_2B05E710(void) {
   6037     int _fpu_cmp = 0;
   6038     uint32_t _cf = 0;
   6039     int _df = 1;
   6040     uint32_t _flag_k = FK_NONE;
   6041     uint32_t _flag_a = 0, _flag_b = 0;
   6042     uint32_t _itail_tgt = 0;
   6043     RECOMP_REGS_LOCALS
   6044     RECOMP_ENTER(0x2B05E710u);
   6045 
   6046 L_2B05E710:
   6047     ecx = MEM32(0x2B0EEC38); /* 0x2B05E710: mov ecx, dword ptr [0x2b0eec38] */
   6048     /* test ecx, ecx */ /* 0x2B05E716: test ecx, ecx */
   6049     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6050     _cf = 0;
   6051     _flag_k = FK_TEST;
   6052     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05E720; /* 0x2B05E718: je 0x2b05e720 */
   6053 L_2B05E71A:
   6054     eax = MEM32(ecx); /* 0x2B05E71A: mov eax, dword ptr [ecx] */
   6055     PUSH32(esp, 1); /* 0x2B05E71C: push 1 */
   6056     RECOMP_ICALL(MEM32(eax)); /* 0x2B05E71E: call dword ptr [eax] */
   6057     RECOMP_FLAGS_IN();
   6058 L_2B05E720:
   6059     MEM32(0x2B0EEC38) = 0; /* 0x2B05E720: mov dword ptr [0x2b0eec38], 0 */
   6060     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E72A: ret  */
   6061     RECOMP_REGS_OUT();
   6062 }
   6063 
   6064 void sub_2B05E730(void) {
   6065     int _fpu_cmp = 0;
   6066     uint32_t _cf = 0;
   6067     int _df = 1;
   6068     uint32_t _flag_k = FK_NONE;
   6069     uint32_t _flag_a = 0, _flag_b = 0;
   6070     uint32_t _itail_tgt = 0;
   6071     RECOMP_REGS_LOCALS
   6072     RECOMP_ENTER(0x2B05E730u);
   6073 
   6074 L_2B05E730:
   6075     PUSH32(esp, ebp); /* 0x2B05E730: push ebp */
   6076     ebp = esp; /* 0x2B05E731: mov ebp, esp */
   6077     PUSH32(esp, ecx); /* 0x2B05E733: push ecx */
   6078     eax = ebp + (-0x4); /* 0x2B05E734: lea eax, [ebp - 4] */
   6079     PUSH32(esp, eax); /* 0x2B05E737: push eax */
   6080     RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B05E738: call dword ptr [0x2b0b53cc] */
   6081     RECOMP_FLAGS_IN();
   6082     ecx = eax; /* 0x2B05E73E: mov ecx, eax */
   6083     RECOMP_ICALL(MEM32(0x2B0B5370)); /* 0x2B05E740: call dword ptr [0x2b0b5370] */
   6084     RECOMP_FLAGS_IN();
   6085     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B05E746: fld dword ptr [ebp - 4] */
   6086     _st[0] -= (double)*(float*)ADDR(0x2B0B6CE0); /* 0x2B05E749: fsub dword ptr [0x2b0b6ce0] */
   6087     PUSH32(esp, ecx); /* 0x2B05E74F: push ecx */
   6088     ecx = MEM32(0x2B0EEC38); /* 0x2B05E750: mov ecx, dword ptr [0x2b0eec38] */
   6089     _st[0] *= (double)*(float*)ADDR(0x2B0B6CDC); /* 0x2B05E756: fmul dword ptr [0x2b0b6cdc] */
   6090     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B05E75C: fstp dword ptr [esp] */
   6091     RECOMP_ICALL(0x2B05E530u); /* 0x2B05E75F: call 0x2b05e530 */ /* not lifted */
   6092     RECOMP_FLAGS_IN();
   6093     esp = ebp; /* 0x2B05E764: mov esp, ebp */
   6094     ebp = POP32_VAL(esp); /* 0x2B05E766: pop ebp */
   6095     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E767: ret  */
   6096     RECOMP_REGS_OUT();
   6097 }
   6098 
   6099 void sub_2B05E770(void) {
   6100     int _fpu_cmp = 0;
   6101     uint32_t _cf = 0;
   6102     int _df = 1;
   6103     uint32_t _flag_k = FK_NONE;
   6104     uint32_t _flag_a = 0, _flag_b = 0;
   6105     uint32_t _itail_tgt = 0;
   6106     RECOMP_REGS_LOCALS
   6107     RECOMP_ENTER(0x2B05E770u);
   6108 
   6109 L_2B05E770:
   6110     PUSH32(esp, ebp); /* 0x2B05E770: push ebp */
   6111     ebp = esp; /* 0x2B05E771: mov ebp, esp */
   6112     PUSH32(esp, ecx); /* 0x2B05E773: push ecx */
   6113     eax = ebp + (-0x4); /* 0x2B05E774: lea eax, [ebp - 4] */
   6114     PUSH32(esp, eax); /* 0x2B05E777: push eax */
   6115     RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B05E778: call dword ptr [0x2b0b53cc] */
   6116     RECOMP_FLAGS_IN();
   6117     ecx = eax; /* 0x2B05E77E: mov ecx, eax */
   6118     RECOMP_ICALL(MEM32(0x2B0B5370)); /* 0x2B05E780: call dword ptr [0x2b0b5370] */
   6119     RECOMP_FLAGS_IN();
   6120     fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B05E786: fld dword ptr [ebp - 4] */
   6121     _st[0] *= (double)*(float*)ADDR(0x2B0B6CE4); /* 0x2B05E789: fmul dword ptr [0x2b0b6ce4] */
   6122     { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B05E78F: fstp dword ptr [ebp - 4] */
   6123     ecx = MEM32(ebp + (-0x4)); /* 0x2B05E792: mov ecx, dword ptr [ebp - 4] */
   6124     PUSH32(esp, ecx); /* 0x2B05E795: push ecx */
   6125     ecx = MEM32(0x2B0EEC38); /* 0x2B05E796: mov ecx, dword ptr [0x2b0eec38] */
   6126     RECOMP_ICALL(0x2B05E560u); /* 0x2B05E79C: call 0x2b05e560 */ /* not lifted */
   6127     RECOMP_FLAGS_IN();
   6128     esp = ebp; /* 0x2B05E7A1: mov esp, ebp */
   6129     ebp = POP32_VAL(esp); /* 0x2B05E7A3: pop ebp */
   6130     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05E7A4: ret  */
   6131     RECOMP_REGS_OUT();
   6132 }
   6133 
   6134 void sub_2B05E7B0(void) {
   6135     int _fpu_cmp = 0;
   6136     uint32_t _cf = 0;
   6137     int _df = 1;
   6138     uint32_t _flag_k = FK_NONE;
   6139     uint32_t _flag_a = 0, _flag_b = 0;
   6140     uint32_t _itail_tgt = 0;
   6141     RECOMP_REGS_LOCALS
   6142     RECOMP_ENTER(0x2B05E7B0u);
   6143 
   6144 L_2B05E7B0:
   6145     PUSH32(esp, ebp); /* 0x2B05E7B0: push ebp */
   6146     ebp = esp; /* 0x2B05E7B1: mov ebp, esp */
   6147     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05E7B3: push -1 */
   6148     PUSH32(esp, 0x2B0B064Cu); /* 0x2B05E7B5: push 0x2b0b064c */
   6149     eax = MEM32(FS_BASE + (0)); /* 0x2B05E7BA: mov eax, dword ptr fs:[0] */
   6150     PUSH32(esp, eax); /* 0x2B05E7C0: push eax */
   6151     MEM32(FS_BASE + (0)) = esp; /* 0x2B05E7C1: mov dword ptr fs:[0], esp */
   6152     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6153     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6154     esp = esp - 0x10u; /* 0x2B05E7C8: sub esp, 0x10 */
   6155     _flag_k = FK_CMP;
   6156     PUSH32(esp, ebx); /* 0x2B05E7CB: push ebx */
   6157     PUSH32(esp, esi); /* 0x2B05E7CC: push esi */
   6158     esi = ecx; /* 0x2B05E7CD: mov esi, ecx */
   6159     PUSH32(esp, edi); /* 0x2B05E7CF: push edi */
   6160     MEM32(ebp + (-0x10)) = esi; /* 0x2B05E7D0: mov dword ptr [ebp - 0x10], esi */
   6161     RECOMP_ICALL(0x2B03A220u); /* 0x2B05E7D3: call 0x2b03a220 */ /* not lifted */
   6162     RECOMP_FLAGS_IN();
   6163     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6164     ebx = 0; /* 0x2B05E7D8: xor ebx, ebx */
   6165     _cf = 0;
   6166     _flag_k = FK_TEST;
   6167     PUSH32(esp, 0x38u); /* 0x2B05E7DA: push 0x38 */
   6168     MEM32(ebp + (-0x4)) = ebx; /* 0x2B05E7DC: mov dword ptr [ebp - 4], ebx */
   6169     MEM32(esi) = 0x2B0B6CECu; /* 0x2B05E7DF: mov dword ptr [esi], 0x2b0b6cec */
   6170     MEM32(ebp + (-0x1C)) = ebx; /* 0x2B05E7E5: mov dword ptr [ebp - 0x1c], ebx */
   6171     MEM32(ebp + (-0x18)) = ebx; /* 0x2B05E7E8: mov dword ptr [ebp - 0x18], ebx */
   6172     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E7EB: call 0x2b0ab212 */ /* not lifted */
   6173     RECOMP_FLAGS_IN();
   6174     edi = eax; /* 0x2B05E7F0: mov edi, eax */
   6175     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6176     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6177     esp = esp + 4; /* 0x2B05E7F2: add esp, 4 */
   6178     _flag_k = FK_ADD;
   6179     MEM32(ebp + (-0x14)) = edi; /* 0x2B05E7F5: mov dword ptr [ebp - 0x14], edi */
   6180     /* cmp edi, ebx */ /* 0x2B05E7F8: cmp edi, ebx */
   6181     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   6182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6183     _flag_k = FK_CMP;
   6184     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05E7FA: mov byte ptr [ebp - 4], 1 */
   6185     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E826; /* 0x2B05E7FE: je 0x2b05e826 */
   6186 L_2B05E800:
   6187     eax = MEM32(0x2B0EE9DC); /* 0x2B05E800: mov eax, dword ptr [0x2b0ee9dc] */
   6188     PUSH32(esp, eax); /* 0x2B05E805: push eax */
   6189     PUSH32(esp, 0xFA2u); /* 0x2B05E806: push 0xfa2 */
   6190     PUSH32(esp, 0x190u); /* 0x2B05E80B: push 0x190 */
   6191     ecx = ebp + (-0x1C); /* 0x2B05E810: lea ecx, [ebp - 0x1c] */
   6192     PUSH32(esp, ecx); /* 0x2B05E813: push ecx */
   6193     ecx = edi; /* 0x2B05E814: mov ecx, edi */
   6194     RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B05E816: call dword ptr [0x2b0b5948] */
   6195     RECOMP_FLAGS_IN();
   6196     MEM32(edi) = 0x2B0B68F4u; /* 0x2B05E81C: mov dword ptr [edi], 0x2b0b68f4 */
   6197     eax = edi; /* 0x2B05E822: mov eax, edi */
   6198     goto L_2B05E828; /* 0x2B05E824: jmp 0x2b05e828 */
   6199 L_2B05E826:
   6200     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6201     eax = 0; /* 0x2B05E826: xor eax, eax */
   6202     _cf = 0;
   6203     _flag_k = FK_TEST;
   6204 L_2B05E828:
   6205     /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B05E828: cmp byte ptr [esi + 0x1c], bl */
   6206     _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6207     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6208     _flag_k = FK_NARROW(FK_CMP, 24);
   6209     MEM32(esi + 0x28) = eax; /* 0x2B05E82B: mov dword ptr [esi + 0x28], eax */
   6210     eax = MEM32(eax + 0x14); /* 0x2B05E82E: mov eax, dword ptr [eax + 0x14] */
   6211     eax = MEM32(eax + 0x8); /* 0x2B05E831: mov eax, dword ptr [eax + 8] */
   6212     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E834: mov byte ptr [ebp - 4], bl */
   6213     MEM32(esi + 0x20) = eax; /* 0x2B05E837: mov dword ptr [esi + 0x20], eax */
   6214     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E844; /* 0x2B05E83A: je 0x2b05e844 */
   6215 L_2B05E83C:
   6216     /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B05E83C: cmp byte ptr [esi + 0xc], bl */
   6217     _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6219     _flag_k = FK_NARROW(FK_CMP, 24);
   6220     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E844; /* 0x2B05E83F: je 0x2b05e844 */
   6221 L_2B05E841:
   6222     MEM32(esi + 0x18) = eax; /* 0x2B05E841: mov dword ptr [esi + 0x18], eax */
   6223 L_2B05E844:
   6224     PUSH32(esp, 0x50u); /* 0x2B05E844: push 0x50 */
   6225     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E846: call 0x2b0ab212 */ /* not lifted */
   6226     RECOMP_FLAGS_IN();
   6227     edi = eax; /* 0x2B05E84B: mov edi, eax */
   6228     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6229     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6230     esp = esp + 4; /* 0x2B05E84D: add esp, 4 */
   6231     _flag_k = FK_ADD;
   6232     MEM32(ebp + (-0x14)) = edi; /* 0x2B05E850: mov dword ptr [ebp - 0x14], edi */
   6233     /* cmp edi, ebx */ /* 0x2B05E853: cmp edi, ebx */
   6234     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   6235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6236     _flag_k = FK_CMP;
   6237     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05E855: mov byte ptr [ebp - 4], 2 */
   6238     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E889; /* 0x2B05E859: je 0x2b05e889 */
   6239 L_2B05E85B:
   6240     edx = MEM32(0x2B0EE9DC); /* 0x2B05E85B: mov edx, dword ptr [0x2b0ee9dc] */
   6241     eax = MEM32(ebp + (-0x18)); /* 0x2B05E861: mov eax, dword ptr [ebp - 0x18] */
   6242     ecx = MEM32(ebp + (-0x1C)); /* 0x2B05E864: mov ecx, dword ptr [ebp - 0x1c] */
   6243     PUSH32(esp, edx); /* 0x2B05E867: push edx */
   6244     PUSH32(esp, ebx); /* 0x2B05E868: push ebx */
   6245     PUSH32(esp, eax); /* 0x2B05E869: push eax */
   6246     PUSH32(esp, ecx); /* 0x2B05E86A: push ecx */
   6247     PUSH32(esp, 0xFB2u); /* 0x2B05E86B: push 0xfb2 */
   6248     PUSH32(esp, 0x2B0EA34Cu); /* 0x2B05E870: push 0x2b0ea34c */
   6249     PUSH32(esp, 1); /* 0x2B05E875: push 1 */
   6250     ecx = edi; /* 0x2B05E877: mov ecx, edi */
   6251     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05E879: call dword ptr [0x2b0b5950] */
   6252     RECOMP_FLAGS_IN();
   6253     MEM32(edi) = 0x2B0B6878u; /* 0x2B05E87F: mov dword ptr [edi], 0x2b0b6878 */
   6254     ecx = edi; /* 0x2B05E885: mov ecx, edi */
   6255     goto L_2B05E88B; /* 0x2B05E887: jmp 0x2b05e88b */
   6256 L_2B05E889:
   6257     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6258     ecx = 0; /* 0x2B05E889: xor ecx, ecx */
   6259     _cf = 0;
   6260     _flag_k = FK_TEST;
   6261 L_2B05E88B:
   6262     PUSH32(esp, 0x00FFFF33u); /* 0x2B05E88B: push 0xffff33 */
   6263     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E890: mov byte ptr [ebp - 4], bl */
   6264     MEM32(esi + 0x2C) = ecx; /* 0x2B05E893: mov dword ptr [esi + 0x2c], ecx */
   6265     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05E896: call dword ptr [0x2b0b5858] */
   6266     RECOMP_FLAGS_IN();
   6267     PUSH32(esp, 0x1Cu); /* 0x2B05E89C: push 0x1c */
   6268     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E89E: call 0x2b0ab212 */ /* not lifted */
   6269     RECOMP_FLAGS_IN();
   6270     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6271     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6272     esp = esp + 4; /* 0x2B05E8A3: add esp, 4 */
   6273     _flag_k = FK_ADD;
   6274     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E8A6: mov dword ptr [ebp - 0x14], eax */
   6275     /* cmp eax, ebx */ /* 0x2B05E8A9: cmp eax, ebx */
   6276     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6277     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6278     _flag_k = FK_CMP;
   6279     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05E8AB: mov byte ptr [ebp - 4], 3 */
   6280     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E8CD; /* 0x2B05E8AF: je 0x2b05e8cd */
   6281 L_2B05E8B1:
   6282     edx = MEM32(0x2B0EE9DC); /* 0x2B05E8B1: mov edx, dword ptr [0x2b0ee9dc] */
   6283     PUSH32(esp, edx); /* 0x2B05E8B7: push edx */
   6284     PUSH32(esp, 1); /* 0x2B05E8B8: push 1 */
   6285     PUSH32(esp, 0x2B0EA338u); /* 0x2B05E8BA: push 0x2b0ea338 */
   6286     PUSH32(esp, 0x2B0EA328u); /* 0x2B05E8BF: push 0x2b0ea328 */
   6287     ecx = eax; /* 0x2B05E8C4: mov ecx, eax */
   6288     RECOMP_ICALL(0x2B05F070u); /* 0x2B05E8C6: call 0x2b05f070 */ /* not lifted */
   6289     RECOMP_FLAGS_IN();
   6290     goto L_2B05E8CF; /* 0x2B05E8CB: jmp 0x2b05e8cf */
   6291 L_2B05E8CD:
   6292     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6293     eax = 0; /* 0x2B05E8CD: xor eax, eax */
   6294     _cf = 0;
   6295     _flag_k = FK_TEST;
   6296 L_2B05E8CF:
   6297     PUSH32(esp, 0x1Cu); /* 0x2B05E8CF: push 0x1c */
   6298     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E8D1: mov byte ptr [ebp - 4], bl */
   6299     MEM32(esi + 0x30) = eax; /* 0x2B05E8D4: mov dword ptr [esi + 0x30], eax */
   6300     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E8D7: call 0x2b0ab212 */ /* not lifted */
   6301     RECOMP_FLAGS_IN();
   6302     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6303     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6304     esp = esp + 4; /* 0x2B05E8DC: add esp, 4 */
   6305     _flag_k = FK_ADD;
   6306     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E8DF: mov dword ptr [ebp - 0x14], eax */
   6307     /* cmp eax, ebx */ /* 0x2B05E8E2: cmp eax, ebx */
   6308     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6309     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6310     _flag_k = FK_CMP;
   6311     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B05E8E4: mov byte ptr [ebp - 4], 4 */
   6312     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E906; /* 0x2B05E8E8: je 0x2b05e906 */
   6313 L_2B05E8EA:
   6314     ecx = MEM32(0x2B0EE9DC); /* 0x2B05E8EA: mov ecx, dword ptr [0x2b0ee9dc] */
   6315     PUSH32(esp, ecx); /* 0x2B05E8F0: push ecx */
   6316     PUSH32(esp, 1); /* 0x2B05E8F1: push 1 */
   6317     PUSH32(esp, 0x2B0EA310u); /* 0x2B05E8F3: push 0x2b0ea310 */
   6318     PUSH32(esp, 0x2B0EA2FCu); /* 0x2B05E8F8: push 0x2b0ea2fc */
   6319     ecx = eax; /* 0x2B05E8FD: mov ecx, eax */
   6320     RECOMP_ICALL(0x2B05F070u); /* 0x2B05E8FF: call 0x2b05f070 */ /* not lifted */
   6321     RECOMP_FLAGS_IN();
   6322     goto L_2B05E908; /* 0x2B05E904: jmp 0x2b05e908 */
   6323 L_2B05E906:
   6324     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6325     eax = 0; /* 0x2B05E906: xor eax, eax */
   6326     _cf = 0;
   6327     _flag_k = FK_TEST;
   6328 L_2B05E908:
   6329     PUSH32(esp, 0x1Cu); /* 0x2B05E908: push 0x1c */
   6330     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E90A: mov byte ptr [ebp - 4], bl */
   6331     MEM32(esi + 0x34) = eax; /* 0x2B05E90D: mov dword ptr [esi + 0x34], eax */
   6332     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E910: call 0x2b0ab212 */ /* not lifted */
   6333     RECOMP_FLAGS_IN();
   6334     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6335     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6336     esp = esp + 4; /* 0x2B05E915: add esp, 4 */
   6337     _flag_k = FK_ADD;
   6338     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E918: mov dword ptr [ebp - 0x14], eax */
   6339     /* cmp eax, ebx */ /* 0x2B05E91B: cmp eax, ebx */
   6340     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6341     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6342     _flag_k = FK_CMP;
   6343     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05E91D: mov byte ptr [ebp - 4], 5 */
   6344     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E93F; /* 0x2B05E921: je 0x2b05e93f */
   6345 L_2B05E923:
   6346     edx = MEM32(0x2B0EE9DC); /* 0x2B05E923: mov edx, dword ptr [0x2b0ee9dc] */
   6347     PUSH32(esp, edx); /* 0x2B05E929: push edx */
   6348     PUSH32(esp, 1); /* 0x2B05E92A: push 1 */
   6349     PUSH32(esp, 0x2B0EA2E8u); /* 0x2B05E92C: push 0x2b0ea2e8 */
   6350     PUSH32(esp, 0x2B0EA2D4u); /* 0x2B05E931: push 0x2b0ea2d4 */
   6351     ecx = eax; /* 0x2B05E936: mov ecx, eax */
   6352     RECOMP_ICALL(0x2B05F070u); /* 0x2B05E938: call 0x2b05f070 */ /* not lifted */
   6353     RECOMP_FLAGS_IN();
   6354     goto L_2B05E941; /* 0x2B05E93D: jmp 0x2b05e941 */
   6355 L_2B05E93F:
   6356     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6357     eax = 0; /* 0x2B05E93F: xor eax, eax */
   6358     _cf = 0;
   6359     _flag_k = FK_TEST;
   6360 L_2B05E941:
   6361     PUSH32(esp, 0x1Cu); /* 0x2B05E941: push 0x1c */
   6362     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E943: mov byte ptr [ebp - 4], bl */
   6363     MEM32(esi + 0x38) = eax; /* 0x2B05E946: mov dword ptr [esi + 0x38], eax */
   6364     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E949: call 0x2b0ab212 */ /* not lifted */
   6365     RECOMP_FLAGS_IN();
   6366     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6367     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6368     esp = esp + 4; /* 0x2B05E94E: add esp, 4 */
   6369     _flag_k = FK_ADD;
   6370     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E951: mov dword ptr [ebp - 0x14], eax */
   6371     /* cmp eax, ebx */ /* 0x2B05E954: cmp eax, ebx */
   6372     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6373     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6374     _flag_k = FK_CMP;
   6375     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B05E956: mov byte ptr [ebp - 4], 6 */
   6376     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E978; /* 0x2B05E95A: je 0x2b05e978 */
   6377 L_2B05E95C:
   6378     ecx = MEM32(0x2B0EE9DC); /* 0x2B05E95C: mov ecx, dword ptr [0x2b0ee9dc] */
   6379     PUSH32(esp, ecx); /* 0x2B05E962: push ecx */
   6380     PUSH32(esp, 1); /* 0x2B05E963: push 1 */
   6381     PUSH32(esp, 0x2B0EA2C0u); /* 0x2B05E965: push 0x2b0ea2c0 */
   6382     PUSH32(esp, 0x2B0EA2ACu); /* 0x2B05E96A: push 0x2b0ea2ac */
   6383     ecx = eax; /* 0x2B05E96F: mov ecx, eax */
   6384     RECOMP_ICALL(0x2B05F070u); /* 0x2B05E971: call 0x2b05f070 */ /* not lifted */
   6385     RECOMP_FLAGS_IN();
   6386     goto L_2B05E97A; /* 0x2B05E976: jmp 0x2b05e97a */
   6387 L_2B05E978:
   6388     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6389     eax = 0; /* 0x2B05E978: xor eax, eax */
   6390     _cf = 0;
   6391     _flag_k = FK_TEST;
   6392 L_2B05E97A:
   6393     PUSH32(esp, 0x1Cu); /* 0x2B05E97A: push 0x1c */
   6394     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E97C: mov byte ptr [ebp - 4], bl */
   6395     MEM32(esi + 0x3C) = eax; /* 0x2B05E97F: mov dword ptr [esi + 0x3c], eax */
   6396     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E982: call 0x2b0ab212 */ /* not lifted */
   6397     RECOMP_FLAGS_IN();
   6398     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6399     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6400     esp = esp + 4; /* 0x2B05E987: add esp, 4 */
   6401     _flag_k = FK_ADD;
   6402     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E98A: mov dword ptr [ebp - 0x14], eax */
   6403     /* cmp eax, ebx */ /* 0x2B05E98D: cmp eax, ebx */
   6404     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6405     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6406     _flag_k = FK_CMP;
   6407     MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B05E98F: mov byte ptr [ebp - 4], 7 */
   6408     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E9B1; /* 0x2B05E993: je 0x2b05e9b1 */
   6409 L_2B05E995:
   6410     edx = MEM32(0x2B0EE9DC); /* 0x2B05E995: mov edx, dword ptr [0x2b0ee9dc] */
   6411     PUSH32(esp, edx); /* 0x2B05E99B: push edx */
   6412     PUSH32(esp, 1); /* 0x2B05E99C: push 1 */
   6413     PUSH32(esp, 0x2B0EA298u); /* 0x2B05E99E: push 0x2b0ea298 */
   6414     PUSH32(esp, 0x2B0EA288u); /* 0x2B05E9A3: push 0x2b0ea288 */
   6415     ecx = eax; /* 0x2B05E9A8: mov ecx, eax */
   6416     RECOMP_ICALL(0x2B05F070u); /* 0x2B05E9AA: call 0x2b05f070 */ /* not lifted */
   6417     RECOMP_FLAGS_IN();
   6418     goto L_2B05E9B3; /* 0x2B05E9AF: jmp 0x2b05e9b3 */
   6419 L_2B05E9B1:
   6420     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6421     eax = 0; /* 0x2B05E9B1: xor eax, eax */
   6422     _cf = 0;
   6423     _flag_k = FK_TEST;
   6424 L_2B05E9B3:
   6425     PUSH32(esp, 0x1Cu); /* 0x2B05E9B3: push 0x1c */
   6426     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E9B5: mov byte ptr [ebp - 4], bl */
   6427     MEM32(esi + 0x40) = eax; /* 0x2B05E9B8: mov dword ptr [esi + 0x40], eax */
   6428     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E9BB: call 0x2b0ab212 */ /* not lifted */
   6429     RECOMP_FLAGS_IN();
   6430     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6431     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6432     esp = esp + 4; /* 0x2B05E9C0: add esp, 4 */
   6433     _flag_k = FK_ADD;
   6434     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E9C3: mov dword ptr [ebp - 0x14], eax */
   6435     /* cmp eax, ebx */ /* 0x2B05E9C6: cmp eax, ebx */
   6436     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6438     _flag_k = FK_CMP;
   6439     MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B05E9C8: mov byte ptr [ebp - 4], 8 */
   6440     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05E9EA; /* 0x2B05E9CC: je 0x2b05e9ea */
   6441 L_2B05E9CE:
   6442     ecx = MEM32(0x2B0EE9DC); /* 0x2B05E9CE: mov ecx, dword ptr [0x2b0ee9dc] */
   6443     PUSH32(esp, ecx); /* 0x2B05E9D4: push ecx */
   6444     PUSH32(esp, 1); /* 0x2B05E9D5: push 1 */
   6445     PUSH32(esp, 0x2B0EA274u); /* 0x2B05E9D7: push 0x2b0ea274 */
   6446     PUSH32(esp, 0x2B0EA264u); /* 0x2B05E9DC: push 0x2b0ea264 */
   6447     ecx = eax; /* 0x2B05E9E1: mov ecx, eax */
   6448     RECOMP_ICALL(0x2B05F070u); /* 0x2B05E9E3: call 0x2b05f070 */ /* not lifted */
   6449     RECOMP_FLAGS_IN();
   6450     goto L_2B05E9EC; /* 0x2B05E9E8: jmp 0x2b05e9ec */
   6451 L_2B05E9EA:
   6452     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6453     eax = 0; /* 0x2B05E9EA: xor eax, eax */
   6454     _cf = 0;
   6455     _flag_k = FK_TEST;
   6456 L_2B05E9EC:
   6457     PUSH32(esp, 0x1Cu); /* 0x2B05E9EC: push 0x1c */
   6458     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05E9EE: mov byte ptr [ebp - 4], bl */
   6459     MEM32(esi + 0x44) = eax; /* 0x2B05E9F1: mov dword ptr [esi + 0x44], eax */
   6460     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05E9F4: call 0x2b0ab212 */ /* not lifted */
   6461     RECOMP_FLAGS_IN();
   6462     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6463     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6464     esp = esp + 4; /* 0x2B05E9F9: add esp, 4 */
   6465     _flag_k = FK_ADD;
   6466     MEM32(ebp + (-0x14)) = eax; /* 0x2B05E9FC: mov dword ptr [ebp - 0x14], eax */
   6467     /* cmp eax, ebx */ /* 0x2B05E9FF: cmp eax, ebx */
   6468     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6469     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6470     _flag_k = FK_CMP;
   6471     MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B05EA01: mov byte ptr [ebp - 4], 9 */
   6472     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05EA23; /* 0x2B05EA05: je 0x2b05ea23 */
   6473 L_2B05EA07:
   6474     edx = MEM32(0x2B0EE9DC); /* 0x2B05EA07: mov edx, dword ptr [0x2b0ee9dc] */
   6475     PUSH32(esp, edx); /* 0x2B05EA0D: push edx */
   6476     PUSH32(esp, 1); /* 0x2B05EA0E: push 1 */
   6477     PUSH32(esp, 0x2B0EA254u); /* 0x2B05EA10: push 0x2b0ea254 */
   6478     PUSH32(esp, 0x2B0EA24Cu); /* 0x2B05EA15: push 0x2b0ea24c */
   6479     ecx = eax; /* 0x2B05EA1A: mov ecx, eax */
   6480     RECOMP_ICALL(0x2B05F070u); /* 0x2B05EA1C: call 0x2b05f070 */ /* not lifted */
   6481     RECOMP_FLAGS_IN();
   6482     goto L_2B05EA25; /* 0x2B05EA21: jmp 0x2b05ea25 */
   6483 L_2B05EA23:
   6484     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6485     eax = 0; /* 0x2B05EA23: xor eax, eax */
   6486     _cf = 0;
   6487     _flag_k = FK_TEST;
   6488 L_2B05EA25:
   6489     PUSH32(esp, 0x1Cu); /* 0x2B05EA25: push 0x1c */
   6490     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05EA27: mov byte ptr [ebp - 4], bl */
   6491     MEM32(esi + 0x48) = eax; /* 0x2B05EA2A: mov dword ptr [esi + 0x48], eax */
   6492     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05EA2D: call 0x2b0ab212 */ /* not lifted */
   6493     RECOMP_FLAGS_IN();
   6494     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6495     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6496     esp = esp + 4; /* 0x2B05EA32: add esp, 4 */
   6497     _flag_k = FK_ADD;
   6498     MEM32(ebp + (-0x14)) = eax; /* 0x2B05EA35: mov dword ptr [ebp - 0x14], eax */
   6499     /* cmp eax, ebx */ /* 0x2B05EA38: cmp eax, ebx */
   6500     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6502     _flag_k = FK_CMP;
   6503     MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B05EA3A: mov byte ptr [ebp - 4], 0xa */
   6504     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05EA5C; /* 0x2B05EA3E: je 0x2b05ea5c */
   6505 L_2B05EA40:
   6506     ecx = MEM32(0x2B0EE9DC); /* 0x2B05EA40: mov ecx, dword ptr [0x2b0ee9dc] */
   6507     PUSH32(esp, ecx); /* 0x2B05EA46: push ecx */
   6508     PUSH32(esp, 1); /* 0x2B05EA47: push 1 */
   6509     PUSH32(esp, 0x2B0EA23Cu); /* 0x2B05EA49: push 0x2b0ea23c */
   6510     PUSH32(esp, 0x2B0EA230u); /* 0x2B05EA4E: push 0x2b0ea230 */
   6511     ecx = eax; /* 0x2B05EA53: mov ecx, eax */
   6512     RECOMP_ICALL(0x2B05F070u); /* 0x2B05EA55: call 0x2b05f070 */ /* not lifted */
   6513     RECOMP_FLAGS_IN();
   6514     goto L_2B05EA5E; /* 0x2B05EA5A: jmp 0x2b05ea5e */
   6515 L_2B05EA5C:
   6516     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6517     eax = 0; /* 0x2B05EA5C: xor eax, eax */
   6518     _cf = 0;
   6519     _flag_k = FK_TEST;
   6520 L_2B05EA5E:
   6521     PUSH32(esp, 0x1Cu); /* 0x2B05EA5E: push 0x1c */
   6522     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05EA60: mov byte ptr [ebp - 4], bl */
   6523     MEM32(esi + 0x4C) = eax; /* 0x2B05EA63: mov dword ptr [esi + 0x4c], eax */
   6524     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05EA66: call 0x2b0ab212 */ /* not lifted */
   6525     RECOMP_FLAGS_IN();
   6526     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6527     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6528     esp = esp + 4; /* 0x2B05EA6B: add esp, 4 */
   6529     _flag_k = FK_ADD;
   6530     MEM32(ebp + (-0x14)) = eax; /* 0x2B05EA6E: mov dword ptr [ebp - 0x14], eax */
   6531     /* cmp eax, ebx */ /* 0x2B05EA71: cmp eax, ebx */
   6532     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6534     _flag_k = FK_CMP;
   6535     MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B05EA73: mov byte ptr [ebp - 4], 0xb */
   6536     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05EA95; /* 0x2B05EA77: je 0x2b05ea95 */
   6537 L_2B05EA79:
   6538     edx = MEM32(0x2B0EE9DC); /* 0x2B05EA79: mov edx, dword ptr [0x2b0ee9dc] */
   6539     PUSH32(esp, edx); /* 0x2B05EA7F: push edx */
   6540     PUSH32(esp, 1); /* 0x2B05EA80: push 1 */
   6541     PUSH32(esp, 0x2B0EA220u); /* 0x2B05EA82: push 0x2b0ea220 */
   6542     PUSH32(esp, 0x2B0EA214u); /* 0x2B05EA87: push 0x2b0ea214 */
   6543     ecx = eax; /* 0x2B05EA8C: mov ecx, eax */
   6544     RECOMP_ICALL(0x2B05F070u); /* 0x2B05EA8E: call 0x2b05f070 */ /* not lifted */
   6545     RECOMP_FLAGS_IN();
   6546     goto L_2B05EA97; /* 0x2B05EA93: jmp 0x2b05ea97 */
   6547 L_2B05EA95:
   6548     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6549     eax = 0; /* 0x2B05EA95: xor eax, eax */
   6550     _cf = 0;
   6551     _flag_k = FK_TEST;
   6552 L_2B05EA97:
   6553     PUSH32(esp, 0x1Cu); /* 0x2B05EA97: push 0x1c */
   6554     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05EA99: mov byte ptr [ebp - 4], bl */
   6555     MEM32(esi + 0x50) = eax; /* 0x2B05EA9C: mov dword ptr [esi + 0x50], eax */
   6556     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05EA9F: call 0x2b0ab212 */ /* not lifted */
   6557     RECOMP_FLAGS_IN();
   6558     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6559     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6560     esp = esp + 4; /* 0x2B05EAA4: add esp, 4 */
   6561     _flag_k = FK_ADD;
   6562     MEM32(ebp + (-0x14)) = eax; /* 0x2B05EAA7: mov dword ptr [ebp - 0x14], eax */
   6563     /* cmp eax, ebx */ /* 0x2B05EAAA: cmp eax, ebx */
   6564     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6566     _flag_k = FK_CMP;
   6567     MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B05EAAC: mov byte ptr [ebp - 4], 0xc */
   6568     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05EACE; /* 0x2B05EAB0: je 0x2b05eace */
   6569 L_2B05EAB2:
   6570     ecx = MEM32(0x2B0EE9DC); /* 0x2B05EAB2: mov ecx, dword ptr [0x2b0ee9dc] */
   6571     PUSH32(esp, ecx); /* 0x2B05EAB8: push ecx */
   6572     PUSH32(esp, 1); /* 0x2B05EAB9: push 1 */
   6573     PUSH32(esp, 0x2B0E19ACu); /* 0x2B05EABB: push 0x2b0e19ac */
   6574     PUSH32(esp, 0x2B0EA204u); /* 0x2B05EAC0: push 0x2b0ea204 */
   6575     ecx = eax; /* 0x2B05EAC5: mov ecx, eax */
   6576     RECOMP_ICALL(0x2B05F070u); /* 0x2B05EAC7: call 0x2b05f070 */ /* not lifted */
   6577     RECOMP_FLAGS_IN();
   6578     goto L_2B05EAD0; /* 0x2B05EACC: jmp 0x2b05ead0 */
   6579 L_2B05EACE:
   6580     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6581     eax = 0; /* 0x2B05EACE: xor eax, eax */
   6582     _cf = 0;
   6583     _flag_k = FK_TEST;
   6584 L_2B05EAD0:
   6585     ecx = esi; /* 0x2B05EAD0: mov ecx, esi */
   6586     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B05EAD2: mov byte ptr [ebp - 4], bl */
   6587     MEM32(esi + 0x54) = eax; /* 0x2B05EAD5: mov dword ptr [esi + 0x54], eax */
   6588     RECOMP_ICALL(0x2B05EE80u); /* 0x2B05EAD8: call 0x2b05ee80 */ /* not lifted */
   6589     RECOMP_FLAGS_IN();
   6590     PUSH32(esp, 0x2B0E9CC8u); /* 0x2B05EADD: push 0x2b0e9cc8 */
   6591     PUSH32(esp, ebx); /* 0x2B05EAE2: push ebx */
   6592     ecx = esi; /* 0x2B05EAE3: mov ecx, esi */
   6593     RECOMP_ICALL(0x2B03A2D0u); /* 0x2B05EAE5: call 0x2b03a2d0 */ /* not lifted */
   6594     RECOMP_FLAGS_IN();
   6595     PUSH32(esp, 1); /* 0x2B05EAEA: push 1 */
   6596     ecx = esi; /* 0x2B05EAEC: mov ecx, esi */
   6597     RECOMP_ICALL(0x2B03A350u); /* 0x2B05EAEE: call 0x2b03a350 */ /* not lifted */
   6598     RECOMP_FLAGS_IN();
   6599     ecx = MEM32(ebp + (-0xC)); /* 0x2B05EAF3: mov ecx, dword ptr [ebp - 0xc] */
   6600     edi = POP32_VAL(esp); /* 0x2B05EAF6: pop edi */
   6601     eax = esi; /* 0x2B05EAF7: mov eax, esi */
   6602     esi = POP32_VAL(esp); /* 0x2B05EAF9: pop esi */
   6603     ebx = POP32_VAL(esp); /* 0x2B05EAFA: pop ebx */
   6604     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05EAFB: mov dword ptr fs:[0], ecx */
   6605     esp = ebp; /* 0x2B05EB02: mov esp, ebp */
   6606     ebp = POP32_VAL(esp); /* 0x2B05EB04: pop ebp */
   6607     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EB05: ret  */
   6608     RECOMP_REGS_OUT();
   6609 }
   6610 
   6611 void sub_2B05EB10(void) {
   6612     int _fpu_cmp = 0;
   6613     uint32_t _cf = 0;
   6614     int _df = 1;
   6615     uint32_t _flag_k = FK_NONE;
   6616     uint32_t _flag_a = 0, _flag_b = 0;
   6617     uint32_t _itail_tgt = 0;
   6618     RECOMP_REGS_LOCALS
   6619     RECOMP_ENTER(0x2B05EB10u);
   6620 
   6621 L_2B05EB10:
   6622     PUSH32(esp, ebp); /* 0x2B05EB10: push ebp */
   6623     ebp = esp; /* 0x2B05EB11: mov ebp, esp */
   6624     PUSH32(esp, esi); /* 0x2B05EB13: push esi */
   6625     esi = ecx; /* 0x2B05EB14: mov esi, ecx */
   6626     RECOMP_ICALL(0x2B05EB40u); /* 0x2B05EB16: call 0x2b05eb40 */ /* not lifted */
   6627     RECOMP_FLAGS_IN();
   6628     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05EB1B: test byte ptr [ebp + 8], 1 */
   6629     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   6630     _cf = 0;
   6631     _flag_k = FK_NARROW(FK_TEST, 24);
   6632     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EB2A; /* 0x2B05EB1F: je 0x2b05eb2a */
   6633 L_2B05EB21:
   6634     PUSH32(esp, esi); /* 0x2B05EB21: push esi */
   6635     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EB22: call 0x2b0ab1ba */ /* not lifted */
   6636     RECOMP_FLAGS_IN();
   6637     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6638     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6639     esp = esp + 4; /* 0x2B05EB27: add esp, 4 */
   6640     _flag_k = FK_ADD;
   6641 L_2B05EB2A:
   6642     eax = esi; /* 0x2B05EB2A: mov eax, esi */
   6643     esi = POP32_VAL(esp); /* 0x2B05EB2C: pop esi */
   6644     ebp = POP32_VAL(esp); /* 0x2B05EB2D: pop ebp */
   6645     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05EB2E: ret 4 */
   6646     RECOMP_REGS_OUT();
   6647 }
   6648 
   6649 void sub_2B05EB40(void) {
   6650     int _fpu_cmp = 0;
   6651     uint32_t _cf = 0;
   6652     int _df = 1;
   6653     uint32_t _flag_k = FK_NONE;
   6654     uint32_t _flag_a = 0, _flag_b = 0;
   6655     uint32_t _itail_tgt = 0;
   6656     RECOMP_REGS_LOCALS
   6657     RECOMP_ENTER(0x2B05EB40u);
   6658 
   6659 L_2B05EB40:
   6660     PUSH32(esp, ebp); /* 0x2B05EB40: push ebp */
   6661     ebp = esp; /* 0x2B05EB41: mov ebp, esp */
   6662     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05EB43: push -1 */
   6663     PUSH32(esp, 0x2B0B0668u); /* 0x2B05EB45: push 0x2b0b0668 */
   6664     eax = MEM32(FS_BASE + (0)); /* 0x2B05EB4A: mov eax, dword ptr fs:[0] */
   6665     PUSH32(esp, eax); /* 0x2B05EB50: push eax */
   6666     MEM32(FS_BASE + (0)) = esp; /* 0x2B05EB51: mov dword ptr fs:[0], esp */
   6667     PUSH32(esp, ecx); /* 0x2B05EB58: push ecx */
   6668     PUSH32(esp, esi); /* 0x2B05EB59: push esi */
   6669     esi = ecx; /* 0x2B05EB5A: mov esi, ecx */
   6670     PUSH32(esp, edi); /* 0x2B05EB5C: push edi */
   6671     MEM32(ebp + (-0x10)) = esi; /* 0x2B05EB5D: mov dword ptr [ebp - 0x10], esi */
   6672     MEM32(esi) = 0x2B0B6CECu; /* 0x2B05EB60: mov dword ptr [esi], 0x2b0b6cec */
   6673     ecx = MEM32(esi + 0x28); /* 0x2B05EB66: mov ecx, dword ptr [esi + 0x28] */
   6674     /* test ecx, ecx */ /* 0x2B05EB69: test ecx, ecx */
   6675     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6676     _cf = 0;
   6677     _flag_k = FK_TEST;
   6678     MEM32(ebp + (-0x4)) = 0; /* 0x2B05EB6B: mov dword ptr [ebp - 4], 0 */
   6679     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EB7A; /* 0x2B05EB72: je 0x2b05eb7a */
   6680 L_2B05EB74:
   6681     eax = MEM32(ecx); /* 0x2B05EB74: mov eax, dword ptr [ecx] */
   6682     PUSH32(esp, 1); /* 0x2B05EB76: push 1 */
   6683     RECOMP_ICALL(MEM32(eax)); /* 0x2B05EB78: call dword ptr [eax] */
   6684     RECOMP_FLAGS_IN();
   6685 L_2B05EB7A:
   6686     ecx = MEM32(esi + 0x2C); /* 0x2B05EB7A: mov ecx, dword ptr [esi + 0x2c] */
   6687     /* test ecx, ecx */ /* 0x2B05EB7D: test ecx, ecx */
   6688     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6689     _cf = 0;
   6690     _flag_k = FK_TEST;
   6691     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EB87; /* 0x2B05EB7F: je 0x2b05eb87 */
   6692 L_2B05EB81:
   6693     edx = MEM32(ecx); /* 0x2B05EB81: mov edx, dword ptr [ecx] */
   6694     PUSH32(esp, 1); /* 0x2B05EB83: push 1 */
   6695     RECOMP_ICALL(MEM32(edx)); /* 0x2B05EB85: call dword ptr [edx] */
   6696     RECOMP_FLAGS_IN();
   6697 L_2B05EB87:
   6698     edi = MEM32(esi + 0x30); /* 0x2B05EB87: mov edi, dword ptr [esi + 0x30] */
   6699     /* test edi, edi */ /* 0x2B05EB8A: test edi, edi */
   6700     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6701     _cf = 0;
   6702     _flag_k = FK_TEST;
   6703     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EB9E; /* 0x2B05EB8C: je 0x2b05eb9e */
   6704 L_2B05EB8E:
   6705     ecx = edi; /* 0x2B05EB8E: mov ecx, edi */
   6706     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EB90: call 0x2b05f200 */ /* not lifted */
   6707     RECOMP_FLAGS_IN();
   6708     PUSH32(esp, edi); /* 0x2B05EB95: push edi */
   6709     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EB96: call 0x2b0ab1ba */ /* not lifted */
   6710     RECOMP_FLAGS_IN();
   6711     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6712     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6713     esp = esp + 4; /* 0x2B05EB9B: add esp, 4 */
   6714     _flag_k = FK_ADD;
   6715 L_2B05EB9E:
   6716     edi = MEM32(esi + 0x34); /* 0x2B05EB9E: mov edi, dword ptr [esi + 0x34] */
   6717     /* test edi, edi */ /* 0x2B05EBA1: test edi, edi */
   6718     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6719     _cf = 0;
   6720     _flag_k = FK_TEST;
   6721     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EBB5; /* 0x2B05EBA3: je 0x2b05ebb5 */
   6722 L_2B05EBA5:
   6723     ecx = edi; /* 0x2B05EBA5: mov ecx, edi */
   6724     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EBA7: call 0x2b05f200 */ /* not lifted */
   6725     RECOMP_FLAGS_IN();
   6726     PUSH32(esp, edi); /* 0x2B05EBAC: push edi */
   6727     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EBAD: call 0x2b0ab1ba */ /* not lifted */
   6728     RECOMP_FLAGS_IN();
   6729     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6730     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6731     esp = esp + 4; /* 0x2B05EBB2: add esp, 4 */
   6732     _flag_k = FK_ADD;
   6733 L_2B05EBB5:
   6734     edi = MEM32(esi + 0x38); /* 0x2B05EBB5: mov edi, dword ptr [esi + 0x38] */
   6735     /* test edi, edi */ /* 0x2B05EBB8: test edi, edi */
   6736     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6737     _cf = 0;
   6738     _flag_k = FK_TEST;
   6739     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EBCC; /* 0x2B05EBBA: je 0x2b05ebcc */
   6740 L_2B05EBBC:
   6741     ecx = edi; /* 0x2B05EBBC: mov ecx, edi */
   6742     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EBBE: call 0x2b05f200 */ /* not lifted */
   6743     RECOMP_FLAGS_IN();
   6744     PUSH32(esp, edi); /* 0x2B05EBC3: push edi */
   6745     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EBC4: call 0x2b0ab1ba */ /* not lifted */
   6746     RECOMP_FLAGS_IN();
   6747     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6748     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6749     esp = esp + 4; /* 0x2B05EBC9: add esp, 4 */
   6750     _flag_k = FK_ADD;
   6751 L_2B05EBCC:
   6752     edi = MEM32(esi + 0x3C); /* 0x2B05EBCC: mov edi, dword ptr [esi + 0x3c] */
   6753     /* test edi, edi */ /* 0x2B05EBCF: test edi, edi */
   6754     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6755     _cf = 0;
   6756     _flag_k = FK_TEST;
   6757     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EBE3; /* 0x2B05EBD1: je 0x2b05ebe3 */
   6758 L_2B05EBD3:
   6759     ecx = edi; /* 0x2B05EBD3: mov ecx, edi */
   6760     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EBD5: call 0x2b05f200 */ /* not lifted */
   6761     RECOMP_FLAGS_IN();
   6762     PUSH32(esp, edi); /* 0x2B05EBDA: push edi */
   6763     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EBDB: call 0x2b0ab1ba */ /* not lifted */
   6764     RECOMP_FLAGS_IN();
   6765     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6766     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6767     esp = esp + 4; /* 0x2B05EBE0: add esp, 4 */
   6768     _flag_k = FK_ADD;
   6769 L_2B05EBE3:
   6770     edi = MEM32(esi + 0x40); /* 0x2B05EBE3: mov edi, dword ptr [esi + 0x40] */
   6771     /* test edi, edi */ /* 0x2B05EBE6: test edi, edi */
   6772     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6773     _cf = 0;
   6774     _flag_k = FK_TEST;
   6775     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EBFA; /* 0x2B05EBE8: je 0x2b05ebfa */
   6776 L_2B05EBEA:
   6777     ecx = edi; /* 0x2B05EBEA: mov ecx, edi */
   6778     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EBEC: call 0x2b05f200 */ /* not lifted */
   6779     RECOMP_FLAGS_IN();
   6780     PUSH32(esp, edi); /* 0x2B05EBF1: push edi */
   6781     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EBF2: call 0x2b0ab1ba */ /* not lifted */
   6782     RECOMP_FLAGS_IN();
   6783     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6784     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6785     esp = esp + 4; /* 0x2B05EBF7: add esp, 4 */
   6786     _flag_k = FK_ADD;
   6787 L_2B05EBFA:
   6788     edi = MEM32(esi + 0x44); /* 0x2B05EBFA: mov edi, dword ptr [esi + 0x44] */
   6789     /* test edi, edi */ /* 0x2B05EBFD: test edi, edi */
   6790     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6791     _cf = 0;
   6792     _flag_k = FK_TEST;
   6793     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EC11; /* 0x2B05EBFF: je 0x2b05ec11 */
   6794 L_2B05EC01:
   6795     ecx = edi; /* 0x2B05EC01: mov ecx, edi */
   6796     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EC03: call 0x2b05f200 */ /* not lifted */
   6797     RECOMP_FLAGS_IN();
   6798     PUSH32(esp, edi); /* 0x2B05EC08: push edi */
   6799     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EC09: call 0x2b0ab1ba */ /* not lifted */
   6800     RECOMP_FLAGS_IN();
   6801     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6802     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6803     esp = esp + 4; /* 0x2B05EC0E: add esp, 4 */
   6804     _flag_k = FK_ADD;
   6805 L_2B05EC11:
   6806     edi = MEM32(esi + 0x48); /* 0x2B05EC11: mov edi, dword ptr [esi + 0x48] */
   6807     /* test edi, edi */ /* 0x2B05EC14: test edi, edi */
   6808     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6809     _cf = 0;
   6810     _flag_k = FK_TEST;
   6811     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EC28; /* 0x2B05EC16: je 0x2b05ec28 */
   6812 L_2B05EC18:
   6813     ecx = edi; /* 0x2B05EC18: mov ecx, edi */
   6814     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EC1A: call 0x2b05f200 */ /* not lifted */
   6815     RECOMP_FLAGS_IN();
   6816     PUSH32(esp, edi); /* 0x2B05EC1F: push edi */
   6817     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EC20: call 0x2b0ab1ba */ /* not lifted */
   6818     RECOMP_FLAGS_IN();
   6819     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6820     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6821     esp = esp + 4; /* 0x2B05EC25: add esp, 4 */
   6822     _flag_k = FK_ADD;
   6823 L_2B05EC28:
   6824     edi = MEM32(esi + 0x4C); /* 0x2B05EC28: mov edi, dword ptr [esi + 0x4c] */
   6825     /* test edi, edi */ /* 0x2B05EC2B: test edi, edi */
   6826     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6827     _cf = 0;
   6828     _flag_k = FK_TEST;
   6829     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EC3F; /* 0x2B05EC2D: je 0x2b05ec3f */
   6830 L_2B05EC2F:
   6831     ecx = edi; /* 0x2B05EC2F: mov ecx, edi */
   6832     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EC31: call 0x2b05f200 */ /* not lifted */
   6833     RECOMP_FLAGS_IN();
   6834     PUSH32(esp, edi); /* 0x2B05EC36: push edi */
   6835     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EC37: call 0x2b0ab1ba */ /* not lifted */
   6836     RECOMP_FLAGS_IN();
   6837     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6838     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6839     esp = esp + 4; /* 0x2B05EC3C: add esp, 4 */
   6840     _flag_k = FK_ADD;
   6841 L_2B05EC3F:
   6842     edi = MEM32(esi + 0x50); /* 0x2B05EC3F: mov edi, dword ptr [esi + 0x50] */
   6843     /* test edi, edi */ /* 0x2B05EC42: test edi, edi */
   6844     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6845     _cf = 0;
   6846     _flag_k = FK_TEST;
   6847     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EC56; /* 0x2B05EC44: je 0x2b05ec56 */
   6848 L_2B05EC46:
   6849     ecx = edi; /* 0x2B05EC46: mov ecx, edi */
   6850     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EC48: call 0x2b05f200 */ /* not lifted */
   6851     RECOMP_FLAGS_IN();
   6852     PUSH32(esp, edi); /* 0x2B05EC4D: push edi */
   6853     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EC4E: call 0x2b0ab1ba */ /* not lifted */
   6854     RECOMP_FLAGS_IN();
   6855     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6856     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6857     esp = esp + 4; /* 0x2B05EC53: add esp, 4 */
   6858     _flag_k = FK_ADD;
   6859 L_2B05EC56:
   6860     edi = MEM32(esi + 0x54); /* 0x2B05EC56: mov edi, dword ptr [esi + 0x54] */
   6861     /* test edi, edi */ /* 0x2B05EC59: test edi, edi */
   6862     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6863     _cf = 0;
   6864     _flag_k = FK_TEST;
   6865     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EC6D; /* 0x2B05EC5B: je 0x2b05ec6d */
   6866 L_2B05EC5D:
   6867     ecx = edi; /* 0x2B05EC5D: mov ecx, edi */
   6868     RECOMP_ICALL(0x2B05F200u); /* 0x2B05EC5F: call 0x2b05f200 */ /* not lifted */
   6869     RECOMP_FLAGS_IN();
   6870     PUSH32(esp, edi); /* 0x2B05EC64: push edi */
   6871     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05EC65: call 0x2b0ab1ba */ /* not lifted */
   6872     RECOMP_FLAGS_IN();
   6873     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6874     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6875     esp = esp + 4; /* 0x2B05EC6A: add esp, 4 */
   6876     _flag_k = FK_ADD;
   6877 L_2B05EC6D:
   6878     ecx = esi; /* 0x2B05EC6D: mov ecx, esi */
   6879     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B05EC6F: mov dword ptr [ebp - 4], 0xffffffff */
   6880     RECOMP_ICALL(0x2B03A290u); /* 0x2B05EC76: call 0x2b03a290 */ /* not lifted */
   6881     RECOMP_FLAGS_IN();
   6882     ecx = MEM32(ebp + (-0xC)); /* 0x2B05EC7B: mov ecx, dword ptr [ebp - 0xc] */
   6883     edi = POP32_VAL(esp); /* 0x2B05EC7E: pop edi */
   6884     esi = POP32_VAL(esp); /* 0x2B05EC7F: pop esi */
   6885     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05EC80: mov dword ptr fs:[0], ecx */
   6886     esp = ebp; /* 0x2B05EC87: mov esp, ebp */
   6887     ebp = POP32_VAL(esp); /* 0x2B05EC89: pop ebp */
   6888     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EC8A: ret  */
   6889     RECOMP_REGS_OUT();
   6890 }
   6891 
   6892 void sub_2B05EC90(void) {
   6893     int _fpu_cmp = 0;
   6894     uint32_t _cf = 0;
   6895     int _df = 1;
   6896     uint32_t _flag_k = FK_NONE;
   6897     uint32_t _flag_a = 0, _flag_b = 0;
   6898     uint32_t _itail_tgt = 0;
   6899     RECOMP_REGS_LOCALS
   6900     RECOMP_ENTER(0x2B05EC90u);
   6901 
   6902 L_2B05EC90:
   6903     PUSH32(esp, ebp); /* 0x2B05EC90: push ebp */
   6904     ebp = esp; /* 0x2B05EC91: mov ebp, esp */
   6905     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6906     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6907     esp = esp - 8; /* 0x2B05EC93: sub esp, 8 */
   6908     _flag_k = FK_CMP;
   6909     PUSH32(esp, esi); /* 0x2B05EC96: push esi */
   6910     esi = ecx; /* 0x2B05EC97: mov esi, ecx */
   6911     ecx = MEM32(esi + 0x8); /* 0x2B05EC99: mov ecx, dword ptr [esi + 8] */
   6912     eax = MEM32(esi + 0x4); /* 0x2B05EC9C: mov eax, dword ptr [esi + 4] */
   6913     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
   6914     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6915     ecx = ecx + 0x14u; /* 0x2B05EC9F: add ecx, 0x14 */
   6916     _flag_k = FK_ADD;
   6917     PUSH32(esp, edi); /* 0x2B05ECA2: push edi */
   6918     edx = ebp + (-0x8); /* 0x2B05ECA3: lea edx, [ebp - 8] */
   6919     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05ECA6: mov dword ptr [ebp - 4], ecx */
   6920     ecx = MEM32(esi + 0x28); /* 0x2B05ECA9: mov ecx, dword ptr [esi + 0x28] */
   6921     PUSH32(esp, edx); /* 0x2B05ECAC: push edx */
   6922     MEM32(ebp + (-0x8)) = eax; /* 0x2B05ECAD: mov dword ptr [ebp - 8], eax */
   6923     RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B05ECB0: call dword ptr [0x2b0b5940] */
   6924     RECOMP_FLAGS_IN();
   6925     eax = MEM32(esi + 0x28); /* 0x2B05ECB6: mov eax, dword ptr [esi + 0x28] */
   6926     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B05ECB9: mov byte ptr [eax + 9], 1 */
   6927     ecx = MEM32(esi + 0x8); /* 0x2B05ECBD: mov ecx, dword ptr [esi + 8] */
   6928     eax = MEM32(esi + 0x4); /* 0x2B05ECC0: mov eax, dword ptr [esi + 4] */
   6929     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x23u);
   6930     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6931     ecx = ecx + 0x23u; /* 0x2B05ECC3: add ecx, 0x23 */
   6932     _flag_k = FK_ADD;
   6933     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6);
   6934     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6935     eax = eax + 6; /* 0x2B05ECC6: add eax, 6 */
   6936     _flag_k = FK_ADD;
   6937     PUSH32(esp, ecx); /* 0x2B05ECC9: push ecx */
   6938     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05ECCA: mov dword ptr [ebp - 4], ecx */
   6939     ecx = MEM32(esi + 0x2C); /* 0x2B05ECCD: mov ecx, dword ptr [esi + 0x2c] */
   6940     PUSH32(esp, eax); /* 0x2B05ECD0: push eax */
   6941     MEM32(ebp + (-0x8)) = eax; /* 0x2B05ECD1: mov dword ptr [ebp - 8], eax */
   6942     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B05ECD4: call dword ptr [0x2b0b5924] */
   6943     RECOMP_FLAGS_IN();
   6944     ecx = MEM32(esi + 0x2C); /* 0x2B05ECDA: mov ecx, dword ptr [esi + 0x2c] */
   6945     MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B05ECDD: mov byte ptr [ecx + 9], 1 */
   6946     ecx = MEM32(ebp + (-0x4)); /* 0x2B05ECE1: mov ecx, dword ptr [ebp - 4] */
   6947     edi = 0xCu; /* 0x2B05ECE4: mov edi, 0xc */
   6948     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   6949     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6950     ecx = ecx + edi; /* 0x2B05ECE9: add ecx, edi */
   6951     _flag_k = FK_ADD;
   6952     edx = ebp + (-0x8); /* 0x2B05ECEB: lea edx, [ebp - 8] */
   6953     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05ECEE: mov dword ptr [ebp - 4], ecx */
   6954     ecx = MEM32(esi + 0x30); /* 0x2B05ECF1: mov ecx, dword ptr [esi + 0x30] */
   6955     PUSH32(esp, edx); /* 0x2B05ECF4: push edx */
   6956     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ECF5: call 0x2b05f300 */ /* not lifted */
   6957     RECOMP_FLAGS_IN();
   6958     ecx = MEM32(esi + 0x30); /* 0x2B05ECFA: mov ecx, dword ptr [esi + 0x30] */
   6959     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ECFD: call 0x2b05f2e0 */ /* not lifted */
   6960     RECOMP_FLAGS_IN();
   6961     edx = MEM32(ebp + (-0x4)); /* 0x2B05ED02: mov edx, dword ptr [ebp - 4] */
   6962     ecx = MEM32(esi + 0x34); /* 0x2B05ED05: mov ecx, dword ptr [esi + 0x34] */
   6963     eax = ebp + (-0x8); /* 0x2B05ED08: lea eax, [ebp - 8] */
   6964     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   6965     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6966     edx = edx + edi; /* 0x2B05ED0B: add edx, edi */
   6967     _flag_k = FK_ADD;
   6968     PUSH32(esp, eax); /* 0x2B05ED0D: push eax */
   6969     MEM32(ebp + (-0x4)) = edx; /* 0x2B05ED0E: mov dword ptr [ebp - 4], edx */
   6970     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ED11: call 0x2b05f300 */ /* not lifted */
   6971     RECOMP_FLAGS_IN();
   6972     ecx = MEM32(esi + 0x34); /* 0x2B05ED16: mov ecx, dword ptr [esi + 0x34] */
   6973     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ED19: call 0x2b05f2e0 */ /* not lifted */
   6974     RECOMP_FLAGS_IN();
   6975     eax = MEM32(ebp + (-0x4)); /* 0x2B05ED1E: mov eax, dword ptr [ebp - 4] */
   6976     ecx = ebp + (-0x8); /* 0x2B05ED21: lea ecx, [ebp - 8] */
   6977     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   6978     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6979     eax = eax + edi; /* 0x2B05ED24: add eax, edi */
   6980     _flag_k = FK_ADD;
   6981     PUSH32(esp, ecx); /* 0x2B05ED26: push ecx */
   6982     ecx = MEM32(esi + 0x38); /* 0x2B05ED27: mov ecx, dword ptr [esi + 0x38] */
   6983     MEM32(ebp + (-0x4)) = eax; /* 0x2B05ED2A: mov dword ptr [ebp - 4], eax */
   6984     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ED2D: call 0x2b05f300 */ /* not lifted */
   6985     RECOMP_FLAGS_IN();
   6986     ecx = MEM32(esi + 0x38); /* 0x2B05ED32: mov ecx, dword ptr [esi + 0x38] */
   6987     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ED35: call 0x2b05f2e0 */ /* not lifted */
   6988     RECOMP_FLAGS_IN();
   6989     ecx = MEM32(ebp + (-0x4)); /* 0x2B05ED3A: mov ecx, dword ptr [ebp - 4] */
   6990     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   6991     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6992     ecx = ecx + edi; /* 0x2B05ED3D: add ecx, edi */
   6993     _flag_k = FK_ADD;
   6994     edx = ebp + (-0x8); /* 0x2B05ED3F: lea edx, [ebp - 8] */
   6995     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05ED42: mov dword ptr [ebp - 4], ecx */
   6996     ecx = MEM32(esi + 0x3C); /* 0x2B05ED45: mov ecx, dword ptr [esi + 0x3c] */
   6997     PUSH32(esp, edx); /* 0x2B05ED48: push edx */
   6998     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ED49: call 0x2b05f300 */ /* not lifted */
   6999     RECOMP_FLAGS_IN();
   7000     ecx = MEM32(esi + 0x3C); /* 0x2B05ED4E: mov ecx, dword ptr [esi + 0x3c] */
   7001     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ED51: call 0x2b05f2e0 */ /* not lifted */
   7002     RECOMP_FLAGS_IN();
   7003     edx = MEM32(ebp + (-0x4)); /* 0x2B05ED56: mov edx, dword ptr [ebp - 4] */
   7004     ecx = MEM32(esi + 0x40); /* 0x2B05ED59: mov ecx, dword ptr [esi + 0x40] */
   7005     eax = ebp + (-0x8); /* 0x2B05ED5C: lea eax, [ebp - 8] */
   7006     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   7007     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7008     edx = edx + edi; /* 0x2B05ED5F: add edx, edi */
   7009     _flag_k = FK_ADD;
   7010     PUSH32(esp, eax); /* 0x2B05ED61: push eax */
   7011     MEM32(ebp + (-0x4)) = edx; /* 0x2B05ED62: mov dword ptr [ebp - 4], edx */
   7012     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ED65: call 0x2b05f300 */ /* not lifted */
   7013     RECOMP_FLAGS_IN();
   7014     ecx = MEM32(esi + 0x40); /* 0x2B05ED6A: mov ecx, dword ptr [esi + 0x40] */
   7015     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ED6D: call 0x2b05f2e0 */ /* not lifted */
   7016     RECOMP_FLAGS_IN();
   7017     eax = MEM32(ebp + (-0x4)); /* 0x2B05ED72: mov eax, dword ptr [ebp - 4] */
   7018     ecx = ebp + (-0x8); /* 0x2B05ED75: lea ecx, [ebp - 8] */
   7019     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7020     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7021     eax = eax + edi; /* 0x2B05ED78: add eax, edi */
   7022     _flag_k = FK_ADD;
   7023     PUSH32(esp, ecx); /* 0x2B05ED7A: push ecx */
   7024     ecx = MEM32(esi + 0x44); /* 0x2B05ED7B: mov ecx, dword ptr [esi + 0x44] */
   7025     MEM32(ebp + (-0x4)) = eax; /* 0x2B05ED7E: mov dword ptr [ebp - 4], eax */
   7026     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ED81: call 0x2b05f300 */ /* not lifted */
   7027     RECOMP_FLAGS_IN();
   7028     ecx = MEM32(esi + 0x44); /* 0x2B05ED86: mov ecx, dword ptr [esi + 0x44] */
   7029     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05ED89: call 0x2b05f2e0 */ /* not lifted */
   7030     RECOMP_FLAGS_IN();
   7031     ecx = MEM32(ebp + (-0x4)); /* 0x2B05ED8E: mov ecx, dword ptr [ebp - 4] */
   7032     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   7033     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7034     ecx = ecx + edi; /* 0x2B05ED91: add ecx, edi */
   7035     _flag_k = FK_ADD;
   7036     edx = ebp + (-0x8); /* 0x2B05ED93: lea edx, [ebp - 8] */
   7037     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05ED96: mov dword ptr [ebp - 4], ecx */
   7038     ecx = MEM32(esi + 0x48); /* 0x2B05ED99: mov ecx, dword ptr [esi + 0x48] */
   7039     PUSH32(esp, edx); /* 0x2B05ED9C: push edx */
   7040     RECOMP_ICALL(0x2B05F300u); /* 0x2B05ED9D: call 0x2b05f300 */ /* not lifted */
   7041     RECOMP_FLAGS_IN();
   7042     ecx = MEM32(esi + 0x48); /* 0x2B05EDA2: mov ecx, dword ptr [esi + 0x48] */
   7043     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05EDA5: call 0x2b05f2e0 */ /* not lifted */
   7044     RECOMP_FLAGS_IN();
   7045     edx = MEM32(ebp + (-0x4)); /* 0x2B05EDAA: mov edx, dword ptr [ebp - 4] */
   7046     ecx = MEM32(esi + 0x4C); /* 0x2B05EDAD: mov ecx, dword ptr [esi + 0x4c] */
   7047     eax = ebp + (-0x8); /* 0x2B05EDB0: lea eax, [ebp - 8] */
   7048     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   7049     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7050     edx = edx + edi; /* 0x2B05EDB3: add edx, edi */
   7051     _flag_k = FK_ADD;
   7052     PUSH32(esp, eax); /* 0x2B05EDB5: push eax */
   7053     MEM32(ebp + (-0x4)) = edx; /* 0x2B05EDB6: mov dword ptr [ebp - 4], edx */
   7054     RECOMP_ICALL(0x2B05F300u); /* 0x2B05EDB9: call 0x2b05f300 */ /* not lifted */
   7055     RECOMP_FLAGS_IN();
   7056     ecx = MEM32(esi + 0x4C); /* 0x2B05EDBE: mov ecx, dword ptr [esi + 0x4c] */
   7057     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05EDC1: call 0x2b05f2e0 */ /* not lifted */
   7058     RECOMP_FLAGS_IN();
   7059     eax = MEM32(ebp + (-0x4)); /* 0x2B05EDC6: mov eax, dword ptr [ebp - 4] */
   7060     ecx = ebp + (-0x8); /* 0x2B05EDC9: lea ecx, [ebp - 8] */
   7061     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7062     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7063     eax = eax + edi; /* 0x2B05EDCC: add eax, edi */
   7064     _flag_k = FK_ADD;
   7065     PUSH32(esp, ecx); /* 0x2B05EDCE: push ecx */
   7066     ecx = MEM32(esi + 0x50); /* 0x2B05EDCF: mov ecx, dword ptr [esi + 0x50] */
   7067     MEM32(ebp + (-0x4)) = eax; /* 0x2B05EDD2: mov dword ptr [ebp - 4], eax */
   7068     RECOMP_ICALL(0x2B05F300u); /* 0x2B05EDD5: call 0x2b05f300 */ /* not lifted */
   7069     RECOMP_FLAGS_IN();
   7070     ecx = MEM32(esi + 0x50); /* 0x2B05EDDA: mov ecx, dword ptr [esi + 0x50] */
   7071     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05EDDD: call 0x2b05f2e0 */ /* not lifted */
   7072     RECOMP_FLAGS_IN();
   7073     ecx = MEM32(ebp + (-0x4)); /* 0x2B05EDE2: mov ecx, dword ptr [ebp - 4] */
   7074     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   7075     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7076     ecx = ecx + edi; /* 0x2B05EDE5: add ecx, edi */
   7077     _flag_k = FK_ADD;
   7078     edx = ebp + (-0x8); /* 0x2B05EDE7: lea edx, [ebp - 8] */
   7079     MEM32(ebp + (-0x4)) = ecx; /* 0x2B05EDEA: mov dword ptr [ebp - 4], ecx */
   7080     ecx = MEM32(esi + 0x54); /* 0x2B05EDED: mov ecx, dword ptr [esi + 0x54] */
   7081     PUSH32(esp, edx); /* 0x2B05EDF0: push edx */
   7082     RECOMP_ICALL(0x2B05F300u); /* 0x2B05EDF1: call 0x2b05f300 */ /* not lifted */
   7083     RECOMP_FLAGS_IN();
   7084     ecx = MEM32(esi + 0x54); /* 0x2B05EDF6: mov ecx, dword ptr [esi + 0x54] */
   7085     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05EDF9: call 0x2b05f2e0 */ /* not lifted */
   7086     RECOMP_FLAGS_IN();
   7087     edi = POP32_VAL(esp); /* 0x2B05EDFE: pop edi */
   7088     esi = POP32_VAL(esp); /* 0x2B05EDFF: pop esi */
   7089     esp = ebp; /* 0x2B05EE00: mov esp, ebp */
   7090     ebp = POP32_VAL(esp); /* 0x2B05EE02: pop ebp */
   7091     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EE03: ret  */
   7092     RECOMP_REGS_OUT();
   7093 }
   7094 
   7095 void sub_2B05EE10(void) {
   7096     int _fpu_cmp = 0;
   7097     uint32_t _cf = 0;
   7098     int _df = 1;
   7099     uint32_t _flag_k = FK_NONE;
   7100     uint32_t _flag_a = 0, _flag_b = 0;
   7101     uint32_t _itail_tgt = 0;
   7102     RECOMP_REGS_LOCALS
   7103     RECOMP_ENTER(0x2B05EE10u);
   7104 
   7105 L_2B05EE10:
   7106     PUSH32(esp, esi); /* 0x2B05EE10: push esi */
   7107     esi = ecx; /* 0x2B05EE11: mov esi, ecx */
   7108     SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B05EE13: mov al, byte ptr [esi + 0xc] */
   7109     /* test LO8(eax), LO8(eax) */ /* 0x2B05EE16: test al, al */
   7110     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   7111     _cf = 0;
   7112     _flag_k = FK_NARROW(FK_TEST, 24);
   7113     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EE78; /* 0x2B05EE18: je 0x2b05ee78 */
   7114 L_2B05EE1A:
   7115     ecx = MEM32(esi + 0x28); /* 0x2B05EE1A: mov ecx, dword ptr [esi + 0x28] */
   7116     SET_LO8(eax, 1); /* 0x2B05EE1D: mov al, 1 */
   7117     MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05EE1F: mov byte ptr [ecx + 8], al */
   7118     edx = MEM32(esi + 0x2C); /* 0x2B05EE22: mov edx, dword ptr [esi + 0x2c] */
   7119     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05EE25: mov byte ptr [edx + 8], al */
   7120     ecx = MEM32(esi + 0x30); /* 0x2B05EE28: mov ecx, dword ptr [esi + 0x30] */
   7121     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE2B: call 0x2b05f2a0 */ /* not lifted */
   7122     RECOMP_FLAGS_IN();
   7123     ecx = MEM32(esi + 0x34); /* 0x2B05EE30: mov ecx, dword ptr [esi + 0x34] */
   7124     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE33: call 0x2b05f2a0 */ /* not lifted */
   7125     RECOMP_FLAGS_IN();
   7126     ecx = MEM32(esi + 0x38); /* 0x2B05EE38: mov ecx, dword ptr [esi + 0x38] */
   7127     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE3B: call 0x2b05f2a0 */ /* not lifted */
   7128     RECOMP_FLAGS_IN();
   7129     ecx = MEM32(esi + 0x3C); /* 0x2B05EE40: mov ecx, dword ptr [esi + 0x3c] */
   7130     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE43: call 0x2b05f2a0 */ /* not lifted */
   7131     RECOMP_FLAGS_IN();
   7132     ecx = MEM32(esi + 0x40); /* 0x2B05EE48: mov ecx, dword ptr [esi + 0x40] */
   7133     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE4B: call 0x2b05f2a0 */ /* not lifted */
   7134     RECOMP_FLAGS_IN();
   7135     ecx = MEM32(esi + 0x44); /* 0x2B05EE50: mov ecx, dword ptr [esi + 0x44] */
   7136     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE53: call 0x2b05f2a0 */ /* not lifted */
   7137     RECOMP_FLAGS_IN();
   7138     ecx = MEM32(esi + 0x48); /* 0x2B05EE58: mov ecx, dword ptr [esi + 0x48] */
   7139     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE5B: call 0x2b05f2a0 */ /* not lifted */
   7140     RECOMP_FLAGS_IN();
   7141     ecx = MEM32(esi + 0x4C); /* 0x2B05EE60: mov ecx, dword ptr [esi + 0x4c] */
   7142     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE63: call 0x2b05f2a0 */ /* not lifted */
   7143     RECOMP_FLAGS_IN();
   7144     ecx = MEM32(esi + 0x50); /* 0x2B05EE68: mov ecx, dword ptr [esi + 0x50] */
   7145     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE6B: call 0x2b05f2a0 */ /* not lifted */
   7146     RECOMP_FLAGS_IN();
   7147     ecx = MEM32(esi + 0x54); /* 0x2B05EE70: mov ecx, dword ptr [esi + 0x54] */
   7148     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05EE73: call 0x2b05f2a0 */ /* not lifted */
   7149     RECOMP_FLAGS_IN();
   7150 L_2B05EE78:
   7151     esi = POP32_VAL(esp); /* 0x2B05EE78: pop esi */
   7152     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EE79: ret  */
   7153     RECOMP_REGS_OUT();
   7154 }
   7155 
   7156 void sub_2B05EE80(void) {
   7157     int _fpu_cmp = 0;
   7158     uint32_t _cf = 0;
   7159     int _df = 1;
   7160     uint32_t _flag_k = FK_NONE;
   7161     uint32_t _flag_a = 0, _flag_b = 0;
   7162     uint32_t _itail_tgt = 0;
   7163     RECOMP_REGS_LOCALS
   7164     RECOMP_ENTER(0x2B05EE80u);
   7165 
   7166 L_2B05EE80:
   7167     PUSH32(esp, esi); /* 0x2B05EE80: push esi */
   7168     esi = ecx; /* 0x2B05EE81: mov esi, ecx */
   7169     ecx = MEM32(esi + 0x28); /* 0x2B05EE83: mov ecx, dword ptr [esi + 0x28] */
   7170     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   7171     SET_LO8(eax, 0); /* 0x2B05EE86: xor al, al */
   7172     _cf = 0;
   7173     _flag_k = FK_NARROW(FK_TEST, 24);
   7174     MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05EE88: mov byte ptr [ecx + 8], al */
   7175     edx = MEM32(esi + 0x2C); /* 0x2B05EE8B: mov edx, dword ptr [esi + 0x2c] */
   7176     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05EE8E: mov byte ptr [edx + 8], al */
   7177     ecx = MEM32(esi + 0x30); /* 0x2B05EE91: mov ecx, dword ptr [esi + 0x30] */
   7178     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EE94: call 0x2b05f2c0 */ /* not lifted */
   7179     RECOMP_FLAGS_IN();
   7180     ecx = MEM32(esi + 0x34); /* 0x2B05EE99: mov ecx, dword ptr [esi + 0x34] */
   7181     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EE9C: call 0x2b05f2c0 */ /* not lifted */
   7182     RECOMP_FLAGS_IN();
   7183     ecx = MEM32(esi + 0x38); /* 0x2B05EEA1: mov ecx, dword ptr [esi + 0x38] */
   7184     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EEA4: call 0x2b05f2c0 */ /* not lifted */
   7185     RECOMP_FLAGS_IN();
   7186     ecx = MEM32(esi + 0x3C); /* 0x2B05EEA9: mov ecx, dword ptr [esi + 0x3c] */
   7187     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EEAC: call 0x2b05f2c0 */ /* not lifted */
   7188     RECOMP_FLAGS_IN();
   7189     ecx = MEM32(esi + 0x40); /* 0x2B05EEB1: mov ecx, dword ptr [esi + 0x40] */
   7190     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EEB4: call 0x2b05f2c0 */ /* not lifted */
   7191     RECOMP_FLAGS_IN();
   7192     ecx = MEM32(esi + 0x44); /* 0x2B05EEB9: mov ecx, dword ptr [esi + 0x44] */
   7193     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EEBC: call 0x2b05f2c0 */ /* not lifted */
   7194     RECOMP_FLAGS_IN();
   7195     ecx = MEM32(esi + 0x48); /* 0x2B05EEC1: mov ecx, dword ptr [esi + 0x48] */
   7196     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EEC4: call 0x2b05f2c0 */ /* not lifted */
   7197     RECOMP_FLAGS_IN();
   7198     ecx = MEM32(esi + 0x4C); /* 0x2B05EEC9: mov ecx, dword ptr [esi + 0x4c] */
   7199     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EECC: call 0x2b05f2c0 */ /* not lifted */
   7200     RECOMP_FLAGS_IN();
   7201     ecx = MEM32(esi + 0x50); /* 0x2B05EED1: mov ecx, dword ptr [esi + 0x50] */
   7202     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EED4: call 0x2b05f2c0 */ /* not lifted */
   7203     RECOMP_FLAGS_IN();
   7204     ecx = MEM32(esi + 0x54); /* 0x2B05EED9: mov ecx, dword ptr [esi + 0x54] */
   7205     RECOMP_ICALL(0x2B05F2C0u); /* 0x2B05EEDC: call 0x2b05f2c0 */ /* not lifted */
   7206     RECOMP_FLAGS_IN();
   7207     esi = POP32_VAL(esp); /* 0x2B05EEE1: pop esi */
   7208     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EEE2: ret  */
   7209     RECOMP_REGS_OUT();
   7210 }
   7211 
   7212 void sub_2B05EEF0(void) {
   7213     int _fpu_cmp = 0;
   7214     uint32_t _cf = 0;
   7215     int _df = 1;
   7216     uint32_t _flag_k = FK_NONE;
   7217     uint32_t _flag_a = 0, _flag_b = 0;
   7218     uint32_t _itail_tgt = 0;
   7219     RECOMP_REGS_LOCALS
   7220     RECOMP_ENTER(0x2B05EEF0u);
   7221 
   7222 L_2B05EEF0:
   7223     PUSH32(esp, ebx); /* 0x2B05EEF0: push ebx */
   7224     PUSH32(esp, esi); /* 0x2B05EEF1: push esi */
   7225     esi = MEM32(0x2B0B53CC); /* 0x2B05EEF2: mov esi, dword ptr [0x2b0b53cc] */
   7226     PUSH32(esp, edi); /* 0x2B05EEF8: push edi */
   7227     edi = ecx; /* 0x2B05EEF9: mov edi, ecx */
   7228     RECOMP_ICALL(esi); /* 0x2B05EEFB: call esi */
   7229     RECOMP_FLAGS_IN();
   7230     ecx = eax; /* 0x2B05EEFD: mov ecx, eax */
   7231     RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B05EEFF: call dword ptr [0x2b0b5374] */
   7232     RECOMP_FLAGS_IN();
   7233     PUSH32(esp, 0x2EE0u); /* 0x2B05EF05: push 0x2ee0 */
   7234     PUSH32(esp, 0x38u); /* 0x2B05EF0A: push 0x38 */
   7235     PUSH32(esp, 1); /* 0x2B05EF0C: push 1 */
   7236     RECOMP_ICALL(esi); /* 0x2B05EF0E: call esi */
   7237     RECOMP_FLAGS_IN();
   7238     ecx = eax; /* 0x2B05EF10: mov ecx, eax */
   7239     RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B05EF12: call dword ptr [0x2b0b5378] */
   7240     RECOMP_FLAGS_IN();
   7241     PUSH32(esp, 0x2B05EFE0u); /* 0x2B05EF18: push 0x2b05efe0 */
   7242     PUSH32(esp, 5); /* 0x2B05EF1D: push 5 */
   7243     RECOMP_ICALL(esi); /* 0x2B05EF1F: call esi */
   7244     RECOMP_FLAGS_IN();
   7245     ebx = MEM32(0x2B0B5324); /* 0x2B05EF21: mov ebx, dword ptr [0x2b0b5324] */
   7246     ecx = eax; /* 0x2B05EF27: mov ecx, eax */
   7247     RECOMP_ICALL(ebx); /* 0x2B05EF29: call ebx */
   7248     RECOMP_FLAGS_IN();
   7249     PUSH32(esp, 0x2B05F050u); /* 0x2B05EF2B: push 0x2b05f050 */
   7250     PUSH32(esp, 6); /* 0x2B05EF30: push 6 */
   7251     RECOMP_ICALL(esi); /* 0x2B05EF32: call esi */
   7252     RECOMP_FLAGS_IN();
   7253     ecx = eax; /* 0x2B05EF34: mov ecx, eax */
   7254     RECOMP_ICALL(ebx); /* 0x2B05EF36: call ebx */
   7255     RECOMP_FLAGS_IN();
   7256     eax = edi; /* 0x2B05EF38: mov eax, edi */
   7257     edi = POP32_VAL(esp); /* 0x2B05EF3A: pop edi */
   7258     esi = POP32_VAL(esp); /* 0x2B05EF3B: pop esi */
   7259     MEM32(0x2B0EEC40) = 0; /* 0x2B05EF3C: mov dword ptr [0x2b0eec40], 0 */
   7260     ebx = POP32_VAL(esp); /* 0x2B05EF46: pop ebx */
   7261     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EF47: ret  */
   7262     RECOMP_REGS_OUT();
   7263 }
   7264 
   7265 void sub_2B05EF50(void) {
   7266     int _fpu_cmp = 0;
   7267     uint32_t _cf = 0;
   7268     int _df = 1;
   7269     uint32_t _flag_k = FK_NONE;
   7270     uint32_t _flag_a = 0, _flag_b = 0;
   7271     uint32_t _itail_tgt = 0;
   7272     RECOMP_REGS_LOCALS
   7273     RECOMP_ENTER(0x2B05EF50u);
   7274 
   7275 L_2B05EF50:
   7276     RECOMP_ICALL(0x2B05F050u); /* 0x2B05EF50: call 0x2b05f050 */ /* not lifted */
   7277     RECOMP_FLAGS_IN();
   7278     MEM32(0x2B0EEC40) = 0; /* 0x2B05EF55: mov dword ptr [0x2b0eec40], 0 */
   7279     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EF5F: ret  */
   7280     RECOMP_REGS_OUT();
   7281 }
   7282 
   7283 void sub_2B05EF60(void) {
   7284     int _fpu_cmp = 0;
   7285     uint32_t _cf = 0;
   7286     int _df = 1;
   7287     uint32_t _flag_k = FK_NONE;
   7288     uint32_t _flag_a = 0, _flag_b = 0;
   7289     uint32_t _itail_tgt = 0;
   7290     RECOMP_REGS_LOCALS
   7291     RECOMP_ENTER(0x2B05EF60u);
   7292 
   7293 L_2B05EF60:
   7294     PUSH32(esp, ebp); /* 0x2B05EF60: push ebp */
   7295     ebp = esp; /* 0x2B05EF61: mov ebp, esp */
   7296     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05EF63: push -1 */
   7297     PUSH32(esp, 0x2B0B068Bu); /* 0x2B05EF65: push 0x2b0b068b */
   7298     eax = MEM32(FS_BASE + (0)); /* 0x2B05EF6A: mov eax, dword ptr fs:[0] */
   7299     PUSH32(esp, eax); /* 0x2B05EF70: push eax */
   7300     MEM32(FS_BASE + (0)) = esp; /* 0x2B05EF71: mov dword ptr fs:[0], esp */
   7301     PUSH32(esp, ecx); /* 0x2B05EF78: push ecx */
   7302     eax = MEM32(0x2B0EEC3C); /* 0x2B05EF79: mov eax, dword ptr [0x2b0eec3c] */
   7303     /* test eax, eax */ /* 0x2B05EF7E: test eax, eax */
   7304     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7305     _cf = 0;
   7306     _flag_k = FK_TEST;
   7307     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05EFBB; /* 0x2B05EF80: jne 0x2b05efbb */
   7308 L_2B05EF82:
   7309     PUSH32(esp, 1); /* 0x2B05EF82: push 1 */
   7310     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05EF84: call 0x2b0ab212 */ /* not lifted */
   7311     RECOMP_FLAGS_IN();
   7312     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7313     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7314     esp = esp + 4; /* 0x2B05EF89: add esp, 4 */
   7315     _flag_k = FK_ADD;
   7316     MEM32(ebp + (-0x10)) = eax; /* 0x2B05EF8C: mov dword ptr [ebp - 0x10], eax */
   7317     /* test eax, eax */ /* 0x2B05EF8F: test eax, eax */
   7318     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7319     _cf = 0;
   7320     _flag_k = FK_TEST;
   7321     MEM32(ebp + (-0x4)) = 0; /* 0x2B05EF91: mov dword ptr [ebp - 4], 0 */
   7322     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05EFB4; /* 0x2B05EF98: je 0x2b05efb4 */
   7323 L_2B05EF9A:
   7324     ecx = eax; /* 0x2B05EF9A: mov ecx, eax */
   7325     RECOMP_ICALL(0x2B05EEF0u); /* 0x2B05EF9C: call 0x2b05eef0 */ /* not lifted */
   7326     RECOMP_FLAGS_IN();
   7327     MEM32(0x2B0EEC3C) = eax; /* 0x2B05EFA1: mov dword ptr [0x2b0eec3c], eax */
   7328     ecx = MEM32(ebp + (-0xC)); /* 0x2B05EFA6: mov ecx, dword ptr [ebp - 0xc] */
   7329     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05EFA9: mov dword ptr fs:[0], ecx */
   7330     esp = ebp; /* 0x2B05EFB0: mov esp, ebp */
   7331     ebp = POP32_VAL(esp); /* 0x2B05EFB2: pop ebp */
   7332     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EFB3: ret  */
   7333 L_2B05EFB4:
   7334     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7335     eax = 0; /* 0x2B05EFB4: xor eax, eax */
   7336     _cf = 0;
   7337     _flag_k = FK_TEST;
   7338     MEM32(0x2B0EEC3C) = eax; /* 0x2B05EFB6: mov dword ptr [0x2b0eec3c], eax */
   7339 L_2B05EFBB:
   7340     ecx = MEM32(ebp + (-0xC)); /* 0x2B05EFBB: mov ecx, dword ptr [ebp - 0xc] */
   7341     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05EFBE: mov dword ptr fs:[0], ecx */
   7342     esp = ebp; /* 0x2B05EFC5: mov esp, ebp */
   7343     ebp = POP32_VAL(esp); /* 0x2B05EFC7: pop ebp */
   7344     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EFC8: ret  */
   7345     RECOMP_REGS_OUT();
   7346 }
   7347 
   7348 void sub_2B05EFD0(void) {
   7349     int _fpu_cmp = 0;
   7350     uint32_t _cf = 0;
   7351     int _df = 1;
   7352     uint32_t _flag_k = FK_NONE;
   7353     uint32_t _flag_a = 0, _flag_b = 0;
   7354     uint32_t _itail_tgt = 0;
   7355     RECOMP_REGS_LOCALS
   7356     RECOMP_ENTER(0x2B05EFD0u);
   7357 
   7358 L_2B05EFD0:
   7359     eax = MEM32(0x2B0EEC3C); /* 0x2B05EFD0: mov eax, dword ptr [0x2b0eec3c] */
   7360     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05EFD5: ret  */
   7361     RECOMP_REGS_OUT();
   7362 }
   7363 
   7364 void sub_2B05EFE0(void) {
   7365     int _fpu_cmp = 0;
   7366     uint32_t _cf = 0;
   7367     int _df = 1;
   7368     uint32_t _flag_k = FK_NONE;
   7369     uint32_t _flag_a = 0, _flag_b = 0;
   7370     uint32_t _itail_tgt = 0;
   7371     RECOMP_REGS_LOCALS
   7372     RECOMP_ENTER(0x2B05EFE0u);
   7373 
   7374 L_2B05EFE0:
   7375     PUSH32(esp, ebp); /* 0x2B05EFE0: push ebp */
   7376     ebp = esp; /* 0x2B05EFE1: mov ebp, esp */
   7377     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05EFE3: push -1 */
   7378     PUSH32(esp, 0x2B0B06ABu); /* 0x2B05EFE5: push 0x2b0b06ab */
   7379     eax = MEM32(FS_BASE + (0)); /* 0x2B05EFEA: mov eax, dword ptr fs:[0] */
   7380     PUSH32(esp, eax); /* 0x2B05EFF0: push eax */
   7381     MEM32(FS_BASE + (0)) = esp; /* 0x2B05EFF1: mov dword ptr fs:[0], esp */
   7382     PUSH32(esp, ecx); /* 0x2B05EFF8: push ecx */
   7383     eax = MEM32(0x2B0EEC40); /* 0x2B05EFF9: mov eax, dword ptr [0x2b0eec40] */
   7384     /* test eax, eax */ /* 0x2B05EFFE: test eax, eax */
   7385     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7386     _cf = 0;
   7387     _flag_k = FK_TEST;
   7388     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05F03B; /* 0x2B05F000: jne 0x2b05f03b */
   7389 L_2B05F002:
   7390     PUSH32(esp, 0x58u); /* 0x2B05F002: push 0x58 */
   7391     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05F004: call 0x2b0ab212 */ /* not lifted */
   7392     RECOMP_FLAGS_IN();
   7393     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7395     esp = esp + 4; /* 0x2B05F009: add esp, 4 */
   7396     _flag_k = FK_ADD;
   7397     MEM32(ebp + (-0x10)) = eax; /* 0x2B05F00C: mov dword ptr [ebp - 0x10], eax */
   7398     /* test eax, eax */ /* 0x2B05F00F: test eax, eax */
   7399     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7400     _cf = 0;
   7401     _flag_k = FK_TEST;
   7402     MEM32(ebp + (-0x4)) = 0; /* 0x2B05F011: mov dword ptr [ebp - 4], 0 */
   7403     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F034; /* 0x2B05F018: je 0x2b05f034 */
   7404 L_2B05F01A:
   7405     ecx = eax; /* 0x2B05F01A: mov ecx, eax */
   7406     RECOMP_ICALL(0x2B05E7B0u); /* 0x2B05F01C: call 0x2b05e7b0 */ /* not lifted */
   7407     RECOMP_FLAGS_IN();
   7408     MEM32(0x2B0EEC40) = eax; /* 0x2B05F021: mov dword ptr [0x2b0eec40], eax */
   7409     ecx = MEM32(ebp + (-0xC)); /* 0x2B05F026: mov ecx, dword ptr [ebp - 0xc] */
   7410     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05F029: mov dword ptr fs:[0], ecx */
   7411     esp = ebp; /* 0x2B05F030: mov esp, ebp */
   7412     ebp = POP32_VAL(esp); /* 0x2B05F032: pop ebp */
   7413     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F033: ret  */
   7414 L_2B05F034:
   7415     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7416     eax = 0; /* 0x2B05F034: xor eax, eax */
   7417     _cf = 0;
   7418     _flag_k = FK_TEST;
   7419     MEM32(0x2B0EEC40) = eax; /* 0x2B05F036: mov dword ptr [0x2b0eec40], eax */
   7420 L_2B05F03B:
   7421     ecx = MEM32(ebp + (-0xC)); /* 0x2B05F03B: mov ecx, dword ptr [ebp - 0xc] */
   7422     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05F03E: mov dword ptr fs:[0], ecx */
   7423     esp = ebp; /* 0x2B05F045: mov esp, ebp */
   7424     ebp = POP32_VAL(esp); /* 0x2B05F047: pop ebp */
   7425     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F048: ret  */
   7426     RECOMP_REGS_OUT();
   7427 }
   7428 
   7429 void sub_2B05F050(void) {
   7430     int _fpu_cmp = 0;
   7431     uint32_t _cf = 0;
   7432     int _df = 1;
   7433     uint32_t _flag_k = FK_NONE;
   7434     uint32_t _flag_a = 0, _flag_b = 0;
   7435     uint32_t _itail_tgt = 0;
   7436     RECOMP_REGS_LOCALS
   7437     RECOMP_ENTER(0x2B05F050u);
   7438 
   7439 L_2B05F050:
   7440     ecx = MEM32(0x2B0EEC40); /* 0x2B05F050: mov ecx, dword ptr [0x2b0eec40] */
   7441     /* test ecx, ecx */ /* 0x2B05F056: test ecx, ecx */
   7442     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   7443     _cf = 0;
   7444     _flag_k = FK_TEST;
   7445     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F060; /* 0x2B05F058: je 0x2b05f060 */
   7446 L_2B05F05A:
   7447     eax = MEM32(ecx); /* 0x2B05F05A: mov eax, dword ptr [ecx] */
   7448     PUSH32(esp, 1); /* 0x2B05F05C: push 1 */
   7449     RECOMP_ICALL(MEM32(eax)); /* 0x2B05F05E: call dword ptr [eax] */
   7450     RECOMP_FLAGS_IN();
   7451 L_2B05F060:
   7452     MEM32(0x2B0EEC40) = 0; /* 0x2B05F060: mov dword ptr [0x2b0eec40], 0 */
   7453     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F06A: ret  */
   7454     RECOMP_REGS_OUT();
   7455 }
   7456 
   7457 void sub_2B05F070(void) {
   7458     int _fpu_cmp = 0;
   7459     uint32_t _cf = 0;
   7460     int _df = 1;
   7461     uint32_t _flag_k = FK_NONE;
   7462     uint32_t _flag_a = 0, _flag_b = 0;
   7463     uint32_t _itail_tgt = 0;
   7464     RECOMP_REGS_LOCALS
   7465     RECOMP_ENTER(0x2B05F070u);
   7466 
   7467 L_2B05F070:
   7468     PUSH32(esp, ebp); /* 0x2B05F070: push ebp */
   7469     ebp = esp; /* 0x2B05F071: mov ebp, esp */
   7470     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05F073: push -1 */
   7471     PUSH32(esp, 0x2B0B06E2u); /* 0x2B05F075: push 0x2b0b06e2 */
   7472     eax = MEM32(FS_BASE + (0)); /* 0x2B05F07A: mov eax, dword ptr fs:[0] */
   7473     PUSH32(esp, eax); /* 0x2B05F080: push eax */
   7474     MEM32(FS_BASE + (0)) = esp; /* 0x2B05F081: mov dword ptr fs:[0], esp */
   7475     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u);
   7476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7477     esp = esp - 0x34u; /* 0x2B05F088: sub esp, 0x34 */
   7478     _flag_k = FK_CMP;
   7479     SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B05F08B: mov al, byte ptr [ebp + 0xf] */
   7480     PUSH32(esp, ebx); /* 0x2B05F08E: push ebx */
   7481     PUSH32(esp, esi); /* 0x2B05F08F: push esi */
   7482     esi = ecx; /* 0x2B05F090: mov esi, ecx */
   7483     ebx = esi + 0x8; /* 0x2B05F092: lea ebx, [esi + 8] */
   7484     MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2B05F095: mov byte ptr [ebx], al */
   7485     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7486     eax = 0; /* 0x2B05F097: xor eax, eax */
   7487     _cf = 0;
   7488     _flag_k = FK_TEST;
   7489     PUSH32(esp, edi); /* 0x2B05F099: push edi */
   7490     MEM32(ebp + (-0x10)) = esi; /* 0x2B05F09A: mov dword ptr [ebp - 0x10], esi */
   7491     MEM32(ebx + 0x4) = eax; /* 0x2B05F09D: mov dword ptr [ebx + 4], eax */
   7492     MEM32(ebx + 0x8) = eax; /* 0x2B05F0A0: mov dword ptr [ebx + 8], eax */
   7493     MEM32(ebx + 0xC) = eax; /* 0x2B05F0A3: mov dword ptr [ebx + 0xc], eax */
   7494     ecx = MEM32(ebp + 0x10); /* 0x2B05F0A6: mov ecx, dword ptr [ebp + 0x10] */
   7495     edi = MEM32(ebp + 0xC); /* 0x2B05F0A9: mov edi, dword ptr [ebp + 0xc] */
   7496     MEM32(esi + 0x18) = ecx; /* 0x2B05F0AC: mov dword ptr [esi + 0x18], ecx */
   7497     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   7498     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05F0AF: or ecx, 0xffffffff */
   7499     _cf = 0;
   7500     _flag_k = FK_TEST;
   7501     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; } /* 0x2B05F0B2: repne scasb al, byte ptr es:[edi] */
   7502     ecx = ~ecx; /* 0x2B05F0B4: not ecx */
   7503     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   7504     ecx = ecx - 1; /* 0x2B05F0B6: dec ecx */
   7505     _flag_k = FK_DEC;
   7506     edi = ecx; /* 0x2B05F0B7: mov edi, ecx */
   7507     PUSH32(esp, 1); /* 0x2B05F0B9: push 1 */
   7508     PUSH32(esp, edi); /* 0x2B05F0BB: push edi */
   7509     ecx = ebx; /* 0x2B05F0BC: mov ecx, ebx */
   7510     MEM32(ebp + (-0x4)) = eax; /* 0x2B05F0BE: mov dword ptr [ebp - 4], eax */
   7511     MEM32(ebp + 0x10) = edi; /* 0x2B05F0C1: mov dword ptr [ebp + 0x10], edi */
   7512     RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B05F0C4: call dword ptr [0x2b0b5154] */
   7513     RECOMP_FLAGS_IN();
   7514     /* test LO8(eax), LO8(eax) */ /* 0x2B05F0CA: test al, al */
   7515     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   7516     _cf = 0;
   7517     _flag_k = FK_NARROW(FK_TEST, 24);
   7518     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F0F6; /* 0x2B05F0CC: je 0x2b05f0f6 */
   7519 L_2B05F0CE:
   7520     eax = MEM32(ebx + 0x4); /* 0x2B05F0CE: mov eax, dword ptr [ebx + 4] */
   7521     esi = MEM32(ebp + 0xC); /* 0x2B05F0D1: mov esi, dword ptr [ebp + 0xc] */
   7522     ecx = edi; /* 0x2B05F0D4: mov ecx, edi */
   7523     edx = ecx; /* 0x2B05F0D6: mov edx, ecx */
   7524     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05F0D8: shr ecx, 2 */
   7525     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   7526     ecx = ecx >> 2u; /* 0x2B05F0D8: shr ecx, 2 */
   7527     edi = eax; /* 0x2B05F0DB: mov edi, eax */
   7528     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05F0DD: 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; }
   7529     ecx = edx; /* 0x2B05F0DF: mov ecx, edx */
   7530     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   7531     ecx = ecx & 3; /* 0x2B05F0E1: and ecx, 3 */
   7532     _cf = 0;
   7533     _flag_k = FK_TEST;
   7534     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05F0E4: 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; }
   7535     eax = MEM32(ebx + 0x4); /* 0x2B05F0E6: mov eax, dword ptr [ebx + 4] */
   7536     esi = MEM32(ebp + (-0x10)); /* 0x2B05F0E9: mov esi, dword ptr [ebp - 0x10] */
   7537     ecx = edx; /* 0x2B05F0EC: mov ecx, edx */
   7538     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7539     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7540     eax = eax + ecx; /* 0x2B05F0EE: add eax, ecx */
   7541     _flag_k = FK_ADD;
   7542     MEM32(ebx + 0x8) = ecx; /* 0x2B05F0F0: mov dword ptr [ebx + 8], ecx */
   7543     MEM8(eax) = (uint8_t)(0); /* 0x2B05F0F3: mov byte ptr [eax], 0 */
   7544 L_2B05F0F6:
   7545     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7546     eax = 0; /* 0x2B05F0F6: xor eax, eax */
   7547     _cf = 0;
   7548     _flag_k = FK_TEST;
   7549     ecx = 0xCu; /* 0x2B05F0F8: mov ecx, 0xc */
   7550     edi = ebp + (-0x40); /* 0x2B05F0FD: lea edi, [ebp - 0x40] */
   7551     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05F100: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
   7552     eax = 1; /* 0x2B05F102: mov eax, 1 */
   7553     PUSH32(esp, 0xBCu); /* 0x2B05F107: push 0xbc */
   7554     MEM32(ebp + (-0x28)) = 0xFA4u; /* 0x2B05F10C: mov dword ptr [ebp - 0x28], 0xfa4 */
   7555     MEM32(ebp + (-0x20)) = eax; /* 0x2B05F113: mov dword ptr [ebp - 0x20], eax */
   7556     MEM32(ebp + (-0x1C)) = 2; /* 0x2B05F116: mov dword ptr [ebp - 0x1c], 2 */
   7557     MEM32(ebp + (-0x40)) = eax; /* 0x2B05F11D: mov dword ptr [ebp - 0x40], eax */
   7558     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05F120: call 0x2b0ab212 */ /* not lifted */
   7559     RECOMP_FLAGS_IN();
   7560     edi = eax; /* 0x2B05F125: mov edi, eax */
   7561     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7562     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7563     esp = esp + 4; /* 0x2B05F127: add esp, 4 */
   7564     _flag_k = FK_ADD;
   7565     MEM32(ebp + 0xC) = edi; /* 0x2B05F12A: mov dword ptr [ebp + 0xc], edi */
   7566     /* test edi, edi */ /* 0x2B05F12D: test edi, edi */
   7567     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7568     _cf = 0;
   7569     _flag_k = FK_TEST;
   7570     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05F12F: mov byte ptr [ebp - 4], 1 */
   7571     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F14D; /* 0x2B05F133: je 0x2b05f14d */
   7572 L_2B05F135:
   7573     eax = MEM32(ebp + 0x14); /* 0x2B05F135: mov eax, dword ptr [ebp + 0x14] */
   7574     PUSH32(esp, eax); /* 0x2B05F138: push eax */
   7575     ecx = ebp + (-0x40); /* 0x2B05F139: lea ecx, [ebp - 0x40] */
   7576     PUSH32(esp, ecx); /* 0x2B05F13C: push ecx */
   7577     ecx = edi; /* 0x2B05F13D: mov ecx, edi */
   7578     RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B05F13F: call dword ptr [0x2b0b5afc] */
   7579     RECOMP_FLAGS_IN();
   7580     MEM32(edi) = 0x2B0B645Cu; /* 0x2B05F145: mov dword ptr [edi], 0x2b0b645c */
   7581     goto L_2B05F14F; /* 0x2B05F14B: jmp 0x2b05f14f */
   7582 L_2B05F14D:
   7583     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7584     edi = 0; /* 0x2B05F14D: xor edi, edi */
   7585     _cf = 0;
   7586     _flag_k = FK_TEST;
   7587 L_2B05F14F:
   7588     PUSH32(esp, 0x50u); /* 0x2B05F14F: push 0x50 */
   7589     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B05F151: mov byte ptr [ebp - 4], 0 */
   7590     MEM32(esi) = edi; /* 0x2B05F155: mov dword ptr [esi], edi */
   7591     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05F157: call 0x2b0ab212 */ /* not lifted */
   7592     RECOMP_FLAGS_IN();
   7593     edi = eax; /* 0x2B05F15C: mov edi, eax */
   7594     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7595     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7596     esp = esp + 4; /* 0x2B05F15E: add esp, 4 */
   7597     _flag_k = FK_ADD;
   7598     MEM32(ebp + 0xC) = edi; /* 0x2B05F161: mov dword ptr [ebp + 0xc], edi */
   7599     /* test edi, edi */ /* 0x2B05F164: test edi, edi */
   7600     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7601     _cf = 0;
   7602     _flag_k = FK_TEST;
   7603     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05F166: mov byte ptr [ebp - 4], 2 */
   7604     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F191; /* 0x2B05F16A: je 0x2b05f191 */
   7605 L_2B05F16C:
   7606     edx = MEM32(ebp + 0x14); /* 0x2B05F16C: mov edx, dword ptr [ebp + 0x14] */
   7607     PUSH32(esp, edx); /* 0x2B05F16F: push edx */
   7608     PUSH32(esp, 0); /* 0x2B05F170: push 0 */
   7609     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7610     eax = 0; /* 0x2B05F172: xor eax, eax */
   7611     _cf = 0;
   7612     _flag_k = FK_TEST;
   7613     PUSH32(esp, eax); /* 0x2B05F174: push eax */
   7614     PUSH32(esp, eax); /* 0x2B05F175: push eax */
   7615     eax = MEM32(ebp + 0x8); /* 0x2B05F176: mov eax, dword ptr [ebp + 8] */
   7616     PUSH32(esp, 0xFA4u); /* 0x2B05F179: push 0xfa4 */
   7617     PUSH32(esp, eax); /* 0x2B05F17E: push eax */
   7618     PUSH32(esp, 1); /* 0x2B05F17F: push 1 */
   7619     ecx = edi; /* 0x2B05F181: mov ecx, edi */
   7620     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05F183: call dword ptr [0x2b0b5950] */
   7621     RECOMP_FLAGS_IN();
   7622     MEM32(edi) = 0x2B0B6878u; /* 0x2B05F189: mov dword ptr [edi], 0x2b0b6878 */
   7623     goto L_2B05F193; /* 0x2B05F18F: jmp 0x2b05f193 */
   7624 L_2B05F191:
   7625     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7626     edi = 0; /* 0x2B05F191: xor edi, edi */
   7627     _cf = 0;
   7628     _flag_k = FK_TEST;
   7629 L_2B05F193:
   7630     PUSH32(esp, 0x00FFFFFFu); /* 0x2B05F193: push 0xffffff */
   7631     ecx = edi; /* 0x2B05F198: mov ecx, edi */
   7632     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B05F19A: mov byte ptr [ebp - 4], 0 */
   7633     MEM32(esi + 0x4) = edi; /* 0x2B05F19E: mov dword ptr [esi + 4], edi */
   7634     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05F1A1: call dword ptr [0x2b0b5858] */
   7635     RECOMP_FLAGS_IN();
   7636     ebx = MEM32(ebx + 0x4); /* 0x2B05F1A7: mov ebx, dword ptr [ebx + 4] */
   7637     /* test ebx, ebx */ /* 0x2B05F1AA: test ebx, ebx */
   7638     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   7639     _cf = 0;
   7640     _flag_k = FK_TEST;
   7641     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05F1B4; /* 0x2B05F1AC: jne 0x2b05f1b4 */
   7642 L_2B05F1AE:
   7643     ebx = MEM32(0x2B0B513C); /* 0x2B05F1AE: mov ebx, dword ptr [0x2b0b513c] */
   7644 L_2B05F1B4:
   7645     ecx = MEM32(esi + 0x18); /* 0x2B05F1B4: mov ecx, dword ptr [esi + 0x18] */
   7646     edx = MEM32(0x2B0B6048); /* 0x2B05F1B7: mov edx, dword ptr [0x2b0b6048] */
   7647     PUSH32(esp, 1); /* 0x2B05F1BD: push 1 */
   7648     PUSH32(esp, ecx); /* 0x2B05F1BF: push ecx */
   7649     ecx = MEM32(edx); /* 0x2B05F1C0: mov ecx, dword ptr [edx] */
   7650     PUSH32(esp, esi); /* 0x2B05F1C2: push esi */
   7651     PUSH32(esp, 0x2B05F390u); /* 0x2B05F1C3: push 0x2b05f390 */
   7652     PUSH32(esp, ebx); /* 0x2B05F1C8: push ebx */
   7653     RECOMP_ICALL(MEM32(0x2B0B6050)); /* 0x2B05F1C9: call dword ptr [0x2b0b6050] */
   7654     RECOMP_FLAGS_IN();
   7655     ecx = MEM32(esi); /* 0x2B05F1CF: mov ecx, dword ptr [esi] */
   7656     PUSH32(esp, esi); /* 0x2B05F1D1: push esi */
   7657     PUSH32(esp, 0x2B05F340u); /* 0x2B05F1D2: push 0x2b05f340 */
   7658     RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B05F1D7: call dword ptr [0x2b0b5af8] */
   7659     RECOMP_FLAGS_IN();
   7660     ecx = MEM32(ebp + (-0xC)); /* 0x2B05F1DD: mov ecx, dword ptr [ebp - 0xc] */
   7661     edi = POP32_VAL(esp); /* 0x2B05F1E0: pop edi */
   7662     eax = esi; /* 0x2B05F1E1: mov eax, esi */
   7663     esi = POP32_VAL(esp); /* 0x2B05F1E3: pop esi */
   7664     ebx = POP32_VAL(esp); /* 0x2B05F1E4: pop ebx */
   7665     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05F1E5: mov dword ptr fs:[0], ecx */
   7666     esp = ebp; /* 0x2B05F1EC: mov esp, ebp */
   7667     ebp = POP32_VAL(esp); /* 0x2B05F1EE: pop ebp */
   7668     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B05F1EF: ret 0x10 */
   7669     RECOMP_REGS_OUT();
   7670 }
   7671 
   7672 void sub_2B05F200(void) {
   7673     int _fpu_cmp = 0;
   7674     uint32_t _cf = 0;
   7675     int _df = 1;
   7676     uint32_t _flag_k = FK_NONE;
   7677     uint32_t _flag_a = 0, _flag_b = 0;
   7678     uint32_t _itail_tgt = 0;
   7679     RECOMP_REGS_LOCALS
   7680     RECOMP_ENTER(0x2B05F200u);
   7681 
   7682 L_2B05F200:
   7683     PUSH32(esp, ebp); /* 0x2B05F200: push ebp */
   7684     ebp = esp; /* 0x2B05F201: mov ebp, esp */
   7685     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05F203: push -1 */
   7686     PUSH32(esp, 0x2B0B06FCu); /* 0x2B05F205: push 0x2b0b06fc */
   7687     eax = MEM32(FS_BASE + (0)); /* 0x2B05F20A: mov eax, dword ptr fs:[0] */
   7688     PUSH32(esp, eax); /* 0x2B05F210: push eax */
   7689     MEM32(FS_BASE + (0)) = esp; /* 0x2B05F211: mov dword ptr fs:[0], esp */
   7690     PUSH32(esp, ecx); /* 0x2B05F218: push ecx */
   7691     PUSH32(esp, ebx); /* 0x2B05F219: push ebx */
   7692     PUSH32(esp, esi); /* 0x2B05F21A: push esi */
   7693     esi = ecx; /* 0x2B05F21B: mov esi, ecx */
   7694     MEM32(ebp + (-0x10)) = esi; /* 0x2B05F21D: mov dword ptr [ebp - 0x10], esi */
   7695     eax = MEM32(esi + 0xC); /* 0x2B05F220: mov eax, dword ptr [esi + 0xc] */
   7696     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7697     ebx = 0; /* 0x2B05F223: xor ebx, ebx */
   7698     _cf = 0;
   7699     _flag_k = FK_TEST;
   7700     /* cmp eax, ebx */ /* 0x2B05F225: cmp eax, ebx */
   7701     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7702     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7703     _flag_k = FK_CMP;
   7704     MEM32(ebp + (-0x4)) = ebx; /* 0x2B05F227: mov dword ptr [ebp - 4], ebx */
   7705     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05F231; /* 0x2B05F22A: jne 0x2b05f231 */
   7706 L_2B05F22C:
   7707     eax = MEM32(0x2B0B513C); /* 0x2B05F22C: mov eax, dword ptr [0x2b0b513c] */
   7708 L_2B05F231:
   7709     ecx = MEM32(esi + 0x18); /* 0x2B05F231: mov ecx, dword ptr [esi + 0x18] */
   7710     edx = MEM32(0x2B0B6048); /* 0x2B05F234: mov edx, dword ptr [0x2b0b6048] */
   7711     PUSH32(esp, ecx); /* 0x2B05F23A: push ecx */
   7712     ecx = MEM32(edx); /* 0x2B05F23B: mov ecx, dword ptr [edx] */
   7713     PUSH32(esp, esi); /* 0x2B05F23D: push esi */
   7714     PUSH32(esp, 0x2B05F390u); /* 0x2B05F23E: push 0x2b05f390 */
   7715     PUSH32(esp, eax); /* 0x2B05F243: push eax */
   7716     RECOMP_ICALL(MEM32(0x2B0B6054)); /* 0x2B05F244: call dword ptr [0x2b0b6054] */
   7717     RECOMP_FLAGS_IN();
   7718     ecx = MEM32(esi); /* 0x2B05F24A: mov ecx, dword ptr [esi] */
   7719     /* cmp ecx, ebx */ /* 0x2B05F24C: cmp ecx, ebx */
   7720     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   7721     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7722     _flag_k = FK_CMP;
   7723     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F256; /* 0x2B05F24E: je 0x2b05f256 */
   7724 L_2B05F250:
   7725     eax = MEM32(ecx); /* 0x2B05F250: mov eax, dword ptr [ecx] */
   7726     PUSH32(esp, 1); /* 0x2B05F252: push 1 */
   7727     RECOMP_ICALL(MEM32(eax)); /* 0x2B05F254: call dword ptr [eax] */
   7728     RECOMP_FLAGS_IN();
   7729 L_2B05F256:
   7730     ecx = MEM32(esi + 0x4); /* 0x2B05F256: mov ecx, dword ptr [esi + 4] */
   7731     /* cmp ecx, ebx */ /* 0x2B05F259: cmp ecx, ebx */
   7732     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   7733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7734     _flag_k = FK_CMP;
   7735     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F263; /* 0x2B05F25B: je 0x2b05f263 */
   7736 L_2B05F25D:
   7737     edx = MEM32(ecx); /* 0x2B05F25D: mov edx, dword ptr [ecx] */
   7738     PUSH32(esp, 1); /* 0x2B05F25F: push 1 */
   7739     RECOMP_ICALL(MEM32(edx)); /* 0x2B05F261: call dword ptr [edx] */
   7740     RECOMP_FLAGS_IN();
   7741 L_2B05F263:
   7742     eax = MEM32(esi + 0xC); /* 0x2B05F263: mov eax, dword ptr [esi + 0xc] */
   7743     /* cmp eax, ebx */ /* 0x2B05F266: cmp eax, ebx */
   7744     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7746     _flag_k = FK_CMP;
   7747     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F286; /* 0x2B05F268: je 0x2b05f286 */
   7748 L_2B05F26A:
   7749     ecx = eax + (-0x1); /* 0x2B05F26A: lea ecx, [eax - 1] */
   7750     SET_LO8(eax, MEM8(ecx)); /* 0x2B05F26D: mov al, byte ptr [ecx] */
   7751     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B05F26F: cmp al, bl */
   7752     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7753     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7754     _flag_k = FK_NARROW(FK_CMP, 24);
   7755     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F27D; /* 0x2B05F271: je 0x2b05f27d */
   7756 L_2B05F273:
   7757     /* cmp LO8(eax), 0xFFu */ /* 0x2B05F273: cmp al, 0xff */
   7758     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7759     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7760     _flag_k = FK_NARROW(FK_CMP, 24);
   7761     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F27D; /* 0x2B05F275: je 0x2b05f27d */
   7762 L_2B05F277:
   7763     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7764     SET_LO8(eax, LO8(eax) - 1); /* 0x2B05F277: dec al */
   7765     _flag_k = FK_NARROW(FK_DEC, 24);
   7766     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B05F279: mov byte ptr [ecx], al */
   7767     goto L_2B05F286; /* 0x2B05F27B: jmp 0x2b05f286 */
   7768 L_2B05F27D:
   7769     PUSH32(esp, ecx); /* 0x2B05F27D: push ecx */
   7770     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05F27E: call 0x2b0ab1ba */ /* not lifted */
   7771     RECOMP_FLAGS_IN();
   7772     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7773     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7774     esp = esp + 4; /* 0x2B05F283: add esp, 4 */
   7775     _flag_k = FK_ADD;
   7776 L_2B05F286:
   7777     ecx = MEM32(ebp + (-0xC)); /* 0x2B05F286: mov ecx, dword ptr [ebp - 0xc] */
   7778     MEM32(esi + 0xC) = ebx; /* 0x2B05F289: mov dword ptr [esi + 0xc], ebx */
   7779     MEM32(esi + 0x10) = ebx; /* 0x2B05F28C: mov dword ptr [esi + 0x10], ebx */
   7780     MEM32(esi + 0x14) = ebx; /* 0x2B05F28F: mov dword ptr [esi + 0x14], ebx */
   7781     esi = POP32_VAL(esp); /* 0x2B05F292: pop esi */
   7782     ebx = POP32_VAL(esp); /* 0x2B05F293: pop ebx */
   7783     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05F294: mov dword ptr fs:[0], ecx */
   7784     esp = ebp; /* 0x2B05F29B: mov esp, ebp */
   7785     ebp = POP32_VAL(esp); /* 0x2B05F29D: pop ebp */
   7786     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F29E: ret  */
   7787     RECOMP_REGS_OUT();
   7788 }
   7789 
   7790 void sub_2B05F2A0(void) {
   7791     int _fpu_cmp = 0;
   7792     uint32_t _cf = 0;
   7793     int _df = 1;
   7794     uint32_t _flag_k = FK_NONE;
   7795     uint32_t _flag_a = 0, _flag_b = 0;
   7796     uint32_t _itail_tgt = 0;
   7797     RECOMP_REGS_LOCALS
   7798     RECOMP_ENTER(0x2B05F2A0u);
   7799 
   7800 L_2B05F2A0:
   7801     PUSH32(esp, esi); /* 0x2B05F2A0: push esi */
   7802     esi = ecx; /* 0x2B05F2A1: mov esi, ecx */
   7803     ecx = MEM32(esi); /* 0x2B05F2A3: mov ecx, dword ptr [esi] */
   7804     RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B05F2A5: call dword ptr [0x2b0b5b3c] */
   7805     RECOMP_FLAGS_IN();
   7806     eax = MEM32(esi + 0x4); /* 0x2B05F2AB: mov eax, dword ptr [esi + 4] */
   7807     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05F2AE: mov byte ptr [eax + 8], 1 */
   7808     esi = POP32_VAL(esp); /* 0x2B05F2B2: pop esi */
   7809     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F2B3: ret  */
   7810     RECOMP_REGS_OUT();
   7811 }
   7812 
   7813 void sub_2B05F2C0(void) {
   7814     int _fpu_cmp = 0;
   7815     uint32_t _cf = 0;
   7816     int _df = 1;
   7817     uint32_t _flag_k = FK_NONE;
   7818     uint32_t _flag_a = 0, _flag_b = 0;
   7819     uint32_t _itail_tgt = 0;
   7820     RECOMP_REGS_LOCALS
   7821     RECOMP_ENTER(0x2B05F2C0u);
   7822 
   7823 L_2B05F2C0:
   7824     PUSH32(esp, esi); /* 0x2B05F2C0: push esi */
   7825     esi = ecx; /* 0x2B05F2C1: mov esi, ecx */
   7826     ecx = MEM32(esi); /* 0x2B05F2C3: mov ecx, dword ptr [esi] */
   7827     RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B05F2C5: call dword ptr [0x2b0b5b34] */
   7828     RECOMP_FLAGS_IN();
   7829     eax = MEM32(esi + 0x4); /* 0x2B05F2CB: mov eax, dword ptr [esi + 4] */
   7830     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05F2CE: mov byte ptr [eax + 8], 0 */
   7831     esi = POP32_VAL(esp); /* 0x2B05F2D2: pop esi */
   7832     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F2D3: ret  */
   7833     RECOMP_REGS_OUT();
   7834 }
   7835 
   7836 void sub_2B05F2E0(void) {
   7837     int _fpu_cmp = 0;
   7838     uint32_t _cf = 0;
   7839     int _df = 1;
   7840     uint32_t _flag_k = FK_NONE;
   7841     uint32_t _flag_a = 0, _flag_b = 0;
   7842     uint32_t _itail_tgt = 0;
   7843     RECOMP_REGS_LOCALS
   7844     RECOMP_ENTER(0x2B05F2E0u);
   7845 
   7846 L_2B05F2E0:
   7847     PUSH32(esp, esi); /* 0x2B05F2E0: push esi */
   7848     esi = ecx; /* 0x2B05F2E1: mov esi, ecx */
   7849     ecx = MEM32(esi); /* 0x2B05F2E3: mov ecx, dword ptr [esi] */
   7850     RECOMP_ICALL(MEM32(0x2B0B5960)); /* 0x2B05F2E5: call dword ptr [0x2b0b5960] */
   7851     RECOMP_FLAGS_IN();
   7852     eax = MEM32(esi + 0x4); /* 0x2B05F2EB: mov eax, dword ptr [esi + 4] */
   7853     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B05F2EE: mov byte ptr [eax + 9], 1 */
   7854     esi = POP32_VAL(esp); /* 0x2B05F2F2: pop esi */
   7855     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F2F3: ret  */
   7856     RECOMP_REGS_OUT();
   7857 }
   7858 
   7859 void sub_2B05F300(void) {
   7860     int _fpu_cmp = 0;
   7861     uint32_t _cf = 0;
   7862     int _df = 1;
   7863     uint32_t _flag_k = FK_NONE;
   7864     uint32_t _flag_a = 0, _flag_b = 0;
   7865     uint32_t _itail_tgt = 0;
   7866     RECOMP_REGS_LOCALS
   7867     RECOMP_ENTER(0x2B05F300u);
   7868 
   7869 L_2B05F300:
   7870     PUSH32(esp, ebp); /* 0x2B05F300: push ebp */
   7871     ebp = esp; /* 0x2B05F301: mov ebp, esp */
   7872     PUSH32(esp, esi); /* 0x2B05F303: push esi */
   7873     esi = MEM32(ebp + 0x8); /* 0x2B05F304: mov esi, dword ptr [ebp + 8] */
   7874     eax = MEM32(esi + 0x4); /* 0x2B05F307: mov eax, dword ptr [esi + 4] */
   7875     PUSH32(esp, edi); /* 0x2B05F30A: push edi */
   7876     edi = ecx; /* 0x2B05F30B: mov edi, ecx */
   7877     ecx = MEM32(esi); /* 0x2B05F30D: mov ecx, dword ptr [esi] */
   7878     PUSH32(esp, eax); /* 0x2B05F30F: push eax */
   7879     PUSH32(esp, ecx); /* 0x2B05F310: push ecx */
   7880     ecx = MEM32(edi + 0x4); /* 0x2B05F311: mov ecx, dword ptr [edi + 4] */
   7881     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B05F314: call dword ptr [0x2b0b5924] */
   7882     RECOMP_FLAGS_IN();
   7883     edx = MEM32(esi + 0x4); /* 0x2B05F31A: mov edx, dword ptr [esi + 4] */
   7884     eax = MEM32(esi); /* 0x2B05F31D: mov eax, dword ptr [esi] */
   7885     ecx = MEM32(edi); /* 0x2B05F31F: mov ecx, dword ptr [edi] */
   7886     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   7887     edx = edx - 1; /* 0x2B05F321: dec edx */
   7888     _flag_k = FK_DEC;
   7889     PUSH32(esp, edx); /* 0x2B05F322: push edx */
   7890     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x9Au);
   7891     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7892     eax = eax + 0x9Au; /* 0x2B05F323: add eax, 0x9a */
   7893     _flag_k = FK_ADD;
   7894     PUSH32(esp, eax); /* 0x2B05F328: push eax */
   7895     RECOMP_ICALL(MEM32(0x2B0B581C)); /* 0x2B05F329: call dword ptr [0x2b0b581c] */
   7896     RECOMP_FLAGS_IN();
   7897     edi = POP32_VAL(esp); /* 0x2B05F32F: pop edi */
   7898     esi = POP32_VAL(esp); /* 0x2B05F330: pop esi */
   7899     ebp = POP32_VAL(esp); /* 0x2B05F331: pop ebp */
   7900     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05F332: ret 4 */
   7901     RECOMP_REGS_OUT();
   7902 }
   7903 
   7904 void sub_2B05F340(void) {
   7905     int _fpu_cmp = 0;
   7906     uint32_t _cf = 0;
   7907     int _df = 1;
   7908     uint32_t _flag_k = FK_NONE;
   7909     uint32_t _flag_a = 0, _flag_b = 0;
   7910     uint32_t _itail_tgt = 0;
   7911     RECOMP_REGS_LOCALS
   7912     RECOMP_ENTER(0x2B05F340u);
   7913 
   7914 L_2B05F340:
   7915     PUSH32(esp, ebp); /* 0x2B05F340: push ebp */
   7916     ebp = esp; /* 0x2B05F341: mov ebp, esp */
   7917     ecx = MEM32(ebp + 0x8); /* 0x2B05F343: mov ecx, dword ptr [ebp + 8] */
   7918     eax = MEM32(ecx + 0xC); /* 0x2B05F346: mov eax, dword ptr [ecx + 0xc] */
   7919     /* test eax, eax */ /* 0x2B05F349: test eax, eax */
   7920     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7921     _cf = 0;
   7922     _flag_k = FK_TEST;
   7923     PUSH32(esp, esi); /* 0x2B05F34B: push esi */
   7924     PUSH32(esp, edi); /* 0x2B05F34C: push edi */
   7925     edi = MEM32(0x2B0B513C); /* 0x2B05F34D: mov edi, dword ptr [0x2b0b513c] */
   7926     edx = edi; /* 0x2B05F353: mov edx, edi */
   7927     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F359; /* 0x2B05F355: je 0x2b05f359 */
   7928 L_2B05F357:
   7929     edx = eax; /* 0x2B05F357: mov edx, eax */
   7930 L_2B05F359:
   7931     eax = MEM32(0x2B0B6048); /* 0x2B05F359: mov eax, dword ptr [0x2b0b6048] */
   7932     esi = MEM32(eax); /* 0x2B05F35E: mov esi, dword ptr [eax] */
   7933     eax = MEM32(ecx + 0xC); /* 0x2B05F360: mov eax, dword ptr [ecx + 0xc] */
   7934     /* test eax, eax */ /* 0x2B05F363: test eax, eax */
   7935     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7936     _cf = 0;
   7937     _flag_k = FK_TEST;
   7938     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F369; /* 0x2B05F365: je 0x2b05f369 */
   7939 L_2B05F367:
   7940     edi = eax; /* 0x2B05F367: mov edi, eax */
   7941 L_2B05F369:
   7942     eax = MEM32(ecx + 0x18); /* 0x2B05F369: mov eax, dword ptr [ecx + 0x18] */
   7943     PUSH32(esp, 1); /* 0x2B05F36C: push 1 */
   7944     PUSH32(esp, eax); /* 0x2B05F36E: push eax */
   7945     PUSH32(esp, eax); /* 0x2B05F36F: push eax */
   7946     PUSH32(esp, edx); /* 0x2B05F370: push edx */
   7947     ecx = esi; /* 0x2B05F371: mov ecx, esi */
   7948     RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B05F373: call dword ptr [0x2b0b602c] */
   7949     RECOMP_FLAGS_IN();
   7950     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax);
   7951     _cf = (eax) != 0;
   7952     eax = (uint32_t)(-(int32_t)eax); /* 0x2B05F379: neg eax */
   7953     _flag_k = FK_CMP;
   7954     { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B05F37B: sbb eax, eax */
   7955       eax = _sc ? 0xFFFFFFFFu : 0;
   7956       _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0;
   7957       _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; }
   7958     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7959     eax = eax + 1; /* 0x2B05F37D: inc eax */
   7960     _flag_k = FK_INC;
   7961     PUSH32(esp, eax); /* 0x2B05F37E: push eax */
   7962     PUSH32(esp, edi); /* 0x2B05F37F: push edi */
   7963     ecx = esi; /* 0x2B05F380: mov ecx, esi */
   7964     RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B05F382: call dword ptr [0x2b0b604c] */
   7965     RECOMP_FLAGS_IN();
   7966     edi = POP32_VAL(esp); /* 0x2B05F388: pop edi */
   7967     esi = POP32_VAL(esp); /* 0x2B05F389: pop esi */
   7968     ebp = POP32_VAL(esp); /* 0x2B05F38A: pop ebp */
   7969     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F38B: ret  */
   7970     RECOMP_REGS_OUT();
   7971 }
   7972 
   7973 void sub_2B05F390(void) {
   7974     int _fpu_cmp = 0;
   7975     uint32_t _cf = 0;
   7976     int _df = 1;
   7977     uint32_t _flag_k = FK_NONE;
   7978     uint32_t _flag_a = 0, _flag_b = 0;
   7979     uint32_t _itail_tgt = 0;
   7980     RECOMP_REGS_LOCALS
   7981     RECOMP_ENTER(0x2B05F390u);
   7982 
   7983 L_2B05F390:
   7984     PUSH32(esp, ebp); /* 0x2B05F390: push ebp */
   7985     ebp = esp; /* 0x2B05F391: mov ebp, esp */
   7986     eax = MEM32(ebp + 0xC); /* 0x2B05F393: mov eax, dword ptr [ebp + 0xc] */
   7987     /* test eax, eax */ /* 0x2B05F396: test eax, eax */
   7988     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7989     _cf = 0;
   7990     _flag_k = FK_TEST;
   7991     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F3A9; /* 0x2B05F398: je 0x2b05f3a9 */
   7992 L_2B05F39A:
   7993     eax = MEM32(ebp + 0x8); /* 0x2B05F39A: mov eax, dword ptr [ebp + 8] */
   7994     ecx = MEM32(eax); /* 0x2B05F39D: mov ecx, dword ptr [eax] */
   7995     PUSH32(esp, 2); /* 0x2B05F39F: push 2 */
   7996     RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B05F3A1: call dword ptr [0x2b0b5ab4] */
   7997     RECOMP_FLAGS_IN();
   7998     ebp = POP32_VAL(esp); /* 0x2B05F3A7: pop ebp */
   7999     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F3A8: ret  */
   8000 L_2B05F3A9:
   8001     ecx = MEM32(ebp + 0x8); /* 0x2B05F3A9: mov ecx, dword ptr [ebp + 8] */
   8002     ecx = MEM32(ecx); /* 0x2B05F3AC: mov ecx, dword ptr [ecx] */
   8003     PUSH32(esp, 1); /* 0x2B05F3AE: push 1 */
   8004     RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B05F3B0: call dword ptr [0x2b0b5ab4] */
   8005     RECOMP_FLAGS_IN();
   8006     ebp = POP32_VAL(esp); /* 0x2B05F3B6: pop ebp */
   8007     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F3B7: ret  */
   8008     RECOMP_REGS_OUT();
   8009 }
   8010 
   8011 void sub_2B05F3C0(void) {
   8012     int _fpu_cmp = 0;
   8013     uint32_t _cf = 0;
   8014     int _df = 1;
   8015     uint32_t _flag_k = FK_NONE;
   8016     uint32_t _flag_a = 0, _flag_b = 0;
   8017     uint32_t _itail_tgt = 0;
   8018     RECOMP_REGS_LOCALS
   8019     RECOMP_ENTER(0x2B05F3C0u);
   8020 
   8021 L_2B05F3C0:
   8022     PUSH32(esp, ebp); /* 0x2B05F3C0: push ebp */
   8023     ebp = esp; /* 0x2B05F3C1: mov ebp, esp */
   8024     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05F3C3: push -1 */
   8025     PUSH32(esp, 0x2B0B073Du); /* 0x2B05F3C5: push 0x2b0b073d */
   8026     eax = MEM32(FS_BASE + (0)); /* 0x2B05F3CA: mov eax, dword ptr fs:[0] */
   8027     PUSH32(esp, eax); /* 0x2B05F3D0: push eax */
   8028     MEM32(FS_BASE + (0)) = esp; /* 0x2B05F3D1: mov dword ptr fs:[0], esp */
   8029     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u);
   8030     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8031     esp = esp - 0x44u; /* 0x2B05F3D8: sub esp, 0x44 */
   8032     _flag_k = FK_CMP;
   8033     SET_LO8(eax, MEM8(ebp + 0x27)); /* 0x2B05F3DB: mov al, byte ptr [ebp + 0x27] */
   8034     PUSH32(esp, ebx); /* 0x2B05F3DE: push ebx */
   8035     PUSH32(esp, esi); /* 0x2B05F3DF: push esi */
   8036     ebx = ecx; /* 0x2B05F3E0: mov ebx, ecx */
   8037     PUSH32(esp, edi); /* 0x2B05F3E2: push edi */
   8038     esi = ebx + 0xC; /* 0x2B05F3E3: lea esi, [ebx + 0xc] */
   8039     PUSH32(esp, 0); /* 0x2B05F3E6: push 0 */
   8040     ecx = esi; /* 0x2B05F3E8: mov ecx, esi */
   8041     MEM32(ebp + (-0x18)) = ebx; /* 0x2B05F3EA: mov dword ptr [ebp - 0x18], ebx */
   8042     MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B05F3ED: mov byte ptr [esi], al */
   8043     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B05F3EF: call dword ptr [0x2b0b514c] */
   8044     RECOMP_FLAGS_IN();
   8045     ecx = MEM32(ebp + 0x10); /* 0x2B05F3F5: mov ecx, dword ptr [ebp + 0x10] */
   8046     edx = MEM32(ebp + 0x14); /* 0x2B05F3F8: mov edx, dword ptr [ebp + 0x14] */
   8047     edi = MEM32(ebp + 0xC); /* 0x2B05F3FB: mov edi, dword ptr [ebp + 0xc] */
   8048     MEM32(ebx + 0x1C) = ecx; /* 0x2B05F3FE: mov dword ptr [ebx + 0x1c], ecx */
   8049     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   8050     ecx = ecx | 0xFFFFFFFFu; /* 0x2B05F401: or ecx, 0xffffffff */
   8051     _cf = 0;
   8052     _flag_k = FK_TEST;
   8053     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8054     eax = 0; /* 0x2B05F404: xor eax, eax */
   8055     _cf = 0;
   8056     _flag_k = FK_TEST;
   8057     MEM32(ebx + 0x20) = edx; /* 0x2B05F406: mov dword ptr [ebx + 0x20], edx */
   8058     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; } /* 0x2B05F409: repne scasb al, byte ptr es:[edi] */
   8059     ecx = ~ecx; /* 0x2B05F40B: not ecx */
   8060     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   8061     ecx = ecx - 1; /* 0x2B05F40D: dec ecx */
   8062     _flag_k = FK_DEC;
   8063     edi = ecx; /* 0x2B05F40E: mov edi, ecx */
   8064     PUSH32(esp, 1); /* 0x2B05F410: push 1 */
   8065     PUSH32(esp, edi); /* 0x2B05F412: push edi */
   8066     ecx = esi; /* 0x2B05F413: mov ecx, esi */
   8067     MEM32(ebp + (-0x4)) = 0; /* 0x2B05F415: mov dword ptr [ebp - 4], 0 */
   8068     MEM32(ebp + (-0x10)) = edi; /* 0x2B05F41C: mov dword ptr [ebp - 0x10], edi */
   8069     RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B05F41F: call dword ptr [0x2b0b5154] */
   8070     RECOMP_FLAGS_IN();
   8071     /* test LO8(eax), LO8(eax) */ /* 0x2B05F425: test al, al */
   8072     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   8073     _cf = 0;
   8074     _flag_k = FK_NARROW(FK_TEST, 24);
   8075     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F44C; /* 0x2B05F427: je 0x2b05f44c */
   8076 L_2B05F429:
   8077     eax = MEM32(esi + 0x4); /* 0x2B05F429: mov eax, dword ptr [esi + 4] */
   8078     esi = MEM32(ebp + 0xC); /* 0x2B05F42C: mov esi, dword ptr [ebp + 0xc] */
   8079     ecx = edi; /* 0x2B05F42F: mov ecx, edi */
   8080     edi = eax; /* 0x2B05F431: mov edi, eax */
   8081     eax = ecx; /* 0x2B05F433: mov eax, ecx */
   8082     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05F435: shr ecx, 2 */
   8083     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   8084     ecx = ecx >> 2u; /* 0x2B05F435: shr ecx, 2 */
   8085     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05F438: 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; }
   8086     ecx = eax; /* 0x2B05F43A: mov ecx, eax */
   8087     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   8088     ecx = ecx & 3; /* 0x2B05F43C: and ecx, 3 */
   8089     _cf = 0;
   8090     _flag_k = FK_TEST;
   8091     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B05F43F: 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; }
   8092     ecx = MEM32(ebx + 0x10); /* 0x2B05F441: mov ecx, dword ptr [ebx + 0x10] */
   8093     MEM32(ebx + 0x14) = eax; /* 0x2B05F444: mov dword ptr [ebx + 0x14], eax */
   8094     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   8095     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8096     eax = eax + ecx; /* 0x2B05F447: add eax, ecx */
   8097     _flag_k = FK_ADD;
   8098     MEM8(eax) = (uint8_t)(0); /* 0x2B05F449: mov byte ptr [eax], 0 */
   8099 L_2B05F44C:
   8100     PUSH32(esp, 0x50u); /* 0x2B05F44C: push 0x50 */
   8101     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8102     esi = 0; /* 0x2B05F44E: xor esi, esi */
   8103     _cf = 0;
   8104     _flag_k = FK_TEST;
   8105     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05F450: call 0x2b0ab212 */ /* not lifted */
   8106     RECOMP_FLAGS_IN();
   8107     edi = eax; /* 0x2B05F455: mov edi, eax */
   8108     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8109     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8110     esp = esp + 4; /* 0x2B05F457: add esp, 4 */
   8111     _flag_k = FK_ADD;
   8112     MEM32(ebp + 0xC) = edi; /* 0x2B05F45A: mov dword ptr [ebp + 0xc], edi */
   8113     /* test edi, edi */ /* 0x2B05F45D: test edi, edi */
   8114     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   8115     _cf = 0;
   8116     _flag_k = FK_TEST;
   8117     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05F45F: mov byte ptr [ebp - 4], 1 */
   8118     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F489; /* 0x2B05F463: je 0x2b05f489 */
   8119 L_2B05F465:
   8120     ecx = MEM32(ebp + 0x24); /* 0x2B05F465: mov ecx, dword ptr [ebp + 0x24] */
   8121     edx = MEM32(ebp + 0x8); /* 0x2B05F468: mov edx, dword ptr [ebp + 8] */
   8122     PUSH32(esp, ecx); /* 0x2B05F46B: push ecx */
   8123     PUSH32(esp, esi); /* 0x2B05F46C: push esi */
   8124     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8125     eax = 0; /* 0x2B05F46D: xor eax, eax */
   8126     _cf = 0;
   8127     _flag_k = FK_TEST;
   8128     PUSH32(esp, eax); /* 0x2B05F46F: push eax */
   8129     PUSH32(esp, esi); /* 0x2B05F470: push esi */
   8130     PUSH32(esp, 0xFA4u); /* 0x2B05F471: push 0xfa4 */
   8131     PUSH32(esp, edx); /* 0x2B05F476: push edx */
   8132     PUSH32(esp, 1); /* 0x2B05F477: push 1 */
   8133     ecx = edi; /* 0x2B05F479: mov ecx, edi */
   8134     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05F47B: call dword ptr [0x2b0b5950] */
   8135     RECOMP_FLAGS_IN();
   8136     MEM32(edi) = 0x2B0B6878u; /* 0x2B05F481: mov dword ptr [edi], 0x2b0b6878 */
   8137     goto L_2B05F48B; /* 0x2B05F487: jmp 0x2b05f48b */
   8138 L_2B05F489:
   8139     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8140     edi = 0; /* 0x2B05F489: xor edi, edi */
   8141     _cf = 0;
   8142     _flag_k = FK_TEST;
   8143 L_2B05F48B:
   8144     PUSH32(esp, 0x00FFFFFFu); /* 0x2B05F48B: push 0xffffff */
   8145     ecx = edi; /* 0x2B05F490: mov ecx, edi */
   8146     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B05F492: mov byte ptr [ebp - 4], 0 */
   8147     MEM32(ebx + 0x4) = edi; /* 0x2B05F496: mov dword ptr [ebx + 4], edi */
   8148     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05F499: call dword ptr [0x2b0b5858] */
   8149     RECOMP_FLAGS_IN();
   8150     PUSH32(esp, 0x50u); /* 0x2B05F49F: push 0x50 */
   8151     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05F4A1: call 0x2b0ab212 */ /* not lifted */
   8152     RECOMP_FLAGS_IN();
   8153     edi = eax; /* 0x2B05F4A6: mov edi, eax */
   8154     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8155     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8156     esp = esp + 4; /* 0x2B05F4A8: add esp, 4 */
   8157     _flag_k = FK_ADD;
   8158     MEM32(ebp + 0xC) = edi; /* 0x2B05F4AB: mov dword ptr [ebp + 0xc], edi */
   8159     /* test edi, edi */ /* 0x2B05F4AE: test edi, edi */
   8160     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   8161     _cf = 0;
   8162     _flag_k = FK_TEST;
   8163     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05F4B0: mov byte ptr [ebp - 4], 2 */
   8164     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F4DE; /* 0x2B05F4B4: je 0x2b05f4de */
   8165 L_2B05F4B6:
   8166     eax = MEM32(ebp + 0x24); /* 0x2B05F4B6: mov eax, dword ptr [ebp + 0x24] */
   8167     PUSH32(esp, eax); /* 0x2B05F4B9: push eax */
   8168     PUSH32(esp, 0x10u); /* 0x2B05F4BA: push 0x10 */
   8169     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8170     eax = 0; /* 0x2B05F4BC: xor eax, eax */
   8171     _cf = 0;
   8172     _flag_k = FK_TEST;
   8173     PUSH32(esp, eax); /* 0x2B05F4BE: push eax */
   8174     PUSH32(esp, esi); /* 0x2B05F4BF: push esi */
   8175     PUSH32(esp, 0xFA4u); /* 0x2B05F4C0: push 0xfa4 */
   8176     PUSH32(esp, 0x2B0EE648u); /* 0x2B05F4C5: push 0x2b0ee648 */
   8177     PUSH32(esp, 1); /* 0x2B05F4CA: push 1 */
   8178     ecx = edi; /* 0x2B05F4CC: mov ecx, edi */
   8179     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05F4CE: call dword ptr [0x2b0b5950] */
   8180     RECOMP_FLAGS_IN();
   8181     MEM32(edi) = 0x2B0B6878u; /* 0x2B05F4D4: mov dword ptr [edi], 0x2b0b6878 */
   8182     ecx = edi; /* 0x2B05F4DA: mov ecx, edi */
   8183     goto L_2B05F4E0; /* 0x2B05F4DC: jmp 0x2b05f4e0 */
   8184 L_2B05F4DE:
   8185     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8186     ecx = 0; /* 0x2B05F4DE: xor ecx, ecx */
   8187     _cf = 0;
   8188     _flag_k = FK_TEST;
   8189 L_2B05F4E0:
   8190     PUSH32(esp, 0x77u); /* 0x2B05F4E0: push 0x77 */
   8191     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B05F4E2: mov byte ptr [ebp - 4], 0 */
   8192     MEM32(ebx + 0x8) = ecx; /* 0x2B05F4E6: mov dword ptr [ebx + 8], ecx */
   8193     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05F4E9: call dword ptr [0x2b0b5858] */
   8194     RECOMP_FLAGS_IN();
   8195     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8196     eax = 0; /* 0x2B05F4EF: xor eax, eax */
   8197     _cf = 0;
   8198     _flag_k = FK_TEST;
   8199     ecx = 0xEu; /* 0x2B05F4F1: mov ecx, 0xe */
   8200     edi = ebp + (-0x50); /* 0x2B05F4F6: lea edi, [ebp - 0x50] */
   8201     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05F4F9: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
   8202     PUSH32(esp, 0xC0u); /* 0x2B05F4FB: push 0xc0 */
   8203     MEM32(ebp + (-0x50)) = 0x191u; /* 0x2B05F500: mov dword ptr [ebp - 0x50], 0x191 */
   8204     MEM32(ebp + (-0x4C)) = 3; /* 0x2B05F507: mov dword ptr [ebp - 0x4c], 3 */
   8205     MEM32(ebp + (-0x48)) = eax; /* 0x2B05F50E: mov dword ptr [ebp - 0x48], eax */
   8206     MEM32(ebp + (-0x44)) = 0xFA4u; /* 0x2B05F511: mov dword ptr [ebp - 0x44], 0xfa4 */
   8207     MEM32(ebp + (-0x40)) = 0x192u; /* 0x2B05F518: mov dword ptr [ebp - 0x40], 0x192 */
   8208     MEM32(ebp + (-0x34)) = 5; /* 0x2B05F51F: mov dword ptr [ebp - 0x34], 5 */
   8209     MEM32(ebp + (-0x30)) = 0xACu; /* 0x2B05F526: mov dword ptr [ebp - 0x30], 0xac */
   8210     MEM32(ebp + (-0x2C)) = 9; /* 0x2B05F52D: mov dword ptr [ebp - 0x2c], 9 */
   8211     MEM32(ebp + (-0x20)) = 0x64u; /* 0x2B05F534: mov dword ptr [ebp - 0x20], 0x64 */
   8212     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05F53B: call 0x2b0ab212 */ /* not lifted */
   8213     RECOMP_FLAGS_IN();
   8214     esi = eax; /* 0x2B05F540: mov esi, eax */
   8215     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8216     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8217     esp = esp + 4; /* 0x2B05F542: add esp, 4 */
   8218     _flag_k = FK_ADD;
   8219     MEM32(ebp + 0xC) = esi; /* 0x2B05F545: mov dword ptr [ebp + 0xc], esi */
   8220     /* test esi, esi */ /* 0x2B05F548: test esi, esi */
   8221     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   8222     _cf = 0;
   8223     _flag_k = FK_TEST;
   8224     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05F54A: mov byte ptr [ebp - 4], 3 */
   8225     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05F56A; /* 0x2B05F54E: je 0x2b05f56a */
   8226 L_2B05F550:
   8227     ecx = MEM32(ebp + 0x24); /* 0x2B05F550: mov ecx, dword ptr [ebp + 0x24] */
   8228     PUSH32(esp, ecx); /* 0x2B05F553: push ecx */
   8229     edx = ebp + (-0x50); /* 0x2B05F554: lea edx, [ebp - 0x50] */
   8230     PUSH32(esp, edx); /* 0x2B05F557: push edx */
   8231     ecx = esi; /* 0x2B05F558: mov ecx, esi */
   8232     RECOMP_ICALL(MEM32(0x2B0B586C)); /* 0x2B05F55A: call dword ptr [0x2b0b586c] */
   8233     RECOMP_FLAGS_IN();
   8234     MEM32(esi) = 0x2B0B697Cu; /* 0x2B05F560: mov dword ptr [esi], 0x2b0b697c */
   8235     ecx = esi; /* 0x2B05F566: mov ecx, esi */
   8236     goto L_2B05F56C; /* 0x2B05F568: jmp 0x2b05f56c */
   8237 L_2B05F56A:
   8238     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8239     ecx = 0; /* 0x2B05F56A: xor ecx, ecx */
   8240     _cf = 0;
   8241     _flag_k = FK_TEST;
   8242 L_2B05F56C:
   8243     eax = MEM32(ebp + 0x18); /* 0x2B05F56C: mov eax, dword ptr [ebp + 0x18] */
   8244     PUSH32(esp, eax); /* 0x2B05F56F: push eax */
   8245     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B05F570: mov byte ptr [ebp - 4], 0 */
   8246     MEM32(ebx) = ecx; /* 0x2B05F574: mov dword ptr [ebx], ecx */
   8247     RECOMP_ICALL(MEM32(0x2B0B5B9C)); /* 0x2B05F576: call dword ptr [0x2b0b5b9c] */
   8248     RECOMP_FLAGS_IN();
   8249     ecx = MEM32(ebp + 0x20); /* 0x2B05F57C: mov ecx, dword ptr [ebp + 0x20] */
   8250     edx = MEM32(ebp + 0x1C); /* 0x2B05F57F: mov edx, dword ptr [ebp + 0x1c] */
   8251     PUSH32(esp, ecx); /* 0x2B05F582: push ecx */
   8252     ecx = MEM32(ebx); /* 0x2B05F583: mov ecx, dword ptr [ebx] */
   8253     PUSH32(esp, edx); /* 0x2B05F585: push edx */
   8254     RECOMP_ICALL(MEM32(0x2B0B5BEC)); /* 0x2B05F586: call dword ptr [0x2b0b5bec] */
   8255     RECOMP_FLAGS_IN();
   8256     ecx = MEM32(ebx); /* 0x2B05F58C: mov ecx, dword ptr [ebx] */
   8257     PUSH32(esp, 1); /* 0x2B05F58E: push 1 */
   8258     eax = ebp + (-0x14); /* 0x2B05F590: lea eax, [ebp - 0x14] */
   8259     PUSH32(esp, eax); /* 0x2B05F593: push eax */
   8260     MEM32(ebp + (-0x14)) = 0; /* 0x2B05F594: mov dword ptr [ebp - 0x14], 0 */
   8261     MEM32(ebp + (-0x10)) = 0x3FE00000u; /* 0x2B05F59B: mov dword ptr [ebp - 0x10], 0x3fe00000 */
   8262     RECOMP_ICALL(MEM32(0x2B0B5BA4)); /* 0x2B05F5A2: call dword ptr [0x2b0b5ba4] */
   8263     RECOMP_FLAGS_IN();
   8264     eax = MEM32(ebp + 0x14); /* 0x2B05F5A8: mov eax, dword ptr [ebp + 0x14] */
   8265     /* test eax, eax */ /* 0x2B05F5AB: test eax, eax */
   8266     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   8267     _cf = 0;
   8268     _flag_k = FK_TEST;
   8269     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05F602; /* 0x2B05F5AD: jne 0x2b05f602 */
   8270 L_2B05F5AF:
   8271     ecx = MEM32(ebp + 0x10); /* 0x2B05F5AF: mov ecx, dword ptr [ebp + 0x10] */
   8272     PUSH32(esp, ecx); /* 0x2B05F5B2: push ecx */
   8273     ecx = MEM32(0x2B0B6048); /* 0x2B05F5B3: mov ecx, dword ptr [0x2b0b6048] */
   8274     ecx = MEM32(ecx); /* 0x2B05F5B9: mov ecx, dword ptr [ecx] */
   8275     edx = ebp + 0x10; /* 0x2B05F5BB: lea edx, [ebp + 0x10] */
   8276     PUSH32(esp, edx); /* 0x2B05F5BE: push edx */
   8277     eax = ebp + 0x24; /* 0x2B05F5BF: lea eax, [ebp + 0x24] */
   8278     PUSH32(esp, eax); /* 0x2B05F5C2: push eax */
   8279     esi = ebx + 0xC; /* 0x2B05F5C3: lea esi, [ebx + 0xc] */
   8280     PUSH32(esp, esi); /* 0x2B05F5C6: push esi */
   8281     RECOMP_ICALL(MEM32(0x2B0B6070)); /* 0x2B05F5C7: call dword ptr [0x2b0b6070] */
   8282     RECOMP_FLAGS_IN();
   8283     fp_push((double)(int32_t)MEM32(ebp + 0x24)); /* 0x2B05F5CD: fild dword ptr [ebp + 0x24] */
   8284     { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x24) = _v; } /* 0x2B05F5D0: fstp dword ptr [ebx + 0x24] */
   8285     fp_push((double)(int32_t)MEM32(ebp + 0x10)); /* 0x2B05F5D3: fild dword ptr [ebp + 0x10] */
   8286     { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x28) = _v; } /* 0x2B05F5D6: fstp dword ptr [ebx + 0x28] */
   8287     esi = MEM32(esi + 0x4); /* 0x2B05F5D9: mov esi, dword ptr [esi + 4] */
   8288     /* test esi, esi */ /* 0x2B05F5DC: test esi, esi */
   8289     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   8290     _cf = 0;
   8291     _flag_k = FK_TEST;
   8292     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05F5E6; /* 0x2B05F5DE: jne 0x2b05f5e6 */
   8293 L_2B05F5E0:
   8294     esi = MEM32(0x2B0B513C); /* 0x2B05F5E0: mov esi, dword ptr [0x2b0b513c] */
   8295 L_2B05F5E6:
   8296     edx = MEM32(ebx + 0x1C); /* 0x2B05F5E6: mov edx, dword ptr [ebx + 0x1c] */
   8297     eax = MEM32(0x2B0B6048); /* 0x2B05F5E9: mov eax, dword ptr [0x2b0b6048] */
   8298     ecx = MEM32(eax); /* 0x2B05F5EE: mov ecx, dword ptr [eax] */
   8299     PUSH32(esp, 1); /* 0x2B05F5F0: push 1 */
   8300     PUSH32(esp, edx); /* 0x2B05F5F2: push edx */
   8301     PUSH32(esp, ebx); /* 0x2B05F5F3: push ebx */
   8302     PUSH32(esp, 0x2B05F810u); /* 0x2B05F5F4: push 0x2b05f810 */
   8303     PUSH32(esp, esi); /* 0x2B05F5F9: push esi */
   8304     RECOMP_ICALL(MEM32(0x2B0B6050)); /* 0x2B05F5FA: call dword ptr [0x2b0b6050] */
   8305     RECOMP_FLAGS_IN();
   8306     goto L_2B05F64C; /* 0x2B05F600: jmp 0x2b05f64c */
   8307 L_2B05F602:
   8308     /* cmp eax, 1 */ /* 0x2B05F602: cmp eax, 1 */
   8309     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8311     _flag_k = FK_CMP;
   8312     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05F64C; /* 0x2B05F605: jne 0x2b05f64c */
   8313 L_2B05F607:
   8314     ecx = MEM32(ebp + 0x10); /* 0x2B05F607: mov ecx, dword ptr [ebp + 0x10] */
   8315     PUSH32(esp, ecx); /* 0x2B05F60A: push ecx */
   8316     ecx = MEM32(0x2B0B6048); /* 0x2B05F60B: mov ecx, dword ptr [0x2b0b6048] */
   8317     ecx = MEM32(ecx); /* 0x2B05F611: mov ecx, dword ptr [ecx] */
   8318     edx = ebx + 0x28; /* 0x2B05F613: lea edx, [ebx + 0x28] */
   8319     PUSH32(esp, edx); /* 0x2B05F616: push edx */
   8320     eax = ebx + 0x24; /* 0x2B05F617: lea eax, [ebx + 0x24] */
   8321     PUSH32(esp, eax); /* 0x2B05F61A: push eax */
   8322     esi = ebx + 0xC; /* 0x2B05F61B: lea esi, [ebx + 0xc] */
   8323     PUSH32(esp, esi); /* 0x2B05F61E: push esi */
   8324     RECOMP_ICALL(MEM32(0x2B0B6038)); /* 0x2B05F61F: call dword ptr [0x2b0b6038] */
   8325     RECOMP_FLAGS_IN();
   8326     esi = MEM32(esi + 0x4); /* 0x2B05F625: mov esi, dword ptr [esi + 4] */
   8327     /* test esi, esi */ /* 0x2B05F628: test esi, esi */
   8328     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   8329     _cf = 0;
   8330     _flag_k = FK_TEST;
   8331     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05F632; /* 0x2B05F62A: jne 0x2b05f632 */
   8332 L_2B05F62C:
   8333     esi = MEM32(0x2B0B513C); /* 0x2B05F62C: mov esi, dword ptr [0x2b0b513c] */
   8334 L_2B05F632:
   8335     edx = MEM32(ebx + 0x1C); /* 0x2B05F632: mov edx, dword ptr [ebx + 0x1c] */
   8336     eax = MEM32(0x2B0B6048); /* 0x2B05F635: mov eax, dword ptr [0x2b0b6048] */
   8337     ecx = MEM32(eax); /* 0x2B05F63A: mov ecx, dword ptr [eax] */
   8338     PUSH32(esp, 1); /* 0x2B05F63C: push 1 */
   8339     PUSH32(esp, edx); /* 0x2B05F63E: push edx */
   8340     PUSH32(esp, ebx); /* 0x2B05F63F: push ebx */
   8341     PUSH32(esp, 0x2B05F830u); /* 0x2B05F640: push 0x2b05f830 */
   8342     PUSH32(esp, esi); /* 0x2B05F645: push esi */
   8343     RECOMP_ICALL(MEM32(0x2B0B6074)); /* 0x2B05F646: call dword ptr [0x2b0b6074] */
   8344     RECOMP_FLAGS_IN();
   8345 L_2B05F64C:
   8346     ecx = MEM32(ebp + (-0xC)); /* 0x2B05F64C: mov ecx, dword ptr [ebp - 0xc] */
   8347     edi = POP32_VAL(esp); /* 0x2B05F64F: pop edi */
   8348     esi = POP32_VAL(esp); /* 0x2B05F650: pop esi */
   8349     eax = ebx; /* 0x2B05F651: mov eax, ebx */
   8350     ebx = POP32_VAL(esp); /* 0x2B05F653: pop ebx */
   8351     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05F654: mov dword ptr fs:[0], ecx */
   8352     esp = ebp; /* 0x2B05F65B: mov esp, ebp */
   8353     ebp = POP32_VAL(esp); /* 0x2B05F65D: pop ebp */
   8354     RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B05F65E: ret 0x20 */
   8355     RECOMP_REGS_OUT();
   8356 }
   8357 
   8358 void sub_2B05F670(void) {
   8359     int _fpu_cmp = 0;
   8360     uint32_t _cf = 0;
   8361     int _df = 1;
   8362     uint32_t _flag_k = FK_NONE;
   8363     uint32_t _flag_a = 0, _flag_b = 0;
   8364     uint32_t _itail_tgt = 0;
   8365     RECOMP_REGS_LOCALS
   8366     RECOMP_ENTER(0x2B05F670u);
   8367 
   8368 L_2B05F670:
   8369     PUSH32(esp, ebp); /* 0x2B05F670: push ebp */
   8370     ebp = esp; /* 0x2B05F671: mov ebp, esp */
   8371     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B05F673: push -1 */
   8372     PUSH32(esp, 0x2B0B075Cu); /* 0x2B05F675: push 0x2b0b075c */
   8373     eax = MEM32(FS_BASE + (0)); /* 0x2B05F67A: mov eax, dword ptr fs:[0] */
   8374     PUSH32(esp, eax); /* 0x2B05F680: push eax */
   8375     MEM32(FS_BASE + (0)) = esp; /* 0x2B05F681: mov dword ptr fs:[0], esp */
   8376     PUSH32(esp, ecx); /* 0x2B05F688: push ecx */
   8377     PUSH32(esp, ebx); /* 0x2B05F689: push ebx */
   8378     PUSH32(esp, esi); /* 0x2B05F68A: push esi */
   8379     esi = ecx; /* 0x2B05F68B: mov esi, ecx */
   8380     MEM32(ebp + (-0x10)) = esi; /* 0x2B05F68D: mov dword ptr [ebp - 0x10], esi */
   8381     eax = MEM32(esi + 0x20); /* 0x2B05F690: mov eax, dword ptr [esi + 0x20] */
   8382     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8383     ebx = 0; /* 0x2B05F693: xor ebx, ebx */
   8384     _cf = 0;
   8385     _flag_k = FK_TEST;
   8386     /* cmp eax, ebx */ /* 0x2B05F695: cmp eax, ebx */
   8387     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8389     _flag_k = FK_CMP;
   8390     MEM32(ebp + (-0x4)) = ebx; /* 0x2B05F697: mov dword ptr [ebp - 4], ebx */
   8391     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05F6C3; /* 0x2B05F69A: jne 0x2b05f6c3 */
   8392 L_2B05F69C:
   8393     eax = MEM32(esi + 0x10); /* 0x2B05F69C: mov eax, dword ptr [esi + 0x10] */
   8394     /* cmp eax, ebx */ /* 0x2B05F69F: cmp eax, ebx */
   8395     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8396     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8397     _flag_k = FK_CMP;
   8398     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05F6A8; /* 0x2B05F6A1: jne 0x2b05f6a8 */
   8399 L_2B05F6A3:
   8400     eax = MEM32(0x2B0B513C); /* 0x2B05F6A3: mov eax, dword ptr [0x2b0b513c] */
   8401 L_2B05F6A8:
   8402     ecx = MEM32(esi + 0x1C); /* 0x2B05F6A8: mov ecx, dword ptr [esi + 0x1c] */
   8403     edx = MEM32(0x2B0B6048); /* 0x2B05F6AB: mov edx, dword ptr [0x2b0b6048] */
   8404     PUSH32(esp, ecx); /* 0x2B05F6B1: push ecx */
   8405     ecx = MEM32(edx); /* 0x2B05F6B2: mov ecx, dword ptr [edx] */
   8406     PUSH32(esp, esi); /* 0x2B05F6B4: push esi */
   8407     PUSH32(esp, 0x2B05F810u); /* 0x2B05F6B5: push 0x2b05f810 */
   8408     PUSH32(esp, eax); /* 0x2B05F6BA: push eax */
   8409     RECOMP_ICALL(MEM32(0x2B0B6054)); /* 0x2B05F6BB: call dword ptr [0x2b0b6054] */
   8410     RECOMP_FLAGS_IN();
   8411     goto L_2B05F6ED; /* 0x2B05F6C1: jmp 0x2b05f6ed */
   8412 L_2B05F6C3:
   8413     /* cmp eax, 1 */ /* 0x2B05F6C3: cmp eax, 1 */
   8414     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   8415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8416     _flag_k = FK_CMP;
   8417     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05F6ED; /* 0x2B05F6C6: jne 0x2b05f6ed */
   8418 L_2B05F6C8:
   8419     eax = MEM32(esi + 0x10); /* 0x2B05F6C8: mov eax, dword ptr [esi + 0x10] */
   8420     /* cmp eax, ebx */ /* 0x2B05F6CB: cmp eax, ebx */
   8421     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8423     _flag_k = FK_CMP;
   8424     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05F6D4; /* 0x2B05F6CD: jne 0x2b05f6d4 */
   8425 L_2B05F6CF:
   8426     eax = MEM32(0x2B0B513C); /* 0x2B05F6CF: mov eax, dword ptr [0x2b0b513c] */
   8427 L_2B05F6D4:
   8428     ecx = MEM32(esi + 0x1C); /* 0x2B05F6D4: mov ecx, dword ptr [esi + 0x1c] */
   8429     edx = MEM32(0x2B0B6048); /* 0x2B05F6D7: mov edx, dword ptr [0x2b0b6048] */
   8430     PUSH32(esp, ecx); /* 0x2B05F6DD: push ecx */
   8431     ecx = MEM32(edx); /* 0x2B05F6DE: mov ecx, dword ptr [edx] */
   8432     PUSH32(esp, esi); /* 0x2B05F6E0: push esi */
   8433     PUSH32(esp, 0x2B05F830u); /* 0x2B05F6E1: push 0x2b05f830 */
   8434     PUSH32(esp, eax); /* 0x2B05F6E6: push eax */
   8435     RECOMP_ICALL(MEM32(0x2B0B6044)); /* 0x2B05F6E7: call dword ptr [0x2b0b6044] */
   8436     RECOMP_FLAGS_IN();
   8437 L_2B05F6ED:
   8438     ecx = MEM32(esi); /* 0x2B05F6ED: mov ecx, dword ptr [esi] */
   8439     /* cmp ecx, ebx */ /* 0x2B05F6EF: cmp ecx, ebx */
   8440     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   8441     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8442     _flag_k = FK_CMP;
   8443     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F6F9; /* 0x2B05F6F1: je 0x2b05f6f9 */
   8444 L_2B05F6F3:
   8445     eax = MEM32(ecx); /* 0x2B05F6F3: mov eax, dword ptr [ecx] */
   8446     PUSH32(esp, 1); /* 0x2B05F6F5: push 1 */
   8447     RECOMP_ICALL(MEM32(eax)); /* 0x2B05F6F7: call dword ptr [eax] */
   8448     RECOMP_FLAGS_IN();
   8449 L_2B05F6F9:
   8450     ecx = MEM32(esi + 0x4); /* 0x2B05F6F9: mov ecx, dword ptr [esi + 4] */
   8451     /* cmp ecx, ebx */ /* 0x2B05F6FC: cmp ecx, ebx */
   8452     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   8453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8454     _flag_k = FK_CMP;
   8455     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F706; /* 0x2B05F6FE: je 0x2b05f706 */
   8456 L_2B05F700:
   8457     edx = MEM32(ecx); /* 0x2B05F700: mov edx, dword ptr [ecx] */
   8458     PUSH32(esp, 1); /* 0x2B05F702: push 1 */
   8459     RECOMP_ICALL(MEM32(edx)); /* 0x2B05F704: call dword ptr [edx] */
   8460     RECOMP_FLAGS_IN();
   8461 L_2B05F706:
   8462     ecx = MEM32(esi + 0x8); /* 0x2B05F706: mov ecx, dword ptr [esi + 8] */
   8463     /* cmp ecx, ebx */ /* 0x2B05F709: cmp ecx, ebx */
   8464     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   8465     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8466     _flag_k = FK_CMP;
   8467     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F713; /* 0x2B05F70B: je 0x2b05f713 */
   8468 L_2B05F70D:
   8469     eax = MEM32(ecx); /* 0x2B05F70D: mov eax, dword ptr [ecx] */
   8470     PUSH32(esp, 1); /* 0x2B05F70F: push 1 */
   8471     RECOMP_ICALL(MEM32(eax)); /* 0x2B05F711: call dword ptr [eax] */
   8472     RECOMP_FLAGS_IN();
   8473 L_2B05F713:
   8474     eax = MEM32(esi + 0x10); /* 0x2B05F713: mov eax, dword ptr [esi + 0x10] */
   8475     /* cmp eax, ebx */ /* 0x2B05F716: cmp eax, ebx */
   8476     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8478     _flag_k = FK_CMP;
   8479     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F736; /* 0x2B05F718: je 0x2b05f736 */
   8480 L_2B05F71A:
   8481     ecx = eax + (-0x1); /* 0x2B05F71A: lea ecx, [eax - 1] */
   8482     SET_LO8(eax, MEM8(ecx)); /* 0x2B05F71D: mov al, byte ptr [ecx] */
   8483     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B05F71F: cmp al, bl */
   8484     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8486     _flag_k = FK_NARROW(FK_CMP, 24);
   8487     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F72D; /* 0x2B05F721: je 0x2b05f72d */
   8488 L_2B05F723:
   8489     /* cmp LO8(eax), 0xFFu */ /* 0x2B05F723: cmp al, 0xff */
   8490     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8491     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8492     _flag_k = FK_NARROW(FK_CMP, 24);
   8493     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05F72D; /* 0x2B05F725: je 0x2b05f72d */
   8494 L_2B05F727:
   8495     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8496     SET_LO8(eax, LO8(eax) - 1); /* 0x2B05F727: dec al */
   8497     _flag_k = FK_NARROW(FK_DEC, 24);
   8498     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B05F729: mov byte ptr [ecx], al */
   8499     goto L_2B05F736; /* 0x2B05F72B: jmp 0x2b05f736 */
   8500 L_2B05F72D:
   8501     PUSH32(esp, ecx); /* 0x2B05F72D: push ecx */
   8502     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05F72E: call 0x2b0ab1ba */ /* not lifted */
   8503     RECOMP_FLAGS_IN();
   8504     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8505     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8506     esp = esp + 4; /* 0x2B05F733: add esp, 4 */
   8507     _flag_k = FK_ADD;
   8508 L_2B05F736:
   8509     ecx = MEM32(ebp + (-0xC)); /* 0x2B05F736: mov ecx, dword ptr [ebp - 0xc] */
   8510     MEM32(esi + 0x10) = ebx; /* 0x2B05F739: mov dword ptr [esi + 0x10], ebx */
   8511     MEM32(esi + 0x14) = ebx; /* 0x2B05F73C: mov dword ptr [esi + 0x14], ebx */
   8512     MEM32(esi + 0x18) = ebx; /* 0x2B05F73F: mov dword ptr [esi + 0x18], ebx */
   8513     esi = POP32_VAL(esp); /* 0x2B05F742: pop esi */
   8514     ebx = POP32_VAL(esp); /* 0x2B05F743: pop ebx */
   8515     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05F744: mov dword ptr fs:[0], ecx */
   8516     esp = ebp; /* 0x2B05F74B: mov esp, ebp */
   8517     ebp = POP32_VAL(esp); /* 0x2B05F74D: pop ebp */
   8518     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F74E: ret  */
   8519     RECOMP_REGS_OUT();
   8520 }
   8521 
   8522 void sub_2B05F750(void) {
   8523     int _fpu_cmp = 0;
   8524     uint32_t _cf = 0;
   8525     int _df = 1;
   8526     uint32_t _flag_k = FK_NONE;
   8527     uint32_t _flag_a = 0, _flag_b = 0;
   8528     uint32_t _itail_tgt = 0;
   8529     RECOMP_REGS_LOCALS
   8530     RECOMP_ENTER(0x2B05F750u);
   8531 
   8532 L_2B05F750:
   8533     PUSH32(esp, esi); /* 0x2B05F750: push esi */
   8534     esi = ecx; /* 0x2B05F751: mov esi, ecx */
   8535     ecx = MEM32(esi); /* 0x2B05F753: mov ecx, dword ptr [esi] */
   8536     RECOMP_ICALL(MEM32(0x2B0B5864)); /* 0x2B05F755: call dword ptr [0x2b0b5864] */
   8537     RECOMP_FLAGS_IN();
   8538     ecx = MEM32(esi + 0x4); /* 0x2B05F75B: mov ecx, dword ptr [esi + 4] */
   8539     SET_LO8(eax, 1); /* 0x2B05F75E: mov al, 1 */
   8540     MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05F760: mov byte ptr [ecx + 8], al */
   8541     edx = MEM32(esi + 0x8); /* 0x2B05F763: mov edx, dword ptr [esi + 8] */
   8542     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05F766: mov byte ptr [edx + 8], al */
   8543     esi = POP32_VAL(esp); /* 0x2B05F769: pop esi */
   8544     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F76A: ret  */
   8545     RECOMP_REGS_OUT();
   8546 }
   8547 
   8548 void sub_2B05F770(void) {
   8549     int _fpu_cmp = 0;
   8550     uint32_t _cf = 0;
   8551     int _df = 1;
   8552     uint32_t _flag_k = FK_NONE;
   8553     uint32_t _flag_a = 0, _flag_b = 0;
   8554     uint32_t _itail_tgt = 0;
   8555     RECOMP_REGS_LOCALS
   8556     RECOMP_ENTER(0x2B05F770u);
   8557 
   8558 L_2B05F770:
   8559     PUSH32(esp, esi); /* 0x2B05F770: push esi */
   8560     esi = ecx; /* 0x2B05F771: mov esi, ecx */
   8561     ecx = MEM32(esi); /* 0x2B05F773: mov ecx, dword ptr [esi] */
   8562     RECOMP_ICALL(MEM32(0x2B0B5870)); /* 0x2B05F775: call dword ptr [0x2b0b5870] */
   8563     RECOMP_FLAGS_IN();
   8564     ecx = MEM32(esi + 0x4); /* 0x2B05F77B: mov ecx, dword ptr [esi + 4] */
   8565     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   8566     SET_LO8(eax, 0); /* 0x2B05F77E: xor al, al */
   8567     _cf = 0;
   8568     _flag_k = FK_NARROW(FK_TEST, 24);
   8569     MEM8(ecx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05F780: mov byte ptr [ecx + 8], al */
   8570     edx = MEM32(esi + 0x8); /* 0x2B05F783: mov edx, dword ptr [esi + 8] */
   8571     MEM8(edx + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B05F786: mov byte ptr [edx + 8], al */
   8572     esi = POP32_VAL(esp); /* 0x2B05F789: pop esi */
   8573     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F78A: ret  */
   8574     RECOMP_REGS_OUT();
   8575 }
   8576 
   8577 void sub_2B05F790(void) {
   8578     int _fpu_cmp = 0;
   8579     uint32_t _cf = 0;
   8580     int _df = 1;
   8581     uint32_t _flag_k = FK_NONE;
   8582     uint32_t _flag_a = 0, _flag_b = 0;
   8583     uint32_t _itail_tgt = 0;
   8584     RECOMP_REGS_LOCALS
   8585     RECOMP_ENTER(0x2B05F790u);
   8586 
   8587 L_2B05F790:
   8588     PUSH32(esp, esi); /* 0x2B05F790: push esi */
   8589     esi = ecx; /* 0x2B05F791: mov esi, ecx */
   8590     ecx = MEM32(esi); /* 0x2B05F793: mov ecx, dword ptr [esi] */
   8591     RECOMP_ICALL(MEM32(0x2B0B5860)); /* 0x2B05F795: call dword ptr [0x2b0b5860] */
   8592     RECOMP_FLAGS_IN();
   8593     ecx = MEM32(esi + 0x4); /* 0x2B05F79B: mov ecx, dword ptr [esi + 4] */
   8594     SET_LO8(eax, 1); /* 0x2B05F79E: mov al, 1 */
   8595     MEM8(ecx + 0x9) = (uint8_t)(LO8(eax)); /* 0x2B05F7A0: mov byte ptr [ecx + 9], al */
   8596     edx = MEM32(esi + 0x8); /* 0x2B05F7A3: mov edx, dword ptr [esi + 8] */
   8597     MEM8(edx + 0x9) = (uint8_t)(LO8(eax)); /* 0x2B05F7A6: mov byte ptr [edx + 9], al */
   8598     esi = POP32_VAL(esp); /* 0x2B05F7A9: pop esi */
   8599     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F7AA: ret  */
   8600     RECOMP_REGS_OUT();
   8601 }
   8602 
   8603 void sub_2B05F7B0(void) {
   8604     int _fpu_cmp = 0;
   8605     uint32_t _cf = 0;
   8606     int _df = 1;
   8607     uint32_t _flag_k = FK_NONE;
   8608     uint32_t _flag_a = 0, _flag_b = 0;
   8609     uint32_t _itail_tgt = 0;
   8610     RECOMP_REGS_LOCALS
   8611     RECOMP_ENTER(0x2B05F7B0u);
   8612 
   8613 L_2B05F7B0:
   8614     PUSH32(esp, ebp); /* 0x2B05F7B0: push ebp */
   8615     ebp = esp; /* 0x2B05F7B1: mov ebp, esp */
   8616     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   8617     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8618     esp = esp - 8; /* 0x2B05F7B3: sub esp, 8 */
   8619     _flag_k = FK_CMP;
   8620     PUSH32(esp, ebx); /* 0x2B05F7B6: push ebx */
   8621     ebx = MEM32(0x2B0B5924); /* 0x2B05F7B7: mov ebx, dword ptr [0x2b0b5924] */
   8622     PUSH32(esp, esi); /* 0x2B05F7BD: push esi */
   8623     esi = MEM32(ebp + 0x8); /* 0x2B05F7BE: mov esi, dword ptr [ebp + 8] */
   8624     eax = MEM32(esi + 0x4); /* 0x2B05F7C1: mov eax, dword ptr [esi + 4] */
   8625     PUSH32(esp, edi); /* 0x2B05F7C4: push edi */
   8626     edi = ecx; /* 0x2B05F7C5: mov edi, ecx */
   8627     ecx = MEM32(esi); /* 0x2B05F7C7: mov ecx, dword ptr [esi] */
   8628     PUSH32(esp, eax); /* 0x2B05F7C9: push eax */
   8629     PUSH32(esp, ecx); /* 0x2B05F7CA: push ecx */
   8630     ecx = MEM32(edi + 0x4); /* 0x2B05F7CB: mov ecx, dword ptr [edi + 4] */
   8631     RECOMP_ICALL(ebx); /* 0x2B05F7CE: call ebx */
   8632     RECOMP_FLAGS_IN();
   8633     edx = MEM32(esi + 0x4); /* 0x2B05F7D0: mov edx, dword ptr [esi + 4] */
   8634     eax = MEM32(esi); /* 0x2B05F7D3: mov eax, dword ptr [esi] */
   8635     ecx = MEM32(edi + 0x8); /* 0x2B05F7D5: mov ecx, dword ptr [edi + 8] */
   8636     PUSH32(esp, edx); /* 0x2B05F7D8: push edx */
   8637     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xA5u);
   8638     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8639     eax = eax + 0xA5u; /* 0x2B05F7D9: add eax, 0xa5 */
   8640     _flag_k = FK_ADD;
   8641     PUSH32(esp, eax); /* 0x2B05F7DE: push eax */
   8642     RECOMP_ICALL(ebx); /* 0x2B05F7DF: call ebx */
   8643     RECOMP_FLAGS_IN();
   8644     ecx = MEM32(esi); /* 0x2B05F7E1: mov ecx, dword ptr [esi] */
   8645     edx = MEM32(esi + 0x4); /* 0x2B05F7E3: mov edx, dword ptr [esi + 4] */
   8646     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   8647     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8648     ecx = ecx + 3; /* 0x2B05F7E6: add ecx, 3 */
   8649     _flag_k = FK_ADD;
   8650     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xBu);
   8651     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8652     edx = edx + 0xBu; /* 0x2B05F7E9: add edx, 0xb */
   8653     _flag_k = FK_ADD;
   8654     MEM32(ebp + (-0x8)) = ecx; /* 0x2B05F7EC: mov dword ptr [ebp - 8], ecx */
   8655     ecx = MEM32(edi); /* 0x2B05F7EF: mov ecx, dword ptr [edi] */
   8656     MEM32(ebp + (-0x4)) = edx; /* 0x2B05F7F1: mov dword ptr [ebp - 4], edx */
   8657     eax = MEM32(ecx); /* 0x2B05F7F4: mov eax, dword ptr [ecx] */
   8658     edx = ebp + (-0x8); /* 0x2B05F7F6: lea edx, [ebp - 8] */
   8659     PUSH32(esp, edx); /* 0x2B05F7F9: push edx */
   8660     RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x2B05F7FA: call dword ptr [eax + 0x14] */
   8661     RECOMP_FLAGS_IN();
   8662     edi = POP32_VAL(esp); /* 0x2B05F7FD: pop edi */
   8663     esi = POP32_VAL(esp); /* 0x2B05F7FE: pop esi */
   8664     ebx = POP32_VAL(esp); /* 0x2B05F7FF: pop ebx */
   8665     esp = ebp; /* 0x2B05F800: mov esp, ebp */
   8666     ebp = POP32_VAL(esp); /* 0x2B05F802: pop ebp */
   8667     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05F803: ret 4 */
   8668     RECOMP_REGS_OUT();
   8669 }
   8670 
   8671 void sub_2B05F810(void) {
   8672     int _fpu_cmp = 0;
   8673     uint32_t _cf = 0;
   8674     int _df = 1;
   8675     uint32_t _flag_k = FK_NONE;
   8676     uint32_t _flag_a = 0, _flag_b = 0;
   8677     uint32_t _itail_tgt = 0;
   8678     RECOMP_REGS_LOCALS
   8679     RECOMP_ENTER(0x2B05F810u);
   8680 
   8681 L_2B05F810:
   8682     PUSH32(esp, ebp); /* 0x2B05F810: push ebp */
   8683     ebp = esp; /* 0x2B05F811: mov ebp, esp */
   8684     fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B05F813: fild dword ptr [ebp + 0xc] */
   8685     eax = MEM32(ebp + 0x8); /* 0x2B05F816: mov eax, dword ptr [ebp + 8] */
   8686     PUSH32(esp, ecx); /* 0x2B05F819: push ecx */
   8687     { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B05F81A: fstp dword ptr [esp] */
   8688     PUSH32(esp, eax); /* 0x2B05F81D: push eax */
   8689     RECOMP_ICALL(0x2B05F830u); /* 0x2B05F81E: call 0x2b05f830 */ /* not lifted */
   8690     RECOMP_FLAGS_IN();
   8691     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   8692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8693     esp = esp + 8; /* 0x2B05F823: add esp, 8 */
   8694     _flag_k = FK_ADD;
   8695     ebp = POP32_VAL(esp); /* 0x2B05F826: pop ebp */
   8696     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F827: ret  */
   8697     RECOMP_REGS_OUT();
   8698 }
   8699 
   8700 void sub_2B05F830(void) {
   8701     int _fpu_cmp = 0;
   8702     uint32_t _cf = 0;
   8703     int _df = 1;
   8704     uint32_t _flag_k = FK_NONE;
   8705     uint32_t _flag_a = 0, _flag_b = 0;
   8706     uint32_t _itail_tgt = 0;
   8707     RECOMP_REGS_LOCALS
   8708     RECOMP_ENTER(0x2B05F830u);
   8709 
   8710 L_2B05F830:
   8711     PUSH32(esp, ebp); /* 0x2B05F830: push ebp */
   8712     ebp = esp; /* 0x2B05F831: mov ebp, esp */
   8713     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   8714     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8715     esp = esp - 8; /* 0x2B05F833: sub esp, 8 */
   8716     _flag_k = FK_CMP;
   8717     eax = MEM32(ebp + 0x8); /* 0x2B05F836: mov eax, dword ptr [ebp + 8] */
   8718     fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B05F839: fld dword ptr [ebp + 0xc] */
   8719     _st[0] -= (double)*(float*)ADDR(eax + 0x24); /* 0x2B05F83C: fsub dword ptr [eax + 0x24] */
   8720     PUSH32(esp, 0); /* 0x2B05F83F: push 0 */
   8721     fp_push(*(float*)&MEM32(eax + 0x28)); /* 0x2B05F841: fld dword ptr [eax + 0x28] */
   8722     ecx = ebp + (-0x8); /* 0x2B05F844: lea ecx, [ebp - 8] */
   8723     _st[0] -= (double)*(float*)ADDR(eax + 0x24); /* 0x2B05F847: fsub dword ptr [eax + 0x24] */
   8724     PUSH32(esp, ecx); /* 0x2B05F84A: push ecx */
   8725     ecx = MEM32(eax); /* 0x2B05F84B: mov ecx, dword ptr [eax] */
   8726     { double _v = fp_pop(); _st[0] = _v == 0.0 ? _st[0] : _st[0] / _v; } /* 0x2B05F84D: fdivp st(1) */
   8727     { double _v = fp_pop(); *(double*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B05F84F: fstp qword ptr [ebp - 8] */
   8728     RECOMP_ICALL(MEM32(0x2B0B5BA4)); /* 0x2B05F852: call dword ptr [0x2b0b5ba4] */
   8729     RECOMP_FLAGS_IN();
   8730     esp = ebp; /* 0x2B05F858: mov esp, ebp */
   8731     ebp = POP32_VAL(esp); /* 0x2B05F85A: pop ebp */
   8732     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F85B: ret  */
   8733     RECOMP_REGS_OUT();
   8734 }
   8735 
   8736 void sub_2B05F860(void) {
   8737     int _fpu_cmp = 0;
   8738     uint32_t _cf = 0;
   8739     int _df = 1;
   8740     uint32_t _flag_k = FK_NONE;
   8741     uint32_t _flag_a = 0, _flag_b = 0;
   8742     uint32_t _itail_tgt = 0;
   8743     RECOMP_REGS_LOCALS
   8744     RECOMP_ENTER(0x2B05F860u);
   8745 
   8746 L_2B05F860:
   8747     goto L_2B05F870; /* 0x2B05F860: jmp 0x2b05f870 */
   8748 L_2B05F870:
   8749     MEM32(0x2B0EECA8) = 0x2B0E1638u; /* 0x2B05F870: mov dword ptr [0x2b0eeca8], 0x2b0e1638 */
   8750     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F87A: ret  */
   8751     RECOMP_REGS_OUT();
   8752 }
   8753 
   8754 void sub_2B05F870(void) {
   8755     int _fpu_cmp = 0;
   8756     uint32_t _cf = 0;
   8757     int _df = 1;
   8758     uint32_t _flag_k = FK_NONE;
   8759     uint32_t _flag_a = 0, _flag_b = 0;
   8760     uint32_t _itail_tgt = 0;
   8761     RECOMP_REGS_LOCALS
   8762     RECOMP_ENTER(0x2B05F870u);
   8763 
   8764 L_2B05F870:
   8765     MEM32(0x2B0EECA8) = 0x2B0E1638u; /* 0x2B05F870: mov dword ptr [0x2b0eeca8], 0x2b0e1638 */
   8766     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F87A: ret  */
   8767     RECOMP_REGS_OUT();
   8768 }
   8769 
   8770 void sub_2B05F880(void) {
   8771     int _fpu_cmp = 0;
   8772     uint32_t _cf = 0;
   8773     int _df = 1;
   8774     uint32_t _flag_k = FK_NONE;
   8775     uint32_t _flag_a = 0, _flag_b = 0;
   8776     uint32_t _itail_tgt = 0;
   8777     RECOMP_REGS_LOCALS
   8778     RECOMP_ENTER(0x2B05F880u);
   8779 
   8780 L_2B05F880:
   8781     goto L_2B05F890; /* 0x2B05F880: jmp 0x2b05f890 */
   8782 L_2B05F890:
   8783     MEM32(0x2B0EECA4) = 0x2B0E166Cu; /* 0x2B05F890: mov dword ptr [0x2b0eeca4], 0x2b0e166c */
   8784     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F89A: ret  */
   8785     RECOMP_REGS_OUT();
   8786 }
   8787 
   8788 void sub_2B05F890(void) {
   8789     int _fpu_cmp = 0;
   8790     uint32_t _cf = 0;
   8791     int _df = 1;
   8792     uint32_t _flag_k = FK_NONE;
   8793     uint32_t _flag_a = 0, _flag_b = 0;
   8794     uint32_t _itail_tgt = 0;
   8795     RECOMP_REGS_LOCALS
   8796     RECOMP_ENTER(0x2B05F890u);
   8797 
   8798 L_2B05F890:
   8799     MEM32(0x2B0EECA4) = 0x2B0E166Cu; /* 0x2B05F890: mov dword ptr [0x2b0eeca4], 0x2b0e166c */
   8800     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F89A: ret  */
   8801     RECOMP_REGS_OUT();
   8802 }
   8803 
   8804 void sub_2B05F8A0(void) {
   8805     int _fpu_cmp = 0;
   8806     uint32_t _cf = 0;
   8807     int _df = 1;
   8808     uint32_t _flag_k = FK_NONE;
   8809     uint32_t _flag_a = 0, _flag_b = 0;
   8810     uint32_t _itail_tgt = 0;
   8811     RECOMP_REGS_LOCALS
   8812     RECOMP_ENTER(0x2B05F8A0u);
   8813 
   8814 L_2B05F8A0:
   8815     goto L_2B05F8B0; /* 0x2B05F8A0: jmp 0x2b05f8b0 */
   8816 L_2B05F8B0:
   8817     MEM32(0x2B0EECA0) = 0x2B0E16A8u; /* 0x2B05F8B0: mov dword ptr [0x2b0eeca0], 0x2b0e16a8 */
   8818     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F8BA: ret  */
   8819     RECOMP_REGS_OUT();
   8820 }
   8821 
   8822 void sub_2B05F8B0(void) {
   8823     int _fpu_cmp = 0;
   8824     uint32_t _cf = 0;
   8825     int _df = 1;
   8826     uint32_t _flag_k = FK_NONE;
   8827     uint32_t _flag_a = 0, _flag_b = 0;
   8828     uint32_t _itail_tgt = 0;
   8829     RECOMP_REGS_LOCALS
   8830     RECOMP_ENTER(0x2B05F8B0u);
   8831 
   8832 L_2B05F8B0:
   8833     MEM32(0x2B0EECA0) = 0x2B0E16A8u; /* 0x2B05F8B0: mov dword ptr [0x2b0eeca0], 0x2b0e16a8 */
   8834     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F8BA: ret  */
   8835     RECOMP_REGS_OUT();
   8836 }
   8837 
   8838 void sub_2B05F8C0(void) {
   8839     int _fpu_cmp = 0;
   8840     uint32_t _cf = 0;
   8841     int _df = 1;
   8842     uint32_t _flag_k = FK_NONE;
   8843     uint32_t _flag_a = 0, _flag_b = 0;
   8844     uint32_t _itail_tgt = 0;
   8845     RECOMP_REGS_LOCALS
   8846     RECOMP_ENTER(0x2B05F8C0u);
   8847 
   8848 L_2B05F8C0:
   8849     goto L_2B05F8D0; /* 0x2B05F8C0: jmp 0x2b05f8d0 */
   8850 L_2B05F8D0:
   8851     MEM32(0x2B0EEC9C) = 0x2B0E16DCu; /* 0x2B05F8D0: mov dword ptr [0x2b0eec9c], 0x2b0e16dc */
   8852     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F8DA: ret  */
   8853     RECOMP_REGS_OUT();
   8854 }
   8855 
   8856 void sub_2B05F8D0(void) {
   8857     int _fpu_cmp = 0;
   8858     uint32_t _cf = 0;
   8859     int _df = 1;
   8860     uint32_t _flag_k = FK_NONE;
   8861     uint32_t _flag_a = 0, _flag_b = 0;
   8862     uint32_t _itail_tgt = 0;
   8863     RECOMP_REGS_LOCALS
   8864     RECOMP_ENTER(0x2B05F8D0u);
   8865 
   8866 L_2B05F8D0:
   8867     MEM32(0x2B0EEC9C) = 0x2B0E16DCu; /* 0x2B05F8D0: mov dword ptr [0x2b0eec9c], 0x2b0e16dc */
   8868     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F8DA: ret  */
   8869     RECOMP_REGS_OUT();
   8870 }
   8871 
   8872 void sub_2B05F8E0(void) {
   8873     int _fpu_cmp = 0;
   8874     uint32_t _cf = 0;
   8875     int _df = 1;
   8876     uint32_t _flag_k = FK_NONE;
   8877     uint32_t _flag_a = 0, _flag_b = 0;
   8878     uint32_t _itail_tgt = 0;
   8879     RECOMP_REGS_LOCALS
   8880     RECOMP_ENTER(0x2B05F8E0u);
   8881 
   8882 L_2B05F8E0:
   8883     goto L_2B05F8F0; /* 0x2B05F8E0: jmp 0x2b05f8f0 */
   8884 L_2B05F8F0:
   8885     MEM32(0x2B0EEC98) = 0x2B0E1710u; /* 0x2B05F8F0: mov dword ptr [0x2b0eec98], 0x2b0e1710 */
   8886     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F8FA: ret  */
   8887     RECOMP_REGS_OUT();
   8888 }
   8889 
   8890 void sub_2B05F8F0(void) {
   8891     int _fpu_cmp = 0;
   8892     uint32_t _cf = 0;
   8893     int _df = 1;
   8894     uint32_t _flag_k = FK_NONE;
   8895     uint32_t _flag_a = 0, _flag_b = 0;
   8896     uint32_t _itail_tgt = 0;
   8897     RECOMP_REGS_LOCALS
   8898     RECOMP_ENTER(0x2B05F8F0u);
   8899 
   8900 L_2B05F8F0:
   8901     MEM32(0x2B0EEC98) = 0x2B0E1710u; /* 0x2B05F8F0: mov dword ptr [0x2b0eec98], 0x2b0e1710 */
   8902     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F8FA: ret  */
   8903     RECOMP_REGS_OUT();
   8904 }
   8905 
   8906 void sub_2B05F900(void) {
   8907     int _fpu_cmp = 0;
   8908     uint32_t _cf = 0;
   8909     int _df = 1;
   8910     uint32_t _flag_k = FK_NONE;
   8911     uint32_t _flag_a = 0, _flag_b = 0;
   8912     uint32_t _itail_tgt = 0;
   8913     RECOMP_REGS_LOCALS
   8914     RECOMP_ENTER(0x2B05F900u);
   8915 
   8916 L_2B05F900:
   8917     goto L_2B05F910; /* 0x2B05F900: jmp 0x2b05f910 */
   8918 L_2B05F910:
   8919     MEM32(0x2B0EEC94) = 0x2B0E1744u; /* 0x2B05F910: mov dword ptr [0x2b0eec94], 0x2b0e1744 */
   8920     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F91A: ret  */
   8921     RECOMP_REGS_OUT();
   8922 }
   8923 
   8924 void sub_2B05F910(void) {
   8925     int _fpu_cmp = 0;
   8926     uint32_t _cf = 0;
   8927     int _df = 1;
   8928     uint32_t _flag_k = FK_NONE;
   8929     uint32_t _flag_a = 0, _flag_b = 0;
   8930     uint32_t _itail_tgt = 0;
   8931     RECOMP_REGS_LOCALS
   8932     RECOMP_ENTER(0x2B05F910u);
   8933 
   8934 L_2B05F910:
   8935     MEM32(0x2B0EEC94) = 0x2B0E1744u; /* 0x2B05F910: mov dword ptr [0x2b0eec94], 0x2b0e1744 */
   8936     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F91A: ret  */
   8937     RECOMP_REGS_OUT();
   8938 }
   8939 
   8940 void sub_2B05F920(void) {
   8941     int _fpu_cmp = 0;
   8942     uint32_t _cf = 0;
   8943     int _df = 1;
   8944     uint32_t _flag_k = FK_NONE;
   8945     uint32_t _flag_a = 0, _flag_b = 0;
   8946     uint32_t _itail_tgt = 0;
   8947     RECOMP_REGS_LOCALS
   8948     RECOMP_ENTER(0x2B05F920u);
   8949 
   8950 L_2B05F920:
   8951     goto L_2B05F930; /* 0x2B05F920: jmp 0x2b05f930 */
   8952 L_2B05F930:
   8953     MEM32(0x2B0EEC90) = 0x2B0E177Cu; /* 0x2B05F930: mov dword ptr [0x2b0eec90], 0x2b0e177c */
   8954     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F93A: ret  */
   8955     RECOMP_REGS_OUT();
   8956 }
   8957 
   8958 void sub_2B05F930(void) {
   8959     int _fpu_cmp = 0;
   8960     uint32_t _cf = 0;
   8961     int _df = 1;
   8962     uint32_t _flag_k = FK_NONE;
   8963     uint32_t _flag_a = 0, _flag_b = 0;
   8964     uint32_t _itail_tgt = 0;
   8965     RECOMP_REGS_LOCALS
   8966     RECOMP_ENTER(0x2B05F930u);
   8967 
   8968 L_2B05F930:
   8969     MEM32(0x2B0EEC90) = 0x2B0E177Cu; /* 0x2B05F930: mov dword ptr [0x2b0eec90], 0x2b0e177c */
   8970     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F93A: ret  */
   8971     RECOMP_REGS_OUT();
   8972 }
   8973 
   8974 void sub_2B05F940(void) {
   8975     int _fpu_cmp = 0;
   8976     uint32_t _cf = 0;
   8977     int _df = 1;
   8978     uint32_t _flag_k = FK_NONE;
   8979     uint32_t _flag_a = 0, _flag_b = 0;
   8980     uint32_t _itail_tgt = 0;
   8981     RECOMP_REGS_LOCALS
   8982     RECOMP_ENTER(0x2B05F940u);
   8983 
   8984 L_2B05F940:
   8985     goto L_2B05F950; /* 0x2B05F940: jmp 0x2b05f950 */
   8986 L_2B05F950:
   8987     MEM32(0x2B0EEC8C) = 0x2B0E17B4u; /* 0x2B05F950: mov dword ptr [0x2b0eec8c], 0x2b0e17b4 */
   8988     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F95A: ret  */
   8989     RECOMP_REGS_OUT();
   8990 }
   8991 
   8992 void sub_2B05F950(void) {
   8993     int _fpu_cmp = 0;
   8994     uint32_t _cf = 0;
   8995     int _df = 1;
   8996     uint32_t _flag_k = FK_NONE;
   8997     uint32_t _flag_a = 0, _flag_b = 0;
   8998     uint32_t _itail_tgt = 0;
   8999     RECOMP_REGS_LOCALS
   9000     RECOMP_ENTER(0x2B05F950u);
   9001 
   9002 L_2B05F950:
   9003     MEM32(0x2B0EEC8C) = 0x2B0E17B4u; /* 0x2B05F950: mov dword ptr [0x2b0eec8c], 0x2b0e17b4 */
   9004     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F95A: ret  */
   9005     RECOMP_REGS_OUT();
   9006 }
   9007 
   9008 void sub_2B05F960(void) {
   9009     int _fpu_cmp = 0;
   9010     uint32_t _cf = 0;
   9011     int _df = 1;
   9012     uint32_t _flag_k = FK_NONE;
   9013     uint32_t _flag_a = 0, _flag_b = 0;
   9014     uint32_t _itail_tgt = 0;
   9015     RECOMP_REGS_LOCALS
   9016     RECOMP_ENTER(0x2B05F960u);
   9017 
   9018 L_2B05F960:
   9019     goto L_2B05F970; /* 0x2B05F960: jmp 0x2b05f970 */
   9020 L_2B05F970:
   9021     MEM32(0x2B0EEC88) = 0x2B0E17E8u; /* 0x2B05F970: mov dword ptr [0x2b0eec88], 0x2b0e17e8 */
   9022     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05F97A: ret  */
   9023     RECOMP_REGS_OUT();
   9024 }