aorecomp

Anarchy Online classic in the browser

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


client/game/ddr.dll/lifted-0053.c (602115B)


      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_2B0AD154(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(0x2B0AD154u);
     17 
     18     goto L_2B0AD154;
     19 L_2B0AB218:
     20     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
     21 L_2B0AD154:
     22     eax = 0x2B0BA290u; /* 0x2B0AD154: mov eax, 0x2b0ba290 */
     23 L_2B0AD159:
     24     RECOMP_BACKEDGE();
     25     goto L_2B0AB218; /* 0x2B0AD159: jmp 0x2b0ab218 */
     26     { RECOMP_REGS_OUT(); return; } /* end of function */
     27   _ljump:
     28     switch (_itail_tgt) {
     29       case 0x2B0AB218u: goto L_2B0AB218;
     30       case 0x2B0AD154u: goto L_2B0AD154;
     31       case 0x2B0AD159u: goto L_2B0AD159;
     32       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
     33     }
     34     RECOMP_REGS_OUT();
     35 }
     36 
     37 void sub_2B0AD160(void) {
     38     int _fpu_cmp = 0;
     39     uint32_t _cf = 0;
     40     int _df = 1;
     41     uint32_t _flag_k = FK_NONE;
     42     uint32_t _flag_a = 0, _flag_b = 0;
     43     uint32_t _itail_tgt = 0;
     44     RECOMP_REGS_LOCALS
     45     RECOMP_ENTER(0x2B0AD160u);
     46 
     47     goto L_2B0AD160;
     48 L_2B012D80:
     49     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
     50     ebp = esp; /* 0x2B012D81: mov ebp, esp */
     51     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
     52     PUSH32(esp, esi); /* 0x2B012D84: push esi */
     53     esi = ecx; /* 0x2B012D85: mov esi, ecx */
     54     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
     55     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
     56     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
     57     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
     58     RECOMP_FLAGS_IN();
     59     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     60     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     61     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
     62     _flag_k = FK_ADD;
     63     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     64     eax = 0; /* 0x2B012D96: xor eax, eax */
     65     _cf = 0;
     66     _flag_k = FK_TEST;
     67     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
     68     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
     69     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
     70     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
     71     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
     72     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
     73     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
     74 L_2B0AD160:
     75     ecx = ebp + (-0x50); /* 0x2B0AD160: lea ecx, [ebp - 0x50] */
     76     RECOMP_BACKEDGE();
     77     goto L_2B012D80; /* 0x2B0AD163: jmp 0x2b012d80 */
     78     { RECOMP_REGS_OUT(); return; } /* end of function */
     79     RECOMP_REGS_OUT();
     80 }
     81 
     82 void sub_2B0AD168(void) {
     83     int _fpu_cmp = 0;
     84     uint32_t _cf = 0;
     85     int _df = 1;
     86     uint32_t _flag_k = FK_NONE;
     87     uint32_t _flag_a = 0, _flag_b = 0;
     88     uint32_t _itail_tgt = 0;
     89     RECOMP_REGS_LOCALS
     90     RECOMP_ENTER(0x2B0AD168u);
     91 
     92     goto L_2B0AD168;
     93 L_2B01D630:
     94     PUSH32(esp, ebp); /* 0x2B01D630: push ebp */
     95     ebp = esp; /* 0x2B01D631: mov ebp, esp */
     96     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
     97     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     98     esp = esp - 8; /* 0x2B01D633: sub esp, 8 */
     99     _flag_k = FK_CMP;
    100     PUSH32(esp, ebx); /* 0x2B01D636: push ebx */
    101     PUSH32(esp, esi); /* 0x2B01D637: push esi */
    102     esi = MEM32(ecx + 0x4); /* 0x2B01D638: mov esi, dword ptr [ecx + 4] */
    103     PUSH32(esp, edi); /* 0x2B01D63B: push edi */
    104     edi = MEM32(ecx + 0x8); /* 0x2B01D63C: mov edi, dword ptr [ecx + 8] */
    105     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    106     ebx = 0; /* 0x2B01D63F: xor ebx, ebx */
    107     _cf = 0;
    108     _flag_k = FK_TEST;
    109     /* cmp esi, edi */ /* 0x2B01D641: cmp esi, edi */
    110     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    111     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    112     _flag_k = FK_CMP;
    113     MEM32(ebp + (-0x4)) = ecx; /* 0x2B01D643: mov dword ptr [ebp - 4], ecx */
    114     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D66A; /* 0x2B01D646: je 0x2b01d66a */
    115 L_2B01D648:
    116     eax = MEM32(esi + 0x4); /* 0x2B01D648: mov eax, dword ptr [esi + 4] */
    117     PUSH32(esp, eax); /* 0x2B01D64B: push eax */
    118     MEM32(ebp + (-0x8)) = eax; /* 0x2B01D64C: mov dword ptr [ebp - 8], eax */
    119     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D64F: call 0x2b0ab1ba */ /* not lifted */
    120     RECOMP_FLAGS_IN();
    121     MEM32(esi + 0x4) = ebx; /* 0x2B01D654: mov dword ptr [esi + 4], ebx */
    122     MEM32(esi + 0x8) = ebx; /* 0x2B01D657: mov dword ptr [esi + 8], ebx */
    123     MEM32(esi + 0xC) = ebx; /* 0x2B01D65A: mov dword ptr [esi + 0xc], ebx */
    124     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
    125     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    126     esi = esi + 0x10u; /* 0x2B01D65D: add esi, 0x10 */
    127     _flag_k = FK_ADD;
    128     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    129     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    130     esp = esp + 4; /* 0x2B01D660: add esp, 4 */
    131     _flag_k = FK_ADD;
    132     /* cmp esi, edi */ /* 0x2B01D663: cmp esi, edi */
    133     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    134     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    135     _flag_k = FK_CMP;
    136     RECOMP_BACKEDGE();
    137     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D648; /* 0x2B01D665: jne 0x2b01d648 */
    138 L_2B01D667:
    139     ecx = MEM32(ebp + (-0x4)); /* 0x2B01D667: mov ecx, dword ptr [ebp - 4] */
    140 L_2B01D66A:
    141     eax = MEM32(ecx + 0x4); /* 0x2B01D66A: mov eax, dword ptr [ecx + 4] */
    142     PUSH32(esp, eax); /* 0x2B01D66D: push eax */
    143     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D66E: call 0x2b0ab1ba */ /* not lifted */
    144     RECOMP_FLAGS_IN();
    145     eax = MEM32(ebp + (-0x4)); /* 0x2B01D673: mov eax, dword ptr [ebp - 4] */
    146     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    147     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    148     esp = esp + 4; /* 0x2B01D676: add esp, 4 */
    149     _flag_k = FK_ADD;
    150     edi = POP32_VAL(esp); /* 0x2B01D679: pop edi */
    151     esi = POP32_VAL(esp); /* 0x2B01D67A: pop esi */
    152     MEM32(eax + 0x4) = ebx; /* 0x2B01D67B: mov dword ptr [eax + 4], ebx */
    153     MEM32(eax + 0x8) = ebx; /* 0x2B01D67E: mov dword ptr [eax + 8], ebx */
    154     MEM32(eax + 0xC) = ebx; /* 0x2B01D681: mov dword ptr [eax + 0xc], ebx */
    155     ebx = POP32_VAL(esp); /* 0x2B01D684: pop ebx */
    156     esp = ebp; /* 0x2B01D685: mov esp, ebp */
    157     ebp = POP32_VAL(esp); /* 0x2B01D687: pop ebp */
    158     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D688: ret  */
    159 L_2B0AD168:
    160     ecx = ebp + (-0x70); /* 0x2B0AD168: lea ecx, [ebp - 0x70] */
    161     RECOMP_BACKEDGE();
    162     goto L_2B01D630; /* 0x2B0AD16B: jmp 0x2b01d630 */
    163     { RECOMP_REGS_OUT(); return; } /* end of function */
    164     RECOMP_REGS_OUT();
    165 }
    166 
    167 void sub_2B0AD170(void) {
    168     int _fpu_cmp = 0;
    169     uint32_t _cf = 0;
    170     int _df = 1;
    171     uint32_t _flag_k = FK_NONE;
    172     uint32_t _flag_a = 0, _flag_b = 0;
    173     uint32_t _itail_tgt = 0;
    174     RECOMP_REGS_LOCALS
    175     RECOMP_ENTER(0x2B0AD170u);
    176 
    177     goto L_2B0AD170;
    178 L_2B012D80:
    179     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    180     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    181     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    182     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    183     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    184     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    185     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    186     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    187     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    188     RECOMP_FLAGS_IN();
    189     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    190     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    191     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    192     _flag_k = FK_ADD;
    193     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    194     eax = 0; /* 0x2B012D96: xor eax, eax */
    195     _cf = 0;
    196     _flag_k = FK_TEST;
    197     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    198     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    199     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    200     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    201     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    202     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    203     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    204 L_2B0AD170:
    205     ecx = ebp + (-0x80); /* 0x2B0AD170: lea ecx, [ebp - 0x80] */
    206     RECOMP_BACKEDGE();
    207     goto L_2B012D80; /* 0x2B0AD173: jmp 0x2b012d80 */
    208     { RECOMP_REGS_OUT(); return; } /* end of function */
    209     RECOMP_REGS_OUT();
    210 }
    211 
    212 void sub_2B0AD178(void) {
    213     int _fpu_cmp = 0;
    214     uint32_t _cf = 0;
    215     int _df = 1;
    216     uint32_t _flag_k = FK_NONE;
    217     uint32_t _flag_a = 0, _flag_b = 0;
    218     uint32_t _itail_tgt = 0;
    219     RECOMP_REGS_LOCALS
    220     RECOMP_ENTER(0x2B0AD178u);
    221 
    222     goto L_2B0AD178;
    223 L_2B012D80:
    224     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    225     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    226     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    227     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    228     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    229     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    230     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    231     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    232     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    233     RECOMP_FLAGS_IN();
    234     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    235     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    236     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    237     _flag_k = FK_ADD;
    238     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    239     eax = 0; /* 0x2B012D96: xor eax, eax */
    240     _cf = 0;
    241     _flag_k = FK_TEST;
    242     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    243     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    244     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    245     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    246     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    247     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    248     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    249 L_2B0AD178:
    250     ecx = ebp + (-0x1C); /* 0x2B0AD178: lea ecx, [ebp - 0x1c] */
    251     RECOMP_BACKEDGE();
    252     goto L_2B012D80; /* 0x2B0AD17B: jmp 0x2b012d80 */
    253     { RECOMP_REGS_OUT(); return; } /* end of function */
    254     RECOMP_REGS_OUT();
    255 }
    256 
    257 void sub_2B0AD180(void) {
    258     int _fpu_cmp = 0;
    259     uint32_t _cf = 0;
    260     int _df = 1;
    261     uint32_t _flag_k = FK_NONE;
    262     uint32_t _flag_a = 0, _flag_b = 0;
    263     uint32_t _itail_tgt = 0;
    264     RECOMP_REGS_LOCALS
    265     RECOMP_ENTER(0x2B0AD180u);
    266 
    267     goto L_2B0AD180;
    268 L_2B012D80:
    269     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    270     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    271     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    272     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    273     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    274     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    275     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    276     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    277     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    278     RECOMP_FLAGS_IN();
    279     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    280     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    281     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    282     _flag_k = FK_ADD;
    283     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    284     eax = 0; /* 0x2B012D96: xor eax, eax */
    285     _cf = 0;
    286     _flag_k = FK_TEST;
    287     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    288     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    289     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    290     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    291     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    292     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    293     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    294 L_2B0AD180:
    295     ecx = ebp + (-0x40); /* 0x2B0AD180: lea ecx, [ebp - 0x40] */
    296     RECOMP_BACKEDGE();
    297     goto L_2B012D80; /* 0x2B0AD183: jmp 0x2b012d80 */
    298     { RECOMP_REGS_OUT(); return; } /* end of function */
    299     RECOMP_REGS_OUT();
    300 }
    301 
    302 void sub_2B0AD188(void) {
    303     int _fpu_cmp = 0;
    304     uint32_t _cf = 0;
    305     int _df = 1;
    306     uint32_t _flag_k = FK_NONE;
    307     uint32_t _flag_a = 0, _flag_b = 0;
    308     uint32_t _itail_tgt = 0;
    309     RECOMP_REGS_LOCALS
    310     RECOMP_ENTER(0x2B0AD188u);
    311 
    312     goto L_2B0AD188;
    313 L_2B01D630:
    314     PUSH32(esp, ebp); /* 0x2B01D630: push ebp */
    315     ebp = esp; /* 0x2B01D631: mov ebp, esp */
    316     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    317     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    318     esp = esp - 8; /* 0x2B01D633: sub esp, 8 */
    319     _flag_k = FK_CMP;
    320     PUSH32(esp, ebx); /* 0x2B01D636: push ebx */
    321     PUSH32(esp, esi); /* 0x2B01D637: push esi */
    322     esi = MEM32(ecx + 0x4); /* 0x2B01D638: mov esi, dword ptr [ecx + 4] */
    323     PUSH32(esp, edi); /* 0x2B01D63B: push edi */
    324     edi = MEM32(ecx + 0x8); /* 0x2B01D63C: mov edi, dword ptr [ecx + 8] */
    325     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    326     ebx = 0; /* 0x2B01D63F: xor ebx, ebx */
    327     _cf = 0;
    328     _flag_k = FK_TEST;
    329     /* cmp esi, edi */ /* 0x2B01D641: cmp esi, edi */
    330     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    331     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    332     _flag_k = FK_CMP;
    333     MEM32(ebp + (-0x4)) = ecx; /* 0x2B01D643: mov dword ptr [ebp - 4], ecx */
    334     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D66A; /* 0x2B01D646: je 0x2b01d66a */
    335 L_2B01D648:
    336     eax = MEM32(esi + 0x4); /* 0x2B01D648: mov eax, dword ptr [esi + 4] */
    337     PUSH32(esp, eax); /* 0x2B01D64B: push eax */
    338     MEM32(ebp + (-0x8)) = eax; /* 0x2B01D64C: mov dword ptr [ebp - 8], eax */
    339     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D64F: call 0x2b0ab1ba */ /* not lifted */
    340     RECOMP_FLAGS_IN();
    341     MEM32(esi + 0x4) = ebx; /* 0x2B01D654: mov dword ptr [esi + 4], ebx */
    342     MEM32(esi + 0x8) = ebx; /* 0x2B01D657: mov dword ptr [esi + 8], ebx */
    343     MEM32(esi + 0xC) = ebx; /* 0x2B01D65A: mov dword ptr [esi + 0xc], ebx */
    344     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
    345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    346     esi = esi + 0x10u; /* 0x2B01D65D: add esi, 0x10 */
    347     _flag_k = FK_ADD;
    348     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    349     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    350     esp = esp + 4; /* 0x2B01D660: add esp, 4 */
    351     _flag_k = FK_ADD;
    352     /* cmp esi, edi */ /* 0x2B01D663: cmp esi, edi */
    353     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    354     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    355     _flag_k = FK_CMP;
    356     RECOMP_BACKEDGE();
    357     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D648; /* 0x2B01D665: jne 0x2b01d648 */
    358 L_2B01D667:
    359     ecx = MEM32(ebp + (-0x4)); /* 0x2B01D667: mov ecx, dword ptr [ebp - 4] */
    360 L_2B01D66A:
    361     eax = MEM32(ecx + 0x4); /* 0x2B01D66A: mov eax, dword ptr [ecx + 4] */
    362     PUSH32(esp, eax); /* 0x2B01D66D: push eax */
    363     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D66E: call 0x2b0ab1ba */ /* not lifted */
    364     RECOMP_FLAGS_IN();
    365     eax = MEM32(ebp + (-0x4)); /* 0x2B01D673: mov eax, dword ptr [ebp - 4] */
    366     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    367     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    368     esp = esp + 4; /* 0x2B01D676: add esp, 4 */
    369     _flag_k = FK_ADD;
    370     edi = POP32_VAL(esp); /* 0x2B01D679: pop edi */
    371     esi = POP32_VAL(esp); /* 0x2B01D67A: pop esi */
    372     MEM32(eax + 0x4) = ebx; /* 0x2B01D67B: mov dword ptr [eax + 4], ebx */
    373     MEM32(eax + 0x8) = ebx; /* 0x2B01D67E: mov dword ptr [eax + 8], ebx */
    374     MEM32(eax + 0xC) = ebx; /* 0x2B01D681: mov dword ptr [eax + 0xc], ebx */
    375     ebx = POP32_VAL(esp); /* 0x2B01D684: pop ebx */
    376     esp = ebp; /* 0x2B01D685: mov esp, ebp */
    377     ebp = POP32_VAL(esp); /* 0x2B01D687: pop ebp */
    378     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D688: ret  */
    379 L_2B0AD188:
    380     ecx = ebp + (-0x60); /* 0x2B0AD188: lea ecx, [ebp - 0x60] */
    381     RECOMP_BACKEDGE();
    382     goto L_2B01D630; /* 0x2B0AD18B: jmp 0x2b01d630 */
    383     { RECOMP_REGS_OUT(); return; } /* end of function */
    384     RECOMP_REGS_OUT();
    385 }
    386 
    387 void sub_2B0AD190(void) {
    388     int _fpu_cmp = 0;
    389     uint32_t _cf = 0;
    390     int _df = 1;
    391     uint32_t _flag_k = FK_NONE;
    392     uint32_t _flag_a = 0, _flag_b = 0;
    393     uint32_t _itail_tgt = 0;
    394     RECOMP_REGS_LOCALS
    395     RECOMP_ENTER(0x2B0AD190u);
    396 
    397     goto L_2B0AD190;
    398 L_2B012D80:
    399     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    400     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    401     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    402     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    403     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    404     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    405     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    406     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    407     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    408     RECOMP_FLAGS_IN();
    409     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    410     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    411     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    412     _flag_k = FK_ADD;
    413     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    414     eax = 0; /* 0x2B012D96: xor eax, eax */
    415     _cf = 0;
    416     _flag_k = FK_TEST;
    417     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    418     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    419     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    420     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    421     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    422     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    423     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    424 L_2B0AD190:
    425     ecx = ebp + (-0x30); /* 0x2B0AD190: lea ecx, [ebp - 0x30] */
    426     RECOMP_BACKEDGE();
    427     goto L_2B012D80; /* 0x2B0AD193: jmp 0x2b012d80 */
    428     { RECOMP_REGS_OUT(); return; } /* end of function */
    429     RECOMP_REGS_OUT();
    430 }
    431 
    432 void sub_2B0AD198(void) {
    433     int _fpu_cmp = 0;
    434     uint32_t _cf = 0;
    435     int _df = 1;
    436     uint32_t _flag_k = FK_NONE;
    437     uint32_t _flag_a = 0, _flag_b = 0;
    438     uint32_t _itail_tgt = 0;
    439     RECOMP_REGS_LOCALS
    440     RECOMP_ENTER(0x2B0AD198u);
    441 
    442     goto L_2B0AD198;
    443 L_2B012D80:
    444     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    445     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    446     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    447     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    448     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    449     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    450     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    451     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    452     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    453     RECOMP_FLAGS_IN();
    454     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    455     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    456     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    457     _flag_k = FK_ADD;
    458     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    459     eax = 0; /* 0x2B012D96: xor eax, eax */
    460     _cf = 0;
    461     _flag_k = FK_TEST;
    462     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    463     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    464     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    465     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    466     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    467     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    468     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    469 L_2B0AD198:
    470     ecx = ebp + (-0x90); /* 0x2B0AD198: lea ecx, [ebp - 0x90] */
    471     RECOMP_BACKEDGE();
    472     goto L_2B012D80; /* 0x2B0AD19E: jmp 0x2b012d80 */
    473     { RECOMP_REGS_OUT(); return; } /* end of function */
    474     RECOMP_REGS_OUT();
    475 }
    476 
    477 void sub_2B0AD1A3(void) {
    478     int _fpu_cmp = 0;
    479     uint32_t _cf = 0;
    480     int _df = 1;
    481     uint32_t _flag_k = FK_NONE;
    482     uint32_t _flag_a = 0, _flag_b = 0;
    483     uint32_t _itail_tgt = 0;
    484     RECOMP_REGS_LOCALS
    485     RECOMP_ENTER(0x2B0AD1A3u);
    486 
    487     goto L_2B0AD1A3;
    488 L_2B012D80:
    489     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    490     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    491     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    492     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    493     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    494     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    495     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    496     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    497     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    498     RECOMP_FLAGS_IN();
    499     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    500     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    501     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    502     _flag_k = FK_ADD;
    503     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    504     eax = 0; /* 0x2B012D96: xor eax, eax */
    505     _cf = 0;
    506     _flag_k = FK_TEST;
    507     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    508     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    509     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    510     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    511     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    512     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    513     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    514 L_2B0AD1A3:
    515     ecx = ebp + (-0x1C); /* 0x2B0AD1A3: lea ecx, [ebp - 0x1c] */
    516     RECOMP_BACKEDGE();
    517     goto L_2B012D80; /* 0x2B0AD1A6: jmp 0x2b012d80 */
    518     { RECOMP_REGS_OUT(); return; } /* end of function */
    519     RECOMP_REGS_OUT();
    520 }
    521 
    522 void sub_2B0AD1AB(void) {
    523     int _fpu_cmp = 0;
    524     uint32_t _cf = 0;
    525     int _df = 1;
    526     uint32_t _flag_k = FK_NONE;
    527     uint32_t _flag_a = 0, _flag_b = 0;
    528     uint32_t _itail_tgt = 0;
    529     RECOMP_REGS_LOCALS
    530     RECOMP_ENTER(0x2B0AD1ABu);
    531 
    532     goto L_2B0AD1AB;
    533 L_2B0AB218:
    534     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
    535 L_2B0AD1AB:
    536     eax = 0x2B0BA2D0u; /* 0x2B0AD1AB: mov eax, 0x2b0ba2d0 */
    537 L_2B0AD1B0:
    538     RECOMP_BACKEDGE();
    539     goto L_2B0AB218; /* 0x2B0AD1B0: jmp 0x2b0ab218 */
    540     { RECOMP_REGS_OUT(); return; } /* end of function */
    541   _ljump:
    542     switch (_itail_tgt) {
    543       case 0x2B0AB218u: goto L_2B0AB218;
    544       case 0x2B0AD1ABu: goto L_2B0AD1AB;
    545       case 0x2B0AD1B0u: goto L_2B0AD1B0;
    546       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    547     }
    548     RECOMP_REGS_OUT();
    549 }
    550 
    551 void sub_2B0AD1C0(void) {
    552     int _fpu_cmp = 0;
    553     uint32_t _cf = 0;
    554     int _df = 1;
    555     uint32_t _flag_k = FK_NONE;
    556     uint32_t _flag_a = 0, _flag_b = 0;
    557     uint32_t _itail_tgt = 0;
    558     RECOMP_REGS_LOCALS
    559     RECOMP_ENTER(0x2B0AD1C0u);
    560 
    561     goto L_2B0AD1C0;
    562 L_2B01D630:
    563     PUSH32(esp, ebp); /* 0x2B01D630: push ebp */
    564     ebp = esp; /* 0x2B01D631: mov ebp, esp */
    565     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    566     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    567     esp = esp - 8; /* 0x2B01D633: sub esp, 8 */
    568     _flag_k = FK_CMP;
    569     PUSH32(esp, ebx); /* 0x2B01D636: push ebx */
    570     PUSH32(esp, esi); /* 0x2B01D637: push esi */
    571     esi = MEM32(ecx + 0x4); /* 0x2B01D638: mov esi, dword ptr [ecx + 4] */
    572     PUSH32(esp, edi); /* 0x2B01D63B: push edi */
    573     edi = MEM32(ecx + 0x8); /* 0x2B01D63C: mov edi, dword ptr [ecx + 8] */
    574     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    575     ebx = 0; /* 0x2B01D63F: xor ebx, ebx */
    576     _cf = 0;
    577     _flag_k = FK_TEST;
    578     /* cmp esi, edi */ /* 0x2B01D641: cmp esi, edi */
    579     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    580     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    581     _flag_k = FK_CMP;
    582     MEM32(ebp + (-0x4)) = ecx; /* 0x2B01D643: mov dword ptr [ebp - 4], ecx */
    583     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D66A; /* 0x2B01D646: je 0x2b01d66a */
    584 L_2B01D648:
    585     eax = MEM32(esi + 0x4); /* 0x2B01D648: mov eax, dword ptr [esi + 4] */
    586     PUSH32(esp, eax); /* 0x2B01D64B: push eax */
    587     MEM32(ebp + (-0x8)) = eax; /* 0x2B01D64C: mov dword ptr [ebp - 8], eax */
    588     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D64F: call 0x2b0ab1ba */ /* not lifted */
    589     RECOMP_FLAGS_IN();
    590     MEM32(esi + 0x4) = ebx; /* 0x2B01D654: mov dword ptr [esi + 4], ebx */
    591     MEM32(esi + 0x8) = ebx; /* 0x2B01D657: mov dword ptr [esi + 8], ebx */
    592     MEM32(esi + 0xC) = ebx; /* 0x2B01D65A: mov dword ptr [esi + 0xc], ebx */
    593     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
    594     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    595     esi = esi + 0x10u; /* 0x2B01D65D: add esi, 0x10 */
    596     _flag_k = FK_ADD;
    597     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    598     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    599     esp = esp + 4; /* 0x2B01D660: add esp, 4 */
    600     _flag_k = FK_ADD;
    601     /* cmp esi, edi */ /* 0x2B01D663: cmp esi, edi */
    602     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    603     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    604     _flag_k = FK_CMP;
    605     RECOMP_BACKEDGE();
    606     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D648; /* 0x2B01D665: jne 0x2b01d648 */
    607 L_2B01D667:
    608     ecx = MEM32(ebp + (-0x4)); /* 0x2B01D667: mov ecx, dword ptr [ebp - 4] */
    609 L_2B01D66A:
    610     eax = MEM32(ecx + 0x4); /* 0x2B01D66A: mov eax, dword ptr [ecx + 4] */
    611     PUSH32(esp, eax); /* 0x2B01D66D: push eax */
    612     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D66E: call 0x2b0ab1ba */ /* not lifted */
    613     RECOMP_FLAGS_IN();
    614     eax = MEM32(ebp + (-0x4)); /* 0x2B01D673: mov eax, dword ptr [ebp - 4] */
    615     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    616     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    617     esp = esp + 4; /* 0x2B01D676: add esp, 4 */
    618     _flag_k = FK_ADD;
    619     edi = POP32_VAL(esp); /* 0x2B01D679: pop edi */
    620     esi = POP32_VAL(esp); /* 0x2B01D67A: pop esi */
    621     MEM32(eax + 0x4) = ebx; /* 0x2B01D67B: mov dword ptr [eax + 4], ebx */
    622     MEM32(eax + 0x8) = ebx; /* 0x2B01D67E: mov dword ptr [eax + 8], ebx */
    623     MEM32(eax + 0xC) = ebx; /* 0x2B01D681: mov dword ptr [eax + 0xc], ebx */
    624     ebx = POP32_VAL(esp); /* 0x2B01D684: pop ebx */
    625     esp = ebp; /* 0x2B01D685: mov esp, ebp */
    626     ebp = POP32_VAL(esp); /* 0x2B01D687: pop ebp */
    627     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D688: ret  */
    628 L_2B0AD1C0:
    629     ecx = ebp + (-0x60); /* 0x2B0AD1C0: lea ecx, [ebp - 0x60] */
    630     RECOMP_BACKEDGE();
    631     goto L_2B01D630; /* 0x2B0AD1C3: jmp 0x2b01d630 */
    632     { RECOMP_REGS_OUT(); return; } /* end of function */
    633     RECOMP_REGS_OUT();
    634 }
    635 
    636 void sub_2B0AD1C8(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(0x2B0AD1C8u);
    645 
    646     goto L_2B0AD1C8;
    647 L_2B012D80:
    648     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    649     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    650     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    651     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    652     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    653     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    654     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    655     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    656     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    657     RECOMP_FLAGS_IN();
    658     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    659     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    660     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    661     _flag_k = FK_ADD;
    662     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    663     eax = 0; /* 0x2B012D96: xor eax, eax */
    664     _cf = 0;
    665     _flag_k = FK_TEST;
    666     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    667     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    668     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    669     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    670     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    671     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    672     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    673 L_2B0AD1C8:
    674     ecx = ebp + (-0x34); /* 0x2B0AD1C8: lea ecx, [ebp - 0x34] */
    675     RECOMP_BACKEDGE();
    676     goto L_2B012D80; /* 0x2B0AD1CB: jmp 0x2b012d80 */
    677     { RECOMP_REGS_OUT(); return; } /* end of function */
    678     RECOMP_REGS_OUT();
    679 }
    680 
    681 void sub_2B0AD1D0(void) {
    682     int _fpu_cmp = 0;
    683     uint32_t _cf = 0;
    684     int _df = 1;
    685     uint32_t _flag_k = FK_NONE;
    686     uint32_t _flag_a = 0, _flag_b = 0;
    687     uint32_t _itail_tgt = 0;
    688     RECOMP_REGS_LOCALS
    689     RECOMP_ENTER(0x2B0AD1D0u);
    690 
    691 L_2B0AD1D0:
    692     ecx = ebp + (-0xB0); /* 0x2B0AD1D0: lea ecx, [ebp - 0xb0] */
    693 L_2B0AD1D6:
    694     { _itail_tgt = (uint32_t)(MEM32(0x2B0B60D0)); goto _ljump; }
    695     { RECOMP_REGS_OUT(); return; } /* end of function */
    696   _ljump:
    697     switch (_itail_tgt) {
    698       case 0x2B0AD1D0u: goto L_2B0AD1D0;
    699       case 0x2B0AD1D6u: goto L_2B0AD1D6;
    700       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    701     }
    702     RECOMP_REGS_OUT();
    703 }
    704 
    705 void sub_2B0AD1DC(void) {
    706     int _fpu_cmp = 0;
    707     uint32_t _cf = 0;
    708     int _df = 1;
    709     uint32_t _flag_k = FK_NONE;
    710     uint32_t _flag_a = 0, _flag_b = 0;
    711     uint32_t _itail_tgt = 0;
    712     RECOMP_REGS_LOCALS
    713     RECOMP_ENTER(0x2B0AD1DCu);
    714 
    715     goto L_2B0AD1DC;
    716 L_2B012D80:
    717     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    718     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    719     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    720     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    721     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    722     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    723     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    724     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    725     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    726     RECOMP_FLAGS_IN();
    727     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    728     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    729     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    730     _flag_k = FK_ADD;
    731     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    732     eax = 0; /* 0x2B012D96: xor eax, eax */
    733     _cf = 0;
    734     _flag_k = FK_TEST;
    735     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    736     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    737     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    738     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    739     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    740     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    741     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    742 L_2B0AD1DC:
    743     ecx = ebp + (-0x50); /* 0x2B0AD1DC: lea ecx, [ebp - 0x50] */
    744     RECOMP_BACKEDGE();
    745     goto L_2B012D80; /* 0x2B0AD1DF: jmp 0x2b012d80 */
    746     { RECOMP_REGS_OUT(); return; } /* end of function */
    747     RECOMP_REGS_OUT();
    748 }
    749 
    750 void sub_2B0AD1E4(void) {
    751     int _fpu_cmp = 0;
    752     uint32_t _cf = 0;
    753     int _df = 1;
    754     uint32_t _flag_k = FK_NONE;
    755     uint32_t _flag_a = 0, _flag_b = 0;
    756     uint32_t _itail_tgt = 0;
    757     RECOMP_REGS_LOCALS
    758     RECOMP_ENTER(0x2B0AD1E4u);
    759 
    760     goto L_2B0AD1E4;
    761 L_2B012D80:
    762     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    763     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    764     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    765     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    766     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    767     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    768     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    769     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    770     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    771     RECOMP_FLAGS_IN();
    772     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    773     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    774     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    775     _flag_k = FK_ADD;
    776     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    777     eax = 0; /* 0x2B012D96: xor eax, eax */
    778     _cf = 0;
    779     _flag_k = FK_TEST;
    780     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    781     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    782     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    783     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    784     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    785     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    786     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    787 L_2B0AD1E4:
    788     ecx = ebp + (-0x24); /* 0x2B0AD1E4: lea ecx, [ebp - 0x24] */
    789     RECOMP_BACKEDGE();
    790     goto L_2B012D80; /* 0x2B0AD1E7: jmp 0x2b012d80 */
    791     { RECOMP_REGS_OUT(); return; } /* end of function */
    792     RECOMP_REGS_OUT();
    793 }
    794 
    795 void sub_2B0AD1EC(void) {
    796     int _fpu_cmp = 0;
    797     uint32_t _cf = 0;
    798     int _df = 1;
    799     uint32_t _flag_k = FK_NONE;
    800     uint32_t _flag_a = 0, _flag_b = 0;
    801     uint32_t _itail_tgt = 0;
    802     RECOMP_REGS_LOCALS
    803     RECOMP_ENTER(0x2B0AD1ECu);
    804 
    805     goto L_2B0AD1EC;
    806 L_2B0AB218:
    807     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
    808 L_2B0AD1EC:
    809     eax = 0x2B0BA338u; /* 0x2B0AD1EC: mov eax, 0x2b0ba338 */
    810 L_2B0AD1F1:
    811     RECOMP_BACKEDGE();
    812     goto L_2B0AB218; /* 0x2B0AD1F1: jmp 0x2b0ab218 */
    813     { RECOMP_REGS_OUT(); return; } /* end of function */
    814   _ljump:
    815     switch (_itail_tgt) {
    816       case 0x2B0AB218u: goto L_2B0AB218;
    817       case 0x2B0AD1ECu: goto L_2B0AD1EC;
    818       case 0x2B0AD1F1u: goto L_2B0AD1F1;
    819       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
    820     }
    821     RECOMP_REGS_OUT();
    822 }
    823 
    824 void sub_2B0AD200(void) {
    825     int _fpu_cmp = 0;
    826     uint32_t _cf = 0;
    827     int _df = 1;
    828     uint32_t _flag_k = FK_NONE;
    829     uint32_t _flag_a = 0, _flag_b = 0;
    830     uint32_t _itail_tgt = 0;
    831     RECOMP_REGS_LOCALS
    832     RECOMP_ENTER(0x2B0AD200u);
    833 
    834     goto L_2B0AD200;
    835 L_2B01D630:
    836     PUSH32(esp, ebp); /* 0x2B01D630: push ebp */
    837     ebp = esp; /* 0x2B01D631: mov ebp, esp */
    838     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    839     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    840     esp = esp - 8; /* 0x2B01D633: sub esp, 8 */
    841     _flag_k = FK_CMP;
    842     PUSH32(esp, ebx); /* 0x2B01D636: push ebx */
    843     PUSH32(esp, esi); /* 0x2B01D637: push esi */
    844     esi = MEM32(ecx + 0x4); /* 0x2B01D638: mov esi, dword ptr [ecx + 4] */
    845     PUSH32(esp, edi); /* 0x2B01D63B: push edi */
    846     edi = MEM32(ecx + 0x8); /* 0x2B01D63C: mov edi, dword ptr [ecx + 8] */
    847     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    848     ebx = 0; /* 0x2B01D63F: xor ebx, ebx */
    849     _cf = 0;
    850     _flag_k = FK_TEST;
    851     /* cmp esi, edi */ /* 0x2B01D641: cmp esi, edi */
    852     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    854     _flag_k = FK_CMP;
    855     MEM32(ebp + (-0x4)) = ecx; /* 0x2B01D643: mov dword ptr [ebp - 4], ecx */
    856     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D66A; /* 0x2B01D646: je 0x2b01d66a */
    857 L_2B01D648:
    858     eax = MEM32(esi + 0x4); /* 0x2B01D648: mov eax, dword ptr [esi + 4] */
    859     PUSH32(esp, eax); /* 0x2B01D64B: push eax */
    860     MEM32(ebp + (-0x8)) = eax; /* 0x2B01D64C: mov dword ptr [ebp - 8], eax */
    861     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D64F: call 0x2b0ab1ba */ /* not lifted */
    862     RECOMP_FLAGS_IN();
    863     MEM32(esi + 0x4) = ebx; /* 0x2B01D654: mov dword ptr [esi + 4], ebx */
    864     MEM32(esi + 0x8) = ebx; /* 0x2B01D657: mov dword ptr [esi + 8], ebx */
    865     MEM32(esi + 0xC) = ebx; /* 0x2B01D65A: mov dword ptr [esi + 0xc], ebx */
    866     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u);
    867     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    868     esi = esi + 0x10u; /* 0x2B01D65D: add esi, 0x10 */
    869     _flag_k = FK_ADD;
    870     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    871     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    872     esp = esp + 4; /* 0x2B01D660: add esp, 4 */
    873     _flag_k = FK_ADD;
    874     /* cmp esi, edi */ /* 0x2B01D663: cmp esi, edi */
    875     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
    876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    877     _flag_k = FK_CMP;
    878     RECOMP_BACKEDGE();
    879     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D648; /* 0x2B01D665: jne 0x2b01d648 */
    880 L_2B01D667:
    881     ecx = MEM32(ebp + (-0x4)); /* 0x2B01D667: mov ecx, dword ptr [ebp - 4] */
    882 L_2B01D66A:
    883     eax = MEM32(ecx + 0x4); /* 0x2B01D66A: mov eax, dword ptr [ecx + 4] */
    884     PUSH32(esp, eax); /* 0x2B01D66D: push eax */
    885     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D66E: call 0x2b0ab1ba */ /* not lifted */
    886     RECOMP_FLAGS_IN();
    887     eax = MEM32(ebp + (-0x4)); /* 0x2B01D673: mov eax, dword ptr [ebp - 4] */
    888     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    889     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    890     esp = esp + 4; /* 0x2B01D676: add esp, 4 */
    891     _flag_k = FK_ADD;
    892     edi = POP32_VAL(esp); /* 0x2B01D679: pop edi */
    893     esi = POP32_VAL(esp); /* 0x2B01D67A: pop esi */
    894     MEM32(eax + 0x4) = ebx; /* 0x2B01D67B: mov dword ptr [eax + 4], ebx */
    895     MEM32(eax + 0x8) = ebx; /* 0x2B01D67E: mov dword ptr [eax + 8], ebx */
    896     MEM32(eax + 0xC) = ebx; /* 0x2B01D681: mov dword ptr [eax + 0xc], ebx */
    897     ebx = POP32_VAL(esp); /* 0x2B01D684: pop ebx */
    898     esp = ebp; /* 0x2B01D685: mov esp, ebp */
    899     ebp = POP32_VAL(esp); /* 0x2B01D687: pop ebp */
    900     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D688: ret  */
    901 L_2B0AD200:
    902     ecx = ebp + (-0x58); /* 0x2B0AD200: lea ecx, [ebp - 0x58] */
    903     RECOMP_BACKEDGE();
    904     goto L_2B01D630; /* 0x2B0AD203: jmp 0x2b01d630 */
    905     { RECOMP_REGS_OUT(); return; } /* end of function */
    906     RECOMP_REGS_OUT();
    907 }
    908 
    909 void sub_2B0AD208(void) {
    910     int _fpu_cmp = 0;
    911     uint32_t _cf = 0;
    912     int _df = 1;
    913     uint32_t _flag_k = FK_NONE;
    914     uint32_t _flag_a = 0, _flag_b = 0;
    915     uint32_t _itail_tgt = 0;
    916     RECOMP_REGS_LOCALS
    917     RECOMP_ENTER(0x2B0AD208u);
    918 
    919     goto L_2B0AD208;
    920 L_2B012D80:
    921     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    922     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    923     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    924     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    925     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    926     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    927     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    928     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    929     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    930     RECOMP_FLAGS_IN();
    931     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    932     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    933     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    934     _flag_k = FK_ADD;
    935     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    936     eax = 0; /* 0x2B012D96: xor eax, eax */
    937     _cf = 0;
    938     _flag_k = FK_TEST;
    939     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    940     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    941     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    942     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    943     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    944     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    945     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    946 L_2B0AD208:
    947     ecx = ebp + (-0x48); /* 0x2B0AD208: lea ecx, [ebp - 0x48] */
    948     RECOMP_BACKEDGE();
    949     goto L_2B012D80; /* 0x2B0AD20B: jmp 0x2b012d80 */
    950     { RECOMP_REGS_OUT(); return; } /* end of function */
    951     RECOMP_REGS_OUT();
    952 }
    953 
    954 void sub_2B0AD210(void) {
    955     int _fpu_cmp = 0;
    956     uint32_t _cf = 0;
    957     int _df = 1;
    958     uint32_t _flag_k = FK_NONE;
    959     uint32_t _flag_a = 0, _flag_b = 0;
    960     uint32_t _itail_tgt = 0;
    961     RECOMP_REGS_LOCALS
    962     RECOMP_ENTER(0x2B0AD210u);
    963 
    964     goto L_2B0AD210;
    965 L_2B012D80:
    966     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
    967     ebp = esp; /* 0x2B012D81: mov ebp, esp */
    968     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
    969     PUSH32(esp, esi); /* 0x2B012D84: push esi */
    970     esi = ecx; /* 0x2B012D85: mov esi, ecx */
    971     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
    972     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
    973     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
    974     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
    975     RECOMP_FLAGS_IN();
    976     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    977     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    978     esp = esp + 4; /* 0x2B012D93: add esp, 4 */
    979     _flag_k = FK_ADD;
    980     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    981     eax = 0; /* 0x2B012D96: xor eax, eax */
    982     _cf = 0;
    983     _flag_k = FK_TEST;
    984     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
    985     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
    986     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
    987     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
    988     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
    989     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
    990     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
    991 L_2B0AD210:
    992     ecx = ebp + (-0x38); /* 0x2B0AD210: lea ecx, [ebp - 0x38] */
    993     RECOMP_BACKEDGE();
    994     goto L_2B012D80; /* 0x2B0AD213: jmp 0x2b012d80 */
    995     { RECOMP_REGS_OUT(); return; } /* end of function */
    996     RECOMP_REGS_OUT();
    997 }
    998 
    999 void sub_2B0AD218(void) {
   1000     int _fpu_cmp = 0;
   1001     uint32_t _cf = 0;
   1002     int _df = 1;
   1003     uint32_t _flag_k = FK_NONE;
   1004     uint32_t _flag_a = 0, _flag_b = 0;
   1005     uint32_t _itail_tgt = 0;
   1006     RECOMP_REGS_LOCALS
   1007     RECOMP_ENTER(0x2B0AD218u);
   1008 
   1009     goto L_2B0AD218;
   1010 L_2B012D80:
   1011     PUSH32(esp, ebp); /* 0x2B012D80: push ebp */
   1012     ebp = esp; /* 0x2B012D81: mov ebp, esp */
   1013     PUSH32(esp, ecx); /* 0x2B012D83: push ecx */
   1014     PUSH32(esp, esi); /* 0x2B012D84: push esi */
   1015     esi = ecx; /* 0x2B012D85: mov esi, ecx */
   1016     eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */
   1017     PUSH32(esp, eax); /* 0x2B012D8A: push eax */
   1018     MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */
   1019     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */
   1020     RECOMP_FLAGS_IN();
   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; /* 0x2B012D93: add esp, 4 */
   1024     _flag_k = FK_ADD;
   1025     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1026     eax = 0; /* 0x2B012D96: xor eax, eax */
   1027     _cf = 0;
   1028     _flag_k = FK_TEST;
   1029     MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */
   1030     MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */
   1031     MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */
   1032     esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */
   1033     esp = ebp; /* 0x2B012DA2: mov esp, ebp */
   1034     ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */
   1035     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret  */
   1036 L_2B0AD218:
   1037     ecx = ebp + (-0x28); /* 0x2B0AD218: lea ecx, [ebp - 0x28] */
   1038     RECOMP_BACKEDGE();
   1039     goto L_2B012D80; /* 0x2B0AD21B: jmp 0x2b012d80 */
   1040     { RECOMP_REGS_OUT(); return; } /* end of function */
   1041     RECOMP_REGS_OUT();
   1042 }
   1043 
   1044 void sub_2B0AD220(void) {
   1045     int _fpu_cmp = 0;
   1046     uint32_t _cf = 0;
   1047     int _df = 1;
   1048     uint32_t _flag_k = FK_NONE;
   1049     uint32_t _flag_a = 0, _flag_b = 0;
   1050     uint32_t _itail_tgt = 0;
   1051     RECOMP_REGS_LOCALS
   1052     RECOMP_ENTER(0x2B0AD220u);
   1053 
   1054     goto L_2B0AD220;
   1055 L_2B0AB218:
   1056     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
   1057 L_2B0AD220:
   1058     eax = 0x2B0BA380u; /* 0x2B0AD220: mov eax, 0x2b0ba380 */
   1059 L_2B0AD225:
   1060     RECOMP_BACKEDGE();
   1061     goto L_2B0AB218; /* 0x2B0AD225: jmp 0x2b0ab218 */
   1062     { RECOMP_REGS_OUT(); return; } /* end of function */
   1063   _ljump:
   1064     switch (_itail_tgt) {
   1065       case 0x2B0AB218u: goto L_2B0AB218;
   1066       case 0x2B0AD220u: goto L_2B0AD220;
   1067       case 0x2B0AD225u: goto L_2B0AD225;
   1068       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1069     }
   1070     RECOMP_REGS_OUT();
   1071 }
   1072 
   1073 void sub_2B0AD230(void) {
   1074     int _fpu_cmp = 0;
   1075     uint32_t _cf = 0;
   1076     int _df = 1;
   1077     uint32_t _flag_k = FK_NONE;
   1078     uint32_t _flag_a = 0, _flag_b = 0;
   1079     uint32_t _itail_tgt = 0;
   1080     RECOMP_REGS_LOCALS
   1081     RECOMP_ENTER(0x2B0AD230u);
   1082 
   1083 L_2B0AD230:
   1084     eax = MEM32(ebp + 0x8); /* 0x2B0AD230: mov eax, dword ptr [ebp + 8] */
   1085     PUSH32(esp, eax); /* 0x2B0AD233: push eax */
   1086     ecx = MEM32(ebp + (-0x10)); /* 0x2B0AD234: mov ecx, dword ptr [ebp - 0x10] */
   1087     PUSH32(esp, ecx); /* 0x2B0AD237: push ecx */
   1088     RECOMP_ICALL(0x2B0498B0u); /* 0x2B0AD238: call 0x2b0498b0 */ /* not lifted */
   1089     RECOMP_FLAGS_IN();
   1090     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1091     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1092     esp = esp + 8; /* 0x2B0AD23D: add esp, 8 */
   1093     _flag_k = FK_ADD;
   1094     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD240: ret  */
   1095     RECOMP_REGS_OUT();
   1096 }
   1097 
   1098 void sub_2B0AD241(void) {
   1099     int _fpu_cmp = 0;
   1100     uint32_t _cf = 0;
   1101     int _df = 1;
   1102     uint32_t _flag_k = FK_NONE;
   1103     uint32_t _flag_a = 0, _flag_b = 0;
   1104     uint32_t _itail_tgt = 0;
   1105     RECOMP_REGS_LOCALS
   1106     RECOMP_ENTER(0x2B0AD241u);
   1107 
   1108     goto L_2B0AD241;
   1109 L_2B0AB218:
   1110     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
   1111 L_2B0AD241:
   1112     eax = 0x2B0BA3C0u; /* 0x2B0AD241: mov eax, 0x2b0ba3c0 */
   1113 L_2B0AD246:
   1114     RECOMP_BACKEDGE();
   1115     goto L_2B0AB218; /* 0x2B0AD246: jmp 0x2b0ab218 */
   1116     { RECOMP_REGS_OUT(); return; } /* end of function */
   1117   _ljump:
   1118     switch (_itail_tgt) {
   1119       case 0x2B0AB218u: goto L_2B0AB218;
   1120       case 0x2B0AD241u: goto L_2B0AD241;
   1121       case 0x2B0AD246u: goto L_2B0AD246;
   1122       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1123     }
   1124     RECOMP_REGS_OUT();
   1125 }
   1126 
   1127 void sub_2B0AD250(void) {
   1128     int _fpu_cmp = 0;
   1129     uint32_t _cf = 0;
   1130     int _df = 1;
   1131     uint32_t _flag_k = FK_NONE;
   1132     uint32_t _flag_a = 0, _flag_b = 0;
   1133     uint32_t _itail_tgt = 0;
   1134     RECOMP_REGS_LOCALS
   1135     RECOMP_ENTER(0x2B0AD250u);
   1136 
   1137     goto L_2B0AD250;
   1138 L_2B038470:
   1139     PUSH32(esp, esi); /* 0x2B038470: push esi */
   1140     esi = ecx; /* 0x2B038471: mov esi, ecx */
   1141     ecx = MEM32(esi + 0xC); /* 0x2B038473: mov ecx, dword ptr [esi + 0xc] */
   1142     /* test ecx, ecx */ /* 0x2B038476: test ecx, ecx */
   1143     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1144     _cf = 0;
   1145     _flag_k = FK_TEST;
   1146     PUSH32(esp, edi); /* 0x2B038478: push edi */
   1147     MEM32(esi) = 0x2B0B63DCu; /* 0x2B038479: mov dword ptr [esi], 0x2b0b63dc */
   1148     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038487; /* 0x2B03847F: je 0x2b038487 */
   1149 L_2B038481:
   1150     eax = MEM32(ecx); /* 0x2B038481: mov eax, dword ptr [ecx] */
   1151     PUSH32(esp, 1); /* 0x2B038483: push 1 */
   1152     RECOMP_ICALL(MEM32(eax)); /* 0x2B038485: call dword ptr [eax] */
   1153     RECOMP_FLAGS_IN();
   1154 L_2B038487:
   1155     edi = MEM32(esi + 0x8); /* 0x2B038487: mov edi, dword ptr [esi + 8] */
   1156     /* test edi, edi */ /* 0x2B03848A: test edi, edi */
   1157     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1158     _cf = 0;
   1159     _flag_k = FK_TEST;
   1160     PUSH32(esp, ebx); /* 0x2B03848C: push ebx */
   1161     ebx = MEM32(0x2B0B5BC4); /* 0x2B03848D: mov ebx, dword ptr [0x2b0b5bc4] */
   1162     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384A2; /* 0x2B038493: je 0x2b0384a2 */
   1163 L_2B038495:
   1164     ecx = edi; /* 0x2B038495: mov ecx, edi */
   1165     RECOMP_ICALL(ebx); /* 0x2B038497: call ebx */
   1166     RECOMP_FLAGS_IN();
   1167     PUSH32(esp, edi); /* 0x2B038499: push edi */
   1168     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03849A: call 0x2b0ab1ba */ /* not lifted */
   1169     RECOMP_FLAGS_IN();
   1170     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1171     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1172     esp = esp + 4; /* 0x2B03849F: add esp, 4 */
   1173     _flag_k = FK_ADD;
   1174 L_2B0384A2:
   1175     ecx = MEM32(esi + 0x14); /* 0x2B0384A2: mov ecx, dword ptr [esi + 0x14] */
   1176     /* test ecx, ecx */ /* 0x2B0384A5: test ecx, ecx */
   1177     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1178     _cf = 0;
   1179     _flag_k = FK_TEST;
   1180     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384AF; /* 0x2B0384A7: je 0x2b0384af */
   1181 L_2B0384A9:
   1182     edx = MEM32(ecx); /* 0x2B0384A9: mov edx, dword ptr [ecx] */
   1183     PUSH32(esp, 1); /* 0x2B0384AB: push 1 */
   1184     RECOMP_ICALL(MEM32(edx)); /* 0x2B0384AD: call dword ptr [edx] */
   1185     RECOMP_FLAGS_IN();
   1186 L_2B0384AF:
   1187     edi = MEM32(esi + 0x10); /* 0x2B0384AF: mov edi, dword ptr [esi + 0x10] */
   1188     /* test edi, edi */ /* 0x2B0384B2: test edi, edi */
   1189     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1190     _cf = 0;
   1191     _flag_k = FK_TEST;
   1192     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384C3; /* 0x2B0384B4: je 0x2b0384c3 */
   1193 L_2B0384B6:
   1194     ecx = edi; /* 0x2B0384B6: mov ecx, edi */
   1195     RECOMP_ICALL(ebx); /* 0x2B0384B8: call ebx */
   1196     RECOMP_FLAGS_IN();
   1197     PUSH32(esp, edi); /* 0x2B0384BA: push edi */
   1198     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384BB: call 0x2b0ab1ba */ /* not lifted */
   1199     RECOMP_FLAGS_IN();
   1200     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1201     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1202     esp = esp + 4; /* 0x2B0384C0: add esp, 4 */
   1203     _flag_k = FK_ADD;
   1204 L_2B0384C3:
   1205     ecx = MEM32(esi + 0x1C); /* 0x2B0384C3: mov ecx, dword ptr [esi + 0x1c] */
   1206     /* test ecx, ecx */ /* 0x2B0384C6: test ecx, ecx */
   1207     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1208     _cf = 0;
   1209     _flag_k = FK_TEST;
   1210     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384D0; /* 0x2B0384C8: je 0x2b0384d0 */
   1211 L_2B0384CA:
   1212     eax = MEM32(ecx); /* 0x2B0384CA: mov eax, dword ptr [ecx] */
   1213     PUSH32(esp, 1); /* 0x2B0384CC: push 1 */
   1214     RECOMP_ICALL(MEM32(eax)); /* 0x2B0384CE: call dword ptr [eax] */
   1215     RECOMP_FLAGS_IN();
   1216 L_2B0384D0:
   1217     edi = MEM32(esi + 0x18); /* 0x2B0384D0: mov edi, dword ptr [esi + 0x18] */
   1218     /* test edi, edi */ /* 0x2B0384D3: test edi, edi */
   1219     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1220     _cf = 0;
   1221     _flag_k = FK_TEST;
   1222     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384E4; /* 0x2B0384D5: je 0x2b0384e4 */
   1223 L_2B0384D7:
   1224     ecx = edi; /* 0x2B0384D7: mov ecx, edi */
   1225     RECOMP_ICALL(ebx); /* 0x2B0384D9: call ebx */
   1226     RECOMP_FLAGS_IN();
   1227     PUSH32(esp, edi); /* 0x2B0384DB: push edi */
   1228     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384DC: call 0x2b0ab1ba */ /* not lifted */
   1229     RECOMP_FLAGS_IN();
   1230     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1231     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1232     esp = esp + 4; /* 0x2B0384E1: add esp, 4 */
   1233     _flag_k = FK_ADD;
   1234 L_2B0384E4:
   1235     edi = MEM32(esi + 0x24); /* 0x2B0384E4: mov edi, dword ptr [esi + 0x24] */
   1236     /* test edi, edi */ /* 0x2B0384E7: test edi, edi */
   1237     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1238     _cf = 0;
   1239     _flag_k = FK_TEST;
   1240     ebx = POP32_VAL(esp); /* 0x2B0384E9: pop ebx */
   1241     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384FD; /* 0x2B0384EA: je 0x2b0384fd */
   1242 L_2B0384EC:
   1243     ecx = edi; /* 0x2B0384EC: mov ecx, edi */
   1244     RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B0384EE: call dword ptr [0x2b0b5b2c] */
   1245     RECOMP_FLAGS_IN();
   1246     PUSH32(esp, edi); /* 0x2B0384F4: push edi */
   1247     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384F5: call 0x2b0ab1ba */ /* not lifted */
   1248     RECOMP_FLAGS_IN();
   1249     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1250     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1251     esp = esp + 4; /* 0x2B0384FA: add esp, 4 */
   1252     _flag_k = FK_ADD;
   1253 L_2B0384FD:
   1254     edi = MEM32(esi + 0x20); /* 0x2B0384FD: mov edi, dword ptr [esi + 0x20] */
   1255     /* test edi, edi */ /* 0x2B038500: test edi, edi */
   1256     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1257     _cf = 0;
   1258     _flag_k = FK_TEST;
   1259     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038515; /* 0x2B038502: je 0x2b038515 */
   1260 L_2B038504:
   1261     ecx = edi; /* 0x2B038504: mov ecx, edi */
   1262     RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B038506: call dword ptr [0x2b0b5b30] */
   1263     RECOMP_FLAGS_IN();
   1264     PUSH32(esp, edi); /* 0x2B03850C: push edi */
   1265     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03850D: call 0x2b0ab1ba */ /* not lifted */
   1266     RECOMP_FLAGS_IN();
   1267     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1268     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1269     esp = esp + 4; /* 0x2B038512: add esp, 4 */
   1270     _flag_k = FK_ADD;
   1271 L_2B038515:
   1272     ecx = esi; /* 0x2B038515: mov ecx, esi */
   1273     RECOMP_ICALL(0x2B038550u); /* 0x2B038517: call 0x2b038550 */ /* not lifted */
   1274     RECOMP_FLAGS_IN();
   1275     edi = MEM32(esi + 0x4); /* 0x2B03851C: mov edi, dword ptr [esi + 4] */
   1276     /* test edi, edi */ /* 0x2B03851F: test edi, edi */
   1277     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1278     _cf = 0;
   1279     _flag_k = FK_TEST;
   1280     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038534; /* 0x2B038521: je 0x2b038534 */
   1281 L_2B038523:
   1282     ecx = edi; /* 0x2B038523: mov ecx, edi */
   1283     RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B038525: call dword ptr [0x2b0b5a68] */
   1284     RECOMP_FLAGS_IN();
   1285     PUSH32(esp, edi); /* 0x2B03852B: push edi */
   1286     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03852C: call 0x2b0ab1ba */ /* not lifted */
   1287     RECOMP_FLAGS_IN();
   1288     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1289     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1290     esp = esp + 4; /* 0x2B038531: add esp, 4 */
   1291     _flag_k = FK_ADD;
   1292 L_2B038534:
   1293     ecx = esi; /* 0x2B038534: mov ecx, esi */
   1294     RECOMP_ICALL(0x2B038540u); /* 0x2B038536: call 0x2b038540 */ /* not lifted */
   1295     RECOMP_FLAGS_IN();
   1296     edi = POP32_VAL(esp); /* 0x2B03853B: pop edi */
   1297     esi = POP32_VAL(esp); /* 0x2B03853C: pop esi */
   1298     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03853D: ret  */
   1299 L_2B0AD250:
   1300     ecx = MEM32(ebp + (-0x10)); /* 0x2B0AD250: mov ecx, dword ptr [ebp - 0x10] */
   1301     RECOMP_BACKEDGE();
   1302     goto L_2B038470; /* 0x2B0AD253: jmp 0x2b038470 */
   1303     { RECOMP_REGS_OUT(); return; } /* end of function */
   1304     RECOMP_REGS_OUT();
   1305 }
   1306 
   1307 void sub_2B0AD258(void) {
   1308     int _fpu_cmp = 0;
   1309     uint32_t _cf = 0;
   1310     int _df = 1;
   1311     uint32_t _flag_k = FK_NONE;
   1312     uint32_t _flag_a = 0, _flag_b = 0;
   1313     uint32_t _itail_tgt = 0;
   1314     RECOMP_REGS_LOCALS
   1315     RECOMP_ENTER(0x2B0AD258u);
   1316 
   1317     goto L_2B0AD258;
   1318 L_2B0AB218:
   1319     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
   1320 L_2B0AD258:
   1321     eax = 0x2B0BA3E8u; /* 0x2B0AD258: mov eax, 0x2b0ba3e8 */
   1322 L_2B0AD25D:
   1323     RECOMP_BACKEDGE();
   1324     goto L_2B0AB218; /* 0x2B0AD25D: jmp 0x2b0ab218 */
   1325     { RECOMP_REGS_OUT(); return; } /* end of function */
   1326   _ljump:
   1327     switch (_itail_tgt) {
   1328       case 0x2B0AB218u: goto L_2B0AB218;
   1329       case 0x2B0AD258u: goto L_2B0AD258;
   1330       case 0x2B0AD25Du: goto L_2B0AD25D;
   1331       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1332     }
   1333     RECOMP_REGS_OUT();
   1334 }
   1335 
   1336 void sub_2B0AD270(void) {
   1337     int _fpu_cmp = 0;
   1338     uint32_t _cf = 0;
   1339     int _df = 1;
   1340     uint32_t _flag_k = FK_NONE;
   1341     uint32_t _flag_a = 0, _flag_b = 0;
   1342     uint32_t _itail_tgt = 0;
   1343     RECOMP_REGS_LOCALS
   1344     RECOMP_ENTER(0x2B0AD270u);
   1345 
   1346     goto L_2B0AD270;
   1347 L_2B038470:
   1348     PUSH32(esp, esi); /* 0x2B038470: push esi */
   1349     esi = ecx; /* 0x2B038471: mov esi, ecx */
   1350     ecx = MEM32(esi + 0xC); /* 0x2B038473: mov ecx, dword ptr [esi + 0xc] */
   1351     /* test ecx, ecx */ /* 0x2B038476: test ecx, ecx */
   1352     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1353     _cf = 0;
   1354     _flag_k = FK_TEST;
   1355     PUSH32(esp, edi); /* 0x2B038478: push edi */
   1356     MEM32(esi) = 0x2B0B63DCu; /* 0x2B038479: mov dword ptr [esi], 0x2b0b63dc */
   1357     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038487; /* 0x2B03847F: je 0x2b038487 */
   1358 L_2B038481:
   1359     eax = MEM32(ecx); /* 0x2B038481: mov eax, dword ptr [ecx] */
   1360     PUSH32(esp, 1); /* 0x2B038483: push 1 */
   1361     RECOMP_ICALL(MEM32(eax)); /* 0x2B038485: call dword ptr [eax] */
   1362     RECOMP_FLAGS_IN();
   1363 L_2B038487:
   1364     edi = MEM32(esi + 0x8); /* 0x2B038487: mov edi, dword ptr [esi + 8] */
   1365     /* test edi, edi */ /* 0x2B03848A: test edi, edi */
   1366     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1367     _cf = 0;
   1368     _flag_k = FK_TEST;
   1369     PUSH32(esp, ebx); /* 0x2B03848C: push ebx */
   1370     ebx = MEM32(0x2B0B5BC4); /* 0x2B03848D: mov ebx, dword ptr [0x2b0b5bc4] */
   1371     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384A2; /* 0x2B038493: je 0x2b0384a2 */
   1372 L_2B038495:
   1373     ecx = edi; /* 0x2B038495: mov ecx, edi */
   1374     RECOMP_ICALL(ebx); /* 0x2B038497: call ebx */
   1375     RECOMP_FLAGS_IN();
   1376     PUSH32(esp, edi); /* 0x2B038499: push edi */
   1377     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03849A: call 0x2b0ab1ba */ /* not lifted */
   1378     RECOMP_FLAGS_IN();
   1379     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1380     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1381     esp = esp + 4; /* 0x2B03849F: add esp, 4 */
   1382     _flag_k = FK_ADD;
   1383 L_2B0384A2:
   1384     ecx = MEM32(esi + 0x14); /* 0x2B0384A2: mov ecx, dword ptr [esi + 0x14] */
   1385     /* test ecx, ecx */ /* 0x2B0384A5: test ecx, ecx */
   1386     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1387     _cf = 0;
   1388     _flag_k = FK_TEST;
   1389     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384AF; /* 0x2B0384A7: je 0x2b0384af */
   1390 L_2B0384A9:
   1391     edx = MEM32(ecx); /* 0x2B0384A9: mov edx, dword ptr [ecx] */
   1392     PUSH32(esp, 1); /* 0x2B0384AB: push 1 */
   1393     RECOMP_ICALL(MEM32(edx)); /* 0x2B0384AD: call dword ptr [edx] */
   1394     RECOMP_FLAGS_IN();
   1395 L_2B0384AF:
   1396     edi = MEM32(esi + 0x10); /* 0x2B0384AF: mov edi, dword ptr [esi + 0x10] */
   1397     /* test edi, edi */ /* 0x2B0384B2: test edi, edi */
   1398     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1399     _cf = 0;
   1400     _flag_k = FK_TEST;
   1401     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384C3; /* 0x2B0384B4: je 0x2b0384c3 */
   1402 L_2B0384B6:
   1403     ecx = edi; /* 0x2B0384B6: mov ecx, edi */
   1404     RECOMP_ICALL(ebx); /* 0x2B0384B8: call ebx */
   1405     RECOMP_FLAGS_IN();
   1406     PUSH32(esp, edi); /* 0x2B0384BA: push edi */
   1407     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384BB: call 0x2b0ab1ba */ /* not lifted */
   1408     RECOMP_FLAGS_IN();
   1409     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1410     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1411     esp = esp + 4; /* 0x2B0384C0: add esp, 4 */
   1412     _flag_k = FK_ADD;
   1413 L_2B0384C3:
   1414     ecx = MEM32(esi + 0x1C); /* 0x2B0384C3: mov ecx, dword ptr [esi + 0x1c] */
   1415     /* test ecx, ecx */ /* 0x2B0384C6: test ecx, ecx */
   1416     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1417     _cf = 0;
   1418     _flag_k = FK_TEST;
   1419     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384D0; /* 0x2B0384C8: je 0x2b0384d0 */
   1420 L_2B0384CA:
   1421     eax = MEM32(ecx); /* 0x2B0384CA: mov eax, dword ptr [ecx] */
   1422     PUSH32(esp, 1); /* 0x2B0384CC: push 1 */
   1423     RECOMP_ICALL(MEM32(eax)); /* 0x2B0384CE: call dword ptr [eax] */
   1424     RECOMP_FLAGS_IN();
   1425 L_2B0384D0:
   1426     edi = MEM32(esi + 0x18); /* 0x2B0384D0: mov edi, dword ptr [esi + 0x18] */
   1427     /* test edi, edi */ /* 0x2B0384D3: test edi, edi */
   1428     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1429     _cf = 0;
   1430     _flag_k = FK_TEST;
   1431     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384E4; /* 0x2B0384D5: je 0x2b0384e4 */
   1432 L_2B0384D7:
   1433     ecx = edi; /* 0x2B0384D7: mov ecx, edi */
   1434     RECOMP_ICALL(ebx); /* 0x2B0384D9: call ebx */
   1435     RECOMP_FLAGS_IN();
   1436     PUSH32(esp, edi); /* 0x2B0384DB: push edi */
   1437     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384DC: call 0x2b0ab1ba */ /* not lifted */
   1438     RECOMP_FLAGS_IN();
   1439     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1440     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1441     esp = esp + 4; /* 0x2B0384E1: add esp, 4 */
   1442     _flag_k = FK_ADD;
   1443 L_2B0384E4:
   1444     edi = MEM32(esi + 0x24); /* 0x2B0384E4: mov edi, dword ptr [esi + 0x24] */
   1445     /* test edi, edi */ /* 0x2B0384E7: test edi, edi */
   1446     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1447     _cf = 0;
   1448     _flag_k = FK_TEST;
   1449     ebx = POP32_VAL(esp); /* 0x2B0384E9: pop ebx */
   1450     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384FD; /* 0x2B0384EA: je 0x2b0384fd */
   1451 L_2B0384EC:
   1452     ecx = edi; /* 0x2B0384EC: mov ecx, edi */
   1453     RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B0384EE: call dword ptr [0x2b0b5b2c] */
   1454     RECOMP_FLAGS_IN();
   1455     PUSH32(esp, edi); /* 0x2B0384F4: push edi */
   1456     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384F5: call 0x2b0ab1ba */ /* not lifted */
   1457     RECOMP_FLAGS_IN();
   1458     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1459     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1460     esp = esp + 4; /* 0x2B0384FA: add esp, 4 */
   1461     _flag_k = FK_ADD;
   1462 L_2B0384FD:
   1463     edi = MEM32(esi + 0x20); /* 0x2B0384FD: mov edi, dword ptr [esi + 0x20] */
   1464     /* test edi, edi */ /* 0x2B038500: test edi, edi */
   1465     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1466     _cf = 0;
   1467     _flag_k = FK_TEST;
   1468     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038515; /* 0x2B038502: je 0x2b038515 */
   1469 L_2B038504:
   1470     ecx = edi; /* 0x2B038504: mov ecx, edi */
   1471     RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B038506: call dword ptr [0x2b0b5b30] */
   1472     RECOMP_FLAGS_IN();
   1473     PUSH32(esp, edi); /* 0x2B03850C: push edi */
   1474     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03850D: call 0x2b0ab1ba */ /* not lifted */
   1475     RECOMP_FLAGS_IN();
   1476     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1477     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1478     esp = esp + 4; /* 0x2B038512: add esp, 4 */
   1479     _flag_k = FK_ADD;
   1480 L_2B038515:
   1481     ecx = esi; /* 0x2B038515: mov ecx, esi */
   1482     RECOMP_ICALL(0x2B038550u); /* 0x2B038517: call 0x2b038550 */ /* not lifted */
   1483     RECOMP_FLAGS_IN();
   1484     edi = MEM32(esi + 0x4); /* 0x2B03851C: mov edi, dword ptr [esi + 4] */
   1485     /* test edi, edi */ /* 0x2B03851F: test edi, edi */
   1486     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1487     _cf = 0;
   1488     _flag_k = FK_TEST;
   1489     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038534; /* 0x2B038521: je 0x2b038534 */
   1490 L_2B038523:
   1491     ecx = edi; /* 0x2B038523: mov ecx, edi */
   1492     RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B038525: call dword ptr [0x2b0b5a68] */
   1493     RECOMP_FLAGS_IN();
   1494     PUSH32(esp, edi); /* 0x2B03852B: push edi */
   1495     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03852C: call 0x2b0ab1ba */ /* not lifted */
   1496     RECOMP_FLAGS_IN();
   1497     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1498     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1499     esp = esp + 4; /* 0x2B038531: add esp, 4 */
   1500     _flag_k = FK_ADD;
   1501 L_2B038534:
   1502     ecx = esi; /* 0x2B038534: mov ecx, esi */
   1503     RECOMP_ICALL(0x2B038540u); /* 0x2B038536: call 0x2b038540 */ /* not lifted */
   1504     RECOMP_FLAGS_IN();
   1505     edi = POP32_VAL(esp); /* 0x2B03853B: pop edi */
   1506     esi = POP32_VAL(esp); /* 0x2B03853C: pop esi */
   1507     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03853D: ret  */
   1508 L_2B0AD270:
   1509     ecx = MEM32(ebp + (-0x7C)); /* 0x2B0AD270: mov ecx, dword ptr [ebp - 0x7c] */
   1510     RECOMP_BACKEDGE();
   1511     goto L_2B038470; /* 0x2B0AD273: jmp 0x2b038470 */
   1512     { RECOMP_REGS_OUT(); return; } /* end of function */
   1513     RECOMP_REGS_OUT();
   1514 }
   1515 
   1516 void sub_2B0AD278(void) {
   1517     int _fpu_cmp = 0;
   1518     uint32_t _cf = 0;
   1519     int _df = 1;
   1520     uint32_t _flag_k = FK_NONE;
   1521     uint32_t _flag_a = 0, _flag_b = 0;
   1522     uint32_t _itail_tgt = 0;
   1523     RECOMP_REGS_LOCALS
   1524     RECOMP_ENTER(0x2B0AD278u);
   1525 
   1526     goto L_2B0AD278;
   1527 L_2B01F5C0:
   1528     PUSH32(esp, ebp); /* 0x2B01F5C0: push ebp */
   1529     ebp = esp; /* 0x2B01F5C1: mov ebp, esp */
   1530     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1531     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1532     esp = esp - 8; /* 0x2B01F5C3: sub esp, 8 */
   1533     _flag_k = FK_CMP;
   1534     PUSH32(esp, ebx); /* 0x2B01F5C6: push ebx */
   1535     PUSH32(esp, esi); /* 0x2B01F5C7: push esi */
   1536     esi = ecx; /* 0x2B01F5C8: mov esi, ecx */
   1537     ecx = MEM32(esi + 0x10); /* 0x2B01F5CA: mov ecx, dword ptr [esi + 0x10] */
   1538     /* test ecx, ecx */ /* 0x2B01F5CD: test ecx, ecx */
   1539     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1540     _cf = 0;
   1541     _flag_k = FK_TEST;
   1542     PUSH32(esp, edi); /* 0x2B01F5CF: push edi */
   1543     edi = MEM32(esi + 0x4); /* 0x2B01F5D0: mov edi, dword ptr [esi + 4] */
   1544     eax = MEM32(edi); /* 0x2B01F5D3: mov eax, dword ptr [edi] */
   1545     MEM32(ebp + (-0x4)) = eax; /* 0x2B01F5D5: mov dword ptr [ebp - 4], eax */
   1546     if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5D8: je 0x2b01f63f */
   1547 L_2B01F5DA:
   1548     ecx = eax; /* 0x2B01F5DA: mov ecx, eax */
   1549     /* cmp eax, ecx */ /* 0x2B01F5DC: cmp eax, ecx */
   1550     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1551     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1552     _flag_k = FK_CMP;
   1553     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5DE: jne 0x2b01f63f */
   1554 L_2B01F5E0:
   1555     /* cmp edi, edi */ /* 0x2B01F5E0: cmp edi, edi */
   1556     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   1557     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1558     _flag_k = FK_CMP;
   1559     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5E2: jne 0x2b01f63f */
   1560 L_2B01F5E4:
   1561     ebx = MEM32(edi + 0x4); /* 0x2B01F5E4: mov ebx, dword ptr [edi + 4] */
   1562     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B01F5E7: cmp ebx, dword ptr [esi + 8] */
   1563     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1564     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1565     _flag_k = FK_CMP;
   1566     edi = ebx; /* 0x2B01F5EA: mov edi, ebx */
   1567     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F617; /* 0x2B01F5EC: je 0x2b01f617 */
   1568 L_2B01F5EE:
   1569     eax = MEM32(edi + 0x8); /* 0x2B01F5EE: mov eax, dword ptr [edi + 8] */
   1570     PUSH32(esp, eax); /* 0x2B01F5F1: push eax */
   1571     ecx = esi; /* 0x2B01F5F2: mov ecx, esi */
   1572     RECOMP_ICALL(0x2B021560u); /* 0x2B01F5F4: call 0x2b021560 */ /* not lifted */
   1573     RECOMP_FLAGS_IN();
   1574     edi = MEM32(edi); /* 0x2B01F5F9: mov edi, dword ptr [edi] */
   1575     PUSH32(esp, 0); /* 0x2B01F5FB: push 0 */
   1576     ecx = ebx + 0xC; /* 0x2B01F5FD: lea ecx, [ebx + 0xc] */
   1577     RECOMP_ICALL(0x2B021930u); /* 0x2B01F600: call 0x2b021930 */ /* not lifted */
   1578     RECOMP_FLAGS_IN();
   1579     PUSH32(esp, ebx); /* 0x2B01F605: push ebx */
   1580     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F606: call 0x2b0ab1ba */ /* not lifted */
   1581     RECOMP_FLAGS_IN();
   1582     eax = MEM32(esi + 0x8); /* 0x2B01F60B: mov eax, dword ptr [esi + 8] */
   1583     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1584     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1585     esp = esp + 4; /* 0x2B01F60E: add esp, 4 */
   1586     _flag_k = FK_ADD;
   1587     /* cmp edi, eax */ /* 0x2B01F611: cmp edi, eax */
   1588     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1589     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1590     _flag_k = FK_CMP;
   1591     ebx = edi; /* 0x2B01F613: mov ebx, edi */
   1592     RECOMP_BACKEDGE();
   1593     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F5EE; /* 0x2B01F615: jne 0x2b01f5ee */
   1594 L_2B01F617:
   1595     ecx = MEM32(esi + 0x4); /* 0x2B01F617: mov ecx, dword ptr [esi + 4] */
   1596     edx = MEM32(esi + 0x8); /* 0x2B01F61A: mov edx, dword ptr [esi + 8] */
   1597     MEM32(ecx + 0x4) = edx; /* 0x2B01F61D: mov dword ptr [ecx + 4], edx */
   1598     eax = MEM32(esi + 0x4); /* 0x2B01F620: mov eax, dword ptr [esi + 4] */
   1599     MEM32(esi + 0x10) = 0; /* 0x2B01F623: mov dword ptr [esi + 0x10], 0 */
   1600     MEM32(eax) = eax; /* 0x2B01F62A: mov dword ptr [eax], eax */
   1601     eax = MEM32(esi + 0x4); /* 0x2B01F62C: mov eax, dword ptr [esi + 4] */
   1602     MEM32(eax + 0x8) = eax; /* 0x2B01F62F: mov dword ptr [eax + 8], eax */
   1603     eax = ebp + (-0x8); /* 0x2B01F632: lea eax, [ebp - 8] */
   1604     PUSH32(esp, eax); /* 0x2B01F635: push eax */
   1605     ecx = esi; /* 0x2B01F636: mov ecx, esi */
   1606     RECOMP_ICALL(0x2B018B60u); /* 0x2B01F638: call 0x2b018b60 */ /* not lifted */
   1607     RECOMP_FLAGS_IN();
   1608     goto L_2B01F660; /* 0x2B01F63D: jmp 0x2b01f660 */
   1609 L_2B01F63F:
   1610     /* cmp eax, edi */ /* 0x2B01F63F: cmp eax, edi */
   1611     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1613     _flag_k = FK_CMP;
   1614     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F660; /* 0x2B01F641: je 0x2b01f660 */
   1615 L_2B01F643:
   1616     ecx = ebp + (-0x4); /* 0x2B01F643: lea ecx, [ebp - 4] */
   1617     ebx = eax; /* 0x2B01F646: mov ebx, eax */
   1618     RECOMP_ICALL(0x2B021870u); /* 0x2B01F648: call 0x2b021870 */ /* not lifted */
   1619     RECOMP_FLAGS_IN();
   1620     PUSH32(esp, ebx); /* 0x2B01F64D: push ebx */
   1621     ecx = ebp + (-0x8); /* 0x2B01F64E: lea ecx, [ebp - 8] */
   1622     PUSH32(esp, ecx); /* 0x2B01F651: push ecx */
   1623     ecx = esi; /* 0x2B01F652: mov ecx, esi */
   1624     RECOMP_ICALL(0x2B021100u); /* 0x2B01F654: call 0x2b021100 */ /* not lifted */
   1625     RECOMP_FLAGS_IN();
   1626     eax = MEM32(ebp + (-0x4)); /* 0x2B01F659: mov eax, dword ptr [ebp - 4] */
   1627     /* cmp eax, edi */ /* 0x2B01F65C: cmp eax, edi */
   1628     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   1629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1630     _flag_k = FK_CMP;
   1631     RECOMP_BACKEDGE();
   1632     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F643; /* 0x2B01F65E: jne 0x2b01f643 */
   1633 L_2B01F660:
   1634     edx = MEM32(esi + 0x4); /* 0x2B01F660: mov edx, dword ptr [esi + 4] */
   1635     PUSH32(esp, edx); /* 0x2B01F663: push edx */
   1636     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F664: call 0x2b0ab1ba */ /* not lifted */
   1637     RECOMP_FLAGS_IN();
   1638     eax = MEM32(esi + 0x8); /* 0x2B01F669: mov eax, dword ptr [esi + 8] */
   1639     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1640     edi = 0; /* 0x2B01F66C: xor edi, edi */
   1641     _cf = 0;
   1642     _flag_k = FK_TEST;
   1643     PUSH32(esp, eax); /* 0x2B01F66E: push eax */
   1644     MEM32(esi + 0x4) = edi; /* 0x2B01F66F: mov dword ptr [esi + 4], edi */
   1645     MEM32(esi + 0x10) = edi; /* 0x2B01F672: mov dword ptr [esi + 0x10], edi */
   1646     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F675: call 0x2b0ab1ba */ /* not lifted */
   1647     RECOMP_FLAGS_IN();
   1648     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1649     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1650     esp = esp + 8; /* 0x2B01F67A: add esp, 8 */
   1651     _flag_k = FK_ADD;
   1652     MEM32(esi + 0x8) = edi; /* 0x2B01F67D: mov dword ptr [esi + 8], edi */
   1653     edi = POP32_VAL(esp); /* 0x2B01F680: pop edi */
   1654     esi = POP32_VAL(esp); /* 0x2B01F681: pop esi */
   1655     ebx = POP32_VAL(esp); /* 0x2B01F682: pop ebx */
   1656     esp = ebp; /* 0x2B01F683: mov esp, ebp */
   1657     ebp = POP32_VAL(esp); /* 0x2B01F685: pop ebp */
   1658     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F686: ret  */
   1659 L_2B0AD278:
   1660     ecx = MEM32(ebp + (-0x7C)); /* 0x2B0AD278: mov ecx, dword ptr [ebp - 0x7c] */
   1661     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x88u);
   1662     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1663     ecx = ecx + 0x88u; /* 0x2B0AD27B: add ecx, 0x88 */
   1664     _flag_k = FK_ADD;
   1665     RECOMP_BACKEDGE();
   1666     goto L_2B01F5C0; /* 0x2B0AD281: jmp 0x2b01f5c0 */
   1667     { RECOMP_REGS_OUT(); return; } /* end of function */
   1668     RECOMP_REGS_OUT();
   1669 }
   1670 
   1671 void sub_2B0AD286(void) {
   1672     int _fpu_cmp = 0;
   1673     uint32_t _cf = 0;
   1674     int _df = 1;
   1675     uint32_t _flag_k = FK_NONE;
   1676     uint32_t _flag_a = 0, _flag_b = 0;
   1677     uint32_t _itail_tgt = 0;
   1678     RECOMP_REGS_LOCALS
   1679     RECOMP_ENTER(0x2B0AD286u);
   1680 
   1681 L_2B0AD286:
   1682     eax = MEM32(ebp + (-0x10)); /* 0x2B0AD286: mov eax, dword ptr [ebp - 0x10] */
   1683     PUSH32(esp, eax); /* 0x2B0AD289: push eax */
   1684     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD28A: call 0x2b0ab1ba */ /* not lifted */
   1685     RECOMP_FLAGS_IN();
   1686     ecx = POP32_VAL(esp); /* 0x2B0AD28F: pop ecx */
   1687     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD290: ret  */
   1688     RECOMP_REGS_OUT();
   1689 }
   1690 
   1691 void sub_2B0AD291(void) {
   1692     int _fpu_cmp = 0;
   1693     uint32_t _cf = 0;
   1694     int _df = 1;
   1695     uint32_t _flag_k = FK_NONE;
   1696     uint32_t _flag_a = 0, _flag_b = 0;
   1697     uint32_t _itail_tgt = 0;
   1698     RECOMP_REGS_LOCALS
   1699     RECOMP_ENTER(0x2B0AD291u);
   1700 
   1701 L_2B0AD291:
   1702     ecx = ebp + (-0x40); /* 0x2B0AD291: lea ecx, [ebp - 0x40] */
   1703 L_2B0AD294:
   1704     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   1705     { RECOMP_REGS_OUT(); return; } /* end of function */
   1706   _ljump:
   1707     switch (_itail_tgt) {
   1708       case 0x2B0AD291u: goto L_2B0AD291;
   1709       case 0x2B0AD294u: goto L_2B0AD294;
   1710       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1711     }
   1712     RECOMP_REGS_OUT();
   1713 }
   1714 
   1715 void sub_2B0AD29A(void) {
   1716     int _fpu_cmp = 0;
   1717     uint32_t _cf = 0;
   1718     int _df = 1;
   1719     uint32_t _flag_k = FK_NONE;
   1720     uint32_t _flag_a = 0, _flag_b = 0;
   1721     uint32_t _itail_tgt = 0;
   1722     RECOMP_REGS_LOCALS
   1723     RECOMP_ENTER(0x2B0AD29Au);
   1724 
   1725     goto L_2B0AD29A;
   1726 L_2B01F690:
   1727     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   1728     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   1729     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   1730     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   1731     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   1732     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   1733     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   1734     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1735     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1736     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   1737     _flag_k = FK_CMP;
   1738     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   1739     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   1740     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   1741     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   1742     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   1743     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1744     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   1745     _cf = 0;
   1746     _flag_k = FK_TEST;
   1747     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   1748     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   1749     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   1750     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   1751     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   1752     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1753     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1754     _flag_k = FK_CMP;
   1755     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   1756 L_2B01F6C5:
   1757     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   1758     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   1759     _flag_k = FK_DEC;
   1760     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   1761 L_2B01F6CA:
   1762     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   1763     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1764     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1765     _flag_k = FK_CMP;
   1766     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   1767     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   1768 L_2B01F6D1:
   1769     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   1770     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   1771     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   1772     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   1773     RECOMP_FLAGS_IN();
   1774     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   1775     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   1776     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   1777     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   1778     RECOMP_FLAGS_IN();
   1779     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   1780     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   1781     RECOMP_FLAGS_IN();
   1782     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   1783     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1784     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1785     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   1786     _flag_k = FK_ADD;
   1787 L_2B01F6FB:
   1788     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   1789     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   1790     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1791     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1792     _flag_k = FK_CMP;
   1793     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   1794 L_2B01F702:
   1795     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   1796     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   1797     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   1798     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1799     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1800     _flag_k = FK_NARROW(FK_CMP, 24);
   1801     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   1802 L_2B01F70B:
   1803     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   1804     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1805     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1806     _flag_k = FK_NARROW(FK_CMP, 24);
   1807     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   1808 L_2B01F70F:
   1809     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1810     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   1811     _flag_k = FK_NARROW(FK_DEC, 24);
   1812     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   1813     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   1814 L_2B01F715:
   1815     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   1816     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   1817     RECOMP_FLAGS_IN();
   1818     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   1819     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1820     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1821     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   1822     _flag_k = FK_ADD;
   1823 L_2B01F721:
   1824     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   1825     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   1826     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   1827     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   1828     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   1829     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1830     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1831     _flag_k = FK_CMP;
   1832     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   1833     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   1834 L_2B01F738:
   1835     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   1836     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   1837     _flag_k = FK_DEC;
   1838     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   1839 L_2B01F73D:
   1840     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   1841     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1842     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1843     _flag_k = FK_CMP;
   1844     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   1845     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   1846 L_2B01F744:
   1847     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   1848     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   1849     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   1850     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   1851     RECOMP_FLAGS_IN();
   1852     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   1853     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   1854     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1855     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1856     _flag_k = FK_CMP;
   1857     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   1858 L_2B01F75A:
   1859     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   1860     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   1861     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   1862     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1863     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1864     _flag_k = FK_NARROW(FK_CMP, 24);
   1865     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   1866 L_2B01F763:
   1867     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   1868     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1870     _flag_k = FK_NARROW(FK_CMP, 24);
   1871     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   1872 L_2B01F767:
   1873     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1874     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   1875     _flag_k = FK_NARROW(FK_DEC, 24);
   1876     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   1877     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   1878 L_2B01F76D:
   1879     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   1880     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   1881     RECOMP_FLAGS_IN();
   1882     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1883     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1884     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   1885     _flag_k = FK_ADD;
   1886 L_2B01F776:
   1887     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   1888     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   1889     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   1890     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   1891     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   1892     RECOMP_FLAGS_IN();
   1893     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   1894     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1895     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1896     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   1897     _flag_k = FK_ADD;
   1898 L_2B01F78B:
   1899     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   1900     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   1901     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1902     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1903     _flag_k = FK_CMP;
   1904     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   1905 L_2B01F792:
   1906     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   1907     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   1908     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   1909     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1910     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1911     _flag_k = FK_NARROW(FK_CMP, 24);
   1912     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   1913 L_2B01F79B:
   1914     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   1915     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   1916     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1917     _flag_k = FK_NARROW(FK_CMP, 24);
   1918     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   1919 L_2B01F79F:
   1920     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   1921     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   1922     _flag_k = FK_NARROW(FK_DEC, 24);
   1923     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   1924     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   1925 L_2B01F7A5:
   1926     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   1927     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   1928     RECOMP_FLAGS_IN();
   1929     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   1930     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1931     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1932     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   1933     _flag_k = FK_ADD;
   1934 L_2B01F7B1:
   1935     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   1936     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   1937     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   1938     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   1939     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   1940     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   1941     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   1942     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   1943     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   1944     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   1945     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   1946 L_2B0AD29A:
   1947     ecx = ebp + (-0x40); /* 0x2B0AD29A: lea ecx, [ebp - 0x40] */
   1948     RECOMP_BACKEDGE();
   1949     goto L_2B01F690; /* 0x2B0AD29D: jmp 0x2b01f690 */
   1950     { RECOMP_REGS_OUT(); return; } /* end of function */
   1951     RECOMP_REGS_OUT();
   1952 }
   1953 
   1954 void sub_2B0AD2A2(void) {
   1955     int _fpu_cmp = 0;
   1956     uint32_t _cf = 0;
   1957     int _df = 1;
   1958     uint32_t _flag_k = FK_NONE;
   1959     uint32_t _flag_a = 0, _flag_b = 0;
   1960     uint32_t _itail_tgt = 0;
   1961     RECOMP_REGS_LOCALS
   1962     RECOMP_ENTER(0x2B0AD2A2u);
   1963 
   1964     goto L_2B0AD2A2;
   1965 L_2B01F690:
   1966     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   1967     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   1968     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   1969     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   1970     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   1971     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   1972     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   1973     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1974     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1975     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   1976     _flag_k = FK_CMP;
   1977     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   1978     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   1979     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   1980     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   1981     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   1982     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1983     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   1984     _cf = 0;
   1985     _flag_k = FK_TEST;
   1986     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   1987     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   1988     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   1989     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   1990     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   1991     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   1992     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1993     _flag_k = FK_CMP;
   1994     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   1995 L_2B01F6C5:
   1996     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   1997     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   1998     _flag_k = FK_DEC;
   1999     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   2000 L_2B01F6CA:
   2001     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   2002     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2004     _flag_k = FK_CMP;
   2005     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   2006     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   2007 L_2B01F6D1:
   2008     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   2009     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   2010     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   2011     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   2012     RECOMP_FLAGS_IN();
   2013     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   2014     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   2015     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   2016     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   2017     RECOMP_FLAGS_IN();
   2018     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   2019     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   2020     RECOMP_FLAGS_IN();
   2021     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   2022     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2023     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2024     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   2025     _flag_k = FK_ADD;
   2026 L_2B01F6FB:
   2027     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   2028     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   2029     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2030     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2031     _flag_k = FK_CMP;
   2032     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   2033 L_2B01F702:
   2034     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   2035     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   2036     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   2037     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2038     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2039     _flag_k = FK_NARROW(FK_CMP, 24);
   2040     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   2041 L_2B01F70B:
   2042     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   2043     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2044     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2045     _flag_k = FK_NARROW(FK_CMP, 24);
   2046     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   2047 L_2B01F70F:
   2048     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2049     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   2050     _flag_k = FK_NARROW(FK_DEC, 24);
   2051     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   2052     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   2053 L_2B01F715:
   2054     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   2055     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   2056     RECOMP_FLAGS_IN();
   2057     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   2058     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2059     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2060     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   2061     _flag_k = FK_ADD;
   2062 L_2B01F721:
   2063     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   2064     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   2065     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   2066     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   2067     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   2068     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2069     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2070     _flag_k = FK_CMP;
   2071     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   2072     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   2073 L_2B01F738:
   2074     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   2075     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   2076     _flag_k = FK_DEC;
   2077     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   2078 L_2B01F73D:
   2079     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   2080     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2081     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2082     _flag_k = FK_CMP;
   2083     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   2084     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   2085 L_2B01F744:
   2086     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   2087     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   2088     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   2089     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   2090     RECOMP_FLAGS_IN();
   2091     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   2092     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   2093     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2094     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2095     _flag_k = FK_CMP;
   2096     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   2097 L_2B01F75A:
   2098     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   2099     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   2100     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   2101     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2102     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2103     _flag_k = FK_NARROW(FK_CMP, 24);
   2104     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   2105 L_2B01F763:
   2106     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   2107     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2108     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2109     _flag_k = FK_NARROW(FK_CMP, 24);
   2110     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   2111 L_2B01F767:
   2112     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2113     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   2114     _flag_k = FK_NARROW(FK_DEC, 24);
   2115     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   2116     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   2117 L_2B01F76D:
   2118     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   2119     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   2120     RECOMP_FLAGS_IN();
   2121     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2122     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2123     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   2124     _flag_k = FK_ADD;
   2125 L_2B01F776:
   2126     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   2127     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   2128     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   2129     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   2130     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   2131     RECOMP_FLAGS_IN();
   2132     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   2133     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2134     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2135     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   2136     _flag_k = FK_ADD;
   2137 L_2B01F78B:
   2138     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   2139     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   2140     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2141     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2142     _flag_k = FK_CMP;
   2143     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   2144 L_2B01F792:
   2145     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   2146     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   2147     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   2148     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2150     _flag_k = FK_NARROW(FK_CMP, 24);
   2151     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   2152 L_2B01F79B:
   2153     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   2154     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2155     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2156     _flag_k = FK_NARROW(FK_CMP, 24);
   2157     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   2158 L_2B01F79F:
   2159     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2160     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   2161     _flag_k = FK_NARROW(FK_DEC, 24);
   2162     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   2163     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   2164 L_2B01F7A5:
   2165     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   2166     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   2167     RECOMP_FLAGS_IN();
   2168     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   2169     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2170     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2171     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   2172     _flag_k = FK_ADD;
   2173 L_2B01F7B1:
   2174     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   2175     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   2176     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   2177     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   2178     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   2179     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   2180     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   2181     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   2182     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   2183     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   2184     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   2185 L_2B0AD2A2:
   2186     ecx = ebp + (-0x78); /* 0x2B0AD2A2: lea ecx, [ebp - 0x78] */
   2187     RECOMP_BACKEDGE();
   2188     goto L_2B01F690; /* 0x2B0AD2A5: jmp 0x2b01f690 */
   2189     { RECOMP_REGS_OUT(); return; } /* end of function */
   2190     RECOMP_REGS_OUT();
   2191 }
   2192 
   2193 void sub_2B0AD2AA(void) {
   2194     int _fpu_cmp = 0;
   2195     uint32_t _cf = 0;
   2196     int _df = 1;
   2197     uint32_t _flag_k = FK_NONE;
   2198     uint32_t _flag_a = 0, _flag_b = 0;
   2199     uint32_t _itail_tgt = 0;
   2200     RECOMP_REGS_LOCALS
   2201     RECOMP_ENTER(0x2B0AD2AAu);
   2202 
   2203     goto L_2B0AD2AA;
   2204 L_2B020CD0:
   2205     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   2206     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   2207     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   2208     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   2209     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   2210     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   2211     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   2212     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2213     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2214     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   2215     _flag_k = FK_CMP;
   2216     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   2217     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   2218     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   2219     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   2220     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   2221     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2222     edx = 0; /* 0x2B020CF4: xor edx, edx */
   2223     _cf = 0;
   2224     _flag_k = FK_TEST;
   2225     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   2226     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   2227     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   2228     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   2229     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   2230     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2231     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2232     _flag_k = FK_CMP;
   2233     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   2234 L_2B020D06:
   2235     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   2236     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   2237     _flag_k = FK_DEC;
   2238     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   2239 L_2B020D0B:
   2240     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   2241     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2243     _flag_k = FK_CMP;
   2244     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   2245     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   2246 L_2B020D12:
   2247     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   2248     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   2249     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   2250     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   2251     RECOMP_FLAGS_IN();
   2252     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   2253     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   2254     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   2255     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   2256     RECOMP_FLAGS_IN();
   2257     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   2258     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   2259     RECOMP_FLAGS_IN();
   2260     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2261     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2262     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   2263     _flag_k = FK_ADD;
   2264     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2265     edx = 0; /* 0x2B020D39: xor edx, edx */
   2266     _cf = 0;
   2267     _flag_k = FK_TEST;
   2268 L_2B020D3B:
   2269     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   2270     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   2271     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2273     _flag_k = FK_CMP;
   2274     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   2275 L_2B020D42:
   2276     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   2277     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   2278     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   2279     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2280     _cf = 0;
   2281     _flag_k = FK_NARROW(FK_TEST, 24);
   2282     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   2283 L_2B020D4B:
   2284     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   2285     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2286     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2287     _flag_k = FK_NARROW(FK_CMP, 24);
   2288     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   2289 L_2B020D4F:
   2290     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2291     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   2292     _flag_k = FK_NARROW(FK_DEC, 24);
   2293     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   2294     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   2295 L_2B020D55:
   2296     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   2297     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   2298     RECOMP_FLAGS_IN();
   2299     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2300     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2301     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   2302     _flag_k = FK_ADD;
   2303     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2304     edx = 0; /* 0x2B020D5E: xor edx, edx */
   2305     _cf = 0;
   2306     _flag_k = FK_TEST;
   2307 L_2B020D60:
   2308     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   2309     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   2310     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   2311     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   2312     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   2313     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   2314     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2315     _flag_k = FK_CMP;
   2316     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   2317     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   2318 L_2B020D77:
   2319     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   2320     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   2321     _flag_k = FK_DEC;
   2322     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   2323 L_2B020D7C:
   2324     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   2325     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   2326     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2327     _flag_k = FK_CMP;
   2328     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   2329     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   2330 L_2B020D83:
   2331     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   2332     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   2333     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   2334     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   2335     RECOMP_FLAGS_IN();
   2336     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   2337     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   2338     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   2339     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   2340     RECOMP_FLAGS_IN();
   2341     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   2342     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   2343     RECOMP_FLAGS_IN();
   2344     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2346     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   2347     _flag_k = FK_ADD;
   2348     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2349     edx = 0; /* 0x2B020DAA: xor edx, edx */
   2350     _cf = 0;
   2351     _flag_k = FK_TEST;
   2352 L_2B020DAC:
   2353     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   2354     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   2355     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2356     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2357     _flag_k = FK_CMP;
   2358     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   2359 L_2B020DB3:
   2360     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   2361     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   2362     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   2363     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2364     _cf = 0;
   2365     _flag_k = FK_NARROW(FK_TEST, 24);
   2366     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   2367 L_2B020DBC:
   2368     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   2369     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2371     _flag_k = FK_NARROW(FK_CMP, 24);
   2372     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   2373 L_2B020DC0:
   2374     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2375     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   2376     _flag_k = FK_NARROW(FK_DEC, 24);
   2377     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   2378     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   2379 L_2B020DC6:
   2380     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   2381     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   2382     RECOMP_FLAGS_IN();
   2383     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2384     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2385     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   2386     _flag_k = FK_ADD;
   2387     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2388     edx = 0; /* 0x2B020DCF: xor edx, edx */
   2389     _cf = 0;
   2390     _flag_k = FK_TEST;
   2391 L_2B020DD1:
   2392     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   2393     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   2394     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   2395     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   2396     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   2397     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   2398     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   2399     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   2400     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   2401     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   2402     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   2403 L_2B0AD2AA:
   2404     ecx = ebp + (-0xA8); /* 0x2B0AD2AA: lea ecx, [ebp - 0xa8] */
   2405     RECOMP_BACKEDGE();
   2406     goto L_2B020CD0; /* 0x2B0AD2B0: jmp 0x2b020cd0 */
   2407     { RECOMP_REGS_OUT(); return; } /* end of function */
   2408     RECOMP_REGS_OUT();
   2409 }
   2410 
   2411 void sub_2B0AD2B5(void) {
   2412     int _fpu_cmp = 0;
   2413     uint32_t _cf = 0;
   2414     int _df = 1;
   2415     uint32_t _flag_k = FK_NONE;
   2416     uint32_t _flag_a = 0, _flag_b = 0;
   2417     uint32_t _itail_tgt = 0;
   2418     RECOMP_REGS_LOCALS
   2419     RECOMP_ENTER(0x2B0AD2B5u);
   2420 
   2421     goto L_2B0AD2B5;
   2422 L_2B01F690:
   2423     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   2424     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   2425     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   2426     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   2427     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   2428     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   2429     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   2430     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2432     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   2433     _flag_k = FK_CMP;
   2434     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   2435     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   2436     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   2437     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   2438     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   2439     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2440     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   2441     _cf = 0;
   2442     _flag_k = FK_TEST;
   2443     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   2444     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   2445     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   2446     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   2447     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   2448     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2450     _flag_k = FK_CMP;
   2451     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   2452 L_2B01F6C5:
   2453     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   2454     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   2455     _flag_k = FK_DEC;
   2456     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   2457 L_2B01F6CA:
   2458     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   2459     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2460     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2461     _flag_k = FK_CMP;
   2462     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   2463     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   2464 L_2B01F6D1:
   2465     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   2466     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   2467     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   2468     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   2469     RECOMP_FLAGS_IN();
   2470     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   2471     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   2472     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   2473     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   2474     RECOMP_FLAGS_IN();
   2475     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   2476     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   2477     RECOMP_FLAGS_IN();
   2478     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   2479     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2480     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2481     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   2482     _flag_k = FK_ADD;
   2483 L_2B01F6FB:
   2484     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   2485     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   2486     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2487     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2488     _flag_k = FK_CMP;
   2489     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   2490 L_2B01F702:
   2491     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   2492     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   2493     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   2494     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2496     _flag_k = FK_NARROW(FK_CMP, 24);
   2497     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   2498 L_2B01F70B:
   2499     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   2500     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2502     _flag_k = FK_NARROW(FK_CMP, 24);
   2503     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   2504 L_2B01F70F:
   2505     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2506     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   2507     _flag_k = FK_NARROW(FK_DEC, 24);
   2508     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   2509     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   2510 L_2B01F715:
   2511     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   2512     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   2513     RECOMP_FLAGS_IN();
   2514     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   2515     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2516     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2517     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   2518     _flag_k = FK_ADD;
   2519 L_2B01F721:
   2520     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   2521     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   2522     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   2523     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   2524     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   2525     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2526     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2527     _flag_k = FK_CMP;
   2528     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   2529     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   2530 L_2B01F738:
   2531     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   2532     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   2533     _flag_k = FK_DEC;
   2534     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   2535 L_2B01F73D:
   2536     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   2537     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2538     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2539     _flag_k = FK_CMP;
   2540     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   2541     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   2542 L_2B01F744:
   2543     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   2544     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   2545     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   2546     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   2547     RECOMP_FLAGS_IN();
   2548     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   2549     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   2550     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2551     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2552     _flag_k = FK_CMP;
   2553     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   2554 L_2B01F75A:
   2555     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   2556     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   2557     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   2558     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2559     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2560     _flag_k = FK_NARROW(FK_CMP, 24);
   2561     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   2562 L_2B01F763:
   2563     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   2564     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2565     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2566     _flag_k = FK_NARROW(FK_CMP, 24);
   2567     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   2568 L_2B01F767:
   2569     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2570     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   2571     _flag_k = FK_NARROW(FK_DEC, 24);
   2572     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   2573     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   2574 L_2B01F76D:
   2575     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   2576     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   2577     RECOMP_FLAGS_IN();
   2578     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2579     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2580     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   2581     _flag_k = FK_ADD;
   2582 L_2B01F776:
   2583     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   2584     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   2585     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   2586     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   2587     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   2588     RECOMP_FLAGS_IN();
   2589     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   2590     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2591     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2592     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   2593     _flag_k = FK_ADD;
   2594 L_2B01F78B:
   2595     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   2596     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   2597     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2599     _flag_k = FK_CMP;
   2600     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   2601 L_2B01F792:
   2602     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   2603     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   2604     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   2605     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2607     _flag_k = FK_NARROW(FK_CMP, 24);
   2608     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   2609 L_2B01F79B:
   2610     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   2611     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2613     _flag_k = FK_NARROW(FK_CMP, 24);
   2614     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   2615 L_2B01F79F:
   2616     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2617     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   2618     _flag_k = FK_NARROW(FK_DEC, 24);
   2619     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   2620     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   2621 L_2B01F7A5:
   2622     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   2623     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   2624     RECOMP_FLAGS_IN();
   2625     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   2626     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2627     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2628     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   2629     _flag_k = FK_ADD;
   2630 L_2B01F7B1:
   2631     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   2632     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   2633     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   2634     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   2635     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   2636     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   2637     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   2638     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   2639     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   2640     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   2641     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   2642 L_2B0AD2B5:
   2643     ecx = ebp + (-0x78); /* 0x2B0AD2B5: lea ecx, [ebp - 0x78] */
   2644     RECOMP_BACKEDGE();
   2645     goto L_2B01F690; /* 0x2B0AD2B8: jmp 0x2b01f690 */
   2646     { RECOMP_REGS_OUT(); return; } /* end of function */
   2647     RECOMP_REGS_OUT();
   2648 }
   2649 
   2650 void sub_2B0AD2BD(void) {
   2651     int _fpu_cmp = 0;
   2652     uint32_t _cf = 0;
   2653     int _df = 1;
   2654     uint32_t _flag_k = FK_NONE;
   2655     uint32_t _flag_a = 0, _flag_b = 0;
   2656     uint32_t _itail_tgt = 0;
   2657     RECOMP_REGS_LOCALS
   2658     RECOMP_ENTER(0x2B0AD2BDu);
   2659 
   2660     goto L_2B0AD2BD;
   2661 L_2B020CD0:
   2662     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   2663     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   2664     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   2665     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   2666     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   2667     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   2668     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   2669     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2670     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2671     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   2672     _flag_k = FK_CMP;
   2673     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   2674     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   2675     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   2676     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   2677     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   2678     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2679     edx = 0; /* 0x2B020CF4: xor edx, edx */
   2680     _cf = 0;
   2681     _flag_k = FK_TEST;
   2682     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   2683     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   2684     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   2685     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   2686     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   2687     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2688     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2689     _flag_k = FK_CMP;
   2690     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   2691 L_2B020D06:
   2692     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   2693     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   2694     _flag_k = FK_DEC;
   2695     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   2696 L_2B020D0B:
   2697     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   2698     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2700     _flag_k = FK_CMP;
   2701     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   2702     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   2703 L_2B020D12:
   2704     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   2705     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   2706     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   2707     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   2708     RECOMP_FLAGS_IN();
   2709     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   2710     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   2711     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   2712     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   2713     RECOMP_FLAGS_IN();
   2714     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   2715     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   2716     RECOMP_FLAGS_IN();
   2717     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2718     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2719     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   2720     _flag_k = FK_ADD;
   2721     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2722     edx = 0; /* 0x2B020D39: xor edx, edx */
   2723     _cf = 0;
   2724     _flag_k = FK_TEST;
   2725 L_2B020D3B:
   2726     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   2727     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   2728     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2729     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2730     _flag_k = FK_CMP;
   2731     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   2732 L_2B020D42:
   2733     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   2734     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   2735     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   2736     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2737     _cf = 0;
   2738     _flag_k = FK_NARROW(FK_TEST, 24);
   2739     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   2740 L_2B020D4B:
   2741     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   2742     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2743     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2744     _flag_k = FK_NARROW(FK_CMP, 24);
   2745     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   2746 L_2B020D4F:
   2747     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2748     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   2749     _flag_k = FK_NARROW(FK_DEC, 24);
   2750     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   2751     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   2752 L_2B020D55:
   2753     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   2754     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   2755     RECOMP_FLAGS_IN();
   2756     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2757     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2758     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   2759     _flag_k = FK_ADD;
   2760     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2761     edx = 0; /* 0x2B020D5E: xor edx, edx */
   2762     _cf = 0;
   2763     _flag_k = FK_TEST;
   2764 L_2B020D60:
   2765     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   2766     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   2767     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   2768     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   2769     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   2770     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   2771     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2772     _flag_k = FK_CMP;
   2773     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   2774     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   2775 L_2B020D77:
   2776     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   2777     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   2778     _flag_k = FK_DEC;
   2779     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   2780 L_2B020D7C:
   2781     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   2782     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   2783     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2784     _flag_k = FK_CMP;
   2785     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   2786     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   2787 L_2B020D83:
   2788     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   2789     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   2790     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   2791     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   2792     RECOMP_FLAGS_IN();
   2793     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   2794     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   2795     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   2796     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   2797     RECOMP_FLAGS_IN();
   2798     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   2799     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   2800     RECOMP_FLAGS_IN();
   2801     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2802     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2803     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   2804     _flag_k = FK_ADD;
   2805     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2806     edx = 0; /* 0x2B020DAA: xor edx, edx */
   2807     _cf = 0;
   2808     _flag_k = FK_TEST;
   2809 L_2B020DAC:
   2810     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   2811     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   2812     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   2813     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2814     _flag_k = FK_CMP;
   2815     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   2816 L_2B020DB3:
   2817     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   2818     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   2819     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   2820     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2821     _cf = 0;
   2822     _flag_k = FK_NARROW(FK_TEST, 24);
   2823     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   2824 L_2B020DBC:
   2825     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   2826     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2828     _flag_k = FK_NARROW(FK_CMP, 24);
   2829     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   2830 L_2B020DC0:
   2831     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2832     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   2833     _flag_k = FK_NARROW(FK_DEC, 24);
   2834     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   2835     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   2836 L_2B020DC6:
   2837     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   2838     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   2839     RECOMP_FLAGS_IN();
   2840     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2841     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2842     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   2843     _flag_k = FK_ADD;
   2844     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2845     edx = 0; /* 0x2B020DCF: xor edx, edx */
   2846     _cf = 0;
   2847     _flag_k = FK_TEST;
   2848 L_2B020DD1:
   2849     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   2850     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   2851     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   2852     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   2853     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   2854     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   2855     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   2856     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   2857     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   2858     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   2859     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   2860 L_2B0AD2BD:
   2861     ecx = ebp + (-0xA8); /* 0x2B0AD2BD: lea ecx, [ebp - 0xa8] */
   2862     RECOMP_BACKEDGE();
   2863     goto L_2B020CD0; /* 0x2B0AD2C3: jmp 0x2b020cd0 */
   2864     { RECOMP_REGS_OUT(); return; } /* end of function */
   2865     RECOMP_REGS_OUT();
   2866 }
   2867 
   2868 void sub_2B0AD2C8(void) {
   2869     int _fpu_cmp = 0;
   2870     uint32_t _cf = 0;
   2871     int _df = 1;
   2872     uint32_t _flag_k = FK_NONE;
   2873     uint32_t _flag_a = 0, _flag_b = 0;
   2874     uint32_t _itail_tgt = 0;
   2875     RECOMP_REGS_LOCALS
   2876     RECOMP_ENTER(0x2B0AD2C8u);
   2877 
   2878 L_2B0AD2C8:
   2879     ecx = ebp + (-0x78); /* 0x2B0AD2C8: lea ecx, [ebp - 0x78] */
   2880 L_2B0AD2CB:
   2881     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   2882     { RECOMP_REGS_OUT(); return; } /* end of function */
   2883   _ljump:
   2884     switch (_itail_tgt) {
   2885       case 0x2B0AD2C8u: goto L_2B0AD2C8;
   2886       case 0x2B0AD2CBu: goto L_2B0AD2CB;
   2887       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   2888     }
   2889     RECOMP_REGS_OUT();
   2890 }
   2891 
   2892 void sub_2B0AD2D1(void) {
   2893     int _fpu_cmp = 0;
   2894     uint32_t _cf = 0;
   2895     int _df = 1;
   2896     uint32_t _flag_k = FK_NONE;
   2897     uint32_t _flag_a = 0, _flag_b = 0;
   2898     uint32_t _itail_tgt = 0;
   2899     RECOMP_REGS_LOCALS
   2900     RECOMP_ENTER(0x2B0AD2D1u);
   2901 
   2902     goto L_2B0AD2D1;
   2903 L_2B01F690:
   2904     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   2905     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   2906     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   2907     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   2908     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   2909     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   2910     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   2911     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   2912     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2913     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   2914     _flag_k = FK_CMP;
   2915     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   2916     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   2917     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   2918     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   2919     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   2920     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2921     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   2922     _cf = 0;
   2923     _flag_k = FK_TEST;
   2924     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   2925     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   2926     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   2927     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   2928     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   2929     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2930     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2931     _flag_k = FK_CMP;
   2932     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   2933 L_2B01F6C5:
   2934     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   2935     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   2936     _flag_k = FK_DEC;
   2937     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   2938 L_2B01F6CA:
   2939     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   2940     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2941     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2942     _flag_k = FK_CMP;
   2943     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   2944     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   2945 L_2B01F6D1:
   2946     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   2947     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   2948     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   2949     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   2950     RECOMP_FLAGS_IN();
   2951     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   2952     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   2953     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   2954     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   2955     RECOMP_FLAGS_IN();
   2956     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   2957     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   2958     RECOMP_FLAGS_IN();
   2959     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   2960     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2961     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2962     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   2963     _flag_k = FK_ADD;
   2964 L_2B01F6FB:
   2965     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   2966     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   2967     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2968     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2969     _flag_k = FK_CMP;
   2970     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   2971 L_2B01F702:
   2972     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   2973     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   2974     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   2975     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   2976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2977     _flag_k = FK_NARROW(FK_CMP, 24);
   2978     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   2979 L_2B01F70B:
   2980     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   2981     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   2982     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2983     _flag_k = FK_NARROW(FK_CMP, 24);
   2984     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   2985 L_2B01F70F:
   2986     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   2987     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   2988     _flag_k = FK_NARROW(FK_DEC, 24);
   2989     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   2990     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   2991 L_2B01F715:
   2992     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   2993     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   2994     RECOMP_FLAGS_IN();
   2995     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   2996     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2997     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2998     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   2999     _flag_k = FK_ADD;
   3000 L_2B01F721:
   3001     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   3002     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   3003     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   3004     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   3005     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   3006     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3007     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3008     _flag_k = FK_CMP;
   3009     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   3010     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   3011 L_2B01F738:
   3012     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3013     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   3014     _flag_k = FK_DEC;
   3015     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   3016 L_2B01F73D:
   3017     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   3018     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3019     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3020     _flag_k = FK_CMP;
   3021     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   3022     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   3023 L_2B01F744:
   3024     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   3025     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   3026     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   3027     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   3028     RECOMP_FLAGS_IN();
   3029     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   3030     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   3031     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3032     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3033     _flag_k = FK_CMP;
   3034     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   3035 L_2B01F75A:
   3036     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   3037     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   3038     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   3039     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3040     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3041     _flag_k = FK_NARROW(FK_CMP, 24);
   3042     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   3043 L_2B01F763:
   3044     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   3045     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3046     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3047     _flag_k = FK_NARROW(FK_CMP, 24);
   3048     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   3049 L_2B01F767:
   3050     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3051     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   3052     _flag_k = FK_NARROW(FK_DEC, 24);
   3053     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   3054     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   3055 L_2B01F76D:
   3056     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   3057     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   3058     RECOMP_FLAGS_IN();
   3059     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3060     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3061     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   3062     _flag_k = FK_ADD;
   3063 L_2B01F776:
   3064     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   3065     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   3066     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   3067     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   3068     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   3069     RECOMP_FLAGS_IN();
   3070     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   3071     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3072     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3073     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   3074     _flag_k = FK_ADD;
   3075 L_2B01F78B:
   3076     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   3077     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   3078     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3080     _flag_k = FK_CMP;
   3081     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   3082 L_2B01F792:
   3083     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   3084     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   3085     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   3086     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3087     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3088     _flag_k = FK_NARROW(FK_CMP, 24);
   3089     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   3090 L_2B01F79B:
   3091     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   3092     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3094     _flag_k = FK_NARROW(FK_CMP, 24);
   3095     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   3096 L_2B01F79F:
   3097     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3098     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   3099     _flag_k = FK_NARROW(FK_DEC, 24);
   3100     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   3101     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   3102 L_2B01F7A5:
   3103     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   3104     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   3105     RECOMP_FLAGS_IN();
   3106     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   3107     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3108     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3109     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   3110     _flag_k = FK_ADD;
   3111 L_2B01F7B1:
   3112     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   3113     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   3114     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   3115     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   3116     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   3117     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   3118     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   3119     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   3120     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   3121     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   3122     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   3123 L_2B0AD2D1:
   3124     ecx = ebp + (-0x78); /* 0x2B0AD2D1: lea ecx, [ebp - 0x78] */
   3125     RECOMP_BACKEDGE();
   3126     goto L_2B01F690; /* 0x2B0AD2D4: jmp 0x2b01f690 */
   3127     { RECOMP_REGS_OUT(); return; } /* end of function */
   3128     RECOMP_REGS_OUT();
   3129 }
   3130 
   3131 void sub_2B0AD2D9(void) {
   3132     int _fpu_cmp = 0;
   3133     uint32_t _cf = 0;
   3134     int _df = 1;
   3135     uint32_t _flag_k = FK_NONE;
   3136     uint32_t _flag_a = 0, _flag_b = 0;
   3137     uint32_t _itail_tgt = 0;
   3138     RECOMP_REGS_LOCALS
   3139     RECOMP_ENTER(0x2B0AD2D9u);
   3140 
   3141     goto L_2B0AD2D9;
   3142 L_2B020CD0:
   3143     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   3144     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   3145     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   3146     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   3147     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   3148     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   3149     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   3150     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3151     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3152     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   3153     _flag_k = FK_CMP;
   3154     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   3155     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   3156     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   3157     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   3158     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   3159     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3160     edx = 0; /* 0x2B020CF4: xor edx, edx */
   3161     _cf = 0;
   3162     _flag_k = FK_TEST;
   3163     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   3164     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   3165     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   3166     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   3167     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   3168     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   3169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3170     _flag_k = FK_CMP;
   3171     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   3172 L_2B020D06:
   3173     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   3174     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   3175     _flag_k = FK_DEC;
   3176     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   3177 L_2B020D0B:
   3178     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   3179     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   3180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3181     _flag_k = FK_CMP;
   3182     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   3183     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   3184 L_2B020D12:
   3185     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   3186     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   3187     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   3188     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   3189     RECOMP_FLAGS_IN();
   3190     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   3191     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   3192     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   3193     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   3194     RECOMP_FLAGS_IN();
   3195     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   3196     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   3197     RECOMP_FLAGS_IN();
   3198     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3199     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3200     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   3201     _flag_k = FK_ADD;
   3202     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3203     edx = 0; /* 0x2B020D39: xor edx, edx */
   3204     _cf = 0;
   3205     _flag_k = FK_TEST;
   3206 L_2B020D3B:
   3207     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   3208     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   3209     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3211     _flag_k = FK_CMP;
   3212     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   3213 L_2B020D42:
   3214     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   3215     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   3216     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   3217     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3218     _cf = 0;
   3219     _flag_k = FK_NARROW(FK_TEST, 24);
   3220     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   3221 L_2B020D4B:
   3222     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   3223     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3224     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3225     _flag_k = FK_NARROW(FK_CMP, 24);
   3226     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   3227 L_2B020D4F:
   3228     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3229     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   3230     _flag_k = FK_NARROW(FK_DEC, 24);
   3231     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   3232     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   3233 L_2B020D55:
   3234     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   3235     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   3236     RECOMP_FLAGS_IN();
   3237     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3238     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3239     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   3240     _flag_k = FK_ADD;
   3241     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3242     edx = 0; /* 0x2B020D5E: xor edx, edx */
   3243     _cf = 0;
   3244     _flag_k = FK_TEST;
   3245 L_2B020D60:
   3246     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   3247     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   3248     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   3249     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   3250     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   3251     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   3252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3253     _flag_k = FK_CMP;
   3254     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   3255     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   3256 L_2B020D77:
   3257     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3258     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   3259     _flag_k = FK_DEC;
   3260     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   3261 L_2B020D7C:
   3262     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   3263     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   3264     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3265     _flag_k = FK_CMP;
   3266     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   3267     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   3268 L_2B020D83:
   3269     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   3270     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   3271     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   3272     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   3273     RECOMP_FLAGS_IN();
   3274     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   3275     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   3276     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   3277     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   3278     RECOMP_FLAGS_IN();
   3279     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   3280     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   3281     RECOMP_FLAGS_IN();
   3282     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3283     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3284     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   3285     _flag_k = FK_ADD;
   3286     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3287     edx = 0; /* 0x2B020DAA: xor edx, edx */
   3288     _cf = 0;
   3289     _flag_k = FK_TEST;
   3290 L_2B020DAC:
   3291     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   3292     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   3293     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3295     _flag_k = FK_CMP;
   3296     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   3297 L_2B020DB3:
   3298     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   3299     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   3300     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   3301     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3302     _cf = 0;
   3303     _flag_k = FK_NARROW(FK_TEST, 24);
   3304     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   3305 L_2B020DBC:
   3306     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   3307     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3308     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3309     _flag_k = FK_NARROW(FK_CMP, 24);
   3310     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   3311 L_2B020DC0:
   3312     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3313     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   3314     _flag_k = FK_NARROW(FK_DEC, 24);
   3315     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   3316     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   3317 L_2B020DC6:
   3318     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   3319     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   3320     RECOMP_FLAGS_IN();
   3321     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3322     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3323     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   3324     _flag_k = FK_ADD;
   3325     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3326     edx = 0; /* 0x2B020DCF: xor edx, edx */
   3327     _cf = 0;
   3328     _flag_k = FK_TEST;
   3329 L_2B020DD1:
   3330     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   3331     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   3332     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   3333     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   3334     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   3335     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   3336     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   3337     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   3338     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   3339     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   3340     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   3341 L_2B0AD2D9:
   3342     ecx = ebp + (-0xA8); /* 0x2B0AD2D9: lea ecx, [ebp - 0xa8] */
   3343     RECOMP_BACKEDGE();
   3344     goto L_2B020CD0; /* 0x2B0AD2DF: jmp 0x2b020cd0 */
   3345     { RECOMP_REGS_OUT(); return; } /* end of function */
   3346     RECOMP_REGS_OUT();
   3347 }
   3348 
   3349 void sub_2B0AD2E4(void) {
   3350     int _fpu_cmp = 0;
   3351     uint32_t _cf = 0;
   3352     int _df = 1;
   3353     uint32_t _flag_k = FK_NONE;
   3354     uint32_t _flag_a = 0, _flag_b = 0;
   3355     uint32_t _itail_tgt = 0;
   3356     RECOMP_REGS_LOCALS
   3357     RECOMP_ENTER(0x2B0AD2E4u);
   3358 
   3359 L_2B0AD2E4:
   3360     ecx = ebp + (-0x78); /* 0x2B0AD2E4: lea ecx, [ebp - 0x78] */
   3361 L_2B0AD2E7:
   3362     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   3363     { RECOMP_REGS_OUT(); return; } /* end of function */
   3364   _ljump:
   3365     switch (_itail_tgt) {
   3366       case 0x2B0AD2E4u: goto L_2B0AD2E4;
   3367       case 0x2B0AD2E7u: goto L_2B0AD2E7;
   3368       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3369     }
   3370     RECOMP_REGS_OUT();
   3371 }
   3372 
   3373 void sub_2B0AD2ED(void) {
   3374     int _fpu_cmp = 0;
   3375     uint32_t _cf = 0;
   3376     int _df = 1;
   3377     uint32_t _flag_k = FK_NONE;
   3378     uint32_t _flag_a = 0, _flag_b = 0;
   3379     uint32_t _itail_tgt = 0;
   3380     RECOMP_REGS_LOCALS
   3381     RECOMP_ENTER(0x2B0AD2EDu);
   3382 
   3383     goto L_2B0AD2ED;
   3384 L_2B01F690:
   3385     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   3386     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   3387     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   3388     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   3389     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   3390     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   3391     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   3392     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3393     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3394     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   3395     _flag_k = FK_CMP;
   3396     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   3397     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   3398     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   3399     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   3400     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   3401     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3402     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   3403     _cf = 0;
   3404     _flag_k = FK_TEST;
   3405     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   3406     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   3407     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   3408     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   3409     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   3410     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3412     _flag_k = FK_CMP;
   3413     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   3414 L_2B01F6C5:
   3415     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3416     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   3417     _flag_k = FK_DEC;
   3418     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   3419 L_2B01F6CA:
   3420     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   3421     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3423     _flag_k = FK_CMP;
   3424     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   3425     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   3426 L_2B01F6D1:
   3427     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   3428     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   3429     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   3430     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   3431     RECOMP_FLAGS_IN();
   3432     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   3433     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   3434     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   3435     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   3436     RECOMP_FLAGS_IN();
   3437     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   3438     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   3439     RECOMP_FLAGS_IN();
   3440     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   3441     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3442     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3443     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   3444     _flag_k = FK_ADD;
   3445 L_2B01F6FB:
   3446     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   3447     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   3448     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3450     _flag_k = FK_CMP;
   3451     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   3452 L_2B01F702:
   3453     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   3454     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   3455     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   3456     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3457     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3458     _flag_k = FK_NARROW(FK_CMP, 24);
   3459     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   3460 L_2B01F70B:
   3461     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   3462     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3463     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3464     _flag_k = FK_NARROW(FK_CMP, 24);
   3465     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   3466 L_2B01F70F:
   3467     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3468     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   3469     _flag_k = FK_NARROW(FK_DEC, 24);
   3470     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   3471     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   3472 L_2B01F715:
   3473     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   3474     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   3475     RECOMP_FLAGS_IN();
   3476     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   3477     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3478     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3479     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   3480     _flag_k = FK_ADD;
   3481 L_2B01F721:
   3482     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   3483     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   3484     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   3485     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   3486     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   3487     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3488     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3489     _flag_k = FK_CMP;
   3490     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   3491     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   3492 L_2B01F738:
   3493     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3494     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   3495     _flag_k = FK_DEC;
   3496     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   3497 L_2B01F73D:
   3498     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   3499     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3500     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3501     _flag_k = FK_CMP;
   3502     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   3503     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   3504 L_2B01F744:
   3505     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   3506     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   3507     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   3508     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   3509     RECOMP_FLAGS_IN();
   3510     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   3511     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   3512     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3513     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3514     _flag_k = FK_CMP;
   3515     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   3516 L_2B01F75A:
   3517     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   3518     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   3519     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   3520     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3522     _flag_k = FK_NARROW(FK_CMP, 24);
   3523     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   3524 L_2B01F763:
   3525     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   3526     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3527     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3528     _flag_k = FK_NARROW(FK_CMP, 24);
   3529     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   3530 L_2B01F767:
   3531     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3532     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   3533     _flag_k = FK_NARROW(FK_DEC, 24);
   3534     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   3535     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   3536 L_2B01F76D:
   3537     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   3538     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   3539     RECOMP_FLAGS_IN();
   3540     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3541     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3542     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   3543     _flag_k = FK_ADD;
   3544 L_2B01F776:
   3545     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   3546     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   3547     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   3548     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   3549     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   3550     RECOMP_FLAGS_IN();
   3551     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   3552     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3553     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3554     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   3555     _flag_k = FK_ADD;
   3556 L_2B01F78B:
   3557     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   3558     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   3559     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3560     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3561     _flag_k = FK_CMP;
   3562     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   3563 L_2B01F792:
   3564     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   3565     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   3566     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   3567     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3568     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3569     _flag_k = FK_NARROW(FK_CMP, 24);
   3570     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   3571 L_2B01F79B:
   3572     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   3573     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3575     _flag_k = FK_NARROW(FK_CMP, 24);
   3576     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   3577 L_2B01F79F:
   3578     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3579     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   3580     _flag_k = FK_NARROW(FK_DEC, 24);
   3581     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   3582     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   3583 L_2B01F7A5:
   3584     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   3585     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   3586     RECOMP_FLAGS_IN();
   3587     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   3588     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3589     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3590     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   3591     _flag_k = FK_ADD;
   3592 L_2B01F7B1:
   3593     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   3594     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   3595     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   3596     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   3597     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   3598     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   3599     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   3600     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   3601     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   3602     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   3603     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   3604 L_2B0AD2ED:
   3605     ecx = ebp + (-0x78); /* 0x2B0AD2ED: lea ecx, [ebp - 0x78] */
   3606     RECOMP_BACKEDGE();
   3607     goto L_2B01F690; /* 0x2B0AD2F0: jmp 0x2b01f690 */
   3608     { RECOMP_REGS_OUT(); return; } /* end of function */
   3609     RECOMP_REGS_OUT();
   3610 }
   3611 
   3612 void sub_2B0AD2F5(void) {
   3613     int _fpu_cmp = 0;
   3614     uint32_t _cf = 0;
   3615     int _df = 1;
   3616     uint32_t _flag_k = FK_NONE;
   3617     uint32_t _flag_a = 0, _flag_b = 0;
   3618     uint32_t _itail_tgt = 0;
   3619     RECOMP_REGS_LOCALS
   3620     RECOMP_ENTER(0x2B0AD2F5u);
   3621 
   3622     goto L_2B0AD2F5;
   3623 L_2B020CD0:
   3624     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   3625     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   3626     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   3627     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   3628     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   3629     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   3630     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   3631     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3632     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3633     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   3634     _flag_k = FK_CMP;
   3635     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   3636     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   3637     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   3638     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   3639     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   3640     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3641     edx = 0; /* 0x2B020CF4: xor edx, edx */
   3642     _cf = 0;
   3643     _flag_k = FK_TEST;
   3644     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   3645     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   3646     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   3647     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   3648     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   3649     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   3650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3651     _flag_k = FK_CMP;
   3652     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   3653 L_2B020D06:
   3654     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   3655     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   3656     _flag_k = FK_DEC;
   3657     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   3658 L_2B020D0B:
   3659     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   3660     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   3661     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3662     _flag_k = FK_CMP;
   3663     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   3664     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   3665 L_2B020D12:
   3666     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   3667     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   3668     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   3669     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   3670     RECOMP_FLAGS_IN();
   3671     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   3672     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   3673     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   3674     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   3675     RECOMP_FLAGS_IN();
   3676     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   3677     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   3678     RECOMP_FLAGS_IN();
   3679     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3680     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3681     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   3682     _flag_k = FK_ADD;
   3683     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3684     edx = 0; /* 0x2B020D39: xor edx, edx */
   3685     _cf = 0;
   3686     _flag_k = FK_TEST;
   3687 L_2B020D3B:
   3688     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   3689     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   3690     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3692     _flag_k = FK_CMP;
   3693     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   3694 L_2B020D42:
   3695     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   3696     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   3697     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   3698     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3699     _cf = 0;
   3700     _flag_k = FK_NARROW(FK_TEST, 24);
   3701     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   3702 L_2B020D4B:
   3703     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   3704     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3705     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3706     _flag_k = FK_NARROW(FK_CMP, 24);
   3707     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   3708 L_2B020D4F:
   3709     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3710     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   3711     _flag_k = FK_NARROW(FK_DEC, 24);
   3712     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   3713     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   3714 L_2B020D55:
   3715     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   3716     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   3717     RECOMP_FLAGS_IN();
   3718     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3719     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3720     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   3721     _flag_k = FK_ADD;
   3722     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3723     edx = 0; /* 0x2B020D5E: xor edx, edx */
   3724     _cf = 0;
   3725     _flag_k = FK_TEST;
   3726 L_2B020D60:
   3727     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   3728     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   3729     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   3730     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   3731     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   3732     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   3733     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3734     _flag_k = FK_CMP;
   3735     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   3736     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   3737 L_2B020D77:
   3738     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3739     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   3740     _flag_k = FK_DEC;
   3741     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   3742 L_2B020D7C:
   3743     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   3744     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   3745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3746     _flag_k = FK_CMP;
   3747     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   3748     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   3749 L_2B020D83:
   3750     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   3751     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   3752     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   3753     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   3754     RECOMP_FLAGS_IN();
   3755     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   3756     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   3757     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   3758     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   3759     RECOMP_FLAGS_IN();
   3760     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   3761     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* 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; /* 0x2B020DA7: add esp, 4 */
   3766     _flag_k = FK_ADD;
   3767     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3768     edx = 0; /* 0x2B020DAA: xor edx, edx */
   3769     _cf = 0;
   3770     _flag_k = FK_TEST;
   3771 L_2B020DAC:
   3772     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   3773     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   3774     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   3775     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3776     _flag_k = FK_CMP;
   3777     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   3778 L_2B020DB3:
   3779     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   3780     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   3781     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   3782     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3783     _cf = 0;
   3784     _flag_k = FK_NARROW(FK_TEST, 24);
   3785     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   3786 L_2B020DBC:
   3787     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   3788     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3790     _flag_k = FK_NARROW(FK_CMP, 24);
   3791     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   3792 L_2B020DC0:
   3793     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3794     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   3795     _flag_k = FK_NARROW(FK_DEC, 24);
   3796     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   3797     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   3798 L_2B020DC6:
   3799     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   3800     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   3801     RECOMP_FLAGS_IN();
   3802     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3803     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3804     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   3805     _flag_k = FK_ADD;
   3806     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3807     edx = 0; /* 0x2B020DCF: xor edx, edx */
   3808     _cf = 0;
   3809     _flag_k = FK_TEST;
   3810 L_2B020DD1:
   3811     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   3812     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   3813     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   3814     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   3815     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   3816     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   3817     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   3818     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   3819     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   3820     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   3821     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   3822 L_2B0AD2F5:
   3823     ecx = ebp + (-0xA8); /* 0x2B0AD2F5: lea ecx, [ebp - 0xa8] */
   3824     RECOMP_BACKEDGE();
   3825     goto L_2B020CD0; /* 0x2B0AD2FB: jmp 0x2b020cd0 */
   3826     { RECOMP_REGS_OUT(); return; } /* end of function */
   3827     RECOMP_REGS_OUT();
   3828 }
   3829 
   3830 void sub_2B0AD300(void) {
   3831     int _fpu_cmp = 0;
   3832     uint32_t _cf = 0;
   3833     int _df = 1;
   3834     uint32_t _flag_k = FK_NONE;
   3835     uint32_t _flag_a = 0, _flag_b = 0;
   3836     uint32_t _itail_tgt = 0;
   3837     RECOMP_REGS_LOCALS
   3838     RECOMP_ENTER(0x2B0AD300u);
   3839 
   3840 L_2B0AD300:
   3841     ecx = ebp + (-0x78); /* 0x2B0AD300: lea ecx, [ebp - 0x78] */
   3842 L_2B0AD303:
   3843     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   3844     { RECOMP_REGS_OUT(); return; } /* end of function */
   3845   _ljump:
   3846     switch (_itail_tgt) {
   3847       case 0x2B0AD300u: goto L_2B0AD300;
   3848       case 0x2B0AD303u: goto L_2B0AD303;
   3849       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   3850     }
   3851     RECOMP_REGS_OUT();
   3852 }
   3853 
   3854 void sub_2B0AD309(void) {
   3855     int _fpu_cmp = 0;
   3856     uint32_t _cf = 0;
   3857     int _df = 1;
   3858     uint32_t _flag_k = FK_NONE;
   3859     uint32_t _flag_a = 0, _flag_b = 0;
   3860     uint32_t _itail_tgt = 0;
   3861     RECOMP_REGS_LOCALS
   3862     RECOMP_ENTER(0x2B0AD309u);
   3863 
   3864     goto L_2B0AD309;
   3865 L_2B01F690:
   3866     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   3867     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   3868     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   3869     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   3870     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   3871     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   3872     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   3873     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3874     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3875     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   3876     _flag_k = FK_CMP;
   3877     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   3878     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   3879     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   3880     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   3881     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   3882     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3883     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   3884     _cf = 0;
   3885     _flag_k = FK_TEST;
   3886     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   3887     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   3888     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   3889     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   3890     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   3891     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3892     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3893     _flag_k = FK_CMP;
   3894     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   3895 L_2B01F6C5:
   3896     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3897     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   3898     _flag_k = FK_DEC;
   3899     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   3900 L_2B01F6CA:
   3901     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   3902     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3903     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3904     _flag_k = FK_CMP;
   3905     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   3906     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   3907 L_2B01F6D1:
   3908     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   3909     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   3910     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   3911     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   3912     RECOMP_FLAGS_IN();
   3913     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   3914     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   3915     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   3916     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   3917     RECOMP_FLAGS_IN();
   3918     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   3919     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   3920     RECOMP_FLAGS_IN();
   3921     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   3922     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3923     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3924     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   3925     _flag_k = FK_ADD;
   3926 L_2B01F6FB:
   3927     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   3928     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   3929     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3930     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3931     _flag_k = FK_CMP;
   3932     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   3933 L_2B01F702:
   3934     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   3935     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   3936     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   3937     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   3938     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3939     _flag_k = FK_NARROW(FK_CMP, 24);
   3940     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   3941 L_2B01F70B:
   3942     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   3943     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   3944     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3945     _flag_k = FK_NARROW(FK_CMP, 24);
   3946     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   3947 L_2B01F70F:
   3948     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   3949     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   3950     _flag_k = FK_NARROW(FK_DEC, 24);
   3951     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   3952     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   3953 L_2B01F715:
   3954     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   3955     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   3956     RECOMP_FLAGS_IN();
   3957     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   3958     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3959     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3960     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   3961     _flag_k = FK_ADD;
   3962 L_2B01F721:
   3963     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   3964     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   3965     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   3966     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   3967     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   3968     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3970     _flag_k = FK_CMP;
   3971     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   3972     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   3973 L_2B01F738:
   3974     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   3975     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   3976     _flag_k = FK_DEC;
   3977     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   3978 L_2B01F73D:
   3979     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   3980     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3982     _flag_k = FK_CMP;
   3983     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   3984     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   3985 L_2B01F744:
   3986     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   3987     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   3988     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   3989     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   3990     RECOMP_FLAGS_IN();
   3991     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   3992     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   3993     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   3994     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3995     _flag_k = FK_CMP;
   3996     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   3997 L_2B01F75A:
   3998     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   3999     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   4000     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   4001     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4002     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4003     _flag_k = FK_NARROW(FK_CMP, 24);
   4004     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   4005 L_2B01F763:
   4006     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   4007     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4008     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4009     _flag_k = FK_NARROW(FK_CMP, 24);
   4010     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   4011 L_2B01F767:
   4012     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4013     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   4014     _flag_k = FK_NARROW(FK_DEC, 24);
   4015     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   4016     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   4017 L_2B01F76D:
   4018     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   4019     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   4020     RECOMP_FLAGS_IN();
   4021     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4022     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4023     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   4024     _flag_k = FK_ADD;
   4025 L_2B01F776:
   4026     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   4027     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   4028     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   4029     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   4030     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   4031     RECOMP_FLAGS_IN();
   4032     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   4033     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4034     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4035     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   4036     _flag_k = FK_ADD;
   4037 L_2B01F78B:
   4038     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   4039     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   4040     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4041     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4042     _flag_k = FK_CMP;
   4043     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   4044 L_2B01F792:
   4045     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   4046     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   4047     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   4048     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4050     _flag_k = FK_NARROW(FK_CMP, 24);
   4051     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   4052 L_2B01F79B:
   4053     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   4054     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4056     _flag_k = FK_NARROW(FK_CMP, 24);
   4057     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   4058 L_2B01F79F:
   4059     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4060     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   4061     _flag_k = FK_NARROW(FK_DEC, 24);
   4062     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   4063     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   4064 L_2B01F7A5:
   4065     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   4066     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   4067     RECOMP_FLAGS_IN();
   4068     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   4069     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4070     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4071     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   4072     _flag_k = FK_ADD;
   4073 L_2B01F7B1:
   4074     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   4075     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   4076     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   4077     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   4078     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   4079     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   4080     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   4081     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   4082     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   4083     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   4084     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   4085 L_2B0AD309:
   4086     ecx = ebp + (-0x78); /* 0x2B0AD309: lea ecx, [ebp - 0x78] */
   4087     RECOMP_BACKEDGE();
   4088     goto L_2B01F690; /* 0x2B0AD30C: jmp 0x2b01f690 */
   4089     { RECOMP_REGS_OUT(); return; } /* end of function */
   4090     RECOMP_REGS_OUT();
   4091 }
   4092 
   4093 void sub_2B0AD311(void) {
   4094     int _fpu_cmp = 0;
   4095     uint32_t _cf = 0;
   4096     int _df = 1;
   4097     uint32_t _flag_k = FK_NONE;
   4098     uint32_t _flag_a = 0, _flag_b = 0;
   4099     uint32_t _itail_tgt = 0;
   4100     RECOMP_REGS_LOCALS
   4101     RECOMP_ENTER(0x2B0AD311u);
   4102 
   4103     goto L_2B0AD311;
   4104 L_2B020CD0:
   4105     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   4106     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   4107     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   4108     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   4109     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   4110     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   4111     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   4112     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4113     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4114     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   4115     _flag_k = FK_CMP;
   4116     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   4117     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   4118     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   4119     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   4120     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   4121     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4122     edx = 0; /* 0x2B020CF4: xor edx, edx */
   4123     _cf = 0;
   4124     _flag_k = FK_TEST;
   4125     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   4126     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   4127     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   4128     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   4129     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   4130     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   4131     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4132     _flag_k = FK_CMP;
   4133     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   4134 L_2B020D06:
   4135     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   4136     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   4137     _flag_k = FK_DEC;
   4138     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   4139 L_2B020D0B:
   4140     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   4141     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   4142     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4143     _flag_k = FK_CMP;
   4144     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   4145     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   4146 L_2B020D12:
   4147     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   4148     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   4149     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   4150     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   4151     RECOMP_FLAGS_IN();
   4152     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   4153     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   4154     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   4155     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   4156     RECOMP_FLAGS_IN();
   4157     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   4158     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   4159     RECOMP_FLAGS_IN();
   4160     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4161     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4162     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   4163     _flag_k = FK_ADD;
   4164     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4165     edx = 0; /* 0x2B020D39: xor edx, edx */
   4166     _cf = 0;
   4167     _flag_k = FK_TEST;
   4168 L_2B020D3B:
   4169     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   4170     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   4171     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4172     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4173     _flag_k = FK_CMP;
   4174     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   4175 L_2B020D42:
   4176     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   4177     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   4178     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   4179     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4180     _cf = 0;
   4181     _flag_k = FK_NARROW(FK_TEST, 24);
   4182     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   4183 L_2B020D4B:
   4184     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   4185     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4186     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4187     _flag_k = FK_NARROW(FK_CMP, 24);
   4188     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   4189 L_2B020D4F:
   4190     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4191     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   4192     _flag_k = FK_NARROW(FK_DEC, 24);
   4193     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   4194     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   4195 L_2B020D55:
   4196     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   4197     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   4198     RECOMP_FLAGS_IN();
   4199     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4200     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4201     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   4202     _flag_k = FK_ADD;
   4203     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4204     edx = 0; /* 0x2B020D5E: xor edx, edx */
   4205     _cf = 0;
   4206     _flag_k = FK_TEST;
   4207 L_2B020D60:
   4208     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   4209     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   4210     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   4211     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   4212     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   4213     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   4214     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4215     _flag_k = FK_CMP;
   4216     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   4217     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   4218 L_2B020D77:
   4219     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   4220     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   4221     _flag_k = FK_DEC;
   4222     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   4223 L_2B020D7C:
   4224     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   4225     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   4226     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4227     _flag_k = FK_CMP;
   4228     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   4229     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   4230 L_2B020D83:
   4231     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   4232     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   4233     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   4234     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   4235     RECOMP_FLAGS_IN();
   4236     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   4237     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   4238     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   4239     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   4240     RECOMP_FLAGS_IN();
   4241     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   4242     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   4243     RECOMP_FLAGS_IN();
   4244     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4245     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4246     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   4247     _flag_k = FK_ADD;
   4248     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4249     edx = 0; /* 0x2B020DAA: xor edx, edx */
   4250     _cf = 0;
   4251     _flag_k = FK_TEST;
   4252 L_2B020DAC:
   4253     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   4254     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   4255     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4256     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4257     _flag_k = FK_CMP;
   4258     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   4259 L_2B020DB3:
   4260     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   4261     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   4262     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   4263     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4264     _cf = 0;
   4265     _flag_k = FK_NARROW(FK_TEST, 24);
   4266     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   4267 L_2B020DBC:
   4268     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   4269     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4271     _flag_k = FK_NARROW(FK_CMP, 24);
   4272     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   4273 L_2B020DC0:
   4274     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4275     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   4276     _flag_k = FK_NARROW(FK_DEC, 24);
   4277     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   4278     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   4279 L_2B020DC6:
   4280     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   4281     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   4282     RECOMP_FLAGS_IN();
   4283     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4284     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4285     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   4286     _flag_k = FK_ADD;
   4287     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4288     edx = 0; /* 0x2B020DCF: xor edx, edx */
   4289     _cf = 0;
   4290     _flag_k = FK_TEST;
   4291 L_2B020DD1:
   4292     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   4293     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   4294     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   4295     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   4296     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   4297     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   4298     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   4299     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   4300     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   4301     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   4302     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   4303 L_2B0AD311:
   4304     ecx = ebp + (-0xA8); /* 0x2B0AD311: lea ecx, [ebp - 0xa8] */
   4305     RECOMP_BACKEDGE();
   4306     goto L_2B020CD0; /* 0x2B0AD317: jmp 0x2b020cd0 */
   4307     { RECOMP_REGS_OUT(); return; } /* end of function */
   4308     RECOMP_REGS_OUT();
   4309 }
   4310 
   4311 void sub_2B0AD31C(void) {
   4312     int _fpu_cmp = 0;
   4313     uint32_t _cf = 0;
   4314     int _df = 1;
   4315     uint32_t _flag_k = FK_NONE;
   4316     uint32_t _flag_a = 0, _flag_b = 0;
   4317     uint32_t _itail_tgt = 0;
   4318     RECOMP_REGS_LOCALS
   4319     RECOMP_ENTER(0x2B0AD31Cu);
   4320 
   4321 L_2B0AD31C:
   4322     ecx = ebp + (-0x78); /* 0x2B0AD31C: lea ecx, [ebp - 0x78] */
   4323 L_2B0AD31F:
   4324     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   4325     { RECOMP_REGS_OUT(); return; } /* end of function */
   4326   _ljump:
   4327     switch (_itail_tgt) {
   4328       case 0x2B0AD31Cu: goto L_2B0AD31C;
   4329       case 0x2B0AD31Fu: goto L_2B0AD31F;
   4330       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4331     }
   4332     RECOMP_REGS_OUT();
   4333 }
   4334 
   4335 void sub_2B0AD325(void) {
   4336     int _fpu_cmp = 0;
   4337     uint32_t _cf = 0;
   4338     int _df = 1;
   4339     uint32_t _flag_k = FK_NONE;
   4340     uint32_t _flag_a = 0, _flag_b = 0;
   4341     uint32_t _itail_tgt = 0;
   4342     RECOMP_REGS_LOCALS
   4343     RECOMP_ENTER(0x2B0AD325u);
   4344 
   4345     goto L_2B0AD325;
   4346 L_2B01F690:
   4347     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   4348     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   4349     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   4350     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   4351     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   4352     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   4353     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   4354     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4356     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   4357     _flag_k = FK_CMP;
   4358     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   4359     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   4360     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   4361     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   4362     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   4363     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4364     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   4365     _cf = 0;
   4366     _flag_k = FK_TEST;
   4367     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   4368     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   4369     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   4370     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   4371     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   4372     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4373     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4374     _flag_k = FK_CMP;
   4375     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   4376 L_2B01F6C5:
   4377     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   4378     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   4379     _flag_k = FK_DEC;
   4380     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   4381 L_2B01F6CA:
   4382     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   4383     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4384     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4385     _flag_k = FK_CMP;
   4386     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   4387     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   4388 L_2B01F6D1:
   4389     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   4390     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   4391     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   4392     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   4393     RECOMP_FLAGS_IN();
   4394     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   4395     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   4396     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   4397     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   4398     RECOMP_FLAGS_IN();
   4399     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   4400     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   4401     RECOMP_FLAGS_IN();
   4402     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   4403     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4404     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4405     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   4406     _flag_k = FK_ADD;
   4407 L_2B01F6FB:
   4408     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   4409     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   4410     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4411     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4412     _flag_k = FK_CMP;
   4413     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   4414 L_2B01F702:
   4415     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   4416     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   4417     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   4418     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4419     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4420     _flag_k = FK_NARROW(FK_CMP, 24);
   4421     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   4422 L_2B01F70B:
   4423     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   4424     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4425     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4426     _flag_k = FK_NARROW(FK_CMP, 24);
   4427     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   4428 L_2B01F70F:
   4429     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4430     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   4431     _flag_k = FK_NARROW(FK_DEC, 24);
   4432     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   4433     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   4434 L_2B01F715:
   4435     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   4436     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   4437     RECOMP_FLAGS_IN();
   4438     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   4439     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4440     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4441     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   4442     _flag_k = FK_ADD;
   4443 L_2B01F721:
   4444     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   4445     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   4446     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   4447     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   4448     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   4449     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4450     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4451     _flag_k = FK_CMP;
   4452     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   4453     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   4454 L_2B01F738:
   4455     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   4456     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   4457     _flag_k = FK_DEC;
   4458     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   4459 L_2B01F73D:
   4460     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   4461     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4462     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4463     _flag_k = FK_CMP;
   4464     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   4465     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   4466 L_2B01F744:
   4467     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   4468     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   4469     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   4470     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   4471     RECOMP_FLAGS_IN();
   4472     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   4473     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   4474     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4475     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4476     _flag_k = FK_CMP;
   4477     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   4478 L_2B01F75A:
   4479     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   4480     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   4481     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   4482     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4483     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4484     _flag_k = FK_NARROW(FK_CMP, 24);
   4485     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   4486 L_2B01F763:
   4487     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   4488     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4489     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4490     _flag_k = FK_NARROW(FK_CMP, 24);
   4491     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   4492 L_2B01F767:
   4493     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4494     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   4495     _flag_k = FK_NARROW(FK_DEC, 24);
   4496     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   4497     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   4498 L_2B01F76D:
   4499     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   4500     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   4501     RECOMP_FLAGS_IN();
   4502     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4503     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4504     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   4505     _flag_k = FK_ADD;
   4506 L_2B01F776:
   4507     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   4508     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   4509     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   4510     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   4511     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   4512     RECOMP_FLAGS_IN();
   4513     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   4514     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4515     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4516     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   4517     _flag_k = FK_ADD;
   4518 L_2B01F78B:
   4519     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   4520     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   4521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4523     _flag_k = FK_CMP;
   4524     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   4525 L_2B01F792:
   4526     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   4527     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   4528     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   4529     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4530     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4531     _flag_k = FK_NARROW(FK_CMP, 24);
   4532     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   4533 L_2B01F79B:
   4534     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   4535     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4537     _flag_k = FK_NARROW(FK_CMP, 24);
   4538     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   4539 L_2B01F79F:
   4540     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4541     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   4542     _flag_k = FK_NARROW(FK_DEC, 24);
   4543     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   4544     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   4545 L_2B01F7A5:
   4546     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   4547     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   4548     RECOMP_FLAGS_IN();
   4549     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   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; /* 0x2B01F7AE: add esp, 4 */
   4553     _flag_k = FK_ADD;
   4554 L_2B01F7B1:
   4555     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   4556     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   4557     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   4558     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   4559     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   4560     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   4561     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   4562     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   4563     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   4564     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   4565     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   4566 L_2B0AD325:
   4567     ecx = ebp + (-0x78); /* 0x2B0AD325: lea ecx, [ebp - 0x78] */
   4568     RECOMP_BACKEDGE();
   4569     goto L_2B01F690; /* 0x2B0AD328: jmp 0x2b01f690 */
   4570     { RECOMP_REGS_OUT(); return; } /* end of function */
   4571     RECOMP_REGS_OUT();
   4572 }
   4573 
   4574 void sub_2B0AD32D(void) {
   4575     int _fpu_cmp = 0;
   4576     uint32_t _cf = 0;
   4577     int _df = 1;
   4578     uint32_t _flag_k = FK_NONE;
   4579     uint32_t _flag_a = 0, _flag_b = 0;
   4580     uint32_t _itail_tgt = 0;
   4581     RECOMP_REGS_LOCALS
   4582     RECOMP_ENTER(0x2B0AD32Du);
   4583 
   4584     goto L_2B0AD32D;
   4585 L_2B020CD0:
   4586     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   4587     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   4588     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   4589     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   4590     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   4591     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   4592     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   4593     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4594     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4595     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   4596     _flag_k = FK_CMP;
   4597     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   4598     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   4599     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   4600     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   4601     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   4602     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4603     edx = 0; /* 0x2B020CF4: xor edx, edx */
   4604     _cf = 0;
   4605     _flag_k = FK_TEST;
   4606     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   4607     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   4608     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   4609     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   4610     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   4611     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   4612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4613     _flag_k = FK_CMP;
   4614     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   4615 L_2B020D06:
   4616     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   4617     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   4618     _flag_k = FK_DEC;
   4619     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   4620 L_2B020D0B:
   4621     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   4622     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   4623     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4624     _flag_k = FK_CMP;
   4625     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   4626     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   4627 L_2B020D12:
   4628     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   4629     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   4630     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   4631     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   4632     RECOMP_FLAGS_IN();
   4633     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   4634     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   4635     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   4636     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   4637     RECOMP_FLAGS_IN();
   4638     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   4639     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   4640     RECOMP_FLAGS_IN();
   4641     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4642     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4643     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   4644     _flag_k = FK_ADD;
   4645     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4646     edx = 0; /* 0x2B020D39: xor edx, edx */
   4647     _cf = 0;
   4648     _flag_k = FK_TEST;
   4649 L_2B020D3B:
   4650     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   4651     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   4652     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4653     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4654     _flag_k = FK_CMP;
   4655     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   4656 L_2B020D42:
   4657     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   4658     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   4659     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   4660     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4661     _cf = 0;
   4662     _flag_k = FK_NARROW(FK_TEST, 24);
   4663     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   4664 L_2B020D4B:
   4665     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   4666     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4667     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4668     _flag_k = FK_NARROW(FK_CMP, 24);
   4669     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   4670 L_2B020D4F:
   4671     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4672     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   4673     _flag_k = FK_NARROW(FK_DEC, 24);
   4674     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   4675     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   4676 L_2B020D55:
   4677     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   4678     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   4679     RECOMP_FLAGS_IN();
   4680     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4681     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4682     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   4683     _flag_k = FK_ADD;
   4684     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4685     edx = 0; /* 0x2B020D5E: xor edx, edx */
   4686     _cf = 0;
   4687     _flag_k = FK_TEST;
   4688 L_2B020D60:
   4689     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   4690     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   4691     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   4692     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   4693     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   4694     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   4695     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4696     _flag_k = FK_CMP;
   4697     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   4698     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   4699 L_2B020D77:
   4700     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   4701     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   4702     _flag_k = FK_DEC;
   4703     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   4704 L_2B020D7C:
   4705     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   4706     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   4707     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4708     _flag_k = FK_CMP;
   4709     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   4710     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   4711 L_2B020D83:
   4712     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   4713     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   4714     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   4715     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   4716     RECOMP_FLAGS_IN();
   4717     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   4718     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   4719     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   4720     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   4721     RECOMP_FLAGS_IN();
   4722     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   4723     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   4724     RECOMP_FLAGS_IN();
   4725     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4726     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4727     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   4728     _flag_k = FK_ADD;
   4729     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4730     edx = 0; /* 0x2B020DAA: xor edx, edx */
   4731     _cf = 0;
   4732     _flag_k = FK_TEST;
   4733 L_2B020DAC:
   4734     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   4735     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   4736     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   4737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4738     _flag_k = FK_CMP;
   4739     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   4740 L_2B020DB3:
   4741     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   4742     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   4743     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   4744     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4745     _cf = 0;
   4746     _flag_k = FK_NARROW(FK_TEST, 24);
   4747     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   4748 L_2B020DBC:
   4749     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   4750     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4752     _flag_k = FK_NARROW(FK_CMP, 24);
   4753     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   4754 L_2B020DC0:
   4755     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4756     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   4757     _flag_k = FK_NARROW(FK_DEC, 24);
   4758     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   4759     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   4760 L_2B020DC6:
   4761     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   4762     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   4763     RECOMP_FLAGS_IN();
   4764     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4765     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4766     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   4767     _flag_k = FK_ADD;
   4768     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4769     edx = 0; /* 0x2B020DCF: xor edx, edx */
   4770     _cf = 0;
   4771     _flag_k = FK_TEST;
   4772 L_2B020DD1:
   4773     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   4774     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   4775     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   4776     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   4777     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   4778     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   4779     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   4780     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   4781     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   4782     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   4783     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   4784 L_2B0AD32D:
   4785     ecx = ebp + (-0xA8); /* 0x2B0AD32D: lea ecx, [ebp - 0xa8] */
   4786     RECOMP_BACKEDGE();
   4787     goto L_2B020CD0; /* 0x2B0AD333: jmp 0x2b020cd0 */
   4788     { RECOMP_REGS_OUT(); return; } /* end of function */
   4789     RECOMP_REGS_OUT();
   4790 }
   4791 
   4792 void sub_2B0AD338(void) {
   4793     int _fpu_cmp = 0;
   4794     uint32_t _cf = 0;
   4795     int _df = 1;
   4796     uint32_t _flag_k = FK_NONE;
   4797     uint32_t _flag_a = 0, _flag_b = 0;
   4798     uint32_t _itail_tgt = 0;
   4799     RECOMP_REGS_LOCALS
   4800     RECOMP_ENTER(0x2B0AD338u);
   4801 
   4802 L_2B0AD338:
   4803     ecx = ebp + (-0x78); /* 0x2B0AD338: lea ecx, [ebp - 0x78] */
   4804 L_2B0AD33B:
   4805     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   4806     { RECOMP_REGS_OUT(); return; } /* end of function */
   4807   _ljump:
   4808     switch (_itail_tgt) {
   4809       case 0x2B0AD338u: goto L_2B0AD338;
   4810       case 0x2B0AD33Bu: goto L_2B0AD33B;
   4811       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4812     }
   4813     RECOMP_REGS_OUT();
   4814 }
   4815 
   4816 void sub_2B0AD341(void) {
   4817     int _fpu_cmp = 0;
   4818     uint32_t _cf = 0;
   4819     int _df = 1;
   4820     uint32_t _flag_k = FK_NONE;
   4821     uint32_t _flag_a = 0, _flag_b = 0;
   4822     uint32_t _itail_tgt = 0;
   4823     RECOMP_REGS_LOCALS
   4824     RECOMP_ENTER(0x2B0AD341u);
   4825 
   4826     goto L_2B0AD341;
   4827 L_2B01F690:
   4828     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   4829     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   4830     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   4831     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   4832     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   4833     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   4834     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   4835     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4837     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   4838     _flag_k = FK_CMP;
   4839     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   4840     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   4841     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   4842     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   4843     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   4844     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4845     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   4846     _cf = 0;
   4847     _flag_k = FK_TEST;
   4848     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   4849     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   4850     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   4851     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   4852     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   4853     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4855     _flag_k = FK_CMP;
   4856     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   4857 L_2B01F6C5:
   4858     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   4859     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   4860     _flag_k = FK_DEC;
   4861     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   4862 L_2B01F6CA:
   4863     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   4864     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4865     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4866     _flag_k = FK_CMP;
   4867     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   4868     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   4869 L_2B01F6D1:
   4870     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   4871     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   4872     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   4873     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   4874     RECOMP_FLAGS_IN();
   4875     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   4876     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   4877     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   4878     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   4879     RECOMP_FLAGS_IN();
   4880     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   4881     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   4882     RECOMP_FLAGS_IN();
   4883     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   4884     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4885     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4886     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   4887     _flag_k = FK_ADD;
   4888 L_2B01F6FB:
   4889     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   4890     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   4891     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4892     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4893     _flag_k = FK_CMP;
   4894     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   4895 L_2B01F702:
   4896     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   4897     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   4898     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   4899     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4901     _flag_k = FK_NARROW(FK_CMP, 24);
   4902     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   4903 L_2B01F70B:
   4904     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   4905     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4906     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4907     _flag_k = FK_NARROW(FK_CMP, 24);
   4908     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   4909 L_2B01F70F:
   4910     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4911     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   4912     _flag_k = FK_NARROW(FK_DEC, 24);
   4913     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   4914     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   4915 L_2B01F715:
   4916     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   4917     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   4918     RECOMP_FLAGS_IN();
   4919     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   4920     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4921     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4922     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   4923     _flag_k = FK_ADD;
   4924 L_2B01F721:
   4925     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   4926     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   4927     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   4928     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   4929     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   4930     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4932     _flag_k = FK_CMP;
   4933     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   4934     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   4935 L_2B01F738:
   4936     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   4937     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   4938     _flag_k = FK_DEC;
   4939     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   4940 L_2B01F73D:
   4941     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   4942     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   4943     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4944     _flag_k = FK_CMP;
   4945     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   4946     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   4947 L_2B01F744:
   4948     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   4949     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   4950     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   4951     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   4952     RECOMP_FLAGS_IN();
   4953     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   4954     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   4955     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   4956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4957     _flag_k = FK_CMP;
   4958     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   4959 L_2B01F75A:
   4960     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   4961     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   4962     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   4963     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4965     _flag_k = FK_NARROW(FK_CMP, 24);
   4966     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   4967 L_2B01F763:
   4968     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   4969     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   4970     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4971     _flag_k = FK_NARROW(FK_CMP, 24);
   4972     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   4973 L_2B01F767:
   4974     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   4975     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   4976     _flag_k = FK_NARROW(FK_DEC, 24);
   4977     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   4978     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   4979 L_2B01F76D:
   4980     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   4981     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   4982     RECOMP_FLAGS_IN();
   4983     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4984     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4985     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   4986     _flag_k = FK_ADD;
   4987 L_2B01F776:
   4988     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   4989     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   4990     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   4991     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   4992     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   4993     RECOMP_FLAGS_IN();
   4994     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   4995     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4996     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4997     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   4998     _flag_k = FK_ADD;
   4999 L_2B01F78B:
   5000     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   5001     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   5002     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5003     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5004     _flag_k = FK_CMP;
   5005     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   5006 L_2B01F792:
   5007     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   5008     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   5009     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   5010     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5011     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5012     _flag_k = FK_NARROW(FK_CMP, 24);
   5013     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   5014 L_2B01F79B:
   5015     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   5016     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5017     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5018     _flag_k = FK_NARROW(FK_CMP, 24);
   5019     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   5020 L_2B01F79F:
   5021     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5022     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   5023     _flag_k = FK_NARROW(FK_DEC, 24);
   5024     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   5025     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   5026 L_2B01F7A5:
   5027     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   5028     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   5029     RECOMP_FLAGS_IN();
   5030     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   5031     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5032     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5033     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   5034     _flag_k = FK_ADD;
   5035 L_2B01F7B1:
   5036     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   5037     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   5038     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   5039     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   5040     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   5041     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   5042     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   5043     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   5044     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   5045     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   5046     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   5047 L_2B0AD341:
   5048     ecx = ebp + (-0x78); /* 0x2B0AD341: lea ecx, [ebp - 0x78] */
   5049     RECOMP_BACKEDGE();
   5050     goto L_2B01F690; /* 0x2B0AD344: jmp 0x2b01f690 */
   5051     { RECOMP_REGS_OUT(); return; } /* end of function */
   5052     RECOMP_REGS_OUT();
   5053 }
   5054 
   5055 void sub_2B0AD349(void) {
   5056     int _fpu_cmp = 0;
   5057     uint32_t _cf = 0;
   5058     int _df = 1;
   5059     uint32_t _flag_k = FK_NONE;
   5060     uint32_t _flag_a = 0, _flag_b = 0;
   5061     uint32_t _itail_tgt = 0;
   5062     RECOMP_REGS_LOCALS
   5063     RECOMP_ENTER(0x2B0AD349u);
   5064 
   5065     goto L_2B0AD349;
   5066 L_2B020CD0:
   5067     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   5068     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   5069     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   5070     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   5071     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   5072     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   5073     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   5074     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5075     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5076     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   5077     _flag_k = FK_CMP;
   5078     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   5079     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   5080     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   5081     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   5082     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   5083     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5084     edx = 0; /* 0x2B020CF4: xor edx, edx */
   5085     _cf = 0;
   5086     _flag_k = FK_TEST;
   5087     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   5088     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   5089     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   5090     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   5091     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   5092     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   5093     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5094     _flag_k = FK_CMP;
   5095     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   5096 L_2B020D06:
   5097     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   5098     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   5099     _flag_k = FK_DEC;
   5100     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   5101 L_2B020D0B:
   5102     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   5103     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   5104     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5105     _flag_k = FK_CMP;
   5106     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   5107     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   5108 L_2B020D12:
   5109     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   5110     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   5111     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   5112     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   5113     RECOMP_FLAGS_IN();
   5114     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   5115     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   5116     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   5117     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   5118     RECOMP_FLAGS_IN();
   5119     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   5120     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   5121     RECOMP_FLAGS_IN();
   5122     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5123     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5124     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   5125     _flag_k = FK_ADD;
   5126     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5127     edx = 0; /* 0x2B020D39: xor edx, edx */
   5128     _cf = 0;
   5129     _flag_k = FK_TEST;
   5130 L_2B020D3B:
   5131     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   5132     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   5133     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5134     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5135     _flag_k = FK_CMP;
   5136     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   5137 L_2B020D42:
   5138     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   5139     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   5140     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   5141     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5142     _cf = 0;
   5143     _flag_k = FK_NARROW(FK_TEST, 24);
   5144     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   5145 L_2B020D4B:
   5146     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   5147     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5148     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5149     _flag_k = FK_NARROW(FK_CMP, 24);
   5150     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   5151 L_2B020D4F:
   5152     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5153     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   5154     _flag_k = FK_NARROW(FK_DEC, 24);
   5155     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   5156     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   5157 L_2B020D55:
   5158     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   5159     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   5160     RECOMP_FLAGS_IN();
   5161     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5162     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5163     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   5164     _flag_k = FK_ADD;
   5165     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5166     edx = 0; /* 0x2B020D5E: xor edx, edx */
   5167     _cf = 0;
   5168     _flag_k = FK_TEST;
   5169 L_2B020D60:
   5170     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   5171     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   5172     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   5173     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   5174     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   5175     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   5176     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5177     _flag_k = FK_CMP;
   5178     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   5179     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   5180 L_2B020D77:
   5181     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   5182     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   5183     _flag_k = FK_DEC;
   5184     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   5185 L_2B020D7C:
   5186     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   5187     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   5188     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5189     _flag_k = FK_CMP;
   5190     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   5191     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   5192 L_2B020D83:
   5193     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   5194     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   5195     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   5196     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   5197     RECOMP_FLAGS_IN();
   5198     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   5199     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   5200     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   5201     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   5202     RECOMP_FLAGS_IN();
   5203     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   5204     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   5205     RECOMP_FLAGS_IN();
   5206     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5207     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5208     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   5209     _flag_k = FK_ADD;
   5210     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5211     edx = 0; /* 0x2B020DAA: xor edx, edx */
   5212     _cf = 0;
   5213     _flag_k = FK_TEST;
   5214 L_2B020DAC:
   5215     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   5216     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   5217     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5218     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5219     _flag_k = FK_CMP;
   5220     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   5221 L_2B020DB3:
   5222     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   5223     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   5224     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   5225     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5226     _cf = 0;
   5227     _flag_k = FK_NARROW(FK_TEST, 24);
   5228     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   5229 L_2B020DBC:
   5230     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   5231     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5232     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5233     _flag_k = FK_NARROW(FK_CMP, 24);
   5234     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   5235 L_2B020DC0:
   5236     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5237     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   5238     _flag_k = FK_NARROW(FK_DEC, 24);
   5239     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   5240     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   5241 L_2B020DC6:
   5242     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   5243     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   5244     RECOMP_FLAGS_IN();
   5245     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5246     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5247     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   5248     _flag_k = FK_ADD;
   5249     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5250     edx = 0; /* 0x2B020DCF: xor edx, edx */
   5251     _cf = 0;
   5252     _flag_k = FK_TEST;
   5253 L_2B020DD1:
   5254     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   5255     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   5256     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   5257     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   5258     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   5259     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   5260     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   5261     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   5262     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   5263     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   5264     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   5265 L_2B0AD349:
   5266     ecx = ebp + (-0xA8); /* 0x2B0AD349: lea ecx, [ebp - 0xa8] */
   5267     RECOMP_BACKEDGE();
   5268     goto L_2B020CD0; /* 0x2B0AD34F: jmp 0x2b020cd0 */
   5269     { RECOMP_REGS_OUT(); return; } /* end of function */
   5270     RECOMP_REGS_OUT();
   5271 }
   5272 
   5273 void sub_2B0AD354(void) {
   5274     int _fpu_cmp = 0;
   5275     uint32_t _cf = 0;
   5276     int _df = 1;
   5277     uint32_t _flag_k = FK_NONE;
   5278     uint32_t _flag_a = 0, _flag_b = 0;
   5279     uint32_t _itail_tgt = 0;
   5280     RECOMP_REGS_LOCALS
   5281     RECOMP_ENTER(0x2B0AD354u);
   5282 
   5283 L_2B0AD354:
   5284     ecx = ebp + (-0x78); /* 0x2B0AD354: lea ecx, [ebp - 0x78] */
   5285 L_2B0AD357:
   5286     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   5287     { RECOMP_REGS_OUT(); return; } /* end of function */
   5288   _ljump:
   5289     switch (_itail_tgt) {
   5290       case 0x2B0AD354u: goto L_2B0AD354;
   5291       case 0x2B0AD357u: goto L_2B0AD357;
   5292       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5293     }
   5294     RECOMP_REGS_OUT();
   5295 }
   5296 
   5297 void sub_2B0AD35D(void) {
   5298     int _fpu_cmp = 0;
   5299     uint32_t _cf = 0;
   5300     int _df = 1;
   5301     uint32_t _flag_k = FK_NONE;
   5302     uint32_t _flag_a = 0, _flag_b = 0;
   5303     uint32_t _itail_tgt = 0;
   5304     RECOMP_REGS_LOCALS
   5305     RECOMP_ENTER(0x2B0AD35Du);
   5306 
   5307     goto L_2B0AD35D;
   5308 L_2B01F690:
   5309     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   5310     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   5311     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   5312     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   5313     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   5314     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   5315     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   5316     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5317     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5318     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   5319     _flag_k = FK_CMP;
   5320     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   5321     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   5322     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   5323     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   5324     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   5325     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5326     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   5327     _cf = 0;
   5328     _flag_k = FK_TEST;
   5329     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   5330     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   5331     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   5332     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   5333     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   5334     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5335     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5336     _flag_k = FK_CMP;
   5337     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   5338 L_2B01F6C5:
   5339     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   5340     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   5341     _flag_k = FK_DEC;
   5342     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   5343 L_2B01F6CA:
   5344     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   5345     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5346     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5347     _flag_k = FK_CMP;
   5348     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   5349     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   5350 L_2B01F6D1:
   5351     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   5352     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   5353     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   5354     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   5355     RECOMP_FLAGS_IN();
   5356     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   5357     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   5358     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   5359     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   5360     RECOMP_FLAGS_IN();
   5361     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   5362     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   5363     RECOMP_FLAGS_IN();
   5364     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   5365     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5366     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5367     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   5368     _flag_k = FK_ADD;
   5369 L_2B01F6FB:
   5370     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   5371     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   5372     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5373     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5374     _flag_k = FK_CMP;
   5375     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   5376 L_2B01F702:
   5377     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   5378     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   5379     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   5380     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5382     _flag_k = FK_NARROW(FK_CMP, 24);
   5383     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   5384 L_2B01F70B:
   5385     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   5386     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5387     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5388     _flag_k = FK_NARROW(FK_CMP, 24);
   5389     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   5390 L_2B01F70F:
   5391     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5392     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   5393     _flag_k = FK_NARROW(FK_DEC, 24);
   5394     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   5395     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   5396 L_2B01F715:
   5397     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   5398     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   5399     RECOMP_FLAGS_IN();
   5400     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   5401     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5402     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5403     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   5404     _flag_k = FK_ADD;
   5405 L_2B01F721:
   5406     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   5407     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   5408     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   5409     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   5410     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   5411     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5412     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5413     _flag_k = FK_CMP;
   5414     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   5415     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   5416 L_2B01F738:
   5417     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   5418     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   5419     _flag_k = FK_DEC;
   5420     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   5421 L_2B01F73D:
   5422     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   5423     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5425     _flag_k = FK_CMP;
   5426     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   5427     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   5428 L_2B01F744:
   5429     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   5430     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   5431     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   5432     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   5433     RECOMP_FLAGS_IN();
   5434     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   5435     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   5436     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5438     _flag_k = FK_CMP;
   5439     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   5440 L_2B01F75A:
   5441     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   5442     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   5443     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   5444     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5445     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5446     _flag_k = FK_NARROW(FK_CMP, 24);
   5447     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   5448 L_2B01F763:
   5449     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   5450     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5451     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5452     _flag_k = FK_NARROW(FK_CMP, 24);
   5453     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   5454 L_2B01F767:
   5455     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5456     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   5457     _flag_k = FK_NARROW(FK_DEC, 24);
   5458     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   5459     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   5460 L_2B01F76D:
   5461     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   5462     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   5463     RECOMP_FLAGS_IN();
   5464     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5465     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5466     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   5467     _flag_k = FK_ADD;
   5468 L_2B01F776:
   5469     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   5470     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   5471     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   5472     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   5473     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   5474     RECOMP_FLAGS_IN();
   5475     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   5476     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5477     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5478     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   5479     _flag_k = FK_ADD;
   5480 L_2B01F78B:
   5481     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   5482     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   5483     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5484     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5485     _flag_k = FK_CMP;
   5486     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   5487 L_2B01F792:
   5488     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   5489     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   5490     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   5491     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5493     _flag_k = FK_NARROW(FK_CMP, 24);
   5494     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   5495 L_2B01F79B:
   5496     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   5497     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5498     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5499     _flag_k = FK_NARROW(FK_CMP, 24);
   5500     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   5501 L_2B01F79F:
   5502     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5503     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   5504     _flag_k = FK_NARROW(FK_DEC, 24);
   5505     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   5506     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   5507 L_2B01F7A5:
   5508     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   5509     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   5510     RECOMP_FLAGS_IN();
   5511     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   5512     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5513     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5514     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   5515     _flag_k = FK_ADD;
   5516 L_2B01F7B1:
   5517     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   5518     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   5519     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   5520     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   5521     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   5522     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   5523     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   5524     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   5525     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   5526     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   5527     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   5528 L_2B0AD35D:
   5529     ecx = ebp + (-0x78); /* 0x2B0AD35D: lea ecx, [ebp - 0x78] */
   5530     RECOMP_BACKEDGE();
   5531     goto L_2B01F690; /* 0x2B0AD360: jmp 0x2b01f690 */
   5532     { RECOMP_REGS_OUT(); return; } /* end of function */
   5533     RECOMP_REGS_OUT();
   5534 }
   5535 
   5536 void sub_2B0AD365(void) {
   5537     int _fpu_cmp = 0;
   5538     uint32_t _cf = 0;
   5539     int _df = 1;
   5540     uint32_t _flag_k = FK_NONE;
   5541     uint32_t _flag_a = 0, _flag_b = 0;
   5542     uint32_t _itail_tgt = 0;
   5543     RECOMP_REGS_LOCALS
   5544     RECOMP_ENTER(0x2B0AD365u);
   5545 
   5546     goto L_2B0AD365;
   5547 L_2B020CD0:
   5548     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   5549     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   5550     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   5551     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   5552     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   5553     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   5554     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   5555     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5557     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   5558     _flag_k = FK_CMP;
   5559     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   5560     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   5561     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   5562     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   5563     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   5564     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5565     edx = 0; /* 0x2B020CF4: xor edx, edx */
   5566     _cf = 0;
   5567     _flag_k = FK_TEST;
   5568     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   5569     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   5570     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   5571     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   5572     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   5573     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   5574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5575     _flag_k = FK_CMP;
   5576     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   5577 L_2B020D06:
   5578     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   5579     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   5580     _flag_k = FK_DEC;
   5581     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   5582 L_2B020D0B:
   5583     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   5584     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   5585     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5586     _flag_k = FK_CMP;
   5587     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   5588     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   5589 L_2B020D12:
   5590     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   5591     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   5592     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   5593     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   5594     RECOMP_FLAGS_IN();
   5595     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   5596     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   5597     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   5598     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   5599     RECOMP_FLAGS_IN();
   5600     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   5601     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   5602     RECOMP_FLAGS_IN();
   5603     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5604     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5605     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   5606     _flag_k = FK_ADD;
   5607     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5608     edx = 0; /* 0x2B020D39: xor edx, edx */
   5609     _cf = 0;
   5610     _flag_k = FK_TEST;
   5611 L_2B020D3B:
   5612     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   5613     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   5614     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5616     _flag_k = FK_CMP;
   5617     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   5618 L_2B020D42:
   5619     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   5620     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   5621     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   5622     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5623     _cf = 0;
   5624     _flag_k = FK_NARROW(FK_TEST, 24);
   5625     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   5626 L_2B020D4B:
   5627     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   5628     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5630     _flag_k = FK_NARROW(FK_CMP, 24);
   5631     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   5632 L_2B020D4F:
   5633     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5634     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   5635     _flag_k = FK_NARROW(FK_DEC, 24);
   5636     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   5637     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   5638 L_2B020D55:
   5639     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   5640     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   5641     RECOMP_FLAGS_IN();
   5642     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5643     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5644     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   5645     _flag_k = FK_ADD;
   5646     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5647     edx = 0; /* 0x2B020D5E: xor edx, edx */
   5648     _cf = 0;
   5649     _flag_k = FK_TEST;
   5650 L_2B020D60:
   5651     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   5652     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   5653     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   5654     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   5655     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   5656     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   5657     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5658     _flag_k = FK_CMP;
   5659     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   5660     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   5661 L_2B020D77:
   5662     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   5663     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   5664     _flag_k = FK_DEC;
   5665     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   5666 L_2B020D7C:
   5667     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   5668     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   5669     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5670     _flag_k = FK_CMP;
   5671     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   5672     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   5673 L_2B020D83:
   5674     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   5675     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   5676     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   5677     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   5678     RECOMP_FLAGS_IN();
   5679     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   5680     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   5681     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   5682     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   5683     RECOMP_FLAGS_IN();
   5684     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   5685     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   5686     RECOMP_FLAGS_IN();
   5687     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5688     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5689     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   5690     _flag_k = FK_ADD;
   5691     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5692     edx = 0; /* 0x2B020DAA: xor edx, edx */
   5693     _cf = 0;
   5694     _flag_k = FK_TEST;
   5695 L_2B020DAC:
   5696     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   5697     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   5698     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5700     _flag_k = FK_CMP;
   5701     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   5702 L_2B020DB3:
   5703     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   5704     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   5705     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   5706     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5707     _cf = 0;
   5708     _flag_k = FK_NARROW(FK_TEST, 24);
   5709     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   5710 L_2B020DBC:
   5711     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   5712     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5714     _flag_k = FK_NARROW(FK_CMP, 24);
   5715     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   5716 L_2B020DC0:
   5717     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5718     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   5719     _flag_k = FK_NARROW(FK_DEC, 24);
   5720     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   5721     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   5722 L_2B020DC6:
   5723     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   5724     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   5725     RECOMP_FLAGS_IN();
   5726     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5727     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5728     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   5729     _flag_k = FK_ADD;
   5730     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5731     edx = 0; /* 0x2B020DCF: xor edx, edx */
   5732     _cf = 0;
   5733     _flag_k = FK_TEST;
   5734 L_2B020DD1:
   5735     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   5736     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   5737     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   5738     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   5739     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   5740     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   5741     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   5742     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   5743     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   5744     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   5745     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   5746 L_2B0AD365:
   5747     ecx = ebp + (-0xA8); /* 0x2B0AD365: lea ecx, [ebp - 0xa8] */
   5748     RECOMP_BACKEDGE();
   5749     goto L_2B020CD0; /* 0x2B0AD36B: jmp 0x2b020cd0 */
   5750     { RECOMP_REGS_OUT(); return; } /* end of function */
   5751     RECOMP_REGS_OUT();
   5752 }
   5753 
   5754 void sub_2B0AD370(void) {
   5755     int _fpu_cmp = 0;
   5756     uint32_t _cf = 0;
   5757     int _df = 1;
   5758     uint32_t _flag_k = FK_NONE;
   5759     uint32_t _flag_a = 0, _flag_b = 0;
   5760     uint32_t _itail_tgt = 0;
   5761     RECOMP_REGS_LOCALS
   5762     RECOMP_ENTER(0x2B0AD370u);
   5763 
   5764 L_2B0AD370:
   5765     ecx = ebp + (-0x78); /* 0x2B0AD370: lea ecx, [ebp - 0x78] */
   5766 L_2B0AD373:
   5767     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   5768     { RECOMP_REGS_OUT(); return; } /* end of function */
   5769   _ljump:
   5770     switch (_itail_tgt) {
   5771       case 0x2B0AD370u: goto L_2B0AD370;
   5772       case 0x2B0AD373u: goto L_2B0AD373;
   5773       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   5774     }
   5775     RECOMP_REGS_OUT();
   5776 }
   5777 
   5778 void sub_2B0AD379(void) {
   5779     int _fpu_cmp = 0;
   5780     uint32_t _cf = 0;
   5781     int _df = 1;
   5782     uint32_t _flag_k = FK_NONE;
   5783     uint32_t _flag_a = 0, _flag_b = 0;
   5784     uint32_t _itail_tgt = 0;
   5785     RECOMP_REGS_LOCALS
   5786     RECOMP_ENTER(0x2B0AD379u);
   5787 
   5788     goto L_2B0AD379;
   5789 L_2B01F690:
   5790     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   5791     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   5792     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   5793     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   5794     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   5795     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   5796     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   5797     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5798     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5799     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   5800     _flag_k = FK_CMP;
   5801     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   5802     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   5803     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   5804     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   5805     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   5806     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5807     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   5808     _cf = 0;
   5809     _flag_k = FK_TEST;
   5810     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   5811     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   5812     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   5813     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   5814     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   5815     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5817     _flag_k = FK_CMP;
   5818     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   5819 L_2B01F6C5:
   5820     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   5821     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   5822     _flag_k = FK_DEC;
   5823     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   5824 L_2B01F6CA:
   5825     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   5826     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5827     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5828     _flag_k = FK_CMP;
   5829     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   5830     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   5831 L_2B01F6D1:
   5832     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   5833     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   5834     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   5835     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   5836     RECOMP_FLAGS_IN();
   5837     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   5838     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   5839     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   5840     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   5841     RECOMP_FLAGS_IN();
   5842     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   5843     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   5844     RECOMP_FLAGS_IN();
   5845     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   5846     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5847     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5848     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   5849     _flag_k = FK_ADD;
   5850 L_2B01F6FB:
   5851     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   5852     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   5853     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5855     _flag_k = FK_CMP;
   5856     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   5857 L_2B01F702:
   5858     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   5859     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   5860     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   5861     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5862     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5863     _flag_k = FK_NARROW(FK_CMP, 24);
   5864     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   5865 L_2B01F70B:
   5866     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   5867     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5868     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5869     _flag_k = FK_NARROW(FK_CMP, 24);
   5870     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   5871 L_2B01F70F:
   5872     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5873     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   5874     _flag_k = FK_NARROW(FK_DEC, 24);
   5875     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   5876     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   5877 L_2B01F715:
   5878     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   5879     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   5880     RECOMP_FLAGS_IN();
   5881     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   5882     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5883     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5884     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   5885     _flag_k = FK_ADD;
   5886 L_2B01F721:
   5887     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   5888     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   5889     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   5890     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   5891     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   5892     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5894     _flag_k = FK_CMP;
   5895     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   5896     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   5897 L_2B01F738:
   5898     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   5899     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   5900     _flag_k = FK_DEC;
   5901     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   5902 L_2B01F73D:
   5903     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   5904     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   5905     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5906     _flag_k = FK_CMP;
   5907     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   5908     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   5909 L_2B01F744:
   5910     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   5911     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   5912     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   5913     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   5914     RECOMP_FLAGS_IN();
   5915     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   5916     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   5917     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5918     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5919     _flag_k = FK_CMP;
   5920     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   5921 L_2B01F75A:
   5922     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   5923     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   5924     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   5925     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5927     _flag_k = FK_NARROW(FK_CMP, 24);
   5928     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   5929 L_2B01F763:
   5930     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   5931     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5932     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5933     _flag_k = FK_NARROW(FK_CMP, 24);
   5934     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   5935 L_2B01F767:
   5936     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5937     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   5938     _flag_k = FK_NARROW(FK_DEC, 24);
   5939     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   5940     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   5941 L_2B01F76D:
   5942     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   5943     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   5944     RECOMP_FLAGS_IN();
   5945     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5946     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5947     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   5948     _flag_k = FK_ADD;
   5949 L_2B01F776:
   5950     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   5951     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   5952     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   5953     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   5954     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   5955     RECOMP_FLAGS_IN();
   5956     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   5957     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5958     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5959     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   5960     _flag_k = FK_ADD;
   5961 L_2B01F78B:
   5962     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   5963     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   5964     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   5965     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5966     _flag_k = FK_CMP;
   5967     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   5968 L_2B01F792:
   5969     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   5970     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   5971     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   5972     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   5973     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5974     _flag_k = FK_NARROW(FK_CMP, 24);
   5975     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   5976 L_2B01F79B:
   5977     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   5978     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   5979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5980     _flag_k = FK_NARROW(FK_CMP, 24);
   5981     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   5982 L_2B01F79F:
   5983     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   5984     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   5985     _flag_k = FK_NARROW(FK_DEC, 24);
   5986     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   5987     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   5988 L_2B01F7A5:
   5989     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   5990     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   5991     RECOMP_FLAGS_IN();
   5992     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   5993     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5994     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5995     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   5996     _flag_k = FK_ADD;
   5997 L_2B01F7B1:
   5998     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   5999     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   6000     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   6001     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   6002     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   6003     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   6004     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   6005     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   6006     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   6007     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   6008     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   6009 L_2B0AD379:
   6010     ecx = ebp + (-0x78); /* 0x2B0AD379: lea ecx, [ebp - 0x78] */
   6011     RECOMP_BACKEDGE();
   6012     goto L_2B01F690; /* 0x2B0AD37C: jmp 0x2b01f690 */
   6013     { RECOMP_REGS_OUT(); return; } /* end of function */
   6014     RECOMP_REGS_OUT();
   6015 }
   6016 
   6017 void sub_2B0AD381(void) {
   6018     int _fpu_cmp = 0;
   6019     uint32_t _cf = 0;
   6020     int _df = 1;
   6021     uint32_t _flag_k = FK_NONE;
   6022     uint32_t _flag_a = 0, _flag_b = 0;
   6023     uint32_t _itail_tgt = 0;
   6024     RECOMP_REGS_LOCALS
   6025     RECOMP_ENTER(0x2B0AD381u);
   6026 
   6027     goto L_2B0AD381;
   6028 L_2B020CD0:
   6029     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   6030     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   6031     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   6032     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   6033     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   6034     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   6035     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   6036     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   6037     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6038     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   6039     _flag_k = FK_CMP;
   6040     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   6041     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   6042     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   6043     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   6044     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   6045     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6046     edx = 0; /* 0x2B020CF4: xor edx, edx */
   6047     _cf = 0;
   6048     _flag_k = FK_TEST;
   6049     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   6050     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   6051     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   6052     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   6053     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   6054     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   6055     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6056     _flag_k = FK_CMP;
   6057     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   6058 L_2B020D06:
   6059     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   6060     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   6061     _flag_k = FK_DEC;
   6062     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   6063 L_2B020D0B:
   6064     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   6065     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   6066     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6067     _flag_k = FK_CMP;
   6068     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   6069     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   6070 L_2B020D12:
   6071     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   6072     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   6073     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   6074     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   6075     RECOMP_FLAGS_IN();
   6076     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   6077     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   6078     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   6079     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   6080     RECOMP_FLAGS_IN();
   6081     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   6082     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   6083     RECOMP_FLAGS_IN();
   6084     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6085     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6086     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   6087     _flag_k = FK_ADD;
   6088     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6089     edx = 0; /* 0x2B020D39: xor edx, edx */
   6090     _cf = 0;
   6091     _flag_k = FK_TEST;
   6092 L_2B020D3B:
   6093     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   6094     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   6095     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6096     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6097     _flag_k = FK_CMP;
   6098     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   6099 L_2B020D42:
   6100     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   6101     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   6102     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   6103     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   6104     _cf = 0;
   6105     _flag_k = FK_NARROW(FK_TEST, 24);
   6106     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   6107 L_2B020D4B:
   6108     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   6109     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6110     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6111     _flag_k = FK_NARROW(FK_CMP, 24);
   6112     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   6113 L_2B020D4F:
   6114     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6115     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   6116     _flag_k = FK_NARROW(FK_DEC, 24);
   6117     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   6118     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   6119 L_2B020D55:
   6120     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   6121     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   6122     RECOMP_FLAGS_IN();
   6123     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6124     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6125     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   6126     _flag_k = FK_ADD;
   6127     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6128     edx = 0; /* 0x2B020D5E: xor edx, edx */
   6129     _cf = 0;
   6130     _flag_k = FK_TEST;
   6131 L_2B020D60:
   6132     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   6133     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   6134     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   6135     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   6136     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   6137     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   6138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6139     _flag_k = FK_CMP;
   6140     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   6141     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   6142 L_2B020D77:
   6143     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   6144     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   6145     _flag_k = FK_DEC;
   6146     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   6147 L_2B020D7C:
   6148     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   6149     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   6150     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6151     _flag_k = FK_CMP;
   6152     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   6153     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   6154 L_2B020D83:
   6155     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   6156     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   6157     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   6158     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   6159     RECOMP_FLAGS_IN();
   6160     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   6161     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   6162     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   6163     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   6164     RECOMP_FLAGS_IN();
   6165     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   6166     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   6167     RECOMP_FLAGS_IN();
   6168     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6169     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6170     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   6171     _flag_k = FK_ADD;
   6172     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6173     edx = 0; /* 0x2B020DAA: xor edx, edx */
   6174     _cf = 0;
   6175     _flag_k = FK_TEST;
   6176 L_2B020DAC:
   6177     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   6178     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   6179     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6181     _flag_k = FK_CMP;
   6182     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   6183 L_2B020DB3:
   6184     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   6185     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   6186     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   6187     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   6188     _cf = 0;
   6189     _flag_k = FK_NARROW(FK_TEST, 24);
   6190     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   6191 L_2B020DBC:
   6192     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   6193     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6194     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6195     _flag_k = FK_NARROW(FK_CMP, 24);
   6196     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   6197 L_2B020DC0:
   6198     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6199     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   6200     _flag_k = FK_NARROW(FK_DEC, 24);
   6201     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   6202     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   6203 L_2B020DC6:
   6204     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   6205     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   6206     RECOMP_FLAGS_IN();
   6207     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6208     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6209     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   6210     _flag_k = FK_ADD;
   6211     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6212     edx = 0; /* 0x2B020DCF: xor edx, edx */
   6213     _cf = 0;
   6214     _flag_k = FK_TEST;
   6215 L_2B020DD1:
   6216     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   6217     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   6218     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   6219     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   6220     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   6221     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   6222     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   6223     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   6224     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   6225     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   6226     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   6227 L_2B0AD381:
   6228     ecx = ebp + (-0xA8); /* 0x2B0AD381: lea ecx, [ebp - 0xa8] */
   6229     RECOMP_BACKEDGE();
   6230     goto L_2B020CD0; /* 0x2B0AD387: jmp 0x2b020cd0 */
   6231     { RECOMP_REGS_OUT(); return; } /* end of function */
   6232     RECOMP_REGS_OUT();
   6233 }
   6234 
   6235 void sub_2B0AD38C(void) {
   6236     int _fpu_cmp = 0;
   6237     uint32_t _cf = 0;
   6238     int _df = 1;
   6239     uint32_t _flag_k = FK_NONE;
   6240     uint32_t _flag_a = 0, _flag_b = 0;
   6241     uint32_t _itail_tgt = 0;
   6242     RECOMP_REGS_LOCALS
   6243     RECOMP_ENTER(0x2B0AD38Cu);
   6244 
   6245     goto L_2B0AD38C;
   6246 L_2B01F690:
   6247     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   6248     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   6249     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   6250     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   6251     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   6252     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   6253     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   6254     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   6255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6256     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   6257     _flag_k = FK_CMP;
   6258     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   6259     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   6260     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   6261     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   6262     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   6263     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6264     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   6265     _cf = 0;
   6266     _flag_k = FK_TEST;
   6267     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   6268     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   6269     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   6270     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   6271     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   6272     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   6273     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6274     _flag_k = FK_CMP;
   6275     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   6276 L_2B01F6C5:
   6277     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   6278     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   6279     _flag_k = FK_DEC;
   6280     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   6281 L_2B01F6CA:
   6282     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   6283     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   6284     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6285     _flag_k = FK_CMP;
   6286     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   6287     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   6288 L_2B01F6D1:
   6289     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   6290     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   6291     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   6292     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   6293     RECOMP_FLAGS_IN();
   6294     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   6295     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   6296     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   6297     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   6298     RECOMP_FLAGS_IN();
   6299     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   6300     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   6301     RECOMP_FLAGS_IN();
   6302     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   6303     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6304     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6305     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   6306     _flag_k = FK_ADD;
   6307 L_2B01F6FB:
   6308     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   6309     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   6310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6311     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6312     _flag_k = FK_CMP;
   6313     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   6314 L_2B01F702:
   6315     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   6316     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   6317     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   6318     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6320     _flag_k = FK_NARROW(FK_CMP, 24);
   6321     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   6322 L_2B01F70B:
   6323     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   6324     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6325     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6326     _flag_k = FK_NARROW(FK_CMP, 24);
   6327     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   6328 L_2B01F70F:
   6329     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6330     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   6331     _flag_k = FK_NARROW(FK_DEC, 24);
   6332     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   6333     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   6334 L_2B01F715:
   6335     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   6336     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   6337     RECOMP_FLAGS_IN();
   6338     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   6339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6340     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6341     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   6342     _flag_k = FK_ADD;
   6343 L_2B01F721:
   6344     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   6345     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   6346     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   6347     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   6348     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   6349     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   6350     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6351     _flag_k = FK_CMP;
   6352     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   6353     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   6354 L_2B01F738:
   6355     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   6356     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   6357     _flag_k = FK_DEC;
   6358     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   6359 L_2B01F73D:
   6360     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   6361     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   6362     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6363     _flag_k = FK_CMP;
   6364     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   6365     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   6366 L_2B01F744:
   6367     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   6368     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   6369     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   6370     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   6371     RECOMP_FLAGS_IN();
   6372     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   6373     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   6374     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6375     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6376     _flag_k = FK_CMP;
   6377     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   6378 L_2B01F75A:
   6379     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   6380     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   6381     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   6382     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6383     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6384     _flag_k = FK_NARROW(FK_CMP, 24);
   6385     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   6386 L_2B01F763:
   6387     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   6388     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6389     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6390     _flag_k = FK_NARROW(FK_CMP, 24);
   6391     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   6392 L_2B01F767:
   6393     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6394     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   6395     _flag_k = FK_NARROW(FK_DEC, 24);
   6396     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   6397     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   6398 L_2B01F76D:
   6399     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   6400     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   6401     RECOMP_FLAGS_IN();
   6402     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6403     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6404     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   6405     _flag_k = FK_ADD;
   6406 L_2B01F776:
   6407     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   6408     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   6409     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   6410     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   6411     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   6412     RECOMP_FLAGS_IN();
   6413     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   6414     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6415     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6416     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   6417     _flag_k = FK_ADD;
   6418 L_2B01F78B:
   6419     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   6420     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   6421     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   6422     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6423     _flag_k = FK_CMP;
   6424     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   6425 L_2B01F792:
   6426     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   6427     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   6428     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   6429     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   6430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6431     _flag_k = FK_NARROW(FK_CMP, 24);
   6432     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   6433 L_2B01F79B:
   6434     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   6435     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6436     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6437     _flag_k = FK_NARROW(FK_CMP, 24);
   6438     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   6439 L_2B01F79F:
   6440     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6441     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   6442     _flag_k = FK_NARROW(FK_DEC, 24);
   6443     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   6444     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   6445 L_2B01F7A5:
   6446     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   6447     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   6448     RECOMP_FLAGS_IN();
   6449     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   6450     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6451     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6452     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   6453     _flag_k = FK_ADD;
   6454 L_2B01F7B1:
   6455     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   6456     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   6457     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   6458     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   6459     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   6460     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   6461     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   6462     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   6463     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   6464     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   6465     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   6466 L_2B0AD38C:
   6467     ecx = ebp + (-0x78); /* 0x2B0AD38C: lea ecx, [ebp - 0x78] */
   6468     RECOMP_BACKEDGE();
   6469     goto L_2B01F690; /* 0x2B0AD38F: jmp 0x2b01f690 */
   6470     { RECOMP_REGS_OUT(); return; } /* end of function */
   6471     RECOMP_REGS_OUT();
   6472 }
   6473 
   6474 void sub_2B0AD394(void) {
   6475     int _fpu_cmp = 0;
   6476     uint32_t _cf = 0;
   6477     int _df = 1;
   6478     uint32_t _flag_k = FK_NONE;
   6479     uint32_t _flag_a = 0, _flag_b = 0;
   6480     uint32_t _itail_tgt = 0;
   6481     RECOMP_REGS_LOCALS
   6482     RECOMP_ENTER(0x2B0AD394u);
   6483 
   6484     goto L_2B0AD394;
   6485 L_2B020CD0:
   6486     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   6487     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   6488     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   6489     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   6490     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   6491     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   6492     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   6493     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   6494     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6495     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   6496     _flag_k = FK_CMP;
   6497     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   6498     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   6499     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   6500     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   6501     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   6502     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6503     edx = 0; /* 0x2B020CF4: xor edx, edx */
   6504     _cf = 0;
   6505     _flag_k = FK_TEST;
   6506     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   6507     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   6508     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   6509     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   6510     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   6511     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   6512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6513     _flag_k = FK_CMP;
   6514     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   6515 L_2B020D06:
   6516     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   6517     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   6518     _flag_k = FK_DEC;
   6519     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   6520 L_2B020D0B:
   6521     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   6522     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   6523     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6524     _flag_k = FK_CMP;
   6525     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   6526     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   6527 L_2B020D12:
   6528     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   6529     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   6530     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   6531     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   6532     RECOMP_FLAGS_IN();
   6533     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   6534     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   6535     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   6536     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   6537     RECOMP_FLAGS_IN();
   6538     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   6539     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   6540     RECOMP_FLAGS_IN();
   6541     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6542     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6543     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   6544     _flag_k = FK_ADD;
   6545     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6546     edx = 0; /* 0x2B020D39: xor edx, edx */
   6547     _cf = 0;
   6548     _flag_k = FK_TEST;
   6549 L_2B020D3B:
   6550     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   6551     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   6552     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6553     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6554     _flag_k = FK_CMP;
   6555     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   6556 L_2B020D42:
   6557     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   6558     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   6559     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   6560     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   6561     _cf = 0;
   6562     _flag_k = FK_NARROW(FK_TEST, 24);
   6563     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   6564 L_2B020D4B:
   6565     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   6566     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6568     _flag_k = FK_NARROW(FK_CMP, 24);
   6569     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   6570 L_2B020D4F:
   6571     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6572     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   6573     _flag_k = FK_NARROW(FK_DEC, 24);
   6574     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   6575     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   6576 L_2B020D55:
   6577     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   6578     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   6579     RECOMP_FLAGS_IN();
   6580     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6581     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6582     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   6583     _flag_k = FK_ADD;
   6584     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6585     edx = 0; /* 0x2B020D5E: xor edx, edx */
   6586     _cf = 0;
   6587     _flag_k = FK_TEST;
   6588 L_2B020D60:
   6589     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   6590     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   6591     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   6592     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   6593     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   6594     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   6595     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6596     _flag_k = FK_CMP;
   6597     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   6598     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   6599 L_2B020D77:
   6600     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   6601     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   6602     _flag_k = FK_DEC;
   6603     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   6604 L_2B020D7C:
   6605     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   6606     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   6607     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6608     _flag_k = FK_CMP;
   6609     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   6610     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   6611 L_2B020D83:
   6612     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   6613     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   6614     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   6615     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   6616     RECOMP_FLAGS_IN();
   6617     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   6618     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   6619     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   6620     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   6621     RECOMP_FLAGS_IN();
   6622     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   6623     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   6624     RECOMP_FLAGS_IN();
   6625     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6626     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6627     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   6628     _flag_k = FK_ADD;
   6629     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6630     edx = 0; /* 0x2B020DAA: xor edx, edx */
   6631     _cf = 0;
   6632     _flag_k = FK_TEST;
   6633 L_2B020DAC:
   6634     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   6635     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   6636     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   6637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6638     _flag_k = FK_CMP;
   6639     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   6640 L_2B020DB3:
   6641     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   6642     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   6643     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   6644     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   6645     _cf = 0;
   6646     _flag_k = FK_NARROW(FK_TEST, 24);
   6647     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   6648 L_2B020DBC:
   6649     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   6650     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   6651     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6652     _flag_k = FK_NARROW(FK_CMP, 24);
   6653     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   6654 L_2B020DC0:
   6655     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   6656     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   6657     _flag_k = FK_NARROW(FK_DEC, 24);
   6658     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   6659     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   6660 L_2B020DC6:
   6661     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   6662     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   6663     RECOMP_FLAGS_IN();
   6664     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6665     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6666     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   6667     _flag_k = FK_ADD;
   6668     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6669     edx = 0; /* 0x2B020DCF: xor edx, edx */
   6670     _cf = 0;
   6671     _flag_k = FK_TEST;
   6672 L_2B020DD1:
   6673     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   6674     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   6675     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   6676     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   6677     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   6678     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   6679     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   6680     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   6681     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   6682     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   6683     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   6684 L_2B0AD394:
   6685     ecx = ebp + (-0xA8); /* 0x2B0AD394: lea ecx, [ebp - 0xa8] */
   6686     RECOMP_BACKEDGE();
   6687     goto L_2B020CD0; /* 0x2B0AD39A: jmp 0x2b020cd0 */
   6688     { RECOMP_REGS_OUT(); return; } /* end of function */
   6689     RECOMP_REGS_OUT();
   6690 }
   6691 
   6692 void sub_2B0AD39F(void) {
   6693     int _fpu_cmp = 0;
   6694     uint32_t _cf = 0;
   6695     int _df = 1;
   6696     uint32_t _flag_k = FK_NONE;
   6697     uint32_t _flag_a = 0, _flag_b = 0;
   6698     uint32_t _itail_tgt = 0;
   6699     RECOMP_REGS_LOCALS
   6700     RECOMP_ENTER(0x2B0AD39Fu);
   6701 
   6702 L_2B0AD39F:
   6703     ecx = ebp + (-0x78); /* 0x2B0AD39F: lea ecx, [ebp - 0x78] */
   6704 L_2B0AD3A2:
   6705     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   6706     { RECOMP_REGS_OUT(); return; } /* end of function */
   6707   _ljump:
   6708     switch (_itail_tgt) {
   6709       case 0x2B0AD39Fu: goto L_2B0AD39F;
   6710       case 0x2B0AD3A2u: goto L_2B0AD3A2;
   6711       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6712     }
   6713     RECOMP_REGS_OUT();
   6714 }
   6715 
   6716 void sub_2B0AD3A8(void) {
   6717     int _fpu_cmp = 0;
   6718     uint32_t _cf = 0;
   6719     int _df = 1;
   6720     uint32_t _flag_k = FK_NONE;
   6721     uint32_t _flag_a = 0, _flag_b = 0;
   6722     uint32_t _itail_tgt = 0;
   6723     RECOMP_REGS_LOCALS
   6724     RECOMP_ENTER(0x2B0AD3A8u);
   6725 
   6726 L_2B0AD3A8:
   6727     ecx = ebp + (-0x40); /* 0x2B0AD3A8: lea ecx, [ebp - 0x40] */
   6728 L_2B0AD3AB:
   6729     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   6730     { RECOMP_REGS_OUT(); return; } /* end of function */
   6731   _ljump:
   6732     switch (_itail_tgt) {
   6733       case 0x2B0AD3A8u: goto L_2B0AD3A8;
   6734       case 0x2B0AD3ABu: goto L_2B0AD3AB;
   6735       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6736     }
   6737     RECOMP_REGS_OUT();
   6738 }
   6739 
   6740 void sub_2B0AD3B1(void) {
   6741     int _fpu_cmp = 0;
   6742     uint32_t _cf = 0;
   6743     int _df = 1;
   6744     uint32_t _flag_k = FK_NONE;
   6745     uint32_t _flag_a = 0, _flag_b = 0;
   6746     uint32_t _itail_tgt = 0;
   6747     RECOMP_REGS_LOCALS
   6748     RECOMP_ENTER(0x2B0AD3B1u);
   6749 
   6750 L_2B0AD3B1:
   6751     ecx = MEM32(ebp + (-0x10)); /* 0x2B0AD3B1: mov ecx, dword ptr [ebp - 0x10] */
   6752 L_2B0AD3B4:
   6753     { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; }
   6754     { RECOMP_REGS_OUT(); return; } /* end of function */
   6755   _ljump:
   6756     switch (_itail_tgt) {
   6757       case 0x2B0AD3B1u: goto L_2B0AD3B1;
   6758       case 0x2B0AD3B4u: goto L_2B0AD3B4;
   6759       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6760     }
   6761     RECOMP_REGS_OUT();
   6762 }
   6763 
   6764 void sub_2B0AD3BA(void) {
   6765     int _fpu_cmp = 0;
   6766     uint32_t _cf = 0;
   6767     int _df = 1;
   6768     uint32_t _flag_k = FK_NONE;
   6769     uint32_t _flag_a = 0, _flag_b = 0;
   6770     uint32_t _itail_tgt = 0;
   6771     RECOMP_REGS_LOCALS
   6772     RECOMP_ENTER(0x2B0AD3BAu);
   6773 
   6774     goto L_2B0AD3BA;
   6775 L_2B0AB218:
   6776     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
   6777 L_2B0AD3BA:
   6778     eax = 0x2B0BA410u; /* 0x2B0AD3BA: mov eax, 0x2b0ba410 */
   6779 L_2B0AD3BF:
   6780     RECOMP_BACKEDGE();
   6781     goto L_2B0AB218; /* 0x2B0AD3BF: jmp 0x2b0ab218 */
   6782     { RECOMP_REGS_OUT(); return; } /* end of function */
   6783   _ljump:
   6784     switch (_itail_tgt) {
   6785       case 0x2B0AB218u: goto L_2B0AB218;
   6786       case 0x2B0AD3BAu: goto L_2B0AD3BA;
   6787       case 0x2B0AD3BFu: goto L_2B0AD3BF;
   6788       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6789     }
   6790     RECOMP_REGS_OUT();
   6791 }
   6792 
   6793 void sub_2B0AD3D0(void) {
   6794     int _fpu_cmp = 0;
   6795     uint32_t _cf = 0;
   6796     int _df = 1;
   6797     uint32_t _flag_k = FK_NONE;
   6798     uint32_t _flag_a = 0, _flag_b = 0;
   6799     uint32_t _itail_tgt = 0;
   6800     RECOMP_REGS_LOCALS
   6801     RECOMP_ENTER(0x2B0AD3D0u);
   6802 
   6803 L_2B0AD3D0:
   6804     ecx = MEM32(ebp + (-0x10)); /* 0x2B0AD3D0: mov ecx, dword ptr [ebp - 0x10] */
   6805 L_2B0AD3D3:
   6806     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   6807     { RECOMP_REGS_OUT(); return; } /* end of function */
   6808   _ljump:
   6809     switch (_itail_tgt) {
   6810       case 0x2B0AD3D0u: goto L_2B0AD3D0;
   6811       case 0x2B0AD3D3u: goto L_2B0AD3D3;
   6812       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6813     }
   6814     RECOMP_REGS_OUT();
   6815 }
   6816 
   6817 void sub_2B0AD3D9(void) {
   6818     int _fpu_cmp = 0;
   6819     uint32_t _cf = 0;
   6820     int _df = 1;
   6821     uint32_t _flag_k = FK_NONE;
   6822     uint32_t _flag_a = 0, _flag_b = 0;
   6823     uint32_t _itail_tgt = 0;
   6824     RECOMP_REGS_LOCALS
   6825     RECOMP_ENTER(0x2B0AD3D9u);
   6826 
   6827 L_2B0AD3D9:
   6828     ecx = MEM32(ebp + (-0x14)); /* 0x2B0AD3D9: mov ecx, dword ptr [ebp - 0x14] */
   6829 L_2B0AD3DC:
   6830     { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; }
   6831     { RECOMP_REGS_OUT(); return; } /* end of function */
   6832   _ljump:
   6833     switch (_itail_tgt) {
   6834       case 0x2B0AD3D9u: goto L_2B0AD3D9;
   6835       case 0x2B0AD3DCu: goto L_2B0AD3DC;
   6836       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6837     }
   6838     RECOMP_REGS_OUT();
   6839 }
   6840 
   6841 void sub_2B0AD3E2(void) {
   6842     int _fpu_cmp = 0;
   6843     uint32_t _cf = 0;
   6844     int _df = 1;
   6845     uint32_t _flag_k = FK_NONE;
   6846     uint32_t _flag_a = 0, _flag_b = 0;
   6847     uint32_t _itail_tgt = 0;
   6848     RECOMP_REGS_LOCALS
   6849     RECOMP_ENTER(0x2B0AD3E2u);
   6850 
   6851 L_2B0AD3E2:
   6852     ecx = MEM32(ebp + (-0x18)); /* 0x2B0AD3E2: mov ecx, dword ptr [ebp - 0x18] */
   6853 L_2B0AD3E5:
   6854     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   6855     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6856     ecx = ecx + 0xCu; /* 0x2B0AD3E5: add ecx, 0xc */
   6857     _flag_k = FK_ADD;
   6858 L_2B0AD3E8:
   6859     { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; }
   6860     { RECOMP_REGS_OUT(); return; } /* end of function */
   6861   _ljump:
   6862     switch (_itail_tgt) {
   6863       case 0x2B0AD3E2u: goto L_2B0AD3E2;
   6864       case 0x2B0AD3E5u: goto L_2B0AD3E5;
   6865       case 0x2B0AD3E8u: goto L_2B0AD3E8;
   6866       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6867     }
   6868     RECOMP_REGS_OUT();
   6869 }
   6870 
   6871 void sub_2B0AD3EE(void) {
   6872     int _fpu_cmp = 0;
   6873     uint32_t _cf = 0;
   6874     int _df = 1;
   6875     uint32_t _flag_k = FK_NONE;
   6876     uint32_t _flag_a = 0, _flag_b = 0;
   6877     uint32_t _itail_tgt = 0;
   6878     RECOMP_REGS_LOCALS
   6879     RECOMP_ENTER(0x2B0AD3EEu);
   6880 
   6881 L_2B0AD3EE:
   6882     ecx = MEM32(ebp + (-0x10)); /* 0x2B0AD3EE: mov ecx, dword ptr [ebp - 0x10] */
   6883 L_2B0AD3F1:
   6884     { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; }
   6885     { RECOMP_REGS_OUT(); return; } /* end of function */
   6886   _ljump:
   6887     switch (_itail_tgt) {
   6888       case 0x2B0AD3EEu: goto L_2B0AD3EE;
   6889       case 0x2B0AD3F1u: goto L_2B0AD3F1;
   6890       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6891     }
   6892     RECOMP_REGS_OUT();
   6893 }
   6894 
   6895 void sub_2B0AD3F7(void) {
   6896     int _fpu_cmp = 0;
   6897     uint32_t _cf = 0;
   6898     int _df = 1;
   6899     uint32_t _flag_k = FK_NONE;
   6900     uint32_t _flag_a = 0, _flag_b = 0;
   6901     uint32_t _itail_tgt = 0;
   6902     RECOMP_REGS_LOCALS
   6903     RECOMP_ENTER(0x2B0AD3F7u);
   6904 
   6905 L_2B0AD3F7:
   6906     ecx = MEM32(ebp + (-0x18)); /* 0x2B0AD3F7: mov ecx, dword ptr [ebp - 0x18] */
   6907 L_2B0AD3FA:
   6908     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu);
   6909     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6910     ecx = ecx + 0xCu; /* 0x2B0AD3FA: add ecx, 0xc */
   6911     _flag_k = FK_ADD;
   6912 L_2B0AD3FD:
   6913     { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; }
   6914     { RECOMP_REGS_OUT(); return; } /* end of function */
   6915   _ljump:
   6916     switch (_itail_tgt) {
   6917       case 0x2B0AD3F7u: goto L_2B0AD3F7;
   6918       case 0x2B0AD3FAu: goto L_2B0AD3FA;
   6919       case 0x2B0AD3FDu: goto L_2B0AD3FD;
   6920       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6921     }
   6922     RECOMP_REGS_OUT();
   6923 }
   6924 
   6925 void sub_2B0AD403(void) {
   6926     int _fpu_cmp = 0;
   6927     uint32_t _cf = 0;
   6928     int _df = 1;
   6929     uint32_t _flag_k = FK_NONE;
   6930     uint32_t _flag_a = 0, _flag_b = 0;
   6931     uint32_t _itail_tgt = 0;
   6932     RECOMP_REGS_LOCALS
   6933     RECOMP_ENTER(0x2B0AD403u);
   6934 
   6935     goto L_2B0AD403;
   6936 L_2B0AB218:
   6937     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
   6938 L_2B0AD403:
   6939     eax = 0x2B0BA548u; /* 0x2B0AD403: mov eax, 0x2b0ba548 */
   6940 L_2B0AD408:
   6941     RECOMP_BACKEDGE();
   6942     goto L_2B0AB218; /* 0x2B0AD408: jmp 0x2b0ab218 */
   6943     { RECOMP_REGS_OUT(); return; } /* end of function */
   6944   _ljump:
   6945     switch (_itail_tgt) {
   6946       case 0x2B0AB218u: goto L_2B0AB218;
   6947       case 0x2B0AD403u: goto L_2B0AD403;
   6948       case 0x2B0AD408u: goto L_2B0AD408;
   6949       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6950     }
   6951     RECOMP_REGS_OUT();
   6952 }
   6953 
   6954 void sub_2B0AD410(void) {
   6955     int _fpu_cmp = 0;
   6956     uint32_t _cf = 0;
   6957     int _df = 1;
   6958     uint32_t _flag_k = FK_NONE;
   6959     uint32_t _flag_a = 0, _flag_b = 0;
   6960     uint32_t _itail_tgt = 0;
   6961     RECOMP_REGS_LOCALS
   6962     RECOMP_ENTER(0x2B0AD410u);
   6963 
   6964     goto L_2B0AD410;
   6965 L_2B038470:
   6966     PUSH32(esp, esi); /* 0x2B038470: push esi */
   6967     esi = ecx; /* 0x2B038471: mov esi, ecx */
   6968     ecx = MEM32(esi + 0xC); /* 0x2B038473: mov ecx, dword ptr [esi + 0xc] */
   6969     /* test ecx, ecx */ /* 0x2B038476: test ecx, ecx */
   6970     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6971     _cf = 0;
   6972     _flag_k = FK_TEST;
   6973     PUSH32(esp, edi); /* 0x2B038478: push edi */
   6974     MEM32(esi) = 0x2B0B63DCu; /* 0x2B038479: mov dword ptr [esi], 0x2b0b63dc */
   6975     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038487; /* 0x2B03847F: je 0x2b038487 */
   6976 L_2B038481:
   6977     eax = MEM32(ecx); /* 0x2B038481: mov eax, dword ptr [ecx] */
   6978     PUSH32(esp, 1); /* 0x2B038483: push 1 */
   6979     RECOMP_ICALL(MEM32(eax)); /* 0x2B038485: call dword ptr [eax] */
   6980     RECOMP_FLAGS_IN();
   6981 L_2B038487:
   6982     edi = MEM32(esi + 0x8); /* 0x2B038487: mov edi, dword ptr [esi + 8] */
   6983     /* test edi, edi */ /* 0x2B03848A: test edi, edi */
   6984     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6985     _cf = 0;
   6986     _flag_k = FK_TEST;
   6987     PUSH32(esp, ebx); /* 0x2B03848C: push ebx */
   6988     ebx = MEM32(0x2B0B5BC4); /* 0x2B03848D: mov ebx, dword ptr [0x2b0b5bc4] */
   6989     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384A2; /* 0x2B038493: je 0x2b0384a2 */
   6990 L_2B038495:
   6991     ecx = edi; /* 0x2B038495: mov ecx, edi */
   6992     RECOMP_ICALL(ebx); /* 0x2B038497: call ebx */
   6993     RECOMP_FLAGS_IN();
   6994     PUSH32(esp, edi); /* 0x2B038499: push edi */
   6995     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03849A: call 0x2b0ab1ba */ /* not lifted */
   6996     RECOMP_FLAGS_IN();
   6997     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6998     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6999     esp = esp + 4; /* 0x2B03849F: add esp, 4 */
   7000     _flag_k = FK_ADD;
   7001 L_2B0384A2:
   7002     ecx = MEM32(esi + 0x14); /* 0x2B0384A2: mov ecx, dword ptr [esi + 0x14] */
   7003     /* test ecx, ecx */ /* 0x2B0384A5: test ecx, ecx */
   7004     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   7005     _cf = 0;
   7006     _flag_k = FK_TEST;
   7007     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384AF; /* 0x2B0384A7: je 0x2b0384af */
   7008 L_2B0384A9:
   7009     edx = MEM32(ecx); /* 0x2B0384A9: mov edx, dword ptr [ecx] */
   7010     PUSH32(esp, 1); /* 0x2B0384AB: push 1 */
   7011     RECOMP_ICALL(MEM32(edx)); /* 0x2B0384AD: call dword ptr [edx] */
   7012     RECOMP_FLAGS_IN();
   7013 L_2B0384AF:
   7014     edi = MEM32(esi + 0x10); /* 0x2B0384AF: mov edi, dword ptr [esi + 0x10] */
   7015     /* test edi, edi */ /* 0x2B0384B2: test edi, edi */
   7016     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7017     _cf = 0;
   7018     _flag_k = FK_TEST;
   7019     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384C3; /* 0x2B0384B4: je 0x2b0384c3 */
   7020 L_2B0384B6:
   7021     ecx = edi; /* 0x2B0384B6: mov ecx, edi */
   7022     RECOMP_ICALL(ebx); /* 0x2B0384B8: call ebx */
   7023     RECOMP_FLAGS_IN();
   7024     PUSH32(esp, edi); /* 0x2B0384BA: push edi */
   7025     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384BB: call 0x2b0ab1ba */ /* not lifted */
   7026     RECOMP_FLAGS_IN();
   7027     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7028     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7029     esp = esp + 4; /* 0x2B0384C0: add esp, 4 */
   7030     _flag_k = FK_ADD;
   7031 L_2B0384C3:
   7032     ecx = MEM32(esi + 0x1C); /* 0x2B0384C3: mov ecx, dword ptr [esi + 0x1c] */
   7033     /* test ecx, ecx */ /* 0x2B0384C6: test ecx, ecx */
   7034     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   7035     _cf = 0;
   7036     _flag_k = FK_TEST;
   7037     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384D0; /* 0x2B0384C8: je 0x2b0384d0 */
   7038 L_2B0384CA:
   7039     eax = MEM32(ecx); /* 0x2B0384CA: mov eax, dword ptr [ecx] */
   7040     PUSH32(esp, 1); /* 0x2B0384CC: push 1 */
   7041     RECOMP_ICALL(MEM32(eax)); /* 0x2B0384CE: call dword ptr [eax] */
   7042     RECOMP_FLAGS_IN();
   7043 L_2B0384D0:
   7044     edi = MEM32(esi + 0x18); /* 0x2B0384D0: mov edi, dword ptr [esi + 0x18] */
   7045     /* test edi, edi */ /* 0x2B0384D3: test edi, edi */
   7046     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7047     _cf = 0;
   7048     _flag_k = FK_TEST;
   7049     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384E4; /* 0x2B0384D5: je 0x2b0384e4 */
   7050 L_2B0384D7:
   7051     ecx = edi; /* 0x2B0384D7: mov ecx, edi */
   7052     RECOMP_ICALL(ebx); /* 0x2B0384D9: call ebx */
   7053     RECOMP_FLAGS_IN();
   7054     PUSH32(esp, edi); /* 0x2B0384DB: push edi */
   7055     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384DC: call 0x2b0ab1ba */ /* not lifted */
   7056     RECOMP_FLAGS_IN();
   7057     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7058     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7059     esp = esp + 4; /* 0x2B0384E1: add esp, 4 */
   7060     _flag_k = FK_ADD;
   7061 L_2B0384E4:
   7062     edi = MEM32(esi + 0x24); /* 0x2B0384E4: mov edi, dword ptr [esi + 0x24] */
   7063     /* test edi, edi */ /* 0x2B0384E7: test edi, edi */
   7064     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7065     _cf = 0;
   7066     _flag_k = FK_TEST;
   7067     ebx = POP32_VAL(esp); /* 0x2B0384E9: pop ebx */
   7068     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384FD; /* 0x2B0384EA: je 0x2b0384fd */
   7069 L_2B0384EC:
   7070     ecx = edi; /* 0x2B0384EC: mov ecx, edi */
   7071     RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B0384EE: call dword ptr [0x2b0b5b2c] */
   7072     RECOMP_FLAGS_IN();
   7073     PUSH32(esp, edi); /* 0x2B0384F4: push edi */
   7074     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384F5: call 0x2b0ab1ba */ /* not lifted */
   7075     RECOMP_FLAGS_IN();
   7076     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7077     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7078     esp = esp + 4; /* 0x2B0384FA: add esp, 4 */
   7079     _flag_k = FK_ADD;
   7080 L_2B0384FD:
   7081     edi = MEM32(esi + 0x20); /* 0x2B0384FD: mov edi, dword ptr [esi + 0x20] */
   7082     /* test edi, edi */ /* 0x2B038500: test edi, edi */
   7083     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7084     _cf = 0;
   7085     _flag_k = FK_TEST;
   7086     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038515; /* 0x2B038502: je 0x2b038515 */
   7087 L_2B038504:
   7088     ecx = edi; /* 0x2B038504: mov ecx, edi */
   7089     RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B038506: call dword ptr [0x2b0b5b30] */
   7090     RECOMP_FLAGS_IN();
   7091     PUSH32(esp, edi); /* 0x2B03850C: push edi */
   7092     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03850D: call 0x2b0ab1ba */ /* not lifted */
   7093     RECOMP_FLAGS_IN();
   7094     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7095     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7096     esp = esp + 4; /* 0x2B038512: add esp, 4 */
   7097     _flag_k = FK_ADD;
   7098 L_2B038515:
   7099     ecx = esi; /* 0x2B038515: mov ecx, esi */
   7100     RECOMP_ICALL(0x2B038550u); /* 0x2B038517: call 0x2b038550 */ /* not lifted */
   7101     RECOMP_FLAGS_IN();
   7102     edi = MEM32(esi + 0x4); /* 0x2B03851C: mov edi, dword ptr [esi + 4] */
   7103     /* test edi, edi */ /* 0x2B03851F: test edi, edi */
   7104     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7105     _cf = 0;
   7106     _flag_k = FK_TEST;
   7107     if (TEST_Z(_flag_a, _flag_b)) goto L_2B038534; /* 0x2B038521: je 0x2b038534 */
   7108 L_2B038523:
   7109     ecx = edi; /* 0x2B038523: mov ecx, edi */
   7110     RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B038525: call dword ptr [0x2b0b5a68] */
   7111     RECOMP_FLAGS_IN();
   7112     PUSH32(esp, edi); /* 0x2B03852B: push edi */
   7113     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03852C: call 0x2b0ab1ba */ /* not lifted */
   7114     RECOMP_FLAGS_IN();
   7115     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7116     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7117     esp = esp + 4; /* 0x2B038531: add esp, 4 */
   7118     _flag_k = FK_ADD;
   7119 L_2B038534:
   7120     ecx = esi; /* 0x2B038534: mov ecx, esi */
   7121     RECOMP_ICALL(0x2B038540u); /* 0x2B038536: call 0x2b038540 */ /* not lifted */
   7122     RECOMP_FLAGS_IN();
   7123     edi = POP32_VAL(esp); /* 0x2B03853B: pop edi */
   7124     esi = POP32_VAL(esp); /* 0x2B03853C: pop esi */
   7125     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03853D: ret  */
   7126 L_2B0AD410:
   7127     ecx = MEM32(ebp + (-0x18)); /* 0x2B0AD410: mov ecx, dword ptr [ebp - 0x18] */
   7128     RECOMP_BACKEDGE();
   7129     goto L_2B038470; /* 0x2B0AD413: jmp 0x2b038470 */
   7130     { RECOMP_REGS_OUT(); return; } /* end of function */
   7131     RECOMP_REGS_OUT();
   7132 }
   7133 
   7134 void sub_2B0AD418(void) {
   7135     int _fpu_cmp = 0;
   7136     uint32_t _cf = 0;
   7137     int _df = 1;
   7138     uint32_t _flag_k = FK_NONE;
   7139     uint32_t _flag_a = 0, _flag_b = 0;
   7140     uint32_t _itail_tgt = 0;
   7141     RECOMP_REGS_LOCALS
   7142     RECOMP_ENTER(0x2B0AD418u);
   7143 
   7144     goto L_2B0AD418;
   7145 L_2B01F5C0:
   7146     PUSH32(esp, ebp); /* 0x2B01F5C0: push ebp */
   7147     ebp = esp; /* 0x2B01F5C1: mov ebp, esp */
   7148     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7150     esp = esp - 8; /* 0x2B01F5C3: sub esp, 8 */
   7151     _flag_k = FK_CMP;
   7152     PUSH32(esp, ebx); /* 0x2B01F5C6: push ebx */
   7153     PUSH32(esp, esi); /* 0x2B01F5C7: push esi */
   7154     esi = ecx; /* 0x2B01F5C8: mov esi, ecx */
   7155     ecx = MEM32(esi + 0x10); /* 0x2B01F5CA: mov ecx, dword ptr [esi + 0x10] */
   7156     /* test ecx, ecx */ /* 0x2B01F5CD: test ecx, ecx */
   7157     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   7158     _cf = 0;
   7159     _flag_k = FK_TEST;
   7160     PUSH32(esp, edi); /* 0x2B01F5CF: push edi */
   7161     edi = MEM32(esi + 0x4); /* 0x2B01F5D0: mov edi, dword ptr [esi + 4] */
   7162     eax = MEM32(edi); /* 0x2B01F5D3: mov eax, dword ptr [edi] */
   7163     MEM32(ebp + (-0x4)) = eax; /* 0x2B01F5D5: mov dword ptr [ebp - 4], eax */
   7164     if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5D8: je 0x2b01f63f */
   7165 L_2B01F5DA:
   7166     ecx = eax; /* 0x2B01F5DA: mov ecx, eax */
   7167     /* cmp eax, ecx */ /* 0x2B01F5DC: cmp eax, ecx */
   7168     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   7169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7170     _flag_k = FK_CMP;
   7171     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5DE: jne 0x2b01f63f */
   7172 L_2B01F5E0:
   7173     /* cmp edi, edi */ /* 0x2B01F5E0: cmp edi, edi */
   7174     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   7175     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7176     _flag_k = FK_CMP;
   7177     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5E2: jne 0x2b01f63f */
   7178 L_2B01F5E4:
   7179     ebx = MEM32(edi + 0x4); /* 0x2B01F5E4: mov ebx, dword ptr [edi + 4] */
   7180     /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B01F5E7: cmp ebx, dword ptr [esi + 8] */
   7181     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   7182     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7183     _flag_k = FK_CMP;
   7184     edi = ebx; /* 0x2B01F5EA: mov edi, ebx */
   7185     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F617; /* 0x2B01F5EC: je 0x2b01f617 */
   7186 L_2B01F5EE:
   7187     eax = MEM32(edi + 0x8); /* 0x2B01F5EE: mov eax, dword ptr [edi + 8] */
   7188     PUSH32(esp, eax); /* 0x2B01F5F1: push eax */
   7189     ecx = esi; /* 0x2B01F5F2: mov ecx, esi */
   7190     RECOMP_ICALL(0x2B021560u); /* 0x2B01F5F4: call 0x2b021560 */ /* not lifted */
   7191     RECOMP_FLAGS_IN();
   7192     edi = MEM32(edi); /* 0x2B01F5F9: mov edi, dword ptr [edi] */
   7193     PUSH32(esp, 0); /* 0x2B01F5FB: push 0 */
   7194     ecx = ebx + 0xC; /* 0x2B01F5FD: lea ecx, [ebx + 0xc] */
   7195     RECOMP_ICALL(0x2B021930u); /* 0x2B01F600: call 0x2b021930 */ /* not lifted */
   7196     RECOMP_FLAGS_IN();
   7197     PUSH32(esp, ebx); /* 0x2B01F605: push ebx */
   7198     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F606: call 0x2b0ab1ba */ /* not lifted */
   7199     RECOMP_FLAGS_IN();
   7200     eax = MEM32(esi + 0x8); /* 0x2B01F60B: mov eax, dword ptr [esi + 8] */
   7201     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7202     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7203     esp = esp + 4; /* 0x2B01F60E: add esp, 4 */
   7204     _flag_k = FK_ADD;
   7205     /* cmp edi, eax */ /* 0x2B01F611: cmp edi, eax */
   7206     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   7207     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7208     _flag_k = FK_CMP;
   7209     ebx = edi; /* 0x2B01F613: mov ebx, edi */
   7210     RECOMP_BACKEDGE();
   7211     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F5EE; /* 0x2B01F615: jne 0x2b01f5ee */
   7212 L_2B01F617:
   7213     ecx = MEM32(esi + 0x4); /* 0x2B01F617: mov ecx, dword ptr [esi + 4] */
   7214     edx = MEM32(esi + 0x8); /* 0x2B01F61A: mov edx, dword ptr [esi + 8] */
   7215     MEM32(ecx + 0x4) = edx; /* 0x2B01F61D: mov dword ptr [ecx + 4], edx */
   7216     eax = MEM32(esi + 0x4); /* 0x2B01F620: mov eax, dword ptr [esi + 4] */
   7217     MEM32(esi + 0x10) = 0; /* 0x2B01F623: mov dword ptr [esi + 0x10], 0 */
   7218     MEM32(eax) = eax; /* 0x2B01F62A: mov dword ptr [eax], eax */
   7219     eax = MEM32(esi + 0x4); /* 0x2B01F62C: mov eax, dword ptr [esi + 4] */
   7220     MEM32(eax + 0x8) = eax; /* 0x2B01F62F: mov dword ptr [eax + 8], eax */
   7221     eax = ebp + (-0x8); /* 0x2B01F632: lea eax, [ebp - 8] */
   7222     PUSH32(esp, eax); /* 0x2B01F635: push eax */
   7223     ecx = esi; /* 0x2B01F636: mov ecx, esi */
   7224     RECOMP_ICALL(0x2B018B60u); /* 0x2B01F638: call 0x2b018b60 */ /* not lifted */
   7225     RECOMP_FLAGS_IN();
   7226     goto L_2B01F660; /* 0x2B01F63D: jmp 0x2b01f660 */
   7227 L_2B01F63F:
   7228     /* cmp eax, edi */ /* 0x2B01F63F: cmp eax, edi */
   7229     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7230     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7231     _flag_k = FK_CMP;
   7232     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F660; /* 0x2B01F641: je 0x2b01f660 */
   7233 L_2B01F643:
   7234     ecx = ebp + (-0x4); /* 0x2B01F643: lea ecx, [ebp - 4] */
   7235     ebx = eax; /* 0x2B01F646: mov ebx, eax */
   7236     RECOMP_ICALL(0x2B021870u); /* 0x2B01F648: call 0x2b021870 */ /* not lifted */
   7237     RECOMP_FLAGS_IN();
   7238     PUSH32(esp, ebx); /* 0x2B01F64D: push ebx */
   7239     ecx = ebp + (-0x8); /* 0x2B01F64E: lea ecx, [ebp - 8] */
   7240     PUSH32(esp, ecx); /* 0x2B01F651: push ecx */
   7241     ecx = esi; /* 0x2B01F652: mov ecx, esi */
   7242     RECOMP_ICALL(0x2B021100u); /* 0x2B01F654: call 0x2b021100 */ /* not lifted */
   7243     RECOMP_FLAGS_IN();
   7244     eax = MEM32(ebp + (-0x4)); /* 0x2B01F659: mov eax, dword ptr [ebp - 4] */
   7245     /* cmp eax, edi */ /* 0x2B01F65C: cmp eax, edi */
   7246     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   7247     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7248     _flag_k = FK_CMP;
   7249     RECOMP_BACKEDGE();
   7250     if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F643; /* 0x2B01F65E: jne 0x2b01f643 */
   7251 L_2B01F660:
   7252     edx = MEM32(esi + 0x4); /* 0x2B01F660: mov edx, dword ptr [esi + 4] */
   7253     PUSH32(esp, edx); /* 0x2B01F663: push edx */
   7254     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F664: call 0x2b0ab1ba */ /* not lifted */
   7255     RECOMP_FLAGS_IN();
   7256     eax = MEM32(esi + 0x8); /* 0x2B01F669: mov eax, dword ptr [esi + 8] */
   7257     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7258     edi = 0; /* 0x2B01F66C: xor edi, edi */
   7259     _cf = 0;
   7260     _flag_k = FK_TEST;
   7261     PUSH32(esp, eax); /* 0x2B01F66E: push eax */
   7262     MEM32(esi + 0x4) = edi; /* 0x2B01F66F: mov dword ptr [esi + 4], edi */
   7263     MEM32(esi + 0x10) = edi; /* 0x2B01F672: mov dword ptr [esi + 0x10], edi */
   7264     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F675: call 0x2b0ab1ba */ /* not lifted */
   7265     RECOMP_FLAGS_IN();
   7266     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   7267     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7268     esp = esp + 8; /* 0x2B01F67A: add esp, 8 */
   7269     _flag_k = FK_ADD;
   7270     MEM32(esi + 0x8) = edi; /* 0x2B01F67D: mov dword ptr [esi + 8], edi */
   7271     edi = POP32_VAL(esp); /* 0x2B01F680: pop edi */
   7272     esi = POP32_VAL(esp); /* 0x2B01F681: pop esi */
   7273     ebx = POP32_VAL(esp); /* 0x2B01F682: pop ebx */
   7274     esp = ebp; /* 0x2B01F683: mov esp, ebp */
   7275     ebp = POP32_VAL(esp); /* 0x2B01F685: pop ebp */
   7276     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F686: ret  */
   7277 L_2B0AD418:
   7278     ecx = MEM32(ebp + (-0x18)); /* 0x2B0AD418: mov ecx, dword ptr [ebp - 0x18] */
   7279     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x88u);
   7280     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7281     ecx = ecx + 0x88u; /* 0x2B0AD41B: add ecx, 0x88 */
   7282     _flag_k = FK_ADD;
   7283     RECOMP_BACKEDGE();
   7284     goto L_2B01F5C0; /* 0x2B0AD421: jmp 0x2b01f5c0 */
   7285     { RECOMP_REGS_OUT(); return; } /* end of function */
   7286     RECOMP_REGS_OUT();
   7287 }
   7288 
   7289 void sub_2B0AD426(void) {
   7290     int _fpu_cmp = 0;
   7291     uint32_t _cf = 0;
   7292     int _df = 1;
   7293     uint32_t _flag_k = FK_NONE;
   7294     uint32_t _flag_a = 0, _flag_b = 0;
   7295     uint32_t _itail_tgt = 0;
   7296     RECOMP_REGS_LOCALS
   7297     RECOMP_ENTER(0x2B0AD426u);
   7298 
   7299     goto L_2B0AD426;
   7300 L_2B0AB218:
   7301     { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; }
   7302 L_2B0AD426:
   7303     eax = 0x2B0BA590u; /* 0x2B0AD426: mov eax, 0x2b0ba590 */
   7304 L_2B0AD42B:
   7305     RECOMP_BACKEDGE();
   7306     goto L_2B0AB218; /* 0x2B0AD42B: jmp 0x2b0ab218 */
   7307     { RECOMP_REGS_OUT(); return; } /* end of function */
   7308   _ljump:
   7309     switch (_itail_tgt) {
   7310       case 0x2B0AB218u: goto L_2B0AB218;
   7311       case 0x2B0AD426u: goto L_2B0AD426;
   7312       case 0x2B0AD42Bu: goto L_2B0AD42B;
   7313       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7314     }
   7315     RECOMP_REGS_OUT();
   7316 }
   7317 
   7318 void sub_2B0AD430(void) {
   7319     int _fpu_cmp = 0;
   7320     uint32_t _cf = 0;
   7321     int _df = 1;
   7322     uint32_t _flag_k = FK_NONE;
   7323     uint32_t _flag_a = 0, _flag_b = 0;
   7324     uint32_t _itail_tgt = 0;
   7325     RECOMP_REGS_LOCALS
   7326     RECOMP_ENTER(0x2B0AD430u);
   7327 
   7328 L_2B0AD430:
   7329     ecx = ebp + (-0x44); /* 0x2B0AD430: lea ecx, [ebp - 0x44] */
   7330 L_2B0AD433:
   7331     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   7332     { RECOMP_REGS_OUT(); return; } /* end of function */
   7333   _ljump:
   7334     switch (_itail_tgt) {
   7335       case 0x2B0AD430u: goto L_2B0AD430;
   7336       case 0x2B0AD433u: goto L_2B0AD433;
   7337       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7338     }
   7339     RECOMP_REGS_OUT();
   7340 }
   7341 
   7342 void sub_2B0AD439(void) {
   7343     int _fpu_cmp = 0;
   7344     uint32_t _cf = 0;
   7345     int _df = 1;
   7346     uint32_t _flag_k = FK_NONE;
   7347     uint32_t _flag_a = 0, _flag_b = 0;
   7348     uint32_t _itail_tgt = 0;
   7349     RECOMP_REGS_LOCALS
   7350     RECOMP_ENTER(0x2B0AD439u);
   7351 
   7352 L_2B0AD439:
   7353     ecx = ebp + (-0x30); /* 0x2B0AD439: lea ecx, [ebp - 0x30] */
   7354 L_2B0AD43C:
   7355     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   7356     { RECOMP_REGS_OUT(); return; } /* end of function */
   7357   _ljump:
   7358     switch (_itail_tgt) {
   7359       case 0x2B0AD439u: goto L_2B0AD439;
   7360       case 0x2B0AD43Cu: goto L_2B0AD43C;
   7361       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7362     }
   7363     RECOMP_REGS_OUT();
   7364 }
   7365 
   7366 void sub_2B0AD442(void) {
   7367     int _fpu_cmp = 0;
   7368     uint32_t _cf = 0;
   7369     int _df = 1;
   7370     uint32_t _flag_k = FK_NONE;
   7371     uint32_t _flag_a = 0, _flag_b = 0;
   7372     uint32_t _itail_tgt = 0;
   7373     RECOMP_REGS_LOCALS
   7374     RECOMP_ENTER(0x2B0AD442u);
   7375 
   7376     goto L_2B0AD442;
   7377 L_2B01F690:
   7378     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   7379     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   7380     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   7381     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   7382     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   7383     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   7384     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   7385     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   7386     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7387     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   7388     _flag_k = FK_CMP;
   7389     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   7390     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   7391     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   7392     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   7393     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   7394     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7395     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   7396     _cf = 0;
   7397     _flag_k = FK_TEST;
   7398     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   7399     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   7400     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   7401     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   7402     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   7403     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7405     _flag_k = FK_CMP;
   7406     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   7407 L_2B01F6C5:
   7408     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   7409     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   7410     _flag_k = FK_DEC;
   7411     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   7412 L_2B01F6CA:
   7413     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   7414     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7415     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7416     _flag_k = FK_CMP;
   7417     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   7418     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   7419 L_2B01F6D1:
   7420     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   7421     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   7422     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   7423     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   7424     RECOMP_FLAGS_IN();
   7425     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   7426     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   7427     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   7428     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   7429     RECOMP_FLAGS_IN();
   7430     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   7431     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   7432     RECOMP_FLAGS_IN();
   7433     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   7434     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7435     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7436     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   7437     _flag_k = FK_ADD;
   7438 L_2B01F6FB:
   7439     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   7440     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   7441     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7442     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7443     _flag_k = FK_CMP;
   7444     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   7445 L_2B01F702:
   7446     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   7447     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   7448     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   7449     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7450     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7451     _flag_k = FK_NARROW(FK_CMP, 24);
   7452     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   7453 L_2B01F70B:
   7454     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   7455     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7456     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7457     _flag_k = FK_NARROW(FK_CMP, 24);
   7458     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   7459 L_2B01F70F:
   7460     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7461     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   7462     _flag_k = FK_NARROW(FK_DEC, 24);
   7463     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   7464     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   7465 L_2B01F715:
   7466     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   7467     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   7468     RECOMP_FLAGS_IN();
   7469     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   7470     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7471     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7472     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   7473     _flag_k = FK_ADD;
   7474 L_2B01F721:
   7475     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   7476     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   7477     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   7478     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   7479     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   7480     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7482     _flag_k = FK_CMP;
   7483     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   7484     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   7485 L_2B01F738:
   7486     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   7487     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   7488     _flag_k = FK_DEC;
   7489     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   7490 L_2B01F73D:
   7491     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   7492     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7493     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7494     _flag_k = FK_CMP;
   7495     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   7496     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   7497 L_2B01F744:
   7498     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   7499     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   7500     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   7501     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   7502     RECOMP_FLAGS_IN();
   7503     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   7504     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   7505     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7507     _flag_k = FK_CMP;
   7508     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   7509 L_2B01F75A:
   7510     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   7511     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   7512     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   7513     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7514     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7515     _flag_k = FK_NARROW(FK_CMP, 24);
   7516     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   7517 L_2B01F763:
   7518     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   7519     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7521     _flag_k = FK_NARROW(FK_CMP, 24);
   7522     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   7523 L_2B01F767:
   7524     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7525     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   7526     _flag_k = FK_NARROW(FK_DEC, 24);
   7527     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   7528     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   7529 L_2B01F76D:
   7530     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   7531     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   7532     RECOMP_FLAGS_IN();
   7533     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7534     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7535     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   7536     _flag_k = FK_ADD;
   7537 L_2B01F776:
   7538     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   7539     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   7540     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   7541     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   7542     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   7543     RECOMP_FLAGS_IN();
   7544     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   7545     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7546     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7547     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   7548     _flag_k = FK_ADD;
   7549 L_2B01F78B:
   7550     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   7551     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   7552     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7553     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7554     _flag_k = FK_CMP;
   7555     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   7556 L_2B01F792:
   7557     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   7558     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   7559     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   7560     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7561     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7562     _flag_k = FK_NARROW(FK_CMP, 24);
   7563     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   7564 L_2B01F79B:
   7565     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   7566     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7568     _flag_k = FK_NARROW(FK_CMP, 24);
   7569     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   7570 L_2B01F79F:
   7571     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7572     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   7573     _flag_k = FK_NARROW(FK_DEC, 24);
   7574     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   7575     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   7576 L_2B01F7A5:
   7577     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   7578     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   7579     RECOMP_FLAGS_IN();
   7580     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   7581     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7582     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7583     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   7584     _flag_k = FK_ADD;
   7585 L_2B01F7B1:
   7586     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   7587     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   7588     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   7589     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   7590     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   7591     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   7592     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   7593     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   7594     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   7595     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   7596     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   7597 L_2B0AD442:
   7598     ecx = ebp + (-0x6C); /* 0x2B0AD442: lea ecx, [ebp - 0x6c] */
   7599     RECOMP_BACKEDGE();
   7600     goto L_2B01F690; /* 0x2B0AD445: jmp 0x2b01f690 */
   7601     { RECOMP_REGS_OUT(); return; } /* end of function */
   7602     RECOMP_REGS_OUT();
   7603 }
   7604 
   7605 void sub_2B0AD44A(void) {
   7606     int _fpu_cmp = 0;
   7607     uint32_t _cf = 0;
   7608     int _df = 1;
   7609     uint32_t _flag_k = FK_NONE;
   7610     uint32_t _flag_a = 0, _flag_b = 0;
   7611     uint32_t _itail_tgt = 0;
   7612     RECOMP_REGS_LOCALS
   7613     RECOMP_ENTER(0x2B0AD44Au);
   7614 
   7615     goto L_2B0AD44A;
   7616 L_2B020CD0:
   7617     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   7618     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   7619     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   7620     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   7621     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   7622     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   7623     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   7624     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   7625     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7626     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   7627     _flag_k = FK_CMP;
   7628     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   7629     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   7630     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   7631     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   7632     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   7633     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7634     edx = 0; /* 0x2B020CF4: xor edx, edx */
   7635     _cf = 0;
   7636     _flag_k = FK_TEST;
   7637     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   7638     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   7639     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   7640     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   7641     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   7642     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   7643     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7644     _flag_k = FK_CMP;
   7645     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   7646 L_2B020D06:
   7647     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   7648     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   7649     _flag_k = FK_DEC;
   7650     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   7651 L_2B020D0B:
   7652     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   7653     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   7654     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7655     _flag_k = FK_CMP;
   7656     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   7657     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   7658 L_2B020D12:
   7659     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   7660     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   7661     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   7662     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   7663     RECOMP_FLAGS_IN();
   7664     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   7665     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   7666     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   7667     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   7668     RECOMP_FLAGS_IN();
   7669     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   7670     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   7671     RECOMP_FLAGS_IN();
   7672     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7673     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7674     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   7675     _flag_k = FK_ADD;
   7676     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7677     edx = 0; /* 0x2B020D39: xor edx, edx */
   7678     _cf = 0;
   7679     _flag_k = FK_TEST;
   7680 L_2B020D3B:
   7681     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   7682     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   7683     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   7684     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7685     _flag_k = FK_CMP;
   7686     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   7687 L_2B020D42:
   7688     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   7689     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   7690     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   7691     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   7692     _cf = 0;
   7693     _flag_k = FK_NARROW(FK_TEST, 24);
   7694     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   7695 L_2B020D4B:
   7696     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   7697     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7699     _flag_k = FK_NARROW(FK_CMP, 24);
   7700     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   7701 L_2B020D4F:
   7702     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7703     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   7704     _flag_k = FK_NARROW(FK_DEC, 24);
   7705     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   7706     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   7707 L_2B020D55:
   7708     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   7709     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   7710     RECOMP_FLAGS_IN();
   7711     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7712     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7713     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   7714     _flag_k = FK_ADD;
   7715     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7716     edx = 0; /* 0x2B020D5E: xor edx, edx */
   7717     _cf = 0;
   7718     _flag_k = FK_TEST;
   7719 L_2B020D60:
   7720     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   7721     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   7722     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   7723     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   7724     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   7725     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   7726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7727     _flag_k = FK_CMP;
   7728     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   7729     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   7730 L_2B020D77:
   7731     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   7732     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   7733     _flag_k = FK_DEC;
   7734     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   7735 L_2B020D7C:
   7736     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   7737     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   7738     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7739     _flag_k = FK_CMP;
   7740     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   7741     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   7742 L_2B020D83:
   7743     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   7744     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   7745     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   7746     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   7747     RECOMP_FLAGS_IN();
   7748     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   7749     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   7750     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   7751     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   7752     RECOMP_FLAGS_IN();
   7753     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   7754     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   7755     RECOMP_FLAGS_IN();
   7756     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7757     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7758     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   7759     _flag_k = FK_ADD;
   7760     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7761     edx = 0; /* 0x2B020DAA: xor edx, edx */
   7762     _cf = 0;
   7763     _flag_k = FK_TEST;
   7764 L_2B020DAC:
   7765     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   7766     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   7767     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   7768     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7769     _flag_k = FK_CMP;
   7770     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   7771 L_2B020DB3:
   7772     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   7773     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   7774     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   7775     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   7776     _cf = 0;
   7777     _flag_k = FK_NARROW(FK_TEST, 24);
   7778     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   7779 L_2B020DBC:
   7780     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   7781     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7782     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7783     _flag_k = FK_NARROW(FK_CMP, 24);
   7784     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   7785 L_2B020DC0:
   7786     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7787     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   7788     _flag_k = FK_NARROW(FK_DEC, 24);
   7789     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   7790     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   7791 L_2B020DC6:
   7792     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   7793     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   7794     RECOMP_FLAGS_IN();
   7795     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7796     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7797     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   7798     _flag_k = FK_ADD;
   7799     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7800     edx = 0; /* 0x2B020DCF: xor edx, edx */
   7801     _cf = 0;
   7802     _flag_k = FK_TEST;
   7803 L_2B020DD1:
   7804     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   7805     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   7806     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   7807     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   7808     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   7809     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   7810     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   7811     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   7812     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   7813     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   7814     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   7815 L_2B0AD44A:
   7816     ecx = ebp + (-0xB0); /* 0x2B0AD44A: lea ecx, [ebp - 0xb0] */
   7817     RECOMP_BACKEDGE();
   7818     goto L_2B020CD0; /* 0x2B0AD450: jmp 0x2b020cd0 */
   7819     { RECOMP_REGS_OUT(); return; } /* end of function */
   7820     RECOMP_REGS_OUT();
   7821 }
   7822 
   7823 void sub_2B0AD455(void) {
   7824     int _fpu_cmp = 0;
   7825     uint32_t _cf = 0;
   7826     int _df = 1;
   7827     uint32_t _flag_k = FK_NONE;
   7828     uint32_t _flag_a = 0, _flag_b = 0;
   7829     uint32_t _itail_tgt = 0;
   7830     RECOMP_REGS_LOCALS
   7831     RECOMP_ENTER(0x2B0AD455u);
   7832 
   7833 L_2B0AD455:
   7834     ecx = ebp + (-0x6C); /* 0x2B0AD455: lea ecx, [ebp - 0x6c] */
   7835 L_2B0AD458:
   7836     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   7837     { RECOMP_REGS_OUT(); return; } /* end of function */
   7838   _ljump:
   7839     switch (_itail_tgt) {
   7840       case 0x2B0AD455u: goto L_2B0AD455;
   7841       case 0x2B0AD458u: goto L_2B0AD458;
   7842       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7843     }
   7844     RECOMP_REGS_OUT();
   7845 }
   7846 
   7847 void sub_2B0AD45E(void) {
   7848     int _fpu_cmp = 0;
   7849     uint32_t _cf = 0;
   7850     int _df = 1;
   7851     uint32_t _flag_k = FK_NONE;
   7852     uint32_t _flag_a = 0, _flag_b = 0;
   7853     uint32_t _itail_tgt = 0;
   7854     RECOMP_REGS_LOCALS
   7855     RECOMP_ENTER(0x2B0AD45Eu);
   7856 
   7857     goto L_2B0AD45E;
   7858 L_2B01F690:
   7859     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   7860     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   7861     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   7862     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   7863     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   7864     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   7865     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   7866     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   7867     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7868     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   7869     _flag_k = FK_CMP;
   7870     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   7871     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   7872     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   7873     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   7874     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   7875     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7876     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   7877     _cf = 0;
   7878     _flag_k = FK_TEST;
   7879     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   7880     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   7881     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   7882     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   7883     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   7884     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7886     _flag_k = FK_CMP;
   7887     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   7888 L_2B01F6C5:
   7889     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   7890     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   7891     _flag_k = FK_DEC;
   7892     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   7893 L_2B01F6CA:
   7894     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   7895     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7897     _flag_k = FK_CMP;
   7898     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   7899     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   7900 L_2B01F6D1:
   7901     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   7902     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   7903     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   7904     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   7905     RECOMP_FLAGS_IN();
   7906     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   7907     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   7908     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   7909     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   7910     RECOMP_FLAGS_IN();
   7911     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   7912     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   7913     RECOMP_FLAGS_IN();
   7914     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   7915     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7916     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7917     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   7918     _flag_k = FK_ADD;
   7919 L_2B01F6FB:
   7920     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   7921     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   7922     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7923     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7924     _flag_k = FK_CMP;
   7925     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   7926 L_2B01F702:
   7927     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   7928     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   7929     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   7930     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7932     _flag_k = FK_NARROW(FK_CMP, 24);
   7933     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   7934 L_2B01F70B:
   7935     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   7936     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   7937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7938     _flag_k = FK_NARROW(FK_CMP, 24);
   7939     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   7940 L_2B01F70F:
   7941     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   7942     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   7943     _flag_k = FK_NARROW(FK_DEC, 24);
   7944     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   7945     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   7946 L_2B01F715:
   7947     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   7948     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   7949     RECOMP_FLAGS_IN();
   7950     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   7951     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   7952     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   7953     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   7954     _flag_k = FK_ADD;
   7955 L_2B01F721:
   7956     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   7957     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   7958     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   7959     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   7960     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   7961     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7962     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7963     _flag_k = FK_CMP;
   7964     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   7965     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   7966 L_2B01F738:
   7967     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   7968     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   7969     _flag_k = FK_DEC;
   7970     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   7971 L_2B01F73D:
   7972     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   7973     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   7974     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7975     _flag_k = FK_CMP;
   7976     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   7977     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   7978 L_2B01F744:
   7979     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   7980     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   7981     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   7982     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   7983     RECOMP_FLAGS_IN();
   7984     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   7985     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   7986     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   7987     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7988     _flag_k = FK_CMP;
   7989     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   7990 L_2B01F75A:
   7991     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   7992     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   7993     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   7994     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   7995     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7996     _flag_k = FK_NARROW(FK_CMP, 24);
   7997     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   7998 L_2B01F763:
   7999     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   8000     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8002     _flag_k = FK_NARROW(FK_CMP, 24);
   8003     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   8004 L_2B01F767:
   8005     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8006     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   8007     _flag_k = FK_NARROW(FK_DEC, 24);
   8008     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   8009     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   8010 L_2B01F76D:
   8011     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   8012     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   8013     RECOMP_FLAGS_IN();
   8014     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8015     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8016     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   8017     _flag_k = FK_ADD;
   8018 L_2B01F776:
   8019     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   8020     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   8021     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   8022     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   8023     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   8024     RECOMP_FLAGS_IN();
   8025     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   8026     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8027     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8028     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   8029     _flag_k = FK_ADD;
   8030 L_2B01F78B:
   8031     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   8032     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   8033     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8034     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8035     _flag_k = FK_CMP;
   8036     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   8037 L_2B01F792:
   8038     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   8039     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   8040     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   8041     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8042     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8043     _flag_k = FK_NARROW(FK_CMP, 24);
   8044     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   8045 L_2B01F79B:
   8046     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   8047     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8048     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8049     _flag_k = FK_NARROW(FK_CMP, 24);
   8050     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   8051 L_2B01F79F:
   8052     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8053     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   8054     _flag_k = FK_NARROW(FK_DEC, 24);
   8055     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   8056     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   8057 L_2B01F7A5:
   8058     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   8059     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   8060     RECOMP_FLAGS_IN();
   8061     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   8062     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8063     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8064     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   8065     _flag_k = FK_ADD;
   8066 L_2B01F7B1:
   8067     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   8068     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   8069     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   8070     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   8071     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   8072     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   8073     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   8074     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   8075     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   8076     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   8077     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   8078 L_2B0AD45E:
   8079     ecx = ebp + (-0x6C); /* 0x2B0AD45E: lea ecx, [ebp - 0x6c] */
   8080     RECOMP_BACKEDGE();
   8081     goto L_2B01F690; /* 0x2B0AD461: jmp 0x2b01f690 */
   8082     { RECOMP_REGS_OUT(); return; } /* end of function */
   8083     RECOMP_REGS_OUT();
   8084 }
   8085 
   8086 void sub_2B0AD466(void) {
   8087     int _fpu_cmp = 0;
   8088     uint32_t _cf = 0;
   8089     int _df = 1;
   8090     uint32_t _flag_k = FK_NONE;
   8091     uint32_t _flag_a = 0, _flag_b = 0;
   8092     uint32_t _itail_tgt = 0;
   8093     RECOMP_REGS_LOCALS
   8094     RECOMP_ENTER(0x2B0AD466u);
   8095 
   8096     goto L_2B0AD466;
   8097 L_2B020CD0:
   8098     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   8099     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   8100     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   8101     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   8102     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   8103     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   8104     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   8105     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   8106     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8107     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   8108     _flag_k = FK_CMP;
   8109     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   8110     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   8111     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   8112     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   8113     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   8114     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8115     edx = 0; /* 0x2B020CF4: xor edx, edx */
   8116     _cf = 0;
   8117     _flag_k = FK_TEST;
   8118     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   8119     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   8120     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   8121     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   8122     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   8123     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   8124     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8125     _flag_k = FK_CMP;
   8126     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   8127 L_2B020D06:
   8128     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   8129     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   8130     _flag_k = FK_DEC;
   8131     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   8132 L_2B020D0B:
   8133     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   8134     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   8135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8136     _flag_k = FK_CMP;
   8137     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   8138     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   8139 L_2B020D12:
   8140     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   8141     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   8142     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   8143     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   8144     RECOMP_FLAGS_IN();
   8145     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   8146     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   8147     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   8148     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   8149     RECOMP_FLAGS_IN();
   8150     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   8151     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   8152     RECOMP_FLAGS_IN();
   8153     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8154     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8155     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   8156     _flag_k = FK_ADD;
   8157     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8158     edx = 0; /* 0x2B020D39: xor edx, edx */
   8159     _cf = 0;
   8160     _flag_k = FK_TEST;
   8161 L_2B020D3B:
   8162     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   8163     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   8164     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   8165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8166     _flag_k = FK_CMP;
   8167     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   8168 L_2B020D42:
   8169     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   8170     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   8171     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   8172     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   8173     _cf = 0;
   8174     _flag_k = FK_NARROW(FK_TEST, 24);
   8175     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   8176 L_2B020D4B:
   8177     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   8178     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8179     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8180     _flag_k = FK_NARROW(FK_CMP, 24);
   8181     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   8182 L_2B020D4F:
   8183     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8184     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   8185     _flag_k = FK_NARROW(FK_DEC, 24);
   8186     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   8187     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   8188 L_2B020D55:
   8189     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   8190     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   8191     RECOMP_FLAGS_IN();
   8192     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8193     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8194     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   8195     _flag_k = FK_ADD;
   8196     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8197     edx = 0; /* 0x2B020D5E: xor edx, edx */
   8198     _cf = 0;
   8199     _flag_k = FK_TEST;
   8200 L_2B020D60:
   8201     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   8202     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   8203     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   8204     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   8205     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   8206     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   8207     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8208     _flag_k = FK_CMP;
   8209     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   8210     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   8211 L_2B020D77:
   8212     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   8213     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   8214     _flag_k = FK_DEC;
   8215     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   8216 L_2B020D7C:
   8217     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   8218     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   8219     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8220     _flag_k = FK_CMP;
   8221     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   8222     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   8223 L_2B020D83:
   8224     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   8225     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   8226     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   8227     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   8228     RECOMP_FLAGS_IN();
   8229     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   8230     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   8231     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   8232     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   8233     RECOMP_FLAGS_IN();
   8234     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   8235     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   8236     RECOMP_FLAGS_IN();
   8237     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8238     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8239     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   8240     _flag_k = FK_ADD;
   8241     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8242     edx = 0; /* 0x2B020DAA: xor edx, edx */
   8243     _cf = 0;
   8244     _flag_k = FK_TEST;
   8245 L_2B020DAC:
   8246     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   8247     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   8248     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   8249     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8250     _flag_k = FK_CMP;
   8251     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   8252 L_2B020DB3:
   8253     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   8254     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   8255     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   8256     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   8257     _cf = 0;
   8258     _flag_k = FK_NARROW(FK_TEST, 24);
   8259     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   8260 L_2B020DBC:
   8261     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   8262     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8263     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8264     _flag_k = FK_NARROW(FK_CMP, 24);
   8265     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   8266 L_2B020DC0:
   8267     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8268     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   8269     _flag_k = FK_NARROW(FK_DEC, 24);
   8270     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   8271     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   8272 L_2B020DC6:
   8273     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   8274     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   8275     RECOMP_FLAGS_IN();
   8276     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8277     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8278     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   8279     _flag_k = FK_ADD;
   8280     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8281     edx = 0; /* 0x2B020DCF: xor edx, edx */
   8282     _cf = 0;
   8283     _flag_k = FK_TEST;
   8284 L_2B020DD1:
   8285     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   8286     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   8287     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   8288     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   8289     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   8290     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   8291     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   8292     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   8293     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   8294     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   8295     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   8296 L_2B0AD466:
   8297     ecx = ebp + (-0xB0); /* 0x2B0AD466: lea ecx, [ebp - 0xb0] */
   8298     RECOMP_BACKEDGE();
   8299     goto L_2B020CD0; /* 0x2B0AD46C: jmp 0x2b020cd0 */
   8300     { RECOMP_REGS_OUT(); return; } /* end of function */
   8301     RECOMP_REGS_OUT();
   8302 }
   8303 
   8304 void sub_2B0AD471(void) {
   8305     int _fpu_cmp = 0;
   8306     uint32_t _cf = 0;
   8307     int _df = 1;
   8308     uint32_t _flag_k = FK_NONE;
   8309     uint32_t _flag_a = 0, _flag_b = 0;
   8310     uint32_t _itail_tgt = 0;
   8311     RECOMP_REGS_LOCALS
   8312     RECOMP_ENTER(0x2B0AD471u);
   8313 
   8314 L_2B0AD471:
   8315     ecx = ebp + (-0x6C); /* 0x2B0AD471: lea ecx, [ebp - 0x6c] */
   8316 L_2B0AD474:
   8317     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   8318     { RECOMP_REGS_OUT(); return; } /* end of function */
   8319   _ljump:
   8320     switch (_itail_tgt) {
   8321       case 0x2B0AD471u: goto L_2B0AD471;
   8322       case 0x2B0AD474u: goto L_2B0AD474;
   8323       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8324     }
   8325     RECOMP_REGS_OUT();
   8326 }
   8327 
   8328 void sub_2B0AD47A(void) {
   8329     int _fpu_cmp = 0;
   8330     uint32_t _cf = 0;
   8331     int _df = 1;
   8332     uint32_t _flag_k = FK_NONE;
   8333     uint32_t _flag_a = 0, _flag_b = 0;
   8334     uint32_t _itail_tgt = 0;
   8335     RECOMP_REGS_LOCALS
   8336     RECOMP_ENTER(0x2B0AD47Au);
   8337 
   8338     goto L_2B0AD47A;
   8339 L_2B01F690:
   8340     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   8341     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   8342     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   8343     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   8344     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   8345     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   8346     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   8347     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   8348     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8349     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   8350     _flag_k = FK_CMP;
   8351     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   8352     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   8353     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   8354     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   8355     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   8356     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8357     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   8358     _cf = 0;
   8359     _flag_k = FK_TEST;
   8360     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   8361     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   8362     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   8363     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   8364     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   8365     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8367     _flag_k = FK_CMP;
   8368     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   8369 L_2B01F6C5:
   8370     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   8371     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   8372     _flag_k = FK_DEC;
   8373     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   8374 L_2B01F6CA:
   8375     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   8376     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8377     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8378     _flag_k = FK_CMP;
   8379     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   8380     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   8381 L_2B01F6D1:
   8382     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   8383     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   8384     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   8385     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   8386     RECOMP_FLAGS_IN();
   8387     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   8388     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   8389     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   8390     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   8391     RECOMP_FLAGS_IN();
   8392     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   8393     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   8394     RECOMP_FLAGS_IN();
   8395     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   8396     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8397     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8398     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   8399     _flag_k = FK_ADD;
   8400 L_2B01F6FB:
   8401     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   8402     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   8403     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8404     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8405     _flag_k = FK_CMP;
   8406     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   8407 L_2B01F702:
   8408     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   8409     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   8410     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   8411     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8412     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8413     _flag_k = FK_NARROW(FK_CMP, 24);
   8414     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   8415 L_2B01F70B:
   8416     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   8417     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8418     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8419     _flag_k = FK_NARROW(FK_CMP, 24);
   8420     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   8421 L_2B01F70F:
   8422     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8423     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   8424     _flag_k = FK_NARROW(FK_DEC, 24);
   8425     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   8426     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   8427 L_2B01F715:
   8428     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   8429     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   8430     RECOMP_FLAGS_IN();
   8431     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   8432     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8433     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8434     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   8435     _flag_k = FK_ADD;
   8436 L_2B01F721:
   8437     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   8438     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   8439     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   8440     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   8441     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   8442     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8443     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8444     _flag_k = FK_CMP;
   8445     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   8446     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   8447 L_2B01F738:
   8448     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   8449     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   8450     _flag_k = FK_DEC;
   8451     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   8452 L_2B01F73D:
   8453     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   8454     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8456     _flag_k = FK_CMP;
   8457     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   8458     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   8459 L_2B01F744:
   8460     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   8461     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   8462     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   8463     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   8464     RECOMP_FLAGS_IN();
   8465     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   8466     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   8467     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8468     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8469     _flag_k = FK_CMP;
   8470     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   8471 L_2B01F75A:
   8472     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   8473     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   8474     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   8475     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8477     _flag_k = FK_NARROW(FK_CMP, 24);
   8478     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   8479 L_2B01F763:
   8480     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   8481     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8482     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8483     _flag_k = FK_NARROW(FK_CMP, 24);
   8484     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   8485 L_2B01F767:
   8486     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8487     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   8488     _flag_k = FK_NARROW(FK_DEC, 24);
   8489     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   8490     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   8491 L_2B01F76D:
   8492     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   8493     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   8494     RECOMP_FLAGS_IN();
   8495     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8496     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8497     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   8498     _flag_k = FK_ADD;
   8499 L_2B01F776:
   8500     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   8501     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   8502     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   8503     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   8504     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   8505     RECOMP_FLAGS_IN();
   8506     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   8507     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8508     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8509     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   8510     _flag_k = FK_ADD;
   8511 L_2B01F78B:
   8512     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   8513     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   8514     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8515     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8516     _flag_k = FK_CMP;
   8517     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   8518 L_2B01F792:
   8519     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   8520     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   8521     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   8522     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8523     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8524     _flag_k = FK_NARROW(FK_CMP, 24);
   8525     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   8526 L_2B01F79B:
   8527     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   8528     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8530     _flag_k = FK_NARROW(FK_CMP, 24);
   8531     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   8532 L_2B01F79F:
   8533     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8534     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   8535     _flag_k = FK_NARROW(FK_DEC, 24);
   8536     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   8537     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   8538 L_2B01F7A5:
   8539     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   8540     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   8541     RECOMP_FLAGS_IN();
   8542     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   8543     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8544     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8545     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   8546     _flag_k = FK_ADD;
   8547 L_2B01F7B1:
   8548     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   8549     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   8550     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   8551     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   8552     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   8553     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   8554     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   8555     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   8556     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   8557     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   8558     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   8559 L_2B0AD47A:
   8560     ecx = ebp + (-0x6C); /* 0x2B0AD47A: lea ecx, [ebp - 0x6c] */
   8561     RECOMP_BACKEDGE();
   8562     goto L_2B01F690; /* 0x2B0AD47D: jmp 0x2b01f690 */
   8563     { RECOMP_REGS_OUT(); return; } /* end of function */
   8564     RECOMP_REGS_OUT();
   8565 }
   8566 
   8567 void sub_2B0AD482(void) {
   8568     int _fpu_cmp = 0;
   8569     uint32_t _cf = 0;
   8570     int _df = 1;
   8571     uint32_t _flag_k = FK_NONE;
   8572     uint32_t _flag_a = 0, _flag_b = 0;
   8573     uint32_t _itail_tgt = 0;
   8574     RECOMP_REGS_LOCALS
   8575     RECOMP_ENTER(0x2B0AD482u);
   8576 
   8577     goto L_2B0AD482;
   8578 L_2B020CD0:
   8579     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   8580     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   8581     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   8582     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   8583     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   8584     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   8585     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   8586     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   8587     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8588     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   8589     _flag_k = FK_CMP;
   8590     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   8591     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   8592     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   8593     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   8594     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   8595     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8596     edx = 0; /* 0x2B020CF4: xor edx, edx */
   8597     _cf = 0;
   8598     _flag_k = FK_TEST;
   8599     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   8600     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   8601     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   8602     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   8603     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   8604     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   8605     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8606     _flag_k = FK_CMP;
   8607     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   8608 L_2B020D06:
   8609     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   8610     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   8611     _flag_k = FK_DEC;
   8612     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   8613 L_2B020D0B:
   8614     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   8615     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   8616     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8617     _flag_k = FK_CMP;
   8618     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   8619     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   8620 L_2B020D12:
   8621     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   8622     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   8623     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   8624     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   8625     RECOMP_FLAGS_IN();
   8626     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   8627     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   8628     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   8629     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   8630     RECOMP_FLAGS_IN();
   8631     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   8632     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   8633     RECOMP_FLAGS_IN();
   8634     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8635     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8636     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   8637     _flag_k = FK_ADD;
   8638     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8639     edx = 0; /* 0x2B020D39: xor edx, edx */
   8640     _cf = 0;
   8641     _flag_k = FK_TEST;
   8642 L_2B020D3B:
   8643     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   8644     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   8645     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   8646     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8647     _flag_k = FK_CMP;
   8648     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   8649 L_2B020D42:
   8650     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   8651     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   8652     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   8653     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   8654     _cf = 0;
   8655     _flag_k = FK_NARROW(FK_TEST, 24);
   8656     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   8657 L_2B020D4B:
   8658     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   8659     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8660     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8661     _flag_k = FK_NARROW(FK_CMP, 24);
   8662     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   8663 L_2B020D4F:
   8664     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8665     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   8666     _flag_k = FK_NARROW(FK_DEC, 24);
   8667     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   8668     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   8669 L_2B020D55:
   8670     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   8671     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   8672     RECOMP_FLAGS_IN();
   8673     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8674     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8675     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   8676     _flag_k = FK_ADD;
   8677     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8678     edx = 0; /* 0x2B020D5E: xor edx, edx */
   8679     _cf = 0;
   8680     _flag_k = FK_TEST;
   8681 L_2B020D60:
   8682     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   8683     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   8684     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   8685     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   8686     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   8687     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   8688     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8689     _flag_k = FK_CMP;
   8690     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   8691     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   8692 L_2B020D77:
   8693     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   8694     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   8695     _flag_k = FK_DEC;
   8696     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   8697 L_2B020D7C:
   8698     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   8699     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   8700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8701     _flag_k = FK_CMP;
   8702     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   8703     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   8704 L_2B020D83:
   8705     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   8706     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   8707     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   8708     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   8709     RECOMP_FLAGS_IN();
   8710     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   8711     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   8712     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   8713     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   8714     RECOMP_FLAGS_IN();
   8715     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   8716     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   8717     RECOMP_FLAGS_IN();
   8718     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8719     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8720     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   8721     _flag_k = FK_ADD;
   8722     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8723     edx = 0; /* 0x2B020DAA: xor edx, edx */
   8724     _cf = 0;
   8725     _flag_k = FK_TEST;
   8726 L_2B020DAC:
   8727     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   8728     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   8729     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   8730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8731     _flag_k = FK_CMP;
   8732     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   8733 L_2B020DB3:
   8734     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   8735     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   8736     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   8737     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   8738     _cf = 0;
   8739     _flag_k = FK_NARROW(FK_TEST, 24);
   8740     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   8741 L_2B020DBC:
   8742     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   8743     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8744     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8745     _flag_k = FK_NARROW(FK_CMP, 24);
   8746     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   8747 L_2B020DC0:
   8748     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8749     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   8750     _flag_k = FK_NARROW(FK_DEC, 24);
   8751     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   8752     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   8753 L_2B020DC6:
   8754     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   8755     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   8756     RECOMP_FLAGS_IN();
   8757     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8758     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8759     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   8760     _flag_k = FK_ADD;
   8761     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8762     edx = 0; /* 0x2B020DCF: xor edx, edx */
   8763     _cf = 0;
   8764     _flag_k = FK_TEST;
   8765 L_2B020DD1:
   8766     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   8767     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   8768     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   8769     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   8770     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   8771     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   8772     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   8773     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   8774     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   8775     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   8776     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   8777 L_2B0AD482:
   8778     ecx = ebp + (-0xB0); /* 0x2B0AD482: lea ecx, [ebp - 0xb0] */
   8779     RECOMP_BACKEDGE();
   8780     goto L_2B020CD0; /* 0x2B0AD488: jmp 0x2b020cd0 */
   8781     { RECOMP_REGS_OUT(); return; } /* end of function */
   8782     RECOMP_REGS_OUT();
   8783 }
   8784 
   8785 void sub_2B0AD48D(void) {
   8786     int _fpu_cmp = 0;
   8787     uint32_t _cf = 0;
   8788     int _df = 1;
   8789     uint32_t _flag_k = FK_NONE;
   8790     uint32_t _flag_a = 0, _flag_b = 0;
   8791     uint32_t _itail_tgt = 0;
   8792     RECOMP_REGS_LOCALS
   8793     RECOMP_ENTER(0x2B0AD48Du);
   8794 
   8795 L_2B0AD48D:
   8796     ecx = ebp + (-0x6C); /* 0x2B0AD48D: lea ecx, [ebp - 0x6c] */
   8797 L_2B0AD490:
   8798     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   8799     { RECOMP_REGS_OUT(); return; } /* end of function */
   8800   _ljump:
   8801     switch (_itail_tgt) {
   8802       case 0x2B0AD48Du: goto L_2B0AD48D;
   8803       case 0x2B0AD490u: goto L_2B0AD490;
   8804       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   8805     }
   8806     RECOMP_REGS_OUT();
   8807 }
   8808 
   8809 void sub_2B0AD496(void) {
   8810     int _fpu_cmp = 0;
   8811     uint32_t _cf = 0;
   8812     int _df = 1;
   8813     uint32_t _flag_k = FK_NONE;
   8814     uint32_t _flag_a = 0, _flag_b = 0;
   8815     uint32_t _itail_tgt = 0;
   8816     RECOMP_REGS_LOCALS
   8817     RECOMP_ENTER(0x2B0AD496u);
   8818 
   8819     goto L_2B0AD496;
   8820 L_2B01F690:
   8821     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   8822     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   8823     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   8824     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   8825     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   8826     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   8827     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   8828     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   8829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8830     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   8831     _flag_k = FK_CMP;
   8832     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   8833     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   8834     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   8835     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   8836     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   8837     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   8838     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   8839     _cf = 0;
   8840     _flag_k = FK_TEST;
   8841     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   8842     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   8843     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   8844     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   8845     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   8846     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8847     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8848     _flag_k = FK_CMP;
   8849     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   8850 L_2B01F6C5:
   8851     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   8852     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   8853     _flag_k = FK_DEC;
   8854     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   8855 L_2B01F6CA:
   8856     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   8857     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8859     _flag_k = FK_CMP;
   8860     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   8861     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   8862 L_2B01F6D1:
   8863     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   8864     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   8865     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   8866     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   8867     RECOMP_FLAGS_IN();
   8868     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   8869     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   8870     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   8871     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   8872     RECOMP_FLAGS_IN();
   8873     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   8874     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   8875     RECOMP_FLAGS_IN();
   8876     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   8877     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8878     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8879     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   8880     _flag_k = FK_ADD;
   8881 L_2B01F6FB:
   8882     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   8883     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   8884     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8885     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8886     _flag_k = FK_CMP;
   8887     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   8888 L_2B01F702:
   8889     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   8890     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   8891     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   8892     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8894     _flag_k = FK_NARROW(FK_CMP, 24);
   8895     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   8896 L_2B01F70B:
   8897     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   8898     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8899     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8900     _flag_k = FK_NARROW(FK_CMP, 24);
   8901     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   8902 L_2B01F70F:
   8903     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8904     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   8905     _flag_k = FK_NARROW(FK_DEC, 24);
   8906     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   8907     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   8908 L_2B01F715:
   8909     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   8910     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   8911     RECOMP_FLAGS_IN();
   8912     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   8913     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8914     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8915     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   8916     _flag_k = FK_ADD;
   8917 L_2B01F721:
   8918     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   8919     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   8920     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   8921     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   8922     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   8923     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8924     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8925     _flag_k = FK_CMP;
   8926     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   8927     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   8928 L_2B01F738:
   8929     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   8930     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   8931     _flag_k = FK_DEC;
   8932     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   8933 L_2B01F73D:
   8934     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   8935     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   8936     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8937     _flag_k = FK_CMP;
   8938     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   8939     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   8940 L_2B01F744:
   8941     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   8942     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   8943     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   8944     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   8945     RECOMP_FLAGS_IN();
   8946     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   8947     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   8948     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8949     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8950     _flag_k = FK_CMP;
   8951     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   8952 L_2B01F75A:
   8953     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   8954     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   8955     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   8956     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   8957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8958     _flag_k = FK_NARROW(FK_CMP, 24);
   8959     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   8960 L_2B01F763:
   8961     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   8962     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   8963     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8964     _flag_k = FK_NARROW(FK_CMP, 24);
   8965     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   8966 L_2B01F767:
   8967     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   8968     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   8969     _flag_k = FK_NARROW(FK_DEC, 24);
   8970     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   8971     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   8972 L_2B01F76D:
   8973     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   8974     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   8975     RECOMP_FLAGS_IN();
   8976     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8977     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8978     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   8979     _flag_k = FK_ADD;
   8980 L_2B01F776:
   8981     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   8982     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   8983     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   8984     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   8985     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   8986     RECOMP_FLAGS_IN();
   8987     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   8988     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   8989     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   8990     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   8991     _flag_k = FK_ADD;
   8992 L_2B01F78B:
   8993     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   8994     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   8995     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   8996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   8997     _flag_k = FK_CMP;
   8998     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   8999 L_2B01F792:
   9000     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   9001     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   9002     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   9003     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9004     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9005     _flag_k = FK_NARROW(FK_CMP, 24);
   9006     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   9007 L_2B01F79B:
   9008     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   9009     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9010     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9011     _flag_k = FK_NARROW(FK_CMP, 24);
   9012     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   9013 L_2B01F79F:
   9014     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9015     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   9016     _flag_k = FK_NARROW(FK_DEC, 24);
   9017     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   9018     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   9019 L_2B01F7A5:
   9020     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   9021     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   9022     RECOMP_FLAGS_IN();
   9023     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   9024     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9025     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9026     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   9027     _flag_k = FK_ADD;
   9028 L_2B01F7B1:
   9029     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   9030     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   9031     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   9032     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   9033     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   9034     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   9035     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   9036     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   9037     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   9038     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   9039     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   9040 L_2B0AD496:
   9041     ecx = ebp + (-0x6C); /* 0x2B0AD496: lea ecx, [ebp - 0x6c] */
   9042     RECOMP_BACKEDGE();
   9043     goto L_2B01F690; /* 0x2B0AD499: jmp 0x2b01f690 */
   9044     { RECOMP_REGS_OUT(); return; } /* end of function */
   9045     RECOMP_REGS_OUT();
   9046 }
   9047 
   9048 void sub_2B0AD49E(void) {
   9049     int _fpu_cmp = 0;
   9050     uint32_t _cf = 0;
   9051     int _df = 1;
   9052     uint32_t _flag_k = FK_NONE;
   9053     uint32_t _flag_a = 0, _flag_b = 0;
   9054     uint32_t _itail_tgt = 0;
   9055     RECOMP_REGS_LOCALS
   9056     RECOMP_ENTER(0x2B0AD49Eu);
   9057 
   9058     goto L_2B0AD49E;
   9059 L_2B020CD0:
   9060     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   9061     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   9062     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   9063     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   9064     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   9065     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   9066     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   9067     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   9068     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9069     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   9070     _flag_k = FK_CMP;
   9071     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   9072     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   9073     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   9074     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   9075     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   9076     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9077     edx = 0; /* 0x2B020CF4: xor edx, edx */
   9078     _cf = 0;
   9079     _flag_k = FK_TEST;
   9080     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   9081     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   9082     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   9083     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   9084     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   9085     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   9086     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9087     _flag_k = FK_CMP;
   9088     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   9089 L_2B020D06:
   9090     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   9091     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   9092     _flag_k = FK_DEC;
   9093     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   9094 L_2B020D0B:
   9095     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   9096     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   9097     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9098     _flag_k = FK_CMP;
   9099     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   9100     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   9101 L_2B020D12:
   9102     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   9103     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   9104     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   9105     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   9106     RECOMP_FLAGS_IN();
   9107     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   9108     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   9109     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   9110     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   9111     RECOMP_FLAGS_IN();
   9112     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   9113     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   9114     RECOMP_FLAGS_IN();
   9115     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9116     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9117     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   9118     _flag_k = FK_ADD;
   9119     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9120     edx = 0; /* 0x2B020D39: xor edx, edx */
   9121     _cf = 0;
   9122     _flag_k = FK_TEST;
   9123 L_2B020D3B:
   9124     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   9125     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   9126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   9127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9128     _flag_k = FK_CMP;
   9129     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   9130 L_2B020D42:
   9131     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   9132     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   9133     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   9134     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9135     _cf = 0;
   9136     _flag_k = FK_NARROW(FK_TEST, 24);
   9137     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   9138 L_2B020D4B:
   9139     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   9140     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9141     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9142     _flag_k = FK_NARROW(FK_CMP, 24);
   9143     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   9144 L_2B020D4F:
   9145     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9146     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   9147     _flag_k = FK_NARROW(FK_DEC, 24);
   9148     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   9149     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   9150 L_2B020D55:
   9151     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   9152     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   9153     RECOMP_FLAGS_IN();
   9154     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9155     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9156     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   9157     _flag_k = FK_ADD;
   9158     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9159     edx = 0; /* 0x2B020D5E: xor edx, edx */
   9160     _cf = 0;
   9161     _flag_k = FK_TEST;
   9162 L_2B020D60:
   9163     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   9164     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   9165     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   9166     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   9167     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   9168     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   9169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9170     _flag_k = FK_CMP;
   9171     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   9172     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   9173 L_2B020D77:
   9174     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   9175     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   9176     _flag_k = FK_DEC;
   9177     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   9178 L_2B020D7C:
   9179     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   9180     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   9181     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9182     _flag_k = FK_CMP;
   9183     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   9184     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   9185 L_2B020D83:
   9186     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   9187     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   9188     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   9189     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   9190     RECOMP_FLAGS_IN();
   9191     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   9192     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   9193     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   9194     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   9195     RECOMP_FLAGS_IN();
   9196     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   9197     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   9198     RECOMP_FLAGS_IN();
   9199     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9200     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9201     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   9202     _flag_k = FK_ADD;
   9203     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9204     edx = 0; /* 0x2B020DAA: xor edx, edx */
   9205     _cf = 0;
   9206     _flag_k = FK_TEST;
   9207 L_2B020DAC:
   9208     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   9209     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   9210     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   9211     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9212     _flag_k = FK_CMP;
   9213     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   9214 L_2B020DB3:
   9215     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   9216     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   9217     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   9218     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9219     _cf = 0;
   9220     _flag_k = FK_NARROW(FK_TEST, 24);
   9221     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   9222 L_2B020DBC:
   9223     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   9224     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9225     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9226     _flag_k = FK_NARROW(FK_CMP, 24);
   9227     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   9228 L_2B020DC0:
   9229     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9230     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   9231     _flag_k = FK_NARROW(FK_DEC, 24);
   9232     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   9233     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   9234 L_2B020DC6:
   9235     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   9236     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   9237     RECOMP_FLAGS_IN();
   9238     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9239     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9240     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   9241     _flag_k = FK_ADD;
   9242     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9243     edx = 0; /* 0x2B020DCF: xor edx, edx */
   9244     _cf = 0;
   9245     _flag_k = FK_TEST;
   9246 L_2B020DD1:
   9247     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   9248     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   9249     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   9250     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   9251     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   9252     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   9253     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   9254     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   9255     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   9256     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   9257     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   9258 L_2B0AD49E:
   9259     ecx = ebp + (-0xB0); /* 0x2B0AD49E: lea ecx, [ebp - 0xb0] */
   9260     RECOMP_BACKEDGE();
   9261     goto L_2B020CD0; /* 0x2B0AD4A4: jmp 0x2b020cd0 */
   9262     { RECOMP_REGS_OUT(); return; } /* end of function */
   9263     RECOMP_REGS_OUT();
   9264 }
   9265 
   9266 void sub_2B0AD4A9(void) {
   9267     int _fpu_cmp = 0;
   9268     uint32_t _cf = 0;
   9269     int _df = 1;
   9270     uint32_t _flag_k = FK_NONE;
   9271     uint32_t _flag_a = 0, _flag_b = 0;
   9272     uint32_t _itail_tgt = 0;
   9273     RECOMP_REGS_LOCALS
   9274     RECOMP_ENTER(0x2B0AD4A9u);
   9275 
   9276 L_2B0AD4A9:
   9277     ecx = ebp + (-0x6C); /* 0x2B0AD4A9: lea ecx, [ebp - 0x6c] */
   9278 L_2B0AD4AC:
   9279     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
   9280     { RECOMP_REGS_OUT(); return; } /* end of function */
   9281   _ljump:
   9282     switch (_itail_tgt) {
   9283       case 0x2B0AD4A9u: goto L_2B0AD4A9;
   9284       case 0x2B0AD4ACu: goto L_2B0AD4AC;
   9285       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   9286     }
   9287     RECOMP_REGS_OUT();
   9288 }
   9289 
   9290 void sub_2B0AD4B2(void) {
   9291     int _fpu_cmp = 0;
   9292     uint32_t _cf = 0;
   9293     int _df = 1;
   9294     uint32_t _flag_k = FK_NONE;
   9295     uint32_t _flag_a = 0, _flag_b = 0;
   9296     uint32_t _itail_tgt = 0;
   9297     RECOMP_REGS_LOCALS
   9298     RECOMP_ENTER(0x2B0AD4B2u);
   9299 
   9300     goto L_2B0AD4B2;
   9301 L_2B01F690:
   9302     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   9303     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   9304     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   9305     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   9306     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   9307     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   9308     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   9309     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   9310     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9311     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   9312     _flag_k = FK_CMP;
   9313     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   9314     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   9315     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   9316     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   9317     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   9318     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9319     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   9320     _cf = 0;
   9321     _flag_k = FK_TEST;
   9322     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   9323     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   9324     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   9325     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   9326     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   9327     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9328     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9329     _flag_k = FK_CMP;
   9330     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   9331 L_2B01F6C5:
   9332     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   9333     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   9334     _flag_k = FK_DEC;
   9335     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   9336 L_2B01F6CA:
   9337     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   9338     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9339     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9340     _flag_k = FK_CMP;
   9341     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   9342     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   9343 L_2B01F6D1:
   9344     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   9345     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   9346     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   9347     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   9348     RECOMP_FLAGS_IN();
   9349     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   9350     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   9351     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   9352     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   9353     RECOMP_FLAGS_IN();
   9354     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   9355     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   9356     RECOMP_FLAGS_IN();
   9357     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   9358     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9359     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9360     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   9361     _flag_k = FK_ADD;
   9362 L_2B01F6FB:
   9363     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   9364     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   9365     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   9366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9367     _flag_k = FK_CMP;
   9368     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   9369 L_2B01F702:
   9370     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   9371     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   9372     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   9373     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9375     _flag_k = FK_NARROW(FK_CMP, 24);
   9376     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   9377 L_2B01F70B:
   9378     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   9379     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9380     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9381     _flag_k = FK_NARROW(FK_CMP, 24);
   9382     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   9383 L_2B01F70F:
   9384     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9385     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   9386     _flag_k = FK_NARROW(FK_DEC, 24);
   9387     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   9388     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   9389 L_2B01F715:
   9390     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   9391     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   9392     RECOMP_FLAGS_IN();
   9393     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   9394     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9395     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9396     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   9397     _flag_k = FK_ADD;
   9398 L_2B01F721:
   9399     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   9400     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   9401     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   9402     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   9403     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   9404     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9405     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9406     _flag_k = FK_CMP;
   9407     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   9408     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   9409 L_2B01F738:
   9410     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   9411     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   9412     _flag_k = FK_DEC;
   9413     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   9414 L_2B01F73D:
   9415     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   9416     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9418     _flag_k = FK_CMP;
   9419     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   9420     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   9421 L_2B01F744:
   9422     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   9423     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   9424     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   9425     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   9426     RECOMP_FLAGS_IN();
   9427     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   9428     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   9429     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   9430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9431     _flag_k = FK_CMP;
   9432     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   9433 L_2B01F75A:
   9434     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   9435     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   9436     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   9437     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9439     _flag_k = FK_NARROW(FK_CMP, 24);
   9440     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   9441 L_2B01F763:
   9442     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   9443     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9444     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9445     _flag_k = FK_NARROW(FK_CMP, 24);
   9446     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   9447 L_2B01F767:
   9448     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9449     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   9450     _flag_k = FK_NARROW(FK_DEC, 24);
   9451     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   9452     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   9453 L_2B01F76D:
   9454     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   9455     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   9456     RECOMP_FLAGS_IN();
   9457     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9458     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9459     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   9460     _flag_k = FK_ADD;
   9461 L_2B01F776:
   9462     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   9463     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   9464     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   9465     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   9466     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   9467     RECOMP_FLAGS_IN();
   9468     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   9469     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9470     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9471     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   9472     _flag_k = FK_ADD;
   9473 L_2B01F78B:
   9474     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   9475     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   9476     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   9477     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9478     _flag_k = FK_CMP;
   9479     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   9480 L_2B01F792:
   9481     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   9482     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   9483     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   9484     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9485     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9486     _flag_k = FK_NARROW(FK_CMP, 24);
   9487     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   9488 L_2B01F79B:
   9489     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   9490     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9491     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9492     _flag_k = FK_NARROW(FK_CMP, 24);
   9493     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   9494 L_2B01F79F:
   9495     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9496     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   9497     _flag_k = FK_NARROW(FK_DEC, 24);
   9498     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   9499     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   9500 L_2B01F7A5:
   9501     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   9502     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   9503     RECOMP_FLAGS_IN();
   9504     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   9505     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9506     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9507     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   9508     _flag_k = FK_ADD;
   9509 L_2B01F7B1:
   9510     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   9511     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   9512     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   9513     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   9514     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   9515     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   9516     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   9517     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   9518     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   9519     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   9520     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   9521 L_2B0AD4B2:
   9522     ecx = ebp + (-0x6C); /* 0x2B0AD4B2: lea ecx, [ebp - 0x6c] */
   9523     RECOMP_BACKEDGE();
   9524     goto L_2B01F690; /* 0x2B0AD4B5: jmp 0x2b01f690 */
   9525     { RECOMP_REGS_OUT(); return; } /* end of function */
   9526     RECOMP_REGS_OUT();
   9527 }
   9528 
   9529 void sub_2B0AD4BA(void) {
   9530     int _fpu_cmp = 0;
   9531     uint32_t _cf = 0;
   9532     int _df = 1;
   9533     uint32_t _flag_k = FK_NONE;
   9534     uint32_t _flag_a = 0, _flag_b = 0;
   9535     uint32_t _itail_tgt = 0;
   9536     RECOMP_REGS_LOCALS
   9537     RECOMP_ENTER(0x2B0AD4BAu);
   9538 
   9539     goto L_2B0AD4BA;
   9540 L_2B020CD0:
   9541     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   9542     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
   9543     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
   9544     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
   9545     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
   9546     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
   9547     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
   9548     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   9549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9550     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
   9551     _flag_k = FK_CMP;
   9552     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
   9553     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
   9554     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
   9555     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
   9556     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
   9557     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9558     edx = 0; /* 0x2B020CF4: xor edx, edx */
   9559     _cf = 0;
   9560     _flag_k = FK_TEST;
   9561     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
   9562     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
   9563     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
   9564     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
   9565     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
   9566     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   9567     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9568     _flag_k = FK_CMP;
   9569     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
   9570 L_2B020D06:
   9571     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
   9572     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
   9573     _flag_k = FK_DEC;
   9574     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
   9575 L_2B020D0B:
   9576     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
   9577     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   9578     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9579     _flag_k = FK_CMP;
   9580     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
   9581     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
   9582 L_2B020D12:
   9583     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
   9584     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
   9585     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
   9586     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
   9587     RECOMP_FLAGS_IN();
   9588     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
   9589     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
   9590     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
   9591     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
   9592     RECOMP_FLAGS_IN();
   9593     PUSH32(esp, edi); /* 0x2B020D30: push edi */
   9594     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
   9595     RECOMP_FLAGS_IN();
   9596     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9597     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9598     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
   9599     _flag_k = FK_ADD;
   9600     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9601     edx = 0; /* 0x2B020D39: xor edx, edx */
   9602     _cf = 0;
   9603     _flag_k = FK_TEST;
   9604 L_2B020D3B:
   9605     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
   9606     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
   9607     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   9608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9609     _flag_k = FK_CMP;
   9610     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
   9611 L_2B020D42:
   9612     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
   9613     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
   9614     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
   9615     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9616     _cf = 0;
   9617     _flag_k = FK_NARROW(FK_TEST, 24);
   9618     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
   9619 L_2B020D4B:
   9620     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
   9621     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9622     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9623     _flag_k = FK_NARROW(FK_CMP, 24);
   9624     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
   9625 L_2B020D4F:
   9626     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9627     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
   9628     _flag_k = FK_NARROW(FK_DEC, 24);
   9629     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
   9630     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
   9631 L_2B020D55:
   9632     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
   9633     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
   9634     RECOMP_FLAGS_IN();
   9635     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9636     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9637     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
   9638     _flag_k = FK_ADD;
   9639     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9640     edx = 0; /* 0x2B020D5E: xor edx, edx */
   9641     _cf = 0;
   9642     _flag_k = FK_TEST;
   9643 L_2B020D60:
   9644     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
   9645     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
   9646     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
   9647     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
   9648     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
   9649     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   9650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9651     _flag_k = FK_CMP;
   9652     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
   9653     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
   9654 L_2B020D77:
   9655     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   9656     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
   9657     _flag_k = FK_DEC;
   9658     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
   9659 L_2B020D7C:
   9660     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
   9661     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   9662     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9663     _flag_k = FK_CMP;
   9664     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
   9665     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
   9666 L_2B020D83:
   9667     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
   9668     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
   9669     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
   9670     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
   9671     RECOMP_FLAGS_IN();
   9672     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
   9673     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
   9674     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
   9675     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
   9676     RECOMP_FLAGS_IN();
   9677     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
   9678     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
   9679     RECOMP_FLAGS_IN();
   9680     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9681     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9682     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
   9683     _flag_k = FK_ADD;
   9684     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9685     edx = 0; /* 0x2B020DAA: xor edx, edx */
   9686     _cf = 0;
   9687     _flag_k = FK_TEST;
   9688 L_2B020DAC:
   9689     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
   9690     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
   9691     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   9692     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9693     _flag_k = FK_CMP;
   9694     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
   9695 L_2B020DB3:
   9696     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
   9697     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
   9698     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
   9699     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   9700     _cf = 0;
   9701     _flag_k = FK_NARROW(FK_TEST, 24);
   9702     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
   9703 L_2B020DBC:
   9704     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
   9705     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9706     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9707     _flag_k = FK_NARROW(FK_CMP, 24);
   9708     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
   9709 L_2B020DC0:
   9710     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9711     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
   9712     _flag_k = FK_NARROW(FK_DEC, 24);
   9713     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
   9714     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
   9715 L_2B020DC6:
   9716     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
   9717     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
   9718     RECOMP_FLAGS_IN();
   9719     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9720     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9721     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
   9722     _flag_k = FK_ADD;
   9723     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9724     edx = 0; /* 0x2B020DCF: xor edx, edx */
   9725     _cf = 0;
   9726     _flag_k = FK_TEST;
   9727 L_2B020DD1:
   9728     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
   9729     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
   9730     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
   9731     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
   9732     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
   9733     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
   9734     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
   9735     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
   9736     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
   9737     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
   9738     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
   9739 L_2B0AD4BA:
   9740     ecx = ebp + (-0xB0); /* 0x2B0AD4BA: lea ecx, [ebp - 0xb0] */
   9741     RECOMP_BACKEDGE();
   9742     goto L_2B020CD0; /* 0x2B0AD4C0: jmp 0x2b020cd0 */
   9743     { RECOMP_REGS_OUT(); return; } /* end of function */
   9744     RECOMP_REGS_OUT();
   9745 }
   9746 
   9747 void sub_2B0AD4C5(void) {
   9748     int _fpu_cmp = 0;
   9749     uint32_t _cf = 0;
   9750     int _df = 1;
   9751     uint32_t _flag_k = FK_NONE;
   9752     uint32_t _flag_a = 0, _flag_b = 0;
   9753     uint32_t _itail_tgt = 0;
   9754     RECOMP_REGS_LOCALS
   9755     RECOMP_ENTER(0x2B0AD4C5u);
   9756 
   9757     goto L_2B0AD4C5;
   9758 L_2B01F690:
   9759     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
   9760     ebp = esp; /* 0x2B01F691: mov ebp, esp */
   9761     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
   9762     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
   9763     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
   9764     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
   9765     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
   9766     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   9767     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9768     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
   9769     _flag_k = FK_CMP;
   9770     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
   9771     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
   9772     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
   9773     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
   9774     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
   9775     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   9776     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
   9777     _cf = 0;
   9778     _flag_k = FK_TEST;
   9779     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
   9780     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
   9781     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
   9782     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
   9783     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
   9784     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9785     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9786     _flag_k = FK_CMP;
   9787     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
   9788 L_2B01F6C5:
   9789     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   9790     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
   9791     _flag_k = FK_DEC;
   9792     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
   9793 L_2B01F6CA:
   9794     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
   9795     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9797     _flag_k = FK_CMP;
   9798     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
   9799     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
   9800 L_2B01F6D1:
   9801     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
   9802     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
   9803     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
   9804     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
   9805     RECOMP_FLAGS_IN();
   9806     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
   9807     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
   9808     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
   9809     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
   9810     RECOMP_FLAGS_IN();
   9811     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
   9812     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
   9813     RECOMP_FLAGS_IN();
   9814     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
   9815     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9816     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9817     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
   9818     _flag_k = FK_ADD;
   9819 L_2B01F6FB:
   9820     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
   9821     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
   9822     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   9823     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9824     _flag_k = FK_CMP;
   9825     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
   9826 L_2B01F702:
   9827     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
   9828     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
   9829     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
   9830     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9831     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9832     _flag_k = FK_NARROW(FK_CMP, 24);
   9833     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
   9834 L_2B01F70B:
   9835     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
   9836     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9837     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9838     _flag_k = FK_NARROW(FK_CMP, 24);
   9839     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
   9840 L_2B01F70F:
   9841     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9842     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
   9843     _flag_k = FK_NARROW(FK_DEC, 24);
   9844     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
   9845     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
   9846 L_2B01F715:
   9847     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
   9848     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
   9849     RECOMP_FLAGS_IN();
   9850     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
   9851     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9852     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9853     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
   9854     _flag_k = FK_ADD;
   9855 L_2B01F721:
   9856     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
   9857     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
   9858     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
   9859     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
   9860     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
   9861     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9862     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9863     _flag_k = FK_CMP;
   9864     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
   9865     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
   9866 L_2B01F738:
   9867     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
   9868     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
   9869     _flag_k = FK_DEC;
   9870     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
   9871 L_2B01F73D:
   9872     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
   9873     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   9874     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9875     _flag_k = FK_CMP;
   9876     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
   9877     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
   9878 L_2B01F744:
   9879     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
   9880     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
   9881     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
   9882     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
   9883     RECOMP_FLAGS_IN();
   9884     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
   9885     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
   9886     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   9887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9888     _flag_k = FK_CMP;
   9889     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
   9890 L_2B01F75A:
   9891     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
   9892     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
   9893     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
   9894     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9895     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9896     _flag_k = FK_NARROW(FK_CMP, 24);
   9897     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
   9898 L_2B01F763:
   9899     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
   9900     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9901     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9902     _flag_k = FK_NARROW(FK_CMP, 24);
   9903     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
   9904 L_2B01F767:
   9905     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9906     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
   9907     _flag_k = FK_NARROW(FK_DEC, 24);
   9908     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
   9909     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
   9910 L_2B01F76D:
   9911     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
   9912     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
   9913     RECOMP_FLAGS_IN();
   9914     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9915     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9916     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
   9917     _flag_k = FK_ADD;
   9918 L_2B01F776:
   9919     PUSH32(esp, esi); /* 0x2B01F776: push esi */
   9920     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
   9921     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
   9922     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
   9923     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
   9924     RECOMP_FLAGS_IN();
   9925     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
   9926     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9928     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
   9929     _flag_k = FK_ADD;
   9930 L_2B01F78B:
   9931     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
   9932     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
   9933     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   9934     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9935     _flag_k = FK_CMP;
   9936     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
   9937 L_2B01F792:
   9938     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
   9939     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
   9940     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
   9941     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   9942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9943     _flag_k = FK_NARROW(FK_CMP, 24);
   9944     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
   9945 L_2B01F79B:
   9946     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
   9947     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
   9948     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   9949     _flag_k = FK_NARROW(FK_CMP, 24);
   9950     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
   9951 L_2B01F79F:
   9952     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
   9953     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
   9954     _flag_k = FK_NARROW(FK_DEC, 24);
   9955     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
   9956     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
   9957 L_2B01F7A5:
   9958     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
   9959     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
   9960     RECOMP_FLAGS_IN();
   9961     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
   9962     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   9963     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   9964     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
   9965     _flag_k = FK_ADD;
   9966 L_2B01F7B1:
   9967     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
   9968     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
   9969     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
   9970     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
   9971     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
   9972     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
   9973     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
   9974     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
   9975     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
   9976     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
   9977     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
   9978 L_2B0AD4C5:
   9979     ecx = ebp + (-0x6C); /* 0x2B0AD4C5: lea ecx, [ebp - 0x6c] */
   9980     RECOMP_BACKEDGE();
   9981     goto L_2B01F690; /* 0x2B0AD4C8: jmp 0x2b01f690 */
   9982     { RECOMP_REGS_OUT(); return; } /* end of function */
   9983     RECOMP_REGS_OUT();
   9984 }
   9985 
   9986 void sub_2B0AD4CD(void) {
   9987     int _fpu_cmp = 0;
   9988     uint32_t _cf = 0;
   9989     int _df = 1;
   9990     uint32_t _flag_k = FK_NONE;
   9991     uint32_t _flag_a = 0, _flag_b = 0;
   9992     uint32_t _itail_tgt = 0;
   9993     RECOMP_REGS_LOCALS
   9994     RECOMP_ENTER(0x2B0AD4CDu);
   9995 
   9996     goto L_2B0AD4CD;
   9997 L_2B020CD0:
   9998     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
   9999     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
  10000     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
  10001     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
  10002     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
  10003     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
  10004     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
  10005     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  10006     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10007     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
  10008     _flag_k = FK_CMP;
  10009     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
  10010     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
  10011     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
  10012     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
  10013     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
  10014     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10015     edx = 0; /* 0x2B020CF4: xor edx, edx */
  10016     _cf = 0;
  10017     _flag_k = FK_TEST;
  10018     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
  10019     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
  10020     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
  10021     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
  10022     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
  10023     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10024     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10025     _flag_k = FK_CMP;
  10026     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
  10027 L_2B020D06:
  10028     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
  10029     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
  10030     _flag_k = FK_DEC;
  10031     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
  10032 L_2B020D0B:
  10033     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
  10034     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10035     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10036     _flag_k = FK_CMP;
  10037     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
  10038     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
  10039 L_2B020D12:
  10040     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
  10041     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
  10042     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
  10043     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
  10044     RECOMP_FLAGS_IN();
  10045     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
  10046     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
  10047     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
  10048     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
  10049     RECOMP_FLAGS_IN();
  10050     PUSH32(esp, edi); /* 0x2B020D30: push edi */
  10051     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
  10052     RECOMP_FLAGS_IN();
  10053     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10054     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10055     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
  10056     _flag_k = FK_ADD;
  10057     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10058     edx = 0; /* 0x2B020D39: xor edx, edx */
  10059     _cf = 0;
  10060     _flag_k = FK_TEST;
  10061 L_2B020D3B:
  10062     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
  10063     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
  10064     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  10065     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10066     _flag_k = FK_CMP;
  10067     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
  10068 L_2B020D42:
  10069     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
  10070     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
  10071     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
  10072     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10073     _cf = 0;
  10074     _flag_k = FK_NARROW(FK_TEST, 24);
  10075     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
  10076 L_2B020D4B:
  10077     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
  10078     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10079     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10080     _flag_k = FK_NARROW(FK_CMP, 24);
  10081     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
  10082 L_2B020D4F:
  10083     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10084     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
  10085     _flag_k = FK_NARROW(FK_DEC, 24);
  10086     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
  10087     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
  10088 L_2B020D55:
  10089     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
  10090     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
  10091     RECOMP_FLAGS_IN();
  10092     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10093     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10094     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
  10095     _flag_k = FK_ADD;
  10096     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10097     edx = 0; /* 0x2B020D5E: xor edx, edx */
  10098     _cf = 0;
  10099     _flag_k = FK_TEST;
  10100 L_2B020D60:
  10101     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
  10102     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
  10103     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
  10104     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
  10105     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
  10106     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  10107     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10108     _flag_k = FK_CMP;
  10109     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
  10110     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
  10111 L_2B020D77:
  10112     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  10113     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
  10114     _flag_k = FK_DEC;
  10115     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
  10116 L_2B020D7C:
  10117     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
  10118     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  10119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10120     _flag_k = FK_CMP;
  10121     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
  10122     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
  10123 L_2B020D83:
  10124     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
  10125     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
  10126     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
  10127     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
  10128     RECOMP_FLAGS_IN();
  10129     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
  10130     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
  10131     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
  10132     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
  10133     RECOMP_FLAGS_IN();
  10134     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
  10135     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
  10136     RECOMP_FLAGS_IN();
  10137     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10138     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10139     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
  10140     _flag_k = FK_ADD;
  10141     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10142     edx = 0; /* 0x2B020DAA: xor edx, edx */
  10143     _cf = 0;
  10144     _flag_k = FK_TEST;
  10145 L_2B020DAC:
  10146     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
  10147     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
  10148     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  10149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10150     _flag_k = FK_CMP;
  10151     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
  10152 L_2B020DB3:
  10153     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
  10154     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
  10155     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
  10156     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10157     _cf = 0;
  10158     _flag_k = FK_NARROW(FK_TEST, 24);
  10159     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
  10160 L_2B020DBC:
  10161     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
  10162     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10163     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10164     _flag_k = FK_NARROW(FK_CMP, 24);
  10165     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
  10166 L_2B020DC0:
  10167     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10168     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
  10169     _flag_k = FK_NARROW(FK_DEC, 24);
  10170     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
  10171     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
  10172 L_2B020DC6:
  10173     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
  10174     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
  10175     RECOMP_FLAGS_IN();
  10176     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10177     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10178     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
  10179     _flag_k = FK_ADD;
  10180     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10181     edx = 0; /* 0x2B020DCF: xor edx, edx */
  10182     _cf = 0;
  10183     _flag_k = FK_TEST;
  10184 L_2B020DD1:
  10185     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
  10186     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
  10187     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
  10188     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
  10189     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
  10190     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
  10191     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
  10192     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
  10193     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
  10194     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
  10195     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
  10196 L_2B0AD4CD:
  10197     ecx = ebp + (-0xB0); /* 0x2B0AD4CD: lea ecx, [ebp - 0xb0] */
  10198     RECOMP_BACKEDGE();
  10199     goto L_2B020CD0; /* 0x2B0AD4D3: jmp 0x2b020cd0 */
  10200     { RECOMP_REGS_OUT(); return; } /* end of function */
  10201     RECOMP_REGS_OUT();
  10202 }
  10203 
  10204 void sub_2B0AD4D8(void) {
  10205     int _fpu_cmp = 0;
  10206     uint32_t _cf = 0;
  10207     int _df = 1;
  10208     uint32_t _flag_k = FK_NONE;
  10209     uint32_t _flag_a = 0, _flag_b = 0;
  10210     uint32_t _itail_tgt = 0;
  10211     RECOMP_REGS_LOCALS
  10212     RECOMP_ENTER(0x2B0AD4D8u);
  10213 
  10214     goto L_2B0AD4D8;
  10215 L_2B01F690:
  10216     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
  10217     ebp = esp; /* 0x2B01F691: mov ebp, esp */
  10218     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
  10219     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
  10220     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
  10221     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
  10222     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
  10223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  10224     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10225     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
  10226     _flag_k = FK_CMP;
  10227     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
  10228     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
  10229     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
  10230     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
  10231     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
  10232     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10233     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
  10234     _cf = 0;
  10235     _flag_k = FK_TEST;
  10236     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
  10237     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
  10238     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
  10239     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
  10240     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
  10241     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10242     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10243     _flag_k = FK_CMP;
  10244     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
  10245 L_2B01F6C5:
  10246     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  10247     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
  10248     _flag_k = FK_DEC;
  10249     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
  10250 L_2B01F6CA:
  10251     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
  10252     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10253     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10254     _flag_k = FK_CMP;
  10255     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
  10256     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
  10257 L_2B01F6D1:
  10258     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
  10259     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
  10260     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
  10261     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
  10262     RECOMP_FLAGS_IN();
  10263     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
  10264     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
  10265     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
  10266     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
  10267     RECOMP_FLAGS_IN();
  10268     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
  10269     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
  10270     RECOMP_FLAGS_IN();
  10271     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
  10272     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10273     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10274     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
  10275     _flag_k = FK_ADD;
  10276 L_2B01F6FB:
  10277     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
  10278     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
  10279     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  10280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10281     _flag_k = FK_CMP;
  10282     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
  10283 L_2B01F702:
  10284     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
  10285     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
  10286     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
  10287     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  10288     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10289     _flag_k = FK_NARROW(FK_CMP, 24);
  10290     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
  10291 L_2B01F70B:
  10292     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
  10293     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10294     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10295     _flag_k = FK_NARROW(FK_CMP, 24);
  10296     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
  10297 L_2B01F70F:
  10298     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10299     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
  10300     _flag_k = FK_NARROW(FK_DEC, 24);
  10301     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
  10302     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
  10303 L_2B01F715:
  10304     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
  10305     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
  10306     RECOMP_FLAGS_IN();
  10307     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
  10308     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10309     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10310     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
  10311     _flag_k = FK_ADD;
  10312 L_2B01F721:
  10313     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
  10314     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
  10315     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
  10316     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
  10317     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
  10318     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10320     _flag_k = FK_CMP;
  10321     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
  10322     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
  10323 L_2B01F738:
  10324     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  10325     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
  10326     _flag_k = FK_DEC;
  10327     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
  10328 L_2B01F73D:
  10329     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
  10330     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10331     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10332     _flag_k = FK_CMP;
  10333     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
  10334     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
  10335 L_2B01F744:
  10336     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
  10337     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
  10338     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
  10339     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
  10340     RECOMP_FLAGS_IN();
  10341     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
  10342     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
  10343     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  10344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10345     _flag_k = FK_CMP;
  10346     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
  10347 L_2B01F75A:
  10348     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
  10349     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
  10350     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
  10351     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  10352     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10353     _flag_k = FK_NARROW(FK_CMP, 24);
  10354     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
  10355 L_2B01F763:
  10356     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
  10357     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10358     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10359     _flag_k = FK_NARROW(FK_CMP, 24);
  10360     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
  10361 L_2B01F767:
  10362     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10363     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
  10364     _flag_k = FK_NARROW(FK_DEC, 24);
  10365     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
  10366     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
  10367 L_2B01F76D:
  10368     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
  10369     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
  10370     RECOMP_FLAGS_IN();
  10371     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10372     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10373     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
  10374     _flag_k = FK_ADD;
  10375 L_2B01F776:
  10376     PUSH32(esp, esi); /* 0x2B01F776: push esi */
  10377     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
  10378     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
  10379     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
  10380     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
  10381     RECOMP_FLAGS_IN();
  10382     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
  10383     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10384     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10385     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
  10386     _flag_k = FK_ADD;
  10387 L_2B01F78B:
  10388     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
  10389     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
  10390     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  10391     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10392     _flag_k = FK_CMP;
  10393     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
  10394 L_2B01F792:
  10395     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
  10396     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
  10397     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
  10398     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  10399     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10400     _flag_k = FK_NARROW(FK_CMP, 24);
  10401     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
  10402 L_2B01F79B:
  10403     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
  10404     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10405     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10406     _flag_k = FK_NARROW(FK_CMP, 24);
  10407     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
  10408 L_2B01F79F:
  10409     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10410     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
  10411     _flag_k = FK_NARROW(FK_DEC, 24);
  10412     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
  10413     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
  10414 L_2B01F7A5:
  10415     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
  10416     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
  10417     RECOMP_FLAGS_IN();
  10418     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
  10419     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10420     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10421     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
  10422     _flag_k = FK_ADD;
  10423 L_2B01F7B1:
  10424     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
  10425     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
  10426     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
  10427     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
  10428     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
  10429     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
  10430     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
  10431     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
  10432     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
  10433     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
  10434     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
  10435 L_2B0AD4D8:
  10436     ecx = ebp + (-0x6C); /* 0x2B0AD4D8: lea ecx, [ebp - 0x6c] */
  10437     RECOMP_BACKEDGE();
  10438     goto L_2B01F690; /* 0x2B0AD4DB: jmp 0x2b01f690 */
  10439     { RECOMP_REGS_OUT(); return; } /* end of function */
  10440     RECOMP_REGS_OUT();
  10441 }
  10442 
  10443 void sub_2B0AD4E0(void) {
  10444     int _fpu_cmp = 0;
  10445     uint32_t _cf = 0;
  10446     int _df = 1;
  10447     uint32_t _flag_k = FK_NONE;
  10448     uint32_t _flag_a = 0, _flag_b = 0;
  10449     uint32_t _itail_tgt = 0;
  10450     RECOMP_REGS_LOCALS
  10451     RECOMP_ENTER(0x2B0AD4E0u);
  10452 
  10453     goto L_2B0AD4E0;
  10454 L_2B020CD0:
  10455     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
  10456     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
  10457     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
  10458     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
  10459     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
  10460     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
  10461     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
  10462     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  10463     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10464     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
  10465     _flag_k = FK_CMP;
  10466     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
  10467     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
  10468     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
  10469     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
  10470     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
  10471     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10472     edx = 0; /* 0x2B020CF4: xor edx, edx */
  10473     _cf = 0;
  10474     _flag_k = FK_TEST;
  10475     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
  10476     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
  10477     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
  10478     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
  10479     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
  10480     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10481     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10482     _flag_k = FK_CMP;
  10483     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
  10484 L_2B020D06:
  10485     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
  10486     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
  10487     _flag_k = FK_DEC;
  10488     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
  10489 L_2B020D0B:
  10490     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
  10491     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10493     _flag_k = FK_CMP;
  10494     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
  10495     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
  10496 L_2B020D12:
  10497     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
  10498     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
  10499     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
  10500     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
  10501     RECOMP_FLAGS_IN();
  10502     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
  10503     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
  10504     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
  10505     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
  10506     RECOMP_FLAGS_IN();
  10507     PUSH32(esp, edi); /* 0x2B020D30: push edi */
  10508     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
  10509     RECOMP_FLAGS_IN();
  10510     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10511     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10512     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
  10513     _flag_k = FK_ADD;
  10514     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10515     edx = 0; /* 0x2B020D39: xor edx, edx */
  10516     _cf = 0;
  10517     _flag_k = FK_TEST;
  10518 L_2B020D3B:
  10519     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
  10520     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
  10521     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  10522     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10523     _flag_k = FK_CMP;
  10524     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
  10525 L_2B020D42:
  10526     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
  10527     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
  10528     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
  10529     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10530     _cf = 0;
  10531     _flag_k = FK_NARROW(FK_TEST, 24);
  10532     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
  10533 L_2B020D4B:
  10534     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
  10535     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10537     _flag_k = FK_NARROW(FK_CMP, 24);
  10538     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
  10539 L_2B020D4F:
  10540     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10541     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
  10542     _flag_k = FK_NARROW(FK_DEC, 24);
  10543     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
  10544     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
  10545 L_2B020D55:
  10546     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
  10547     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
  10548     RECOMP_FLAGS_IN();
  10549     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10550     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10551     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
  10552     _flag_k = FK_ADD;
  10553     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10554     edx = 0; /* 0x2B020D5E: xor edx, edx */
  10555     _cf = 0;
  10556     _flag_k = FK_TEST;
  10557 L_2B020D60:
  10558     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
  10559     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
  10560     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
  10561     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
  10562     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
  10563     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  10564     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10565     _flag_k = FK_CMP;
  10566     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
  10567     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
  10568 L_2B020D77:
  10569     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  10570     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
  10571     _flag_k = FK_DEC;
  10572     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
  10573 L_2B020D7C:
  10574     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
  10575     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  10576     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10577     _flag_k = FK_CMP;
  10578     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
  10579     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
  10580 L_2B020D83:
  10581     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
  10582     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
  10583     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
  10584     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
  10585     RECOMP_FLAGS_IN();
  10586     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
  10587     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
  10588     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
  10589     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
  10590     RECOMP_FLAGS_IN();
  10591     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
  10592     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
  10593     RECOMP_FLAGS_IN();
  10594     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10595     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10596     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
  10597     _flag_k = FK_ADD;
  10598     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10599     edx = 0; /* 0x2B020DAA: xor edx, edx */
  10600     _cf = 0;
  10601     _flag_k = FK_TEST;
  10602 L_2B020DAC:
  10603     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
  10604     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
  10605     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  10606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10607     _flag_k = FK_CMP;
  10608     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
  10609 L_2B020DB3:
  10610     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
  10611     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
  10612     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
  10613     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10614     _cf = 0;
  10615     _flag_k = FK_NARROW(FK_TEST, 24);
  10616     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
  10617 L_2B020DBC:
  10618     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
  10619     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10620     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10621     _flag_k = FK_NARROW(FK_CMP, 24);
  10622     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
  10623 L_2B020DC0:
  10624     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10625     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
  10626     _flag_k = FK_NARROW(FK_DEC, 24);
  10627     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
  10628     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
  10629 L_2B020DC6:
  10630     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
  10631     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
  10632     RECOMP_FLAGS_IN();
  10633     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10634     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10635     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
  10636     _flag_k = FK_ADD;
  10637     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10638     edx = 0; /* 0x2B020DCF: xor edx, edx */
  10639     _cf = 0;
  10640     _flag_k = FK_TEST;
  10641 L_2B020DD1:
  10642     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
  10643     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
  10644     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
  10645     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
  10646     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
  10647     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
  10648     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
  10649     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
  10650     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
  10651     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
  10652     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
  10653 L_2B0AD4E0:
  10654     ecx = ebp + (-0xB0); /* 0x2B0AD4E0: lea ecx, [ebp - 0xb0] */
  10655     RECOMP_BACKEDGE();
  10656     goto L_2B020CD0; /* 0x2B0AD4E6: jmp 0x2b020cd0 */
  10657     { RECOMP_REGS_OUT(); return; } /* end of function */
  10658     RECOMP_REGS_OUT();
  10659 }
  10660 
  10661 void sub_2B0AD4EB(void) {
  10662     int _fpu_cmp = 0;
  10663     uint32_t _cf = 0;
  10664     int _df = 1;
  10665     uint32_t _flag_k = FK_NONE;
  10666     uint32_t _flag_a = 0, _flag_b = 0;
  10667     uint32_t _itail_tgt = 0;
  10668     RECOMP_REGS_LOCALS
  10669     RECOMP_ENTER(0x2B0AD4EBu);
  10670 
  10671     goto L_2B0AD4EB;
  10672 L_2B01F690:
  10673     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
  10674     ebp = esp; /* 0x2B01F691: mov ebp, esp */
  10675     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
  10676     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
  10677     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
  10678     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
  10679     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
  10680     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  10681     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10682     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
  10683     _flag_k = FK_CMP;
  10684     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
  10685     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
  10686     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
  10687     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
  10688     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
  10689     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10690     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
  10691     _cf = 0;
  10692     _flag_k = FK_TEST;
  10693     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
  10694     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
  10695     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
  10696     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
  10697     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
  10698     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10700     _flag_k = FK_CMP;
  10701     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
  10702 L_2B01F6C5:
  10703     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  10704     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
  10705     _flag_k = FK_DEC;
  10706     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
  10707 L_2B01F6CA:
  10708     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
  10709     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10710     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10711     _flag_k = FK_CMP;
  10712     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
  10713     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
  10714 L_2B01F6D1:
  10715     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
  10716     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
  10717     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
  10718     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
  10719     RECOMP_FLAGS_IN();
  10720     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
  10721     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
  10722     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
  10723     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
  10724     RECOMP_FLAGS_IN();
  10725     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
  10726     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
  10727     RECOMP_FLAGS_IN();
  10728     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
  10729     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10730     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10731     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
  10732     _flag_k = FK_ADD;
  10733 L_2B01F6FB:
  10734     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
  10735     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
  10736     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  10737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10738     _flag_k = FK_CMP;
  10739     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
  10740 L_2B01F702:
  10741     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
  10742     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
  10743     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
  10744     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  10745     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10746     _flag_k = FK_NARROW(FK_CMP, 24);
  10747     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
  10748 L_2B01F70B:
  10749     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
  10750     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10751     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10752     _flag_k = FK_NARROW(FK_CMP, 24);
  10753     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
  10754 L_2B01F70F:
  10755     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10756     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
  10757     _flag_k = FK_NARROW(FK_DEC, 24);
  10758     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
  10759     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
  10760 L_2B01F715:
  10761     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
  10762     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
  10763     RECOMP_FLAGS_IN();
  10764     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
  10765     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10766     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10767     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
  10768     _flag_k = FK_ADD;
  10769 L_2B01F721:
  10770     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
  10771     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
  10772     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
  10773     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
  10774     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
  10775     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10777     _flag_k = FK_CMP;
  10778     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
  10779     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
  10780 L_2B01F738:
  10781     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  10782     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
  10783     _flag_k = FK_DEC;
  10784     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
  10785 L_2B01F73D:
  10786     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
  10787     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  10788     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10789     _flag_k = FK_CMP;
  10790     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
  10791     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
  10792 L_2B01F744:
  10793     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
  10794     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
  10795     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
  10796     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
  10797     RECOMP_FLAGS_IN();
  10798     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
  10799     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
  10800     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  10801     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10802     _flag_k = FK_CMP;
  10803     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
  10804 L_2B01F75A:
  10805     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
  10806     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
  10807     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
  10808     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  10809     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10810     _flag_k = FK_NARROW(FK_CMP, 24);
  10811     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
  10812 L_2B01F763:
  10813     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
  10814     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10815     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10816     _flag_k = FK_NARROW(FK_CMP, 24);
  10817     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
  10818 L_2B01F767:
  10819     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10820     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
  10821     _flag_k = FK_NARROW(FK_DEC, 24);
  10822     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
  10823     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
  10824 L_2B01F76D:
  10825     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
  10826     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
  10827     RECOMP_FLAGS_IN();
  10828     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10829     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10830     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
  10831     _flag_k = FK_ADD;
  10832 L_2B01F776:
  10833     PUSH32(esp, esi); /* 0x2B01F776: push esi */
  10834     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
  10835     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
  10836     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
  10837     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
  10838     RECOMP_FLAGS_IN();
  10839     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
  10840     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10841     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10842     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
  10843     _flag_k = FK_ADD;
  10844 L_2B01F78B:
  10845     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
  10846     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
  10847     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  10848     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10849     _flag_k = FK_CMP;
  10850     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
  10851 L_2B01F792:
  10852     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
  10853     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
  10854     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
  10855     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  10856     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10857     _flag_k = FK_NARROW(FK_CMP, 24);
  10858     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
  10859 L_2B01F79B:
  10860     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
  10861     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10862     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10863     _flag_k = FK_NARROW(FK_CMP, 24);
  10864     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
  10865 L_2B01F79F:
  10866     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10867     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
  10868     _flag_k = FK_NARROW(FK_DEC, 24);
  10869     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
  10870     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
  10871 L_2B01F7A5:
  10872     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
  10873     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
  10874     RECOMP_FLAGS_IN();
  10875     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
  10876     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10877     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10878     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
  10879     _flag_k = FK_ADD;
  10880 L_2B01F7B1:
  10881     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
  10882     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
  10883     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
  10884     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
  10885     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
  10886     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
  10887     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
  10888     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
  10889     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
  10890     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
  10891     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
  10892 L_2B0AD4EB:
  10893     ecx = ebp + (-0x6C); /* 0x2B0AD4EB: lea ecx, [ebp - 0x6c] */
  10894     RECOMP_BACKEDGE();
  10895     goto L_2B01F690; /* 0x2B0AD4EE: jmp 0x2b01f690 */
  10896     { RECOMP_REGS_OUT(); return; } /* end of function */
  10897     RECOMP_REGS_OUT();
  10898 }
  10899 
  10900 void sub_2B0AD4F3(void) {
  10901     int _fpu_cmp = 0;
  10902     uint32_t _cf = 0;
  10903     int _df = 1;
  10904     uint32_t _flag_k = FK_NONE;
  10905     uint32_t _flag_a = 0, _flag_b = 0;
  10906     uint32_t _itail_tgt = 0;
  10907     RECOMP_REGS_LOCALS
  10908     RECOMP_ENTER(0x2B0AD4F3u);
  10909 
  10910     goto L_2B0AD4F3;
  10911 L_2B020CD0:
  10912     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
  10913     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
  10914     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
  10915     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
  10916     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
  10917     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
  10918     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
  10919     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  10920     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10921     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
  10922     _flag_k = FK_CMP;
  10923     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
  10924     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
  10925     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
  10926     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
  10927     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
  10928     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10929     edx = 0; /* 0x2B020CF4: xor edx, edx */
  10930     _cf = 0;
  10931     _flag_k = FK_TEST;
  10932     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
  10933     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
  10934     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
  10935     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
  10936     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
  10937     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10938     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10939     _flag_k = FK_CMP;
  10940     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
  10941 L_2B020D06:
  10942     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
  10943     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
  10944     _flag_k = FK_DEC;
  10945     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
  10946 L_2B020D0B:
  10947     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
  10948     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  10949     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10950     _flag_k = FK_CMP;
  10951     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
  10952     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
  10953 L_2B020D12:
  10954     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
  10955     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
  10956     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
  10957     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
  10958     RECOMP_FLAGS_IN();
  10959     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
  10960     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
  10961     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
  10962     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
  10963     RECOMP_FLAGS_IN();
  10964     PUSH32(esp, edi); /* 0x2B020D30: push edi */
  10965     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
  10966     RECOMP_FLAGS_IN();
  10967     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  10968     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  10969     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
  10970     _flag_k = FK_ADD;
  10971     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  10972     edx = 0; /* 0x2B020D39: xor edx, edx */
  10973     _cf = 0;
  10974     _flag_k = FK_TEST;
  10975 L_2B020D3B:
  10976     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
  10977     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
  10978     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  10979     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10980     _flag_k = FK_CMP;
  10981     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
  10982 L_2B020D42:
  10983     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
  10984     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
  10985     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
  10986     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  10987     _cf = 0;
  10988     _flag_k = FK_NARROW(FK_TEST, 24);
  10989     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
  10990 L_2B020D4B:
  10991     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
  10992     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  10993     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  10994     _flag_k = FK_NARROW(FK_CMP, 24);
  10995     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
  10996 L_2B020D4F:
  10997     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  10998     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
  10999     _flag_k = FK_NARROW(FK_DEC, 24);
  11000     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
  11001     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
  11002 L_2B020D55:
  11003     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
  11004     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
  11005     RECOMP_FLAGS_IN();
  11006     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11007     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11008     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
  11009     _flag_k = FK_ADD;
  11010     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11011     edx = 0; /* 0x2B020D5E: xor edx, edx */
  11012     _cf = 0;
  11013     _flag_k = FK_TEST;
  11014 L_2B020D60:
  11015     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
  11016     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
  11017     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
  11018     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
  11019     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
  11020     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  11021     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11022     _flag_k = FK_CMP;
  11023     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
  11024     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
  11025 L_2B020D77:
  11026     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11027     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
  11028     _flag_k = FK_DEC;
  11029     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
  11030 L_2B020D7C:
  11031     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
  11032     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  11033     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11034     _flag_k = FK_CMP;
  11035     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
  11036     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
  11037 L_2B020D83:
  11038     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
  11039     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
  11040     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
  11041     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
  11042     RECOMP_FLAGS_IN();
  11043     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
  11044     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
  11045     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
  11046     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
  11047     RECOMP_FLAGS_IN();
  11048     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
  11049     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
  11050     RECOMP_FLAGS_IN();
  11051     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11052     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11053     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
  11054     _flag_k = FK_ADD;
  11055     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11056     edx = 0; /* 0x2B020DAA: xor edx, edx */
  11057     _cf = 0;
  11058     _flag_k = FK_TEST;
  11059 L_2B020DAC:
  11060     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
  11061     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
  11062     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  11063     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11064     _flag_k = FK_CMP;
  11065     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
  11066 L_2B020DB3:
  11067     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
  11068     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
  11069     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
  11070     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11071     _cf = 0;
  11072     _flag_k = FK_NARROW(FK_TEST, 24);
  11073     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
  11074 L_2B020DBC:
  11075     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
  11076     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11077     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11078     _flag_k = FK_NARROW(FK_CMP, 24);
  11079     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
  11080 L_2B020DC0:
  11081     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11082     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
  11083     _flag_k = FK_NARROW(FK_DEC, 24);
  11084     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
  11085     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
  11086 L_2B020DC6:
  11087     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
  11088     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
  11089     RECOMP_FLAGS_IN();
  11090     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11091     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11092     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
  11093     _flag_k = FK_ADD;
  11094     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11095     edx = 0; /* 0x2B020DCF: xor edx, edx */
  11096     _cf = 0;
  11097     _flag_k = FK_TEST;
  11098 L_2B020DD1:
  11099     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
  11100     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
  11101     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
  11102     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
  11103     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
  11104     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
  11105     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
  11106     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
  11107     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
  11108     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
  11109     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
  11110 L_2B0AD4F3:
  11111     ecx = ebp + (-0xB0); /* 0x2B0AD4F3: lea ecx, [ebp - 0xb0] */
  11112     RECOMP_BACKEDGE();
  11113     goto L_2B020CD0; /* 0x2B0AD4F9: jmp 0x2b020cd0 */
  11114     { RECOMP_REGS_OUT(); return; } /* end of function */
  11115     RECOMP_REGS_OUT();
  11116 }
  11117 
  11118 void sub_2B0AD4FE(void) {
  11119     int _fpu_cmp = 0;
  11120     uint32_t _cf = 0;
  11121     int _df = 1;
  11122     uint32_t _flag_k = FK_NONE;
  11123     uint32_t _flag_a = 0, _flag_b = 0;
  11124     uint32_t _itail_tgt = 0;
  11125     RECOMP_REGS_LOCALS
  11126     RECOMP_ENTER(0x2B0AD4FEu);
  11127 
  11128     goto L_2B0AD4FE;
  11129 L_2B01F690:
  11130     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
  11131     ebp = esp; /* 0x2B01F691: mov ebp, esp */
  11132     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
  11133     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
  11134     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
  11135     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
  11136     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
  11137     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  11138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11139     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
  11140     _flag_k = FK_CMP;
  11141     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
  11142     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
  11143     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
  11144     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
  11145     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
  11146     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11147     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
  11148     _cf = 0;
  11149     _flag_k = FK_TEST;
  11150     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
  11151     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
  11152     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
  11153     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
  11154     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
  11155     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11156     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11157     _flag_k = FK_CMP;
  11158     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
  11159 L_2B01F6C5:
  11160     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11161     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
  11162     _flag_k = FK_DEC;
  11163     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
  11164 L_2B01F6CA:
  11165     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
  11166     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11167     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11168     _flag_k = FK_CMP;
  11169     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
  11170     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
  11171 L_2B01F6D1:
  11172     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
  11173     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
  11174     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
  11175     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
  11176     RECOMP_FLAGS_IN();
  11177     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
  11178     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
  11179     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
  11180     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
  11181     RECOMP_FLAGS_IN();
  11182     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
  11183     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
  11184     RECOMP_FLAGS_IN();
  11185     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
  11186     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11187     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11188     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
  11189     _flag_k = FK_ADD;
  11190 L_2B01F6FB:
  11191     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
  11192     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
  11193     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  11194     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11195     _flag_k = FK_CMP;
  11196     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
  11197 L_2B01F702:
  11198     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
  11199     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
  11200     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
  11201     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  11202     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11203     _flag_k = FK_NARROW(FK_CMP, 24);
  11204     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
  11205 L_2B01F70B:
  11206     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
  11207     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11208     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11209     _flag_k = FK_NARROW(FK_CMP, 24);
  11210     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
  11211 L_2B01F70F:
  11212     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11213     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
  11214     _flag_k = FK_NARROW(FK_DEC, 24);
  11215     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
  11216     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
  11217 L_2B01F715:
  11218     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
  11219     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
  11220     RECOMP_FLAGS_IN();
  11221     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
  11222     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11223     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11224     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
  11225     _flag_k = FK_ADD;
  11226 L_2B01F721:
  11227     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
  11228     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
  11229     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
  11230     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
  11231     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
  11232     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11233     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11234     _flag_k = FK_CMP;
  11235     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
  11236     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
  11237 L_2B01F738:
  11238     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11239     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
  11240     _flag_k = FK_DEC;
  11241     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
  11242 L_2B01F73D:
  11243     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
  11244     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11245     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11246     _flag_k = FK_CMP;
  11247     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
  11248     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
  11249 L_2B01F744:
  11250     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
  11251     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
  11252     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
  11253     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
  11254     RECOMP_FLAGS_IN();
  11255     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
  11256     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
  11257     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  11258     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11259     _flag_k = FK_CMP;
  11260     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
  11261 L_2B01F75A:
  11262     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
  11263     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
  11264     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
  11265     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  11266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11267     _flag_k = FK_NARROW(FK_CMP, 24);
  11268     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
  11269 L_2B01F763:
  11270     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
  11271     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11273     _flag_k = FK_NARROW(FK_CMP, 24);
  11274     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
  11275 L_2B01F767:
  11276     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11277     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
  11278     _flag_k = FK_NARROW(FK_DEC, 24);
  11279     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
  11280     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
  11281 L_2B01F76D:
  11282     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
  11283     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
  11284     RECOMP_FLAGS_IN();
  11285     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11286     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11287     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
  11288     _flag_k = FK_ADD;
  11289 L_2B01F776:
  11290     PUSH32(esp, esi); /* 0x2B01F776: push esi */
  11291     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
  11292     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
  11293     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
  11294     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
  11295     RECOMP_FLAGS_IN();
  11296     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
  11297     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11298     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11299     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
  11300     _flag_k = FK_ADD;
  11301 L_2B01F78B:
  11302     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
  11303     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
  11304     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  11305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11306     _flag_k = FK_CMP;
  11307     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
  11308 L_2B01F792:
  11309     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
  11310     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
  11311     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
  11312     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  11313     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11314     _flag_k = FK_NARROW(FK_CMP, 24);
  11315     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
  11316 L_2B01F79B:
  11317     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
  11318     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11319     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11320     _flag_k = FK_NARROW(FK_CMP, 24);
  11321     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
  11322 L_2B01F79F:
  11323     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11324     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
  11325     _flag_k = FK_NARROW(FK_DEC, 24);
  11326     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
  11327     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
  11328 L_2B01F7A5:
  11329     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
  11330     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
  11331     RECOMP_FLAGS_IN();
  11332     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
  11333     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11334     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11335     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
  11336     _flag_k = FK_ADD;
  11337 L_2B01F7B1:
  11338     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
  11339     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
  11340     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
  11341     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
  11342     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
  11343     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
  11344     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
  11345     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
  11346     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
  11347     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
  11348     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
  11349 L_2B0AD4FE:
  11350     ecx = ebp + (-0x6C); /* 0x2B0AD4FE: lea ecx, [ebp - 0x6c] */
  11351     RECOMP_BACKEDGE();
  11352     goto L_2B01F690; /* 0x2B0AD501: jmp 0x2b01f690 */
  11353     { RECOMP_REGS_OUT(); return; } /* end of function */
  11354     RECOMP_REGS_OUT();
  11355 }
  11356 
  11357 void sub_2B0AD506(void) {
  11358     int _fpu_cmp = 0;
  11359     uint32_t _cf = 0;
  11360     int _df = 1;
  11361     uint32_t _flag_k = FK_NONE;
  11362     uint32_t _flag_a = 0, _flag_b = 0;
  11363     uint32_t _itail_tgt = 0;
  11364     RECOMP_REGS_LOCALS
  11365     RECOMP_ENTER(0x2B0AD506u);
  11366 
  11367     goto L_2B0AD506;
  11368 L_2B020CD0:
  11369     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
  11370     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
  11371     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
  11372     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
  11373     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
  11374     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
  11375     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
  11376     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  11377     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11378     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
  11379     _flag_k = FK_CMP;
  11380     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
  11381     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
  11382     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
  11383     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
  11384     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
  11385     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11386     edx = 0; /* 0x2B020CF4: xor edx, edx */
  11387     _cf = 0;
  11388     _flag_k = FK_TEST;
  11389     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
  11390     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
  11391     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
  11392     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
  11393     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
  11394     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  11395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11396     _flag_k = FK_CMP;
  11397     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
  11398 L_2B020D06:
  11399     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
  11400     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
  11401     _flag_k = FK_DEC;
  11402     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
  11403 L_2B020D0B:
  11404     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
  11405     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  11406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11407     _flag_k = FK_CMP;
  11408     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
  11409     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
  11410 L_2B020D12:
  11411     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
  11412     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
  11413     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
  11414     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
  11415     RECOMP_FLAGS_IN();
  11416     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
  11417     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
  11418     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
  11419     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
  11420     RECOMP_FLAGS_IN();
  11421     PUSH32(esp, edi); /* 0x2B020D30: push edi */
  11422     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
  11423     RECOMP_FLAGS_IN();
  11424     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11425     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11426     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
  11427     _flag_k = FK_ADD;
  11428     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11429     edx = 0; /* 0x2B020D39: xor edx, edx */
  11430     _cf = 0;
  11431     _flag_k = FK_TEST;
  11432 L_2B020D3B:
  11433     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
  11434     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
  11435     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  11436     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11437     _flag_k = FK_CMP;
  11438     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
  11439 L_2B020D42:
  11440     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
  11441     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
  11442     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
  11443     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11444     _cf = 0;
  11445     _flag_k = FK_NARROW(FK_TEST, 24);
  11446     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
  11447 L_2B020D4B:
  11448     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
  11449     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11450     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11451     _flag_k = FK_NARROW(FK_CMP, 24);
  11452     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
  11453 L_2B020D4F:
  11454     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11455     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
  11456     _flag_k = FK_NARROW(FK_DEC, 24);
  11457     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
  11458     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
  11459 L_2B020D55:
  11460     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
  11461     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
  11462     RECOMP_FLAGS_IN();
  11463     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11464     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11465     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
  11466     _flag_k = FK_ADD;
  11467     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11468     edx = 0; /* 0x2B020D5E: xor edx, edx */
  11469     _cf = 0;
  11470     _flag_k = FK_TEST;
  11471 L_2B020D60:
  11472     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
  11473     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
  11474     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
  11475     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
  11476     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
  11477     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  11478     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11479     _flag_k = FK_CMP;
  11480     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
  11481     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
  11482 L_2B020D77:
  11483     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11484     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
  11485     _flag_k = FK_DEC;
  11486     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
  11487 L_2B020D7C:
  11488     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
  11489     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  11490     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11491     _flag_k = FK_CMP;
  11492     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
  11493     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
  11494 L_2B020D83:
  11495     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
  11496     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
  11497     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
  11498     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
  11499     RECOMP_FLAGS_IN();
  11500     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
  11501     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
  11502     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
  11503     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
  11504     RECOMP_FLAGS_IN();
  11505     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
  11506     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
  11507     RECOMP_FLAGS_IN();
  11508     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11509     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11510     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
  11511     _flag_k = FK_ADD;
  11512     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11513     edx = 0; /* 0x2B020DAA: xor edx, edx */
  11514     _cf = 0;
  11515     _flag_k = FK_TEST;
  11516 L_2B020DAC:
  11517     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
  11518     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
  11519     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  11520     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11521     _flag_k = FK_CMP;
  11522     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
  11523 L_2B020DB3:
  11524     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
  11525     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
  11526     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
  11527     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11528     _cf = 0;
  11529     _flag_k = FK_NARROW(FK_TEST, 24);
  11530     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
  11531 L_2B020DBC:
  11532     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
  11533     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11534     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11535     _flag_k = FK_NARROW(FK_CMP, 24);
  11536     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
  11537 L_2B020DC0:
  11538     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11539     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
  11540     _flag_k = FK_NARROW(FK_DEC, 24);
  11541     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
  11542     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
  11543 L_2B020DC6:
  11544     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
  11545     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
  11546     RECOMP_FLAGS_IN();
  11547     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11548     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11549     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
  11550     _flag_k = FK_ADD;
  11551     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11552     edx = 0; /* 0x2B020DCF: xor edx, edx */
  11553     _cf = 0;
  11554     _flag_k = FK_TEST;
  11555 L_2B020DD1:
  11556     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
  11557     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
  11558     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
  11559     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
  11560     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
  11561     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
  11562     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
  11563     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
  11564     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
  11565     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
  11566     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
  11567 L_2B0AD506:
  11568     ecx = ebp + (-0xB0); /* 0x2B0AD506: lea ecx, [ebp - 0xb0] */
  11569     RECOMP_BACKEDGE();
  11570     goto L_2B020CD0; /* 0x2B0AD50C: jmp 0x2b020cd0 */
  11571     { RECOMP_REGS_OUT(); return; } /* end of function */
  11572     RECOMP_REGS_OUT();
  11573 }
  11574 
  11575 void sub_2B0AD511(void) {
  11576     int _fpu_cmp = 0;
  11577     uint32_t _cf = 0;
  11578     int _df = 1;
  11579     uint32_t _flag_k = FK_NONE;
  11580     uint32_t _flag_a = 0, _flag_b = 0;
  11581     uint32_t _itail_tgt = 0;
  11582     RECOMP_REGS_LOCALS
  11583     RECOMP_ENTER(0x2B0AD511u);
  11584 
  11585 L_2B0AD511:
  11586     ecx = ebp + (-0x6C); /* 0x2B0AD511: lea ecx, [ebp - 0x6c] */
  11587 L_2B0AD514:
  11588     { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; }
  11589     { RECOMP_REGS_OUT(); return; } /* end of function */
  11590   _ljump:
  11591     switch (_itail_tgt) {
  11592       case 0x2B0AD511u: goto L_2B0AD511;
  11593       case 0x2B0AD514u: goto L_2B0AD514;
  11594       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
  11595     }
  11596     RECOMP_REGS_OUT();
  11597 }
  11598 
  11599 void sub_2B0AD51A(void) {
  11600     int _fpu_cmp = 0;
  11601     uint32_t _cf = 0;
  11602     int _df = 1;
  11603     uint32_t _flag_k = FK_NONE;
  11604     uint32_t _flag_a = 0, _flag_b = 0;
  11605     uint32_t _itail_tgt = 0;
  11606     RECOMP_REGS_LOCALS
  11607     RECOMP_ENTER(0x2B0AD51Au);
  11608 
  11609     goto L_2B0AD51A;
  11610 L_2B01F690:
  11611     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
  11612     ebp = esp; /* 0x2B01F691: mov ebp, esp */
  11613     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
  11614     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
  11615     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
  11616     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
  11617     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
  11618     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  11619     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11620     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
  11621     _flag_k = FK_CMP;
  11622     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
  11623     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
  11624     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
  11625     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
  11626     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
  11627     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11628     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
  11629     _cf = 0;
  11630     _flag_k = FK_TEST;
  11631     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
  11632     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
  11633     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
  11634     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
  11635     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
  11636     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11638     _flag_k = FK_CMP;
  11639     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
  11640 L_2B01F6C5:
  11641     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11642     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
  11643     _flag_k = FK_DEC;
  11644     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
  11645 L_2B01F6CA:
  11646     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
  11647     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11648     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11649     _flag_k = FK_CMP;
  11650     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
  11651     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
  11652 L_2B01F6D1:
  11653     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
  11654     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
  11655     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
  11656     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
  11657     RECOMP_FLAGS_IN();
  11658     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
  11659     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
  11660     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
  11661     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
  11662     RECOMP_FLAGS_IN();
  11663     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
  11664     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
  11665     RECOMP_FLAGS_IN();
  11666     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
  11667     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11668     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11669     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
  11670     _flag_k = FK_ADD;
  11671 L_2B01F6FB:
  11672     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
  11673     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
  11674     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  11675     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11676     _flag_k = FK_CMP;
  11677     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
  11678 L_2B01F702:
  11679     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
  11680     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
  11681     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
  11682     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  11683     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11684     _flag_k = FK_NARROW(FK_CMP, 24);
  11685     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
  11686 L_2B01F70B:
  11687     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
  11688     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11689     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11690     _flag_k = FK_NARROW(FK_CMP, 24);
  11691     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
  11692 L_2B01F70F:
  11693     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11694     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
  11695     _flag_k = FK_NARROW(FK_DEC, 24);
  11696     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
  11697     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
  11698 L_2B01F715:
  11699     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
  11700     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
  11701     RECOMP_FLAGS_IN();
  11702     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
  11703     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11704     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11705     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
  11706     _flag_k = FK_ADD;
  11707 L_2B01F721:
  11708     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
  11709     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
  11710     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
  11711     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
  11712     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
  11713     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11714     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11715     _flag_k = FK_CMP;
  11716     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
  11717     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
  11718 L_2B01F738:
  11719     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11720     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
  11721     _flag_k = FK_DEC;
  11722     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
  11723 L_2B01F73D:
  11724     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
  11725     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  11726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11727     _flag_k = FK_CMP;
  11728     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
  11729     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
  11730 L_2B01F744:
  11731     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
  11732     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
  11733     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
  11734     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
  11735     RECOMP_FLAGS_IN();
  11736     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
  11737     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
  11738     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  11739     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11740     _flag_k = FK_CMP;
  11741     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
  11742 L_2B01F75A:
  11743     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
  11744     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
  11745     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
  11746     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  11747     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11748     _flag_k = FK_NARROW(FK_CMP, 24);
  11749     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
  11750 L_2B01F763:
  11751     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
  11752     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11753     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11754     _flag_k = FK_NARROW(FK_CMP, 24);
  11755     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
  11756 L_2B01F767:
  11757     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11758     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
  11759     _flag_k = FK_NARROW(FK_DEC, 24);
  11760     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
  11761     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
  11762 L_2B01F76D:
  11763     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
  11764     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
  11765     RECOMP_FLAGS_IN();
  11766     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11767     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11768     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
  11769     _flag_k = FK_ADD;
  11770 L_2B01F776:
  11771     PUSH32(esp, esi); /* 0x2B01F776: push esi */
  11772     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
  11773     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
  11774     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
  11775     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
  11776     RECOMP_FLAGS_IN();
  11777     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
  11778     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11779     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11780     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
  11781     _flag_k = FK_ADD;
  11782 L_2B01F78B:
  11783     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
  11784     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
  11785     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  11786     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11787     _flag_k = FK_CMP;
  11788     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
  11789 L_2B01F792:
  11790     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
  11791     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
  11792     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
  11793     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  11794     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11795     _flag_k = FK_NARROW(FK_CMP, 24);
  11796     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
  11797 L_2B01F79B:
  11798     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
  11799     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11800     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11801     _flag_k = FK_NARROW(FK_CMP, 24);
  11802     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
  11803 L_2B01F79F:
  11804     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11805     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
  11806     _flag_k = FK_NARROW(FK_DEC, 24);
  11807     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
  11808     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
  11809 L_2B01F7A5:
  11810     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
  11811     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
  11812     RECOMP_FLAGS_IN();
  11813     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
  11814     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11815     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11816     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
  11817     _flag_k = FK_ADD;
  11818 L_2B01F7B1:
  11819     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
  11820     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
  11821     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
  11822     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
  11823     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
  11824     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
  11825     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
  11826     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
  11827     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
  11828     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
  11829     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
  11830 L_2B0AD51A:
  11831     ecx = ebp + (-0x6C); /* 0x2B0AD51A: lea ecx, [ebp - 0x6c] */
  11832     RECOMP_BACKEDGE();
  11833     goto L_2B01F690; /* 0x2B0AD51D: jmp 0x2b01f690 */
  11834     { RECOMP_REGS_OUT(); return; } /* end of function */
  11835     RECOMP_REGS_OUT();
  11836 }
  11837 
  11838 void sub_2B0AD522(void) {
  11839     int _fpu_cmp = 0;
  11840     uint32_t _cf = 0;
  11841     int _df = 1;
  11842     uint32_t _flag_k = FK_NONE;
  11843     uint32_t _flag_a = 0, _flag_b = 0;
  11844     uint32_t _itail_tgt = 0;
  11845     RECOMP_REGS_LOCALS
  11846     RECOMP_ENTER(0x2B0AD522u);
  11847 
  11848     goto L_2B0AD522;
  11849 L_2B020CD0:
  11850     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
  11851     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
  11852     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
  11853     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
  11854     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
  11855     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
  11856     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
  11857     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  11858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11859     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
  11860     _flag_k = FK_CMP;
  11861     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
  11862     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
  11863     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
  11864     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
  11865     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
  11866     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11867     edx = 0; /* 0x2B020CF4: xor edx, edx */
  11868     _cf = 0;
  11869     _flag_k = FK_TEST;
  11870     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
  11871     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
  11872     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
  11873     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
  11874     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
  11875     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  11876     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11877     _flag_k = FK_CMP;
  11878     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
  11879 L_2B020D06:
  11880     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
  11881     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
  11882     _flag_k = FK_DEC;
  11883     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
  11884 L_2B020D0B:
  11885     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
  11886     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  11887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11888     _flag_k = FK_CMP;
  11889     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
  11890     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
  11891 L_2B020D12:
  11892     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
  11893     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
  11894     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
  11895     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
  11896     RECOMP_FLAGS_IN();
  11897     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
  11898     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
  11899     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
  11900     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
  11901     RECOMP_FLAGS_IN();
  11902     PUSH32(esp, edi); /* 0x2B020D30: push edi */
  11903     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
  11904     RECOMP_FLAGS_IN();
  11905     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11906     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11907     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
  11908     _flag_k = FK_ADD;
  11909     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11910     edx = 0; /* 0x2B020D39: xor edx, edx */
  11911     _cf = 0;
  11912     _flag_k = FK_TEST;
  11913 L_2B020D3B:
  11914     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
  11915     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
  11916     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  11917     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11918     _flag_k = FK_CMP;
  11919     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
  11920 L_2B020D42:
  11921     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
  11922     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
  11923     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
  11924     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  11925     _cf = 0;
  11926     _flag_k = FK_NARROW(FK_TEST, 24);
  11927     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
  11928 L_2B020D4B:
  11929     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
  11930     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  11931     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11932     _flag_k = FK_NARROW(FK_CMP, 24);
  11933     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
  11934 L_2B020D4F:
  11935     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  11936     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
  11937     _flag_k = FK_NARROW(FK_DEC, 24);
  11938     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
  11939     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
  11940 L_2B020D55:
  11941     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
  11942     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
  11943     RECOMP_FLAGS_IN();
  11944     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11945     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11946     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
  11947     _flag_k = FK_ADD;
  11948     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11949     edx = 0; /* 0x2B020D5E: xor edx, edx */
  11950     _cf = 0;
  11951     _flag_k = FK_TEST;
  11952 L_2B020D60:
  11953     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
  11954     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
  11955     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
  11956     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
  11957     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
  11958     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  11959     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11960     _flag_k = FK_CMP;
  11961     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
  11962     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
  11963 L_2B020D77:
  11964     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  11965     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
  11966     _flag_k = FK_DEC;
  11967     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
  11968 L_2B020D7C:
  11969     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
  11970     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  11971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  11972     _flag_k = FK_CMP;
  11973     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
  11974     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
  11975 L_2B020D83:
  11976     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
  11977     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
  11978     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
  11979     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
  11980     RECOMP_FLAGS_IN();
  11981     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
  11982     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
  11983     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
  11984     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
  11985     RECOMP_FLAGS_IN();
  11986     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
  11987     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
  11988     RECOMP_FLAGS_IN();
  11989     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  11990     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  11991     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
  11992     _flag_k = FK_ADD;
  11993     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  11994     edx = 0; /* 0x2B020DAA: xor edx, edx */
  11995     _cf = 0;
  11996     _flag_k = FK_TEST;
  11997 L_2B020DAC:
  11998     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
  11999     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
  12000     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  12001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12002     _flag_k = FK_CMP;
  12003     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
  12004 L_2B020DB3:
  12005     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
  12006     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
  12007     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
  12008     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12009     _cf = 0;
  12010     _flag_k = FK_NARROW(FK_TEST, 24);
  12011     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
  12012 L_2B020DBC:
  12013     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
  12014     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  12015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12016     _flag_k = FK_NARROW(FK_CMP, 24);
  12017     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
  12018 L_2B020DC0:
  12019     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  12020     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
  12021     _flag_k = FK_NARROW(FK_DEC, 24);
  12022     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
  12023     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
  12024 L_2B020DC6:
  12025     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
  12026     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
  12027     RECOMP_FLAGS_IN();
  12028     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12029     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12030     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
  12031     _flag_k = FK_ADD;
  12032     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12033     edx = 0; /* 0x2B020DCF: xor edx, edx */
  12034     _cf = 0;
  12035     _flag_k = FK_TEST;
  12036 L_2B020DD1:
  12037     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
  12038     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
  12039     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
  12040     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
  12041     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
  12042     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
  12043     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
  12044     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
  12045     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
  12046     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
  12047     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
  12048 L_2B0AD522:
  12049     ecx = ebp + (-0xB0); /* 0x2B0AD522: lea ecx, [ebp - 0xb0] */
  12050     RECOMP_BACKEDGE();
  12051     goto L_2B020CD0; /* 0x2B0AD528: jmp 0x2b020cd0 */
  12052     { RECOMP_REGS_OUT(); return; } /* end of function */
  12053     RECOMP_REGS_OUT();
  12054 }
  12055 
  12056 void sub_2B0AD52D(void) {
  12057     int _fpu_cmp = 0;
  12058     uint32_t _cf = 0;
  12059     int _df = 1;
  12060     uint32_t _flag_k = FK_NONE;
  12061     uint32_t _flag_a = 0, _flag_b = 0;
  12062     uint32_t _itail_tgt = 0;
  12063     RECOMP_REGS_LOCALS
  12064     RECOMP_ENTER(0x2B0AD52Du);
  12065 
  12066     goto L_2B0AD52D;
  12067 L_2B01F690:
  12068     PUSH32(esp, ebp); /* 0x2B01F690: push ebp */
  12069     ebp = esp; /* 0x2B01F691: mov ebp, esp */
  12070     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */
  12071     PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */
  12072     eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */
  12073     PUSH32(esp, eax); /* 0x2B01F6A0: push eax */
  12074     MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */
  12075     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  12076     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12077     esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */
  12078     _flag_k = FK_CMP;
  12079     PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */
  12080     PUSH32(esp, esi); /* 0x2B01F6AC: push esi */
  12081     edx = ecx; /* 0x2B01F6AD: mov edx, ecx */
  12082     PUSH32(esp, edi); /* 0x2B01F6AF: push edi */
  12083     MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */
  12084     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12085     ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */
  12086     _cf = 0;
  12087     _flag_k = FK_TEST;
  12088     edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */
  12089     MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */
  12090     MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */
  12091     esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */
  12092     /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */
  12093     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  12094     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12095     _flag_k = FK_CMP;
  12096     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */
  12097 L_2B01F6C5:
  12098     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  12099     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */
  12100     _flag_k = FK_DEC;
  12101     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */
  12102 L_2B01F6CA:
  12103     /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */
  12104     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  12105     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12106     _flag_k = FK_CMP;
  12107     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */
  12108     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */
  12109 L_2B01F6D1:
  12110     PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */
  12111     ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */
  12112     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */
  12113     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */
  12114     RECOMP_FLAGS_IN();
  12115     PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */
  12116     ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */
  12117     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */
  12118     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */
  12119     RECOMP_FLAGS_IN();
  12120     PUSH32(esp, esi); /* 0x2B01F6EF: push esi */
  12121     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */
  12122     RECOMP_FLAGS_IN();
  12123     edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */
  12124     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12125     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12126     esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */
  12127     _flag_k = FK_ADD;
  12128 L_2B01F6FB:
  12129     eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */
  12130     /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */
  12131     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  12132     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12133     _flag_k = FK_CMP;
  12134     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */
  12135 L_2B01F702:
  12136     ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */
  12137     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */
  12138     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */
  12139     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  12140     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12141     _flag_k = FK_NARROW(FK_CMP, 24);
  12142     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */
  12143 L_2B01F70B:
  12144     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */
  12145     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  12146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12147     _flag_k = FK_NARROW(FK_CMP, 24);
  12148     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */
  12149 L_2B01F70F:
  12150     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  12151     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */
  12152     _flag_k = FK_NARROW(FK_DEC, 24);
  12153     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */
  12154     goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */
  12155 L_2B01F715:
  12156     PUSH32(esp, ecx); /* 0x2B01F715: push ecx */
  12157     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */
  12158     RECOMP_FLAGS_IN();
  12159     edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */
  12160     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12161     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12162     esp = esp + 4; /* 0x2B01F71E: add esp, 4 */
  12163     _flag_k = FK_ADD;
  12164 L_2B01F721:
  12165     MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */
  12166     MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */
  12167     MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */
  12168     esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */
  12169     /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */
  12170     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  12171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12172     _flag_k = FK_CMP;
  12173     MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */
  12174     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */
  12175 L_2B01F738:
  12176     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  12177     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */
  12178     _flag_k = FK_DEC;
  12179     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */
  12180 L_2B01F73D:
  12181     /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */
  12182     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
  12183     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12184     _flag_k = FK_CMP;
  12185     MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */
  12186     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */
  12187 L_2B01F744:
  12188     PUSH32(esp, 1); /* 0x2B01F744: push 1 */
  12189     ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */
  12190     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */
  12191     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */
  12192     RECOMP_FLAGS_IN();
  12193     eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */
  12194     /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */
  12195     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  12196     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12197     _flag_k = FK_CMP;
  12198     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */
  12199 L_2B01F75A:
  12200     ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */
  12201     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */
  12202     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */
  12203     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  12204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12205     _flag_k = FK_NARROW(FK_CMP, 24);
  12206     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */
  12207 L_2B01F763:
  12208     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */
  12209     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  12210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12211     _flag_k = FK_NARROW(FK_CMP, 24);
  12212     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */
  12213 L_2B01F767:
  12214     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  12215     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */
  12216     _flag_k = FK_NARROW(FK_DEC, 24);
  12217     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */
  12218     goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */
  12219 L_2B01F76D:
  12220     PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */
  12221     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */
  12222     RECOMP_FLAGS_IN();
  12223     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12224     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12225     esp = esp + 4; /* 0x2B01F773: add esp, 4 */
  12226     _flag_k = FK_ADD;
  12227 L_2B01F776:
  12228     PUSH32(esp, esi); /* 0x2B01F776: push esi */
  12229     MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */
  12230     MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */
  12231     MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */
  12232     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */
  12233     RECOMP_FLAGS_IN();
  12234     edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */
  12235     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12236     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12237     esp = esp + 4; /* 0x2B01F788: add esp, 4 */
  12238     _flag_k = FK_ADD;
  12239 L_2B01F78B:
  12240     eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */
  12241     /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */
  12242     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
  12243     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12244     _flag_k = FK_CMP;
  12245     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */
  12246 L_2B01F792:
  12247     ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */
  12248     SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */
  12249     /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */
  12250     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
  12251     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12252     _flag_k = FK_NARROW(FK_CMP, 24);
  12253     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */
  12254 L_2B01F79B:
  12255     /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */
  12256     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  12257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12258     _flag_k = FK_NARROW(FK_CMP, 24);
  12259     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */
  12260 L_2B01F79F:
  12261     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  12262     SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */
  12263     _flag_k = FK_NARROW(FK_DEC, 24);
  12264     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */
  12265     goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */
  12266 L_2B01F7A5:
  12267     PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */
  12268     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */
  12269     RECOMP_FLAGS_IN();
  12270     edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */
  12271     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12272     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12273     esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */
  12274     _flag_k = FK_ADD;
  12275 L_2B01F7B1:
  12276     ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */
  12277     edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */
  12278     MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */
  12279     MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */
  12280     MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */
  12281     esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */
  12282     ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */
  12283     MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */
  12284     esp = ebp; /* 0x2B01F7C7: mov esp, ebp */
  12285     ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */
  12286     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret  */
  12287 L_2B0AD52D:
  12288     ecx = ebp + (-0x6C); /* 0x2B0AD52D: lea ecx, [ebp - 0x6c] */
  12289     RECOMP_BACKEDGE();
  12290     goto L_2B01F690; /* 0x2B0AD530: jmp 0x2b01f690 */
  12291     { RECOMP_REGS_OUT(); return; } /* end of function */
  12292     RECOMP_REGS_OUT();
  12293 }
  12294 
  12295 void sub_2B0AD535(void) {
  12296     int _fpu_cmp = 0;
  12297     uint32_t _cf = 0;
  12298     int _df = 1;
  12299     uint32_t _flag_k = FK_NONE;
  12300     uint32_t _flag_a = 0, _flag_b = 0;
  12301     uint32_t _itail_tgt = 0;
  12302     RECOMP_REGS_LOCALS
  12303     RECOMP_ENTER(0x2B0AD535u);
  12304 
  12305     goto L_2B0AD535;
  12306 L_2B020CD0:
  12307     PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */
  12308     ebp = esp; /* 0x2B020CD1: mov ebp, esp */
  12309     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */
  12310     PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */
  12311     eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */
  12312     PUSH32(esp, eax); /* 0x2B020CE0: push eax */
  12313     MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */
  12314     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
  12315     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12316     esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */
  12317     _flag_k = FK_CMP;
  12318     PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */
  12319     PUSH32(esp, esi); /* 0x2B020CEC: push esi */
  12320     ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */
  12321     PUSH32(esp, edi); /* 0x2B020CF0: push edi */
  12322     MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */
  12323     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12324     edx = 0; /* 0x2B020CF4: xor edx, edx */
  12325     _cf = 0;
  12326     _flag_k = FK_TEST;
  12327     esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */
  12328     MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */
  12329     MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */
  12330     edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */
  12331     /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */
  12332     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  12333     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12334     _flag_k = FK_CMP;
  12335     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */
  12336 L_2B020D06:
  12337     _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1);
  12338     MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */
  12339     _flag_k = FK_DEC;
  12340     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */
  12341 L_2B020D0B:
  12342     /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */
  12343     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
  12344     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12345     _flag_k = FK_CMP;
  12346     MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */
  12347     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */
  12348 L_2B020D12:
  12349     PUSH32(esp, 1); /* 0x2B020D12: push 1 */
  12350     ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */
  12351     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */
  12352     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */
  12353     RECOMP_FLAGS_IN();
  12354     PUSH32(esp, 1); /* 0x2B020D21: push 1 */
  12355     ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */
  12356     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */
  12357     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */
  12358     RECOMP_FLAGS_IN();
  12359     PUSH32(esp, edi); /* 0x2B020D30: push edi */
  12360     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */
  12361     RECOMP_FLAGS_IN();
  12362     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12363     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12364     esp = esp + 4; /* 0x2B020D36: add esp, 4 */
  12365     _flag_k = FK_ADD;
  12366     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12367     edx = 0; /* 0x2B020D39: xor edx, edx */
  12368     _cf = 0;
  12369     _flag_k = FK_TEST;
  12370 L_2B020D3B:
  12371     eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */
  12372     /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */
  12373     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  12374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12375     _flag_k = FK_CMP;
  12376     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */
  12377 L_2B020D42:
  12378     ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */
  12379     SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */
  12380     /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */
  12381     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12382     _cf = 0;
  12383     _flag_k = FK_NARROW(FK_TEST, 24);
  12384     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */
  12385 L_2B020D4B:
  12386     /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */
  12387     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  12388     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12389     _flag_k = FK_NARROW(FK_CMP, 24);
  12390     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */
  12391 L_2B020D4F:
  12392     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  12393     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */
  12394     _flag_k = FK_NARROW(FK_DEC, 24);
  12395     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */
  12396     goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */
  12397 L_2B020D55:
  12398     PUSH32(esp, ecx); /* 0x2B020D55: push ecx */
  12399     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */
  12400     RECOMP_FLAGS_IN();
  12401     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12402     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12403     esp = esp + 4; /* 0x2B020D5B: add esp, 4 */
  12404     _flag_k = FK_ADD;
  12405     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12406     edx = 0; /* 0x2B020D5E: xor edx, edx */
  12407     _cf = 0;
  12408     _flag_k = FK_TEST;
  12409 L_2B020D60:
  12410     MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */
  12411     MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */
  12412     MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */
  12413     esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */
  12414     /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */
  12415     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  12416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12417     _flag_k = FK_CMP;
  12418     MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */
  12419     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */
  12420 L_2B020D77:
  12421     _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1);
  12422     MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */
  12423     _flag_k = FK_DEC;
  12424     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */
  12425 L_2B020D7C:
  12426     /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */
  12427     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
  12428     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12429     _flag_k = FK_CMP;
  12430     MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */
  12431     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */
  12432 L_2B020D83:
  12433     PUSH32(esp, 1); /* 0x2B020D83: push 1 */
  12434     ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */
  12435     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */
  12436     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */
  12437     RECOMP_FLAGS_IN();
  12438     PUSH32(esp, 1); /* 0x2B020D92: push 1 */
  12439     ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */
  12440     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */
  12441     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */
  12442     RECOMP_FLAGS_IN();
  12443     PUSH32(esp, esi); /* 0x2B020DA1: push esi */
  12444     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */
  12445     RECOMP_FLAGS_IN();
  12446     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12447     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12448     esp = esp + 4; /* 0x2B020DA7: add esp, 4 */
  12449     _flag_k = FK_ADD;
  12450     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12451     edx = 0; /* 0x2B020DAA: xor edx, edx */
  12452     _cf = 0;
  12453     _flag_k = FK_TEST;
  12454 L_2B020DAC:
  12455     eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */
  12456     /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */
  12457     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
  12458     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12459     _flag_k = FK_CMP;
  12460     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */
  12461 L_2B020DB3:
  12462     ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */
  12463     SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */
  12464     /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */
  12465     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
  12466     _cf = 0;
  12467     _flag_k = FK_NARROW(FK_TEST, 24);
  12468     if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */
  12469 L_2B020DBC:
  12470     /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */
  12471     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
  12472     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
  12473     _flag_k = FK_NARROW(FK_CMP, 24);
  12474     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */
  12475 L_2B020DC0:
  12476     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
  12477     SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */
  12478     _flag_k = FK_NARROW(FK_DEC, 24);
  12479     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */
  12480     goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */
  12481 L_2B020DC6:
  12482     PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */
  12483     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */
  12484     RECOMP_FLAGS_IN();
  12485     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
  12486     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
  12487     esp = esp + 4; /* 0x2B020DCC: add esp, 4 */
  12488     _flag_k = FK_ADD;
  12489     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
  12490     edx = 0; /* 0x2B020DCF: xor edx, edx */
  12491     _cf = 0;
  12492     _flag_k = FK_TEST;
  12493 L_2B020DD1:
  12494     ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */
  12495     edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */
  12496     MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */
  12497     MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */
  12498     MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */
  12499     esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */
  12500     ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */
  12501     MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */
  12502     esp = ebp; /* 0x2B020DE7: mov esp, ebp */
  12503     ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */
  12504     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret  */
  12505 L_2B0AD535:
  12506     ecx = ebp + (-0xB0); /* 0x2B0AD535: lea ecx, [ebp - 0xb0] */
  12507     RECOMP_BACKEDGE();
  12508     goto L_2B020CD0; /* 0x2B0AD53B: jmp 0x2b020cd0 */
  12509     { RECOMP_REGS_OUT(); return; } /* end of function */
  12510     RECOMP_REGS_OUT();
  12511 }