aorecomp

Anarchy Online classic in the browser

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


client/game/ccr.dll/lifted-0012.c (298952B)


      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_27021490(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(0x27021490u);
     17 
     18 L_27021490:
     19     PUSH32(esp, ebp); /* 0x27021490: push ebp */
     20     ebp = esp; /* 0x27021491: mov ebp, esp */
     21     PUSH32(esp, 0xFFFFFFFFu); /* 0x27021493: push -1 */
     22     PUSH32(esp, 0x2702844Bu); /* 0x27021495: push 0x2702844b */
     23     eax = MEM32(FS_BASE + (0)); /* 0x2702149A: mov eax, dword ptr fs:[0] */
     24     PUSH32(esp, eax); /* 0x270214A0: push eax */
     25     MEM32(FS_BASE + (0)) = esp; /* 0x270214A1: mov dword ptr fs:[0], esp */
     26     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
     27     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     28     esp = esp - 0x20u; /* 0x270214A8: sub esp, 0x20 */
     29     _flag_k = FK_CMP;
     30     PUSH32(esp, ebx); /* 0x270214AB: push ebx */
     31     ebx = MEM32(ebp + 0x8); /* 0x270214AC: mov ebx, dword ptr [ebp + 8] */
     32     /* test ebx, ebx */ /* 0x270214AF: test ebx, ebx */
     33     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
     34     _cf = 0;
     35     _flag_k = FK_TEST;
     36     PUSH32(esp, esi); /* 0x270214B1: push esi */
     37     esi = ecx; /* 0x270214B2: mov esi, ecx */
     38     MEM32(ebp + (-0x18)) = esi; /* 0x270214B4: mov dword ptr [ebp - 0x18], esi */
     39     if (TEST_Z(_flag_a, _flag_b)) goto L_270216B2; /* 0x270214B7: je 0x270216b2 */
     40 L_270214BD:
     41     eax = MEM32(ebp + 0xC); /* 0x270214BD: mov eax, dword ptr [ebp + 0xc] */
     42     /* test eax, eax */ /* 0x270214C0: test eax, eax */
     43     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     44     _cf = 0;
     45     _flag_k = FK_TEST;
     46     if (TEST_Z(_flag_a, _flag_b)) goto L_270216B2; /* 0x270214C2: je 0x270216b2 */
     47 L_270214C8:
     48     eax = MEM32(ebp + 0x10); /* 0x270214C8: mov eax, dword ptr [ebp + 0x10] */
     49     /* test eax, eax */ /* 0x270214CB: test eax, eax */
     50     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     51     _cf = 0;
     52     _flag_k = FK_TEST;
     53     if (TEST_NZ(_flag_a, _flag_b)) goto L_270214FC; /* 0x270214CD: jne 0x270214fc */
     54 L_270214CF:
     55     ecx = MEM32(esi); /* 0x270214CF: mov ecx, dword ptr [esi] */
     56     MEM32(ebp + (-0x14)) = 1; /* 0x270214D1: mov dword ptr [ebp - 0x14], 1 */
     57 L_270214D8:
     58     eax = ebp + (-0x14); /* 0x270214D8: lea eax, [ebp - 0x14] */
     59     PUSH32(esp, eax); /* 0x270214DB: push eax */
     60     edx = ebp + (-0x20); /* 0x270214DC: lea edx, [ebp - 0x20] */
     61     PUSH32(esp, edx); /* 0x270214DF: push edx */
     62     RECOMP_ICALL(0x27021720u); /* 0x270214E0: call 0x27021720 */ /* not lifted */
     63     RECOMP_FLAGS_IN();
     64     ecx = MEM32(esi); /* 0x270214E5: mov ecx, dword ptr [esi] */
     65     eax = MEM32(eax); /* 0x270214E7: mov eax, dword ptr [eax] */
     66     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x270214E9: cmp eax, dword ptr [ecx + 4] */
     67     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
     68     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     69     _flag_k = FK_CMP;
     70     eax = MEM32(ebp + (-0x14)); /* 0x270214EC: mov eax, dword ptr [ebp - 0x14] */
     71     if (CMP_EQ(_flag_a, _flag_b)) goto L_270214F9; /* 0x270214EF: je 0x270214f9 */
     72 L_270214F1:
     73     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
     74     eax = eax + 1; /* 0x270214F1: inc eax */
     75     _flag_k = FK_INC;
     76     MEM32(ebp + (-0x14)) = eax; /* 0x270214F2: mov dword ptr [ebp - 0x14], eax */
     77     RECOMP_BACKEDGE();
     78     if (/* inc result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NE)) goto L_270214D8; /* 0x270214F5: jne 0x270214d8 */
     79 L_270214F7:
     80     goto L_270214FC; /* 0x270214F7: jmp 0x270214fc */
     81 L_270214F9:
     82     MEM32(ebp + 0x10) = eax; /* 0x270214F9: mov dword ptr [ebp + 0x10], eax */
     83 L_270214FC:
     84     PUSH32(esp, edi); /* 0x270214FC: push edi */
     85     PUSH32(esp, 0x2Cu); /* 0x270214FD: push 0x2c */
     86     RECOMP_ICALL(0x27026EA4u); /* 0x270214FF: call 0x27026ea4 */ /* not lifted */
     87     RECOMP_FLAGS_IN();
     88     edi = eax; /* 0x27021504: mov edi, eax */
     89     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     90     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     91     esp = esp + 4; /* 0x27021506: add esp, 4 */
     92     _flag_k = FK_ADD;
     93     MEM32(ebp + (-0x20)) = edi; /* 0x27021509: mov dword ptr [ebp - 0x20], edi */
     94     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     95     esi = 0; /* 0x2702150C: xor esi, esi */
     96     _cf = 0;
     97     _flag_k = FK_TEST;
     98     /* cmp edi, esi */ /* 0x2702150E: cmp edi, esi */
     99     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
    100     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    101     _flag_k = FK_CMP;
    102     MEM32(ebp + (-0x4)) = esi; /* 0x27021510: mov dword ptr [ebp - 4], esi */
    103     if (CMP_EQ(_flag_a, _flag_b)) goto L_2702153D; /* 0x27021513: je 0x2702153d */
    104 L_27021515:
    105     SET_LO8(edx, MEM8(ebp + 0x17)); /* 0x27021515: mov dl, byte ptr [ebp + 0x17] */
    106     ecx = edi + 0x8; /* 0x27021518: lea ecx, [edi + 8] */
    107     MEM32(edi) = esi; /* 0x2702151B: mov dword ptr [edi], esi */
    108     MEM32(edi + 0x4) = esi; /* 0x2702151D: mov dword ptr [edi + 4], esi */
    109     PUSH32(esp, esi); /* 0x27021520: push esi */
    110     MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x27021521: mov byte ptr [ecx], dl */
    111     RECOMP_ICALL(MEM32(0x270290C8)); /* 0x27021523: call dword ptr [0x270290c8] */
    112     RECOMP_FLAGS_IN();
    113     eax = ebp + (-0xD); /* 0x27021529: lea eax, [ebp - 0xd] */
    114     PUSH32(esp, eax); /* 0x2702152C: push eax */
    115     ecx = edi + 0x18; /* 0x2702152D: lea ecx, [edi + 0x18] */
    116     RECOMP_ICALL(MEM32(0x27029088)); /* 0x27021530: call dword ptr [0x27029088] */
    117     RECOMP_FLAGS_IN();
    118     esi = edi; /* 0x27021536: mov esi, edi */
    119     MEM32(ebp + (-0x14)) = esi; /* 0x27021538: mov dword ptr [ebp - 0x14], esi */
    120     goto L_27021540; /* 0x2702153B: jmp 0x27021540 */
    121 L_2702153D:
    122     MEM32(ebp + (-0x14)) = esi; /* 0x2702153D: mov dword ptr [ebp - 0x14], esi */
    123 L_27021540:
    124     ecx = MEM32(ebp + 0x10); /* 0x27021540: mov ecx, dword ptr [ebp + 0x10] */
    125     eax = 0xC789u; /* 0x27021543: mov eax, 0xc789 */
    126     MEM32(esi) = eax; /* 0x27021548: mov dword ptr [esi], eax */
    127     MEM32(esi + 0x4) = ecx; /* 0x2702154A: mov dword ptr [esi + 4], ecx */
    128     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    129     ecx = ecx | 0xFFFFFFFFu; /* 0x2702154D: or ecx, 0xffffffff */
    130     _cf = 0;
    131     _flag_k = FK_TEST;
    132     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    133     eax = 0; /* 0x27021550: xor eax, eax */
    134     _cf = 0;
    135     _flag_k = FK_TEST;
    136     edi = ebx; /* 0x27021552: mov edi, ebx */
    137     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x27021554: repne scasb al, byte ptr es:[edi] */
    138     ecx = ~ecx; /* 0x27021556: not ecx */
    139     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    140     ecx = ecx - 1; /* 0x27021558: dec ecx */
    141     _flag_k = FK_DEC;
    142     ebx = ecx; /* 0x27021559: mov ebx, ecx */
    143     /* cmp ebx, 0x64u */ /* 0x2702155B: cmp ebx, 0x64 */
    144     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u);
    145     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    146     _flag_k = FK_CMP;
    147     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2702155E: mov dword ptr [ebp - 4], 0xffffffff */
    148     if (CMP_L(_flag_a, _flag_b)) goto L_2702156C; /* 0x27021565: jl 0x2702156c */
    149 L_27021567:
    150     ebx = 0x64u; /* 0x27021567: mov ebx, 0x64 */
    151 L_2702156C:
    152     PUSH32(esp, 1); /* 0x2702156C: push 1 */
    153     edi = esi + 0x8; /* 0x2702156E: lea edi, [esi + 8] */
    154     PUSH32(esp, ebx); /* 0x27021571: push ebx */
    155     ecx = edi; /* 0x27021572: mov ecx, edi */
    156     RECOMP_ICALL(MEM32(0x270290C0)); /* 0x27021574: call dword ptr [0x270290c0] */
    157     RECOMP_FLAGS_IN();
    158     /* test LO8(eax), LO8(eax) */ /* 0x2702157A: test al, al */
    159     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    160     _cf = 0;
    161     _flag_k = FK_NARROW(FK_TEST, 24);
    162     if (TEST_Z(_flag_a, _flag_b)) goto L_270215A7; /* 0x2702157C: je 0x270215a7 */
    163 L_2702157E:
    164     edi = MEM32(edi + 0x4); /* 0x2702157E: mov edi, dword ptr [edi + 4] */
    165     esi = MEM32(ebp + 0x8); /* 0x27021581: mov esi, dword ptr [ebp + 8] */
    166     eax = MEM32(ebp + (-0x14)); /* 0x27021584: mov eax, dword ptr [ebp - 0x14] */
    167     ecx = ebx; /* 0x27021587: mov ecx, ebx */
    168     edx = ecx; /* 0x27021589: mov edx, ecx */
    169     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2702158B: shr ecx, 2 */
    170     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    171     ecx = ecx >> 2u; /* 0x2702158B: shr ecx, 2 */
    172     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2702158E: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    173     ecx = edx; /* 0x27021590: mov ecx, edx */
    174     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    175     ecx = ecx & 3; /* 0x27021592: and ecx, 3 */
    176     _cf = 0;
    177     _flag_k = FK_TEST;
    178     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x27021595: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    179     ecx = MEM32(eax + 0xC); /* 0x27021597: mov ecx, dword ptr [eax + 0xc] */
    180     esi = MEM32(ebp + (-0x14)); /* 0x2702159A: mov esi, dword ptr [ebp - 0x14] */
    181     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8);
    182     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    183     eax = eax + 8; /* 0x2702159D: add eax, 8 */
    184     _flag_k = FK_ADD;
    185     MEM32(eax + 0x8) = ebx; /* 0x270215A0: mov dword ptr [eax + 8], ebx */
    186     MEM8(ecx + ebx) = (uint8_t)(0); /* 0x270215A3: mov byte ptr [ecx + ebx], 0 */
    187 L_270215A7:
    188     edi = MEM32(ebp + 0xC); /* 0x270215A7: mov edi, dword ptr [ebp + 0xc] */
    189     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    190     ecx = ecx | 0xFFFFFFFFu; /* 0x270215AA: or ecx, 0xffffffff */
    191     _cf = 0;
    192     _flag_k = FK_TEST;
    193     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    194     eax = 0; /* 0x270215AD: xor eax, eax */
    195     _cf = 0;
    196     _flag_k = FK_TEST;
    197     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x270215AF: repne scasb al, byte ptr es:[edi] */
    198     ecx = ~ecx; /* 0x270215B1: not ecx */
    199     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    200     ecx = ecx - 1; /* 0x270215B3: dec ecx */
    201     _flag_k = FK_DEC;
    202     ebx = ecx; /* 0x270215B4: mov ebx, ecx */
    203     /* cmp ebx, 0x64u */ /* 0x270215B6: cmp ebx, 0x64 */
    204     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x64u);
    205     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    206     _flag_k = FK_CMP;
    207     if (CMP_L(_flag_a, _flag_b)) goto L_270215C0; /* 0x270215B9: jl 0x270215c0 */
    208 L_270215BB:
    209     ebx = 0x64u; /* 0x270215BB: mov ebx, 0x64 */
    210 L_270215C0:
    211     edi = esi + 0x18; /* 0x270215C0: lea edi, [esi + 0x18] */
    212     PUSH32(esp, 1); /* 0x270215C3: push 1 */
    213     PUSH32(esp, ebx); /* 0x270215C5: push ebx */
    214     ecx = edi; /* 0x270215C6: mov ecx, edi */
    215     MEM32(ebp + 0x8) = edi; /* 0x270215C8: mov dword ptr [ebp + 8], edi */
    216     RECOMP_ICALL(MEM32(0x270290C0)); /* 0x270215CB: call dword ptr [0x270290c0] */
    217     RECOMP_FLAGS_IN();
    218     /* test LO8(eax), LO8(eax) */ /* 0x270215D1: test al, al */
    219     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    220     _cf = 0;
    221     _flag_k = FK_NARROW(FK_TEST, 24);
    222     if (TEST_Z(_flag_a, _flag_b)) goto L_270215FB; /* 0x270215D3: je 0x270215fb */
    223 L_270215D5:
    224     edi = MEM32(edi + 0x4); /* 0x270215D5: mov edi, dword ptr [edi + 4] */
    225     esi = MEM32(ebp + 0xC); /* 0x270215D8: mov esi, dword ptr [ebp + 0xc] */
    226     eax = MEM32(ebp + 0x8); /* 0x270215DB: mov eax, dword ptr [ebp + 8] */
    227     ecx = ebx; /* 0x270215DE: mov ecx, ebx */
    228     edx = ecx; /* 0x270215E0: mov edx, ecx */
    229     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x270215E2: shr ecx, 2 */
    230     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    231     ecx = ecx >> 2u; /* 0x270215E2: shr ecx, 2 */
    232     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x270215E5: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    233     ecx = edx; /* 0x270215E7: mov ecx, edx */
    234     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    235     ecx = ecx & 3; /* 0x270215E9: and ecx, 3 */
    236     _cf = 0;
    237     _flag_k = FK_TEST;
    238     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x270215EC: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    239     esi = MEM32(ebp + (-0x14)); /* 0x270215EE: mov esi, dword ptr [ebp - 0x14] */
    240     MEM32(eax + 0x8) = ebx; /* 0x270215F1: mov dword ptr [eax + 8], ebx */
    241     eax = MEM32(eax + 0x4); /* 0x270215F4: mov eax, dword ptr [eax + 4] */
    242     MEM8(eax + ebx) = (uint8_t)(0); /* 0x270215F7: mov byte ptr [eax + ebx], 0 */
    243 L_270215FB:
    244     ebx = MEM32(ebp + (-0x18)); /* 0x270215FB: mov ebx, dword ptr [ebp - 0x18] */
    245     edx = ebp + 0x10; /* 0x270215FE: lea edx, [ebp + 0x10] */
    246     PUSH32(esp, edx); /* 0x27021601: push edx */
    247     eax = ebp + 0xC; /* 0x27021602: lea eax, [ebp + 0xc] */
    248     MEM8(esi + 0x28) = (uint8_t)(1); /* 0x27021605: mov byte ptr [esi + 0x28], 1 */
    249     ecx = MEM32(ebx); /* 0x27021609: mov ecx, dword ptr [ebx] */
    250     PUSH32(esp, eax); /* 0x2702160B: push eax */
    251     RECOMP_ICALL(0x27021720u); /* 0x2702160C: call 0x27021720 */ /* not lifted */
    252     RECOMP_FLAGS_IN();
    253     ecx = MEM32(ebx); /* 0x27021611: mov ecx, dword ptr [ebx] */
    254     eax = MEM32(eax); /* 0x27021613: mov eax, dword ptr [eax] */
    255     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021615: cmp eax, dword ptr [ecx + 4] */
    256     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
    257     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    258     _flag_k = FK_CMP;
    259     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021665; /* 0x27021618: je 0x27021665 */
    260 L_2702161A:
    261     edi = MEM32(eax + 0x10); /* 0x2702161A: mov edi, dword ptr [eax + 0x10] */
    262     /* test edi, edi */ /* 0x2702161D: test edi, edi */
    263     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
    264     _cf = 0;
    265     _flag_k = FK_TEST;
    266     if (TEST_Z(_flag_a, _flag_b)) goto L_27021665; /* 0x2702161F: je 0x27021665 */
    267 L_27021621:
    268     PUSH32(esp, 1); /* 0x27021621: push 1 */
    269     ecx = edi + 0x18; /* 0x27021623: lea ecx, [edi + 0x18] */
    270     RECOMP_ICALL(MEM32(0x270290C8)); /* 0x27021626: call dword ptr [0x270290c8] */
    271     RECOMP_FLAGS_IN();
    272     eax = MEM32(edi + 0xC); /* 0x2702162C: mov eax, dword ptr [edi + 0xc] */
    273     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    274     edx = 0; /* 0x2702162F: xor edx, edx */
    275     _cf = 0;
    276     _flag_k = FK_TEST;
    277     /* cmp eax, edx */ /* 0x27021631: cmp eax, edx */
    278     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
    279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    280     _flag_k = FK_CMP;
    281     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021653; /* 0x27021633: je 0x27021653 */
    282 L_27021635:
    283     ecx = eax + (-0x1); /* 0x27021635: lea ecx, [eax - 1] */
    284     SET_LO8(eax, MEM8(ecx)); /* 0x27021638: mov al, byte ptr [ecx] */
    285     /* test LO8(eax), LO8(eax) */ /* 0x2702163A: test al, al */
    286     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    287     _cf = 0;
    288     _flag_k = FK_NARROW(FK_TEST, 24);
    289     if (TEST_Z(_flag_a, _flag_b)) goto L_27021648; /* 0x2702163C: je 0x27021648 */
    290 L_2702163E:
    291     /* cmp LO8(eax), 0xFFu */ /* 0x2702163E: cmp al, 0xff */
    292     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24;
    293     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    294     _flag_k = FK_NARROW(FK_CMP, 24);
    295     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021648; /* 0x27021640: je 0x27021648 */
    296 L_27021642:
    297     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24;
    298     SET_LO8(eax, LO8(eax) - 1); /* 0x27021642: dec al */
    299     _flag_k = FK_NARROW(FK_DEC, 24);
    300     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x27021644: mov byte ptr [ecx], al */
    301     goto L_27021653; /* 0x27021646: jmp 0x27021653 */
    302 L_27021648:
    303     PUSH32(esp, ecx); /* 0x27021648: push ecx */
    304     RECOMP_ICALL(0x27026DA4u); /* 0x27021649: call 0x27026da4 */ /* not lifted */
    305     RECOMP_FLAGS_IN();
    306     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    307     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    308     esp = esp + 4; /* 0x2702164E: add esp, 4 */
    309     _flag_k = FK_ADD;
    310     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    311     edx = 0; /* 0x27021651: xor edx, edx */
    312     _cf = 0;
    313     _flag_k = FK_TEST;
    314 L_27021653:
    315     PUSH32(esp, edi); /* 0x27021653: push edi */
    316     MEM32(edi + 0xC) = edx; /* 0x27021654: mov dword ptr [edi + 0xc], edx */
    317     MEM32(edi + 0x10) = edx; /* 0x27021657: mov dword ptr [edi + 0x10], edx */
    318     MEM32(edi + 0x14) = edx; /* 0x2702165A: mov dword ptr [edi + 0x14], edx */
    319     RECOMP_ICALL(0x27026DA4u); /* 0x2702165D: call 0x27026da4 */ /* not lifted */
    320     RECOMP_FLAGS_IN();
    321     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    322     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    323     esp = esp + 4; /* 0x27021662: add esp, 4 */
    324     _flag_k = FK_ADD;
    325 L_27021665:
    326     edx = MEM32(ebp + 0x10); /* 0x27021665: mov edx, dword ptr [ebp + 0x10] */
    327     ecx = MEM32(ebx); /* 0x27021668: mov ecx, dword ptr [ebx] */
    328     eax = ebp + (-0x1C); /* 0x2702166A: lea eax, [ebp - 0x1c] */
    329     MEM32(ebp + (-0x1C)) = edx; /* 0x2702166D: mov dword ptr [ebp - 0x1c], edx */
    330     PUSH32(esp, eax); /* 0x27021670: push eax */
    331     edx = ebp + (-0x2C); /* 0x27021671: lea edx, [ebp - 0x2c] */
    332     PUSH32(esp, edx); /* 0x27021674: push edx */
    333     MEM32(ebp + (-0x18)) = 0; /* 0x27021675: mov dword ptr [ebp - 0x18], 0 */
    334     RECOMP_ICALL(0x270217E0u); /* 0x2702167C: call 0x270217e0 */ /* not lifted */
    335     RECOMP_FLAGS_IN();
    336     ecx = eax; /* 0x27021681: mov ecx, eax */
    337     eax = MEM32(ecx); /* 0x27021683: mov eax, dword ptr [ecx] */
    338     edx = MEM32(ecx + 0x4); /* 0x27021685: mov edx, dword ptr [ecx + 4] */
    339     MEM32(eax + 0x10) = esi; /* 0x27021688: mov dword ptr [eax + 0x10], esi */
    340     SET_LO8(eax, MEM8(ebp + 0x14)); /* 0x2702168B: mov al, byte ptr [ebp + 0x14] */
    341     /* test LO8(eax), LO8(eax) */ /* 0x2702168E: test al, al */
    342     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    343     _cf = 0;
    344     _flag_k = FK_NARROW(FK_TEST, 24);
    345     MEM32(ebp + (-0x20)) = edx; /* 0x27021690: mov dword ptr [ebp - 0x20], edx */
    346     edi = POP32_VAL(esp); /* 0x27021693: pop edi */
    347     if (TEST_Z(_flag_a, _flag_b)) goto L_2702169D; /* 0x27021694: je 0x2702169d */
    348 L_27021696:
    349     ecx = ebx; /* 0x27021696: mov ecx, ebx */
    350     RECOMP_ICALL(0x27021190u); /* 0x27021698: call 0x27021190 */ /* not lifted */
    351     RECOMP_FLAGS_IN();
    352 L_2702169D:
    353     eax = MEM32(ebp + 0x10); /* 0x2702169D: mov eax, dword ptr [ebp + 0x10] */
    354     esi = POP32_VAL(esp); /* 0x270216A0: pop esi */
    355     ebx = POP32_VAL(esp); /* 0x270216A1: pop ebx */
    356     ecx = MEM32(ebp + (-0xC)); /* 0x270216A2: mov ecx, dword ptr [ebp - 0xc] */
    357     MEM32(FS_BASE + (0)) = ecx; /* 0x270216A5: mov dword ptr fs:[0], ecx */
    358     esp = ebp; /* 0x270216AC: mov esp, ebp */
    359     ebp = POP32_VAL(esp); /* 0x270216AE: pop ebp */
    360     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x270216AF: ret 0x10 */
    361 L_270216B2:
    362     ecx = MEM32(ebp + (-0xC)); /* 0x270216B2: mov ecx, dword ptr [ebp - 0xc] */
    363     esi = POP32_VAL(esp); /* 0x270216B5: pop esi */
    364     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    365     eax = 0; /* 0x270216B6: xor eax, eax */
    366     _cf = 0;
    367     _flag_k = FK_TEST;
    368     ebx = POP32_VAL(esp); /* 0x270216B8: pop ebx */
    369     MEM32(FS_BASE + (0)) = ecx; /* 0x270216B9: mov dword ptr fs:[0], ecx */
    370     esp = ebp; /* 0x270216C0: mov esp, ebp */
    371     ebp = POP32_VAL(esp); /* 0x270216C2: pop ebp */
    372     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x270216C3: ret 0x10 */
    373     RECOMP_REGS_OUT();
    374 }
    375 
    376 void sub_2702167C(void) {
    377     int _fpu_cmp = 0;
    378     uint32_t _cf = 0;
    379     int _df = 1;
    380     uint32_t _flag_k = FK_NONE;
    381     uint32_t _flag_a = 0, _flag_b = 0;
    382     uint32_t _itail_tgt = 0;
    383     RECOMP_REGS_LOCALS
    384     RECOMP_ENTER(0x2702167Cu);
    385 
    386 L_2702167C:
    387     RECOMP_ICALL(0x270217E0u); /* 0x2702167C: call 0x270217e0 */ /* not lifted */
    388     RECOMP_FLAGS_IN();
    389     ecx = eax; /* 0x27021681: mov ecx, eax */
    390     eax = MEM32(ecx); /* 0x27021683: mov eax, dword ptr [ecx] */
    391     edx = MEM32(ecx + 0x4); /* 0x27021685: mov edx, dword ptr [ecx + 4] */
    392     MEM32(eax + 0x10) = esi; /* 0x27021688: mov dword ptr [eax + 0x10], esi */
    393     SET_LO8(eax, MEM8(ebp + 0x14)); /* 0x2702168B: mov al, byte ptr [ebp + 0x14] */
    394     /* test LO8(eax), LO8(eax) */ /* 0x2702168E: test al, al */
    395     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    396     _cf = 0;
    397     _flag_k = FK_NARROW(FK_TEST, 24);
    398     MEM32(ebp + (-0x20)) = edx; /* 0x27021690: mov dword ptr [ebp - 0x20], edx */
    399     edi = POP32_VAL(esp); /* 0x27021693: pop edi */
    400     if (TEST_Z(_flag_a, _flag_b)) goto L_2702169D; /* 0x27021694: je 0x2702169d */
    401 L_27021696:
    402     ecx = ebx; /* 0x27021696: mov ecx, ebx */
    403     RECOMP_ICALL(0x27021190u); /* 0x27021698: call 0x27021190 */ /* not lifted */
    404     RECOMP_FLAGS_IN();
    405 L_2702169D:
    406     eax = MEM32(ebp + 0x10); /* 0x2702169D: mov eax, dword ptr [ebp + 0x10] */
    407     esi = POP32_VAL(esp); /* 0x270216A0: pop esi */
    408     ebx = POP32_VAL(esp); /* 0x270216A1: pop ebx */
    409     ecx = MEM32(ebp + (-0xC)); /* 0x270216A2: mov ecx, dword ptr [ebp - 0xc] */
    410     MEM32(FS_BASE + (0)) = ecx; /* 0x270216A5: mov dword ptr fs:[0], ecx */
    411     esp = ebp; /* 0x270216AC: mov esp, ebp */
    412     ebp = POP32_VAL(esp); /* 0x270216AE: pop ebp */
    413     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x270216AF: ret 0x10 */
    414     RECOMP_REGS_OUT();
    415 }
    416 
    417 void sub_270216D0(void) {
    418     int _fpu_cmp = 0;
    419     uint32_t _cf = 0;
    420     int _df = 1;
    421     uint32_t _flag_k = FK_NONE;
    422     uint32_t _flag_a = 0, _flag_b = 0;
    423     uint32_t _itail_tgt = 0;
    424     RECOMP_REGS_LOCALS
    425     RECOMP_ENTER(0x270216D0u);
    426 
    427 L_270216D0:
    428     PUSH32(esp, ebp); /* 0x270216D0: push ebp */
    429     ebp = esp; /* 0x270216D1: mov ebp, esp */
    430     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    432     esp = esp - 8; /* 0x270216D3: sub esp, 8 */
    433     _flag_k = FK_CMP;
    434     PUSH32(esp, esi); /* 0x270216D6: push esi */
    435     PUSH32(esp, edi); /* 0x270216D7: push edi */
    436     edi = ecx; /* 0x270216D8: mov edi, ecx */
    437     esi = MEM32(edi); /* 0x270216DA: mov esi, dword ptr [edi] */
    438     eax = ebp + 0x8; /* 0x270216DC: lea eax, [ebp + 8] */
    439     PUSH32(esp, eax); /* 0x270216DF: push eax */
    440     ecx = esi; /* 0x270216E0: mov ecx, esi */
    441     RECOMP_ICALL(0x27010030u); /* 0x270216E2: call 0x27010030 */ /* not lifted */
    442     RECOMP_FLAGS_IN();
    443     esi = MEM32(esi + 0x4); /* 0x270216E7: mov esi, dword ptr [esi + 4] */
    444     /* cmp eax, esi */ /* 0x270216EA: cmp eax, esi */
    445     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    446     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    447     _flag_k = FK_CMP;
    448     MEM32(ebp + (-0x4)) = eax; /* 0x270216EC: mov dword ptr [ebp - 4], eax */
    449     if (CMP_EQ(_flag_a, _flag_b)) goto L_270216FE; /* 0x270216EF: je 0x270216fe */
    450 L_270216F1:
    451     ecx = MEM32(ebp + 0x8); /* 0x270216F1: mov ecx, dword ptr [ebp + 8] */
    452     /* cmp ecx, MEM32(eax + 0xC) */ /* 0x270216F4: cmp ecx, dword ptr [eax + 0xc] */
    453     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xC));
    454     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    455     _flag_k = FK_CMP;
    456     if (CMP_L(_flag_a, _flag_b)) goto L_270216FE; /* 0x270216F7: jl 0x270216fe */
    457 L_270216F9:
    458     eax = ebp + (-0x4); /* 0x270216F9: lea eax, [ebp - 4] */
    459     goto L_27021704; /* 0x270216FC: jmp 0x27021704 */
    460 L_270216FE:
    461     MEM32(ebp + (-0x8)) = esi; /* 0x270216FE: mov dword ptr [ebp - 8], esi */
    462     eax = ebp + (-0x8); /* 0x27021701: lea eax, [ebp - 8] */
    463 L_27021704:
    464     edx = MEM32(edi); /* 0x27021704: mov edx, dword ptr [edi] */
    465     eax = MEM32(eax); /* 0x27021706: mov eax, dword ptr [eax] */
    466     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021708: cmp eax, dword ptr [edx + 4] */
    467     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
    468     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    469     _flag_k = FK_CMP;
    470     edi = POP32_VAL(esp); /* 0x2702170B: pop edi */
    471     esi = POP32_VAL(esp); /* 0x2702170C: pop esi */
    472     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021718; /* 0x2702170D: je 0x27021718 */
    473 L_2702170F:
    474     eax = MEM32(eax + 0x10); /* 0x2702170F: mov eax, dword ptr [eax + 0x10] */
    475     esp = ebp; /* 0x27021712: mov esp, ebp */
    476     ebp = POP32_VAL(esp); /* 0x27021714: pop ebp */
    477     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021715: ret 4 */
    478 L_27021718:
    479     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    480     eax = 0; /* 0x27021718: xor eax, eax */
    481     _cf = 0;
    482     _flag_k = FK_TEST;
    483     esp = ebp; /* 0x2702171A: mov esp, ebp */
    484     ebp = POP32_VAL(esp); /* 0x2702171C: pop ebp */
    485     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2702171D: ret 4 */
    486     RECOMP_REGS_OUT();
    487 }
    488 
    489 void sub_27021720(void) {
    490     int _fpu_cmp = 0;
    491     uint32_t _cf = 0;
    492     int _df = 1;
    493     uint32_t _flag_k = FK_NONE;
    494     uint32_t _flag_a = 0, _flag_b = 0;
    495     uint32_t _itail_tgt = 0;
    496     RECOMP_REGS_LOCALS
    497     RECOMP_ENTER(0x27021720u);
    498 
    499 L_27021720:
    500     PUSH32(esp, ebp); /* 0x27021720: push ebp */
    501     ebp = esp; /* 0x27021721: mov ebp, esp */
    502     PUSH32(esp, ecx); /* 0x27021723: push ecx */
    503     edx = MEM32(ecx + 0x4); /* 0x27021724: mov edx, dword ptr [ecx + 4] */
    504     eax = MEM32(edx + 0x4); /* 0x27021727: mov eax, dword ptr [edx + 4] */
    505     ecx = MEM32(ecx + 0x8); /* 0x2702172A: mov ecx, dword ptr [ecx + 8] */
    506     /* cmp eax, ecx */ /* 0x2702172D: cmp eax, ecx */
    507     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    508     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    509     _flag_k = FK_CMP;
    510     PUSH32(esp, ebx); /* 0x2702172F: push ebx */
    511     ebx = MEM32(ebp + 0xC); /* 0x27021730: mov ebx, dword ptr [ebp + 0xc] */
    512     PUSH32(esp, esi); /* 0x27021733: push esi */
    513     esi = edx; /* 0x27021734: mov esi, edx */
    514     if (CMP_EQ(_flag_a, _flag_b)) goto L_2702174E; /* 0x27021736: je 0x2702174e */
    515 L_27021738:
    516     PUSH32(esp, edi); /* 0x27021738: push edi */
    517     edi = MEM32(ebx); /* 0x27021739: mov edi, dword ptr [ebx] */
    518 L_2702173B:
    519     /* cmp MEM32(eax + 0xC), edi */ /* 0x2702173B: cmp dword ptr [eax + 0xc], edi */
    520     _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edi);
    521     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    522     _flag_k = FK_CMP;
    523     if (CMP_GE(_flag_a, _flag_b)) goto L_27021745; /* 0x2702173E: jge 0x27021745 */
    524 L_27021740:
    525     eax = MEM32(eax + 0x8); /* 0x27021740: mov eax, dword ptr [eax + 8] */
    526     goto L_27021749; /* 0x27021743: jmp 0x27021749 */
    527 L_27021745:
    528     esi = eax; /* 0x27021745: mov esi, eax */
    529     eax = MEM32(eax); /* 0x27021747: mov eax, dword ptr [eax] */
    530 L_27021749:
    531     /* cmp eax, ecx */ /* 0x27021749: cmp eax, ecx */
    532     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    533     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    534     _flag_k = FK_CMP;
    535     RECOMP_BACKEDGE();
    536     if (CMP_NE(_flag_a, _flag_b)) goto L_2702173B; /* 0x2702174B: jne 0x2702173b */
    537 L_2702174D:
    538     edi = POP32_VAL(esp); /* 0x2702174D: pop edi */
    539 L_2702174E:
    540     /* cmp esi, edx */ /* 0x2702174E: cmp esi, edx */
    541     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
    542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    543     _flag_k = FK_CMP;
    544     MEM32(ebp + 0xC) = esi; /* 0x27021750: mov dword ptr [ebp + 0xc], esi */
    545     if (CMP_EQ(_flag_a, _flag_b)) goto L_2702176E; /* 0x27021753: je 0x2702176e */
    546 L_27021755:
    547     eax = MEM32(ebx); /* 0x27021755: mov eax, dword ptr [ebx] */
    548     /* cmp eax, MEM32(esi + 0xC) */ /* 0x27021757: cmp eax, dword ptr [esi + 0xc] */
    549     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC));
    550     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    551     _flag_k = FK_CMP;
    552     if (CMP_L(_flag_a, _flag_b)) goto L_2702176E; /* 0x2702175A: jl 0x2702176e */
    553 L_2702175C:
    554     eax = ebp + 0xC; /* 0x2702175C: lea eax, [ebp + 0xc] */
    555     ecx = MEM32(eax); /* 0x2702175F: mov ecx, dword ptr [eax] */
    556     eax = MEM32(ebp + 0x8); /* 0x27021761: mov eax, dword ptr [ebp + 8] */
    557     esi = POP32_VAL(esp); /* 0x27021764: pop esi */
    558     MEM32(eax) = ecx; /* 0x27021765: mov dword ptr [eax], ecx */
    559     ebx = POP32_VAL(esp); /* 0x27021767: pop ebx */
    560     esp = ebp; /* 0x27021768: mov esp, ebp */
    561     ebp = POP32_VAL(esp); /* 0x2702176A: pop ebp */
    562     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2702176B: ret 8 */
    563 L_2702176E:
    564     eax = ebp + (-0x4); /* 0x2702176E: lea eax, [ebp - 4] */
    565     MEM32(ebp + (-0x4)) = edx; /* 0x27021771: mov dword ptr [ebp - 4], edx */
    566     ecx = MEM32(eax); /* 0x27021774: mov ecx, dword ptr [eax] */
    567     eax = MEM32(ebp + 0x8); /* 0x27021776: mov eax, dword ptr [ebp + 8] */
    568     esi = POP32_VAL(esp); /* 0x27021779: pop esi */
    569     MEM32(eax) = ecx; /* 0x2702177A: mov dword ptr [eax], ecx */
    570     ebx = POP32_VAL(esp); /* 0x2702177C: pop ebx */
    571     esp = ebp; /* 0x2702177D: mov esp, ebp */
    572     ebp = POP32_VAL(esp); /* 0x2702177F: pop ebp */
    573     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x27021780: ret 8 */
    574     RECOMP_REGS_OUT();
    575 }
    576 
    577 void sub_27021790(void) {
    578     int _fpu_cmp = 0;
    579     uint32_t _cf = 0;
    580     int _df = 1;
    581     uint32_t _flag_k = FK_NONE;
    582     uint32_t _flag_a = 0, _flag_b = 0;
    583     uint32_t _itail_tgt = 0;
    584     RECOMP_REGS_LOCALS
    585     RECOMP_ENTER(0x27021790u);
    586 
    587 L_27021790:
    588     eax = MEM32(ecx); /* 0x27021790: mov eax, dword ptr [ecx] */
    589     edx = MEM32(eax + 0x8); /* 0x27021792: mov edx, dword ptr [eax + 8] */
    590     PUSH32(esp, ebx); /* 0x27021795: push ebx */
    591     SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x27021796: mov bl, byte ptr [edx + 0x15] */
    592     /* test LO8(ebx), LO8(ebx) */ /* 0x27021799: test bl, bl */
    593     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    594     _cf = 0;
    595     _flag_k = FK_NARROW(FK_TEST, 24);
    596     if (TEST_NZ(_flag_a, _flag_b)) goto L_270217B5; /* 0x2702179B: jne 0x270217b5 */
    597 L_2702179D:
    598     eax = MEM32(edx); /* 0x2702179D: mov eax, dword ptr [edx] */
    599     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2702179F: mov bl, byte ptr [eax + 0x15] */
    600     /* test LO8(ebx), LO8(ebx) */ /* 0x270217A2: test bl, bl */
    601     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    602     _cf = 0;
    603     _flag_k = FK_NARROW(FK_TEST, 24);
    604     if (TEST_NZ(_flag_a, _flag_b)) goto L_270217B1; /* 0x270217A4: jne 0x270217b1 */
    605 L_270217A6:
    606     edx = eax; /* 0x270217A6: mov edx, eax */
    607     eax = MEM32(edx); /* 0x270217A8: mov eax, dword ptr [edx] */
    608     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x270217AA: mov bl, byte ptr [eax + 0x15] */
    609     /* test LO8(ebx), LO8(ebx) */ /* 0x270217AD: test bl, bl */
    610     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
    611     _cf = 0;
    612     _flag_k = FK_NARROW(FK_TEST, 24);
    613     RECOMP_BACKEDGE();
    614     if (TEST_Z(_flag_a, _flag_b)) goto L_270217A6; /* 0x270217AF: je 0x270217a6 */
    615 L_270217B1:
    616     MEM32(ecx) = edx; /* 0x270217B1: mov dword ptr [ecx], edx */
    617     ebx = POP32_VAL(esp); /* 0x270217B3: pop ebx */
    618     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270217B4: ret  */
    619 L_270217B5:
    620     eax = MEM32(eax + 0x4); /* 0x270217B5: mov eax, dword ptr [eax + 4] */
    621     edx = MEM32(ecx); /* 0x270217B8: mov edx, dword ptr [ecx] */
    622     /* cmp edx, MEM32(eax + 0x8) */ /* 0x270217BA: cmp edx, dword ptr [eax + 8] */
    623     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
    624     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    625     _flag_k = FK_CMP;
    626     if (CMP_NE(_flag_a, _flag_b)) goto L_270217CB; /* 0x270217BD: jne 0x270217cb */
    627 L_270217BF:
    628     MEM32(ecx) = eax; /* 0x270217BF: mov dword ptr [ecx], eax */
    629     eax = MEM32(eax + 0x4); /* 0x270217C1: mov eax, dword ptr [eax + 4] */
    630     edx = MEM32(ecx); /* 0x270217C4: mov edx, dword ptr [ecx] */
    631     /* cmp edx, MEM32(eax + 0x8) */ /* 0x270217C6: cmp edx, dword ptr [eax + 8] */
    632     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8));
    633     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    634     _flag_k = FK_CMP;
    635     RECOMP_BACKEDGE();
    636     if (CMP_EQ(_flag_a, _flag_b)) goto L_270217BF; /* 0x270217C9: je 0x270217bf */
    637 L_270217CB:
    638     edx = MEM32(ecx); /* 0x270217CB: mov edx, dword ptr [ecx] */
    639     /* cmp MEM32(edx + 0x8), eax */ /* 0x270217CD: cmp dword ptr [edx + 8], eax */
    640     _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax);
    641     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    642     _flag_k = FK_CMP;
    643     if (CMP_EQ(_flag_a, _flag_b)) goto L_270217D4; /* 0x270217D0: je 0x270217d4 */
    644 L_270217D2:
    645     MEM32(ecx) = eax; /* 0x270217D2: mov dword ptr [ecx], eax */
    646 L_270217D4:
    647     ebx = POP32_VAL(esp); /* 0x270217D4: pop ebx */
    648     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270217D5: ret  */
    649     RECOMP_REGS_OUT();
    650 }
    651 
    652 void sub_270217E0(void) {
    653     int _fpu_cmp = 0;
    654     uint32_t _cf = 0;
    655     int _df = 1;
    656     uint32_t _flag_k = FK_NONE;
    657     uint32_t _flag_a = 0, _flag_b = 0;
    658     uint32_t _itail_tgt = 0;
    659     RECOMP_REGS_LOCALS
    660     RECOMP_ENTER(0x270217E0u);
    661 
    662 L_270217E0:
    663     PUSH32(esp, ebp); /* 0x270217E0: push ebp */
    664     ebp = esp; /* 0x270217E1: mov ebp, esp */
    665     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    666     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    667     esp = esp - 0xCu; /* 0x270217E3: sub esp, 0xc */
    668     _flag_k = FK_CMP;
    669     PUSH32(esp, ebx); /* 0x270217E6: push ebx */
    670     PUSH32(esp, esi); /* 0x270217E7: push esi */
    671     PUSH32(esp, edi); /* 0x270217E8: push edi */
    672     edi = ecx; /* 0x270217E9: mov edi, ecx */
    673     ecx = MEM32(edi + 0x4); /* 0x270217EB: mov ecx, dword ptr [edi + 4] */
    674     ebx = MEM32(ecx + 0x4); /* 0x270217EE: mov ebx, dword ptr [ecx + 4] */
    675     edx = MEM32(edi + 0x8); /* 0x270217F1: mov edx, dword ptr [edi + 8] */
    676     /* cmp ebx, edx */ /* 0x270217F4: cmp ebx, edx */
    677     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
    678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    679     _flag_k = FK_CMP;
    680     esi = ecx; /* 0x270217F6: mov esi, ecx */
    681     SET_LO8(eax, 1); /* 0x270217F8: mov al, 1 */
    682     if (CMP_EQ(_flag_a, _flag_b)) goto L_2702181E; /* 0x270217FA: je 0x2702181e */
    683 L_270217FC:
    684     eax = MEM32(ebp + 0xC); /* 0x270217FC: mov eax, dword ptr [ebp + 0xc] */
    685     eax = MEM32(eax); /* 0x270217FF: mov eax, dword ptr [eax] */
    686     MEM32(ebp + (-0x8)) = eax; /* 0x27021801: mov dword ptr [ebp - 8], eax */
    687 L_27021804:
    688     eax = MEM32(ebp + (-0x8)); /* 0x27021804: mov eax, dword ptr [ebp - 8] */
    689     /* cmp eax, MEM32(ebx + 0xC) */ /* 0x27021807: cmp eax, dword ptr [ebx + 0xc] */
    690     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0xC));
    691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    692     _flag_k = FK_CMP;
    693     esi = ebx; /* 0x2702180A: mov esi, ebx */
    694     SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2702180C: setl al */
    695     /* test LO8(eax), LO8(eax) */ /* 0x2702180F: test al, al */
    696     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    697     _cf = 0;
    698     _flag_k = FK_NARROW(FK_TEST, 24);
    699     if (TEST_Z(_flag_a, _flag_b)) goto L_27021817; /* 0x27021811: je 0x27021817 */
    700 L_27021813:
    701     ebx = MEM32(ebx); /* 0x27021813: mov ebx, dword ptr [ebx] */
    702     goto L_2702181A; /* 0x27021815: jmp 0x2702181a */
    703 L_27021817:
    704     ebx = MEM32(ebx + 0x8); /* 0x27021817: mov ebx, dword ptr [ebx + 8] */
    705 L_2702181A:
    706     /* cmp ebx, edx */ /* 0x2702181A: cmp ebx, edx */
    707     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx);
    708     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    709     _flag_k = FK_CMP;
    710     RECOMP_BACKEDGE();
    711     if (CMP_NE(_flag_a, _flag_b)) goto L_27021804; /* 0x2702181C: jne 0x27021804 */
    712 L_2702181E:
    713     SET_LO8(edx, MEM8(edi + 0xC)); /* 0x2702181E: mov dl, byte ptr [edi + 0xc] */
    714     /* test LO8(edx), LO8(edx) */ /* 0x27021821: test dl, dl */
    715     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
    716     _cf = 0;
    717     _flag_k = FK_NARROW(FK_TEST, 24);
    718     if (TEST_Z(_flag_a, _flag_b)) goto L_27021999; /* 0x27021823: je 0x27021999 */
    719 L_27021829:
    720     PUSH32(esp, 0); /* 0x27021829: push 0 */
    721     PUSH32(esp, esi); /* 0x2702182B: push esi */
    722     ecx = edi; /* 0x2702182C: mov ecx, edi */
    723     RECOMP_ICALL(0x27002420u); /* 0x2702182E: call 0x27002420 */ /* not lifted */
    724     RECOMP_FLAGS_IN();
    725     ecx = MEM32(edi + 0x8); /* 0x27021833: mov ecx, dword ptr [edi + 8] */
    726     MEM32(eax) = ecx; /* 0x27021836: mov dword ptr [eax], ecx */
    727     edx = MEM32(edi + 0x8); /* 0x27021838: mov edx, dword ptr [edi + 8] */
    728     ecx = MEM32(ebp + 0xC); /* 0x2702183B: mov ecx, dword ptr [ebp + 0xc] */
    729     MEM32(ebp + (-0x4)) = eax; /* 0x2702183E: mov dword ptr [ebp - 4], eax */
    730     MEM32(eax + 0x8) = edx; /* 0x27021841: mov dword ptr [eax + 8], edx */
    731     PUSH32(esp, ecx); /* 0x27021844: push ecx */
    732     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
    733     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    734     eax = eax + 0xCu; /* 0x27021845: add eax, 0xc */
    735     _flag_k = FK_ADD;
    736     PUSH32(esp, eax); /* 0x27021848: push eax */
    737     RECOMP_ICALL(0x27021D90u); /* 0x27021849: call 0x27021d90 */ /* not lifted */
    738     RECOMP_FLAGS_IN();
    739     ecx = MEM32(edi + 0x10); /* 0x2702184E: mov ecx, dword ptr [edi + 0x10] */
    740     eax = MEM32(edi + 0x4); /* 0x27021851: mov eax, dword ptr [edi + 4] */
    741     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    742     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    743     esp = esp + 8; /* 0x27021854: add esp, 8 */
    744     _flag_k = FK_ADD;
    745     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    746     ecx = ecx + 1; /* 0x27021857: inc ecx */
    747     _flag_k = FK_INC;
    748     /* cmp esi, eax */ /* 0x27021858: cmp esi, eax */
    749     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    750     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    751     _flag_k = FK_CMP;
    752     MEM32(edi + 0x10) = ecx; /* 0x2702185A: mov dword ptr [edi + 0x10], ecx */
    753     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021881; /* 0x2702185D: je 0x27021881 */
    754 L_2702185F:
    755     /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2702185F: cmp ebx, dword ptr [edi + 8] */
    756     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
    757     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    758     _flag_k = FK_CMP;
    759     if (CMP_NE(_flag_a, _flag_b)) goto L_27021881; /* 0x27021862: jne 0x27021881 */
    760 L_27021864:
    761     edx = MEM32(ebp + 0xC); /* 0x27021864: mov edx, dword ptr [ebp + 0xc] */
    762     eax = MEM32(edx); /* 0x27021867: mov eax, dword ptr [edx] */
    763     /* cmp eax, MEM32(esi + 0xC) */ /* 0x27021869: cmp eax, dword ptr [esi + 0xc] */
    764     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC));
    765     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    766     _flag_k = FK_CMP;
    767     if (CMP_L(_flag_a, _flag_b)) goto L_27021881; /* 0x2702186C: jl 0x27021881 */
    768 L_2702186E:
    769     ebx = MEM32(ebp + (-0x4)); /* 0x2702186E: mov ebx, dword ptr [ebp - 4] */
    770     MEM32(esi + 0x8) = ebx; /* 0x27021871: mov dword ptr [esi + 8], ebx */
    771     eax = MEM32(edi + 0x4); /* 0x27021874: mov eax, dword ptr [edi + 4] */
    772     /* cmp esi, MEM32(eax + 0x8) */ /* 0x27021877: cmp esi, dword ptr [eax + 8] */
    773     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
    774     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    775     _flag_k = FK_CMP;
    776     if (CMP_NE(_flag_a, _flag_b)) goto L_270218A4; /* 0x2702187A: jne 0x270218a4 */
    777 L_2702187C:
    778     MEM32(eax + 0x8) = ebx; /* 0x2702187C: mov dword ptr [eax + 8], ebx */
    779     goto L_270218A4; /* 0x2702187F: jmp 0x270218a4 */
    780 L_27021881:
    781     ecx = MEM32(ebp + (-0x4)); /* 0x27021881: mov ecx, dword ptr [ebp - 4] */
    782     MEM32(esi) = ecx; /* 0x27021884: mov dword ptr [esi], ecx */
    783     eax = MEM32(edi + 0x4); /* 0x27021886: mov eax, dword ptr [edi + 4] */
    784     /* cmp esi, eax */ /* 0x27021889: cmp esi, eax */
    785     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    786     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    787     _flag_k = FK_CMP;
    788     if (CMP_NE(_flag_a, _flag_b)) goto L_27021898; /* 0x2702188B: jne 0x27021898 */
    789 L_2702188D:
    790     MEM32(eax + 0x4) = ecx; /* 0x2702188D: mov dword ptr [eax + 4], ecx */
    791     edx = MEM32(edi + 0x4); /* 0x27021890: mov edx, dword ptr [edi + 4] */
    792     MEM32(edx + 0x8) = ecx; /* 0x27021893: mov dword ptr [edx + 8], ecx */
    793     goto L_270218A1; /* 0x27021896: jmp 0x270218a1 */
    794 L_27021898:
    795     /* cmp esi, MEM32(eax) */ /* 0x27021898: cmp esi, dword ptr [eax] */
    796     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax));
    797     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    798     _flag_k = FK_CMP;
    799     if (CMP_NE(_flag_a, _flag_b)) goto L_270218A1; /* 0x2702189A: jne 0x270218a1 */
    800 L_2702189C:
    801     ecx = MEM32(ebp + (-0x4)); /* 0x2702189C: mov ecx, dword ptr [ebp - 4] */
    802     MEM32(eax) = ecx; /* 0x2702189F: mov dword ptr [eax], ecx */
    803 L_270218A1:
    804     ebx = MEM32(ebp + (-0x4)); /* 0x270218A1: mov ebx, dword ptr [ebp - 4] */
    805 L_270218A4:
    806     edx = MEM32(edi + 0x4); /* 0x270218A4: mov edx, dword ptr [edi + 4] */
    807     /* cmp ebx, MEM32(edx + 0x4) */ /* 0x270218A7: cmp ebx, dword ptr [edx + 4] */
    808     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4));
    809     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    810     _flag_k = FK_CMP;
    811     esi = ebx; /* 0x270218AA: mov esi, ebx */
    812     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021977; /* 0x270218AC: je 0x27021977 */
    813 L_270218B2:
    814     eax = MEM32(esi + 0x4); /* 0x270218B2: mov eax, dword ptr [esi + 4] */
    815     SET_LO8(ecx, MEM8(eax + 0x14)); /* 0x270218B5: mov cl, byte ptr [eax + 0x14] */
    816     /* test LO8(ecx), LO8(ecx) */ /* 0x270218B8: test cl, cl */
    817     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    818     _cf = 0;
    819     _flag_k = FK_NARROW(FK_TEST, 24);
    820     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021977; /* 0x270218BA: jne 0x27021977 */
    821 L_270218C0:
    822     edx = MEM32(eax + 0x4); /* 0x270218C0: mov edx, dword ptr [eax + 4] */
    823     ecx = MEM32(edx); /* 0x270218C3: mov ecx, dword ptr [edx] */
    824     /* cmp eax, ecx */ /* 0x270218C5: cmp eax, ecx */
    825     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    826     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    827     _flag_k = FK_CMP;
    828     if (CMP_NE(_flag_a, _flag_b)) goto L_2702191D; /* 0x270218C7: jne 0x2702191d */
    829 L_270218C9:
    830     ecx = MEM32(edx + 0x8); /* 0x270218C9: mov ecx, dword ptr [edx + 8] */
    831     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x270218CC: mov dl, byte ptr [ecx + 0x14] */
    832     /* test LO8(edx), LO8(edx) */ /* 0x270218CF: test dl, dl */
    833     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
    834     _cf = 0;
    835     _flag_k = FK_NARROW(FK_TEST, 24);
    836     if (TEST_NZ(_flag_a, _flag_b)) goto L_270218ED; /* 0x270218D1: jne 0x270218ed */
    837 L_270218D3:
    838     MEM8(eax + 0x14) = (uint8_t)(1); /* 0x270218D3: mov byte ptr [eax + 0x14], 1 */
    839     MEM8(ecx + 0x14) = (uint8_t)(1); /* 0x270218D7: mov byte ptr [ecx + 0x14], 1 */
    840     eax = MEM32(esi + 0x4); /* 0x270218DB: mov eax, dword ptr [esi + 4] */
    841     ecx = MEM32(eax + 0x4); /* 0x270218DE: mov ecx, dword ptr [eax + 4] */
    842     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x270218E1: mov byte ptr [ecx + 0x14], 0 */
    843     edx = MEM32(esi + 0x4); /* 0x270218E5: mov edx, dword ptr [esi + 4] */
    844     esi = MEM32(edx + 0x4); /* 0x270218E8: mov esi, dword ptr [edx + 4] */
    845     goto L_2702196B; /* 0x270218EB: jmp 0x2702196b */
    846 L_270218ED:
    847     /* cmp esi, MEM32(eax + 0x8) */ /* 0x270218ED: cmp esi, dword ptr [eax + 8] */
    848     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
    849     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    850     _flag_k = FK_CMP;
    851     if (CMP_NE(_flag_a, _flag_b)) goto L_270218FC; /* 0x270218F0: jne 0x270218fc */
    852 L_270218F2:
    853     esi = eax; /* 0x270218F2: mov esi, eax */
    854     PUSH32(esp, esi); /* 0x270218F4: push esi */
    855     ecx = edi; /* 0x270218F5: mov ecx, edi */
    856     RECOMP_ICALL(0x27021CD0u); /* 0x270218F7: call 0x27021cd0 */ /* not lifted */
    857     RECOMP_FLAGS_IN();
    858 L_270218FC:
    859     eax = MEM32(esi + 0x4); /* 0x270218FC: mov eax, dword ptr [esi + 4] */
    860     MEM8(eax + 0x14) = (uint8_t)(1); /* 0x270218FF: mov byte ptr [eax + 0x14], 1 */
    861     ecx = MEM32(esi + 0x4); /* 0x27021903: mov ecx, dword ptr [esi + 4] */
    862     edx = MEM32(ecx + 0x4); /* 0x27021906: mov edx, dword ptr [ecx + 4] */
    863     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021909: mov byte ptr [edx + 0x14], 0 */
    864     eax = MEM32(esi + 0x4); /* 0x2702190D: mov eax, dword ptr [esi + 4] */
    865     ecx = MEM32(eax + 0x4); /* 0x27021910: mov ecx, dword ptr [eax + 4] */
    866     PUSH32(esp, ecx); /* 0x27021913: push ecx */
    867     ecx = edi; /* 0x27021914: mov ecx, edi */
    868     RECOMP_ICALL(0x27024B30u); /* 0x27021916: call 0x27024b30 */ /* not lifted */
    869     RECOMP_FLAGS_IN();
    870     goto L_2702196B; /* 0x2702191B: jmp 0x2702196b */
    871 L_2702191D:
    872     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2702191D: mov dl, byte ptr [ecx + 0x14] */
    873     /* test LO8(edx), LO8(edx) */ /* 0x27021920: test dl, dl */
    874     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
    875     _cf = 0;
    876     _flag_k = FK_NARROW(FK_TEST, 24);
    877     if (TEST_NZ(_flag_a, _flag_b)) goto L_2702193E; /* 0x27021922: jne 0x2702193e */
    878 L_27021924:
    879     MEM8(eax + 0x14) = (uint8_t)(1); /* 0x27021924: mov byte ptr [eax + 0x14], 1 */
    880     MEM8(ecx + 0x14) = (uint8_t)(1); /* 0x27021928: mov byte ptr [ecx + 0x14], 1 */
    881     edx = MEM32(esi + 0x4); /* 0x2702192C: mov edx, dword ptr [esi + 4] */
    882     eax = MEM32(edx + 0x4); /* 0x2702192F: mov eax, dword ptr [edx + 4] */
    883     MEM8(eax + 0x14) = (uint8_t)(0); /* 0x27021932: mov byte ptr [eax + 0x14], 0 */
    884     ecx = MEM32(esi + 0x4); /* 0x27021936: mov ecx, dword ptr [esi + 4] */
    885     esi = MEM32(ecx + 0x4); /* 0x27021939: mov esi, dword ptr [ecx + 4] */
    886     goto L_2702196B; /* 0x2702193C: jmp 0x2702196b */
    887 L_2702193E:
    888     /* cmp esi, MEM32(eax) */ /* 0x2702193E: cmp esi, dword ptr [eax] */
    889     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax));
    890     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    891     _flag_k = FK_CMP;
    892     if (CMP_NE(_flag_a, _flag_b)) goto L_2702194C; /* 0x27021940: jne 0x2702194c */
    893 L_27021942:
    894     esi = eax; /* 0x27021942: mov esi, eax */
    895     PUSH32(esp, esi); /* 0x27021944: push esi */
    896     ecx = edi; /* 0x27021945: mov ecx, edi */
    897     RECOMP_ICALL(0x27024B30u); /* 0x27021947: call 0x27024b30 */ /* not lifted */
    898     RECOMP_FLAGS_IN();
    899 L_2702194C:
    900     edx = MEM32(esi + 0x4); /* 0x2702194C: mov edx, dword ptr [esi + 4] */
    901     MEM8(edx + 0x14) = (uint8_t)(1); /* 0x2702194F: mov byte ptr [edx + 0x14], 1 */
    902     eax = MEM32(esi + 0x4); /* 0x27021953: mov eax, dword ptr [esi + 4] */
    903     ecx = MEM32(eax + 0x4); /* 0x27021956: mov ecx, dword ptr [eax + 4] */
    904     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021959: mov byte ptr [ecx + 0x14], 0 */
    905     edx = MEM32(esi + 0x4); /* 0x2702195D: mov edx, dword ptr [esi + 4] */
    906     eax = MEM32(edx + 0x4); /* 0x27021960: mov eax, dword ptr [edx + 4] */
    907     PUSH32(esp, eax); /* 0x27021963: push eax */
    908     ecx = edi; /* 0x27021964: mov ecx, edi */
    909     RECOMP_ICALL(0x27021CD0u); /* 0x27021966: call 0x27021cd0 */ /* not lifted */
    910     RECOMP_FLAGS_IN();
    911 L_2702196B:
    912     ecx = MEM32(edi + 0x4); /* 0x2702196B: mov ecx, dword ptr [edi + 4] */
    913     /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2702196E: cmp esi, dword ptr [ecx + 4] */
    914     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
    915     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    916     _flag_k = FK_CMP;
    917     RECOMP_BACKEDGE();
    918     if (CMP_NE(_flag_a, _flag_b)) goto L_270218B2; /* 0x27021971: jne 0x270218b2 */
    919 L_27021977:
    920     edx = MEM32(edi + 0x4); /* 0x27021977: mov edx, dword ptr [edi + 4] */
    921     eax = MEM32(edx + 0x4); /* 0x2702197A: mov eax, dword ptr [edx + 4] */
    922     MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2702197D: mov byte ptr [eax + 0x14], 1 */
    923     eax = MEM32(ebp + 0x8); /* 0x27021981: mov eax, dword ptr [ebp + 8] */
    924     edi = POP32_VAL(esp); /* 0x27021984: pop edi */
    925     MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x27021985: mov byte ptr [ebp - 8], 1 */
    926     ecx = MEM32(ebp + (-0x8)); /* 0x27021989: mov ecx, dword ptr [ebp - 8] */
    927     MEM32(eax) = ebx; /* 0x2702198C: mov dword ptr [eax], ebx */
    928     esi = POP32_VAL(esp); /* 0x2702198E: pop esi */
    929     MEM32(eax + 0x4) = ecx; /* 0x2702198F: mov dword ptr [eax + 4], ecx */
    930     ebx = POP32_VAL(esp); /* 0x27021992: pop ebx */
    931     esp = ebp; /* 0x27021993: mov esp, ebp */
    932     ebp = POP32_VAL(esp); /* 0x27021995: pop ebp */
    933     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x27021996: ret 8 */
    934 L_27021999:
    935     /* test LO8(eax), LO8(eax) */ /* 0x27021999: test al, al */
    936     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    937     _cf = 0;
    938     _flag_k = FK_NARROW(FK_TEST, 24);
    939     edx = esi; /* 0x2702199B: mov edx, esi */
    940     MEM32(ebp + (-0x8)) = edx; /* 0x2702199D: mov dword ptr [ebp - 8], edx */
    941     if (TEST_Z(_flag_a, _flag_b)) goto L_270219DC; /* 0x270219A0: je 0x270219dc */
    942 L_270219A2:
    943     /* cmp esi, MEM32(ecx) */ /* 0x270219A2: cmp esi, dword ptr [ecx] */
    944     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx));
    945     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    946     _flag_k = FK_CMP;
    947     if (CMP_NE(_flag_a, _flag_b)) goto L_270219D1; /* 0x270219A4: jne 0x270219d1 */
    948 L_270219A6:
    949     edx = MEM32(ebp + 0xC); /* 0x270219A6: mov edx, dword ptr [ebp + 0xc] */
    950     PUSH32(esp, edx); /* 0x270219A9: push edx */
    951     PUSH32(esp, esi); /* 0x270219AA: push esi */
    952     PUSH32(esp, ebx); /* 0x270219AB: push ebx */
    953     eax = ebp + 0xC; /* 0x270219AC: lea eax, [ebp + 0xc] */
    954     PUSH32(esp, eax); /* 0x270219AF: push eax */
    955     ecx = edi; /* 0x270219B0: mov ecx, edi */
    956     RECOMP_ICALL(0x27021A90u); /* 0x270219B2: call 0x27021a90 */ /* not lifted */
    957     RECOMP_FLAGS_IN();
    958     ecx = MEM32(eax); /* 0x270219B7: mov ecx, dword ptr [eax] */
    959     eax = MEM32(ebp + 0x8); /* 0x270219B9: mov eax, dword ptr [ebp + 8] */
    960     edi = POP32_VAL(esp); /* 0x270219BC: pop edi */
    961     MEM32(eax) = ecx; /* 0x270219BD: mov dword ptr [eax], ecx */
    962     MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x270219BF: mov byte ptr [ebp - 8], 1 */
    963     ecx = MEM32(ebp + (-0x8)); /* 0x270219C3: mov ecx, dword ptr [ebp - 8] */
    964     esi = POP32_VAL(esp); /* 0x270219C6: pop esi */
    965     MEM32(eax + 0x4) = ecx; /* 0x270219C7: mov dword ptr [eax + 4], ecx */
    966     ebx = POP32_VAL(esp); /* 0x270219CA: pop ebx */
    967     esp = ebp; /* 0x270219CB: mov esp, ebp */
    968     ebp = POP32_VAL(esp); /* 0x270219CD: pop ebp */
    969     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x270219CE: ret 8 */
    970 L_270219D1:
    971     ecx = ebp + (-0x8); /* 0x270219D1: lea ecx, [ebp - 8] */
    972     RECOMP_ICALL(0x27021D30u); /* 0x270219D4: call 0x27021d30 */ /* not lifted */
    973     RECOMP_FLAGS_IN();
    974     edx = MEM32(ebp + (-0x8)); /* 0x270219D9: mov edx, dword ptr [ebp - 8] */
    975 L_270219DC:
    976     ecx = MEM32(edx + 0xC); /* 0x270219DC: mov ecx, dword ptr [edx + 0xc] */
    977     eax = MEM32(ebp + 0xC); /* 0x270219DF: mov eax, dword ptr [ebp + 0xc] */
    978     /* cmp ecx, MEM32(eax) */ /* 0x270219E2: cmp ecx, dword ptr [eax] */
    979     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax));
    980     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    981     _flag_k = FK_CMP;
    982     if (CMP_GE(_flag_a, _flag_b)) goto L_27021A0E; /* 0x270219E4: jge 0x27021a0e */
    983 L_270219E6:
    984     PUSH32(esp, eax); /* 0x270219E6: push eax */
    985     PUSH32(esp, esi); /* 0x270219E7: push esi */
    986     PUSH32(esp, ebx); /* 0x270219E8: push ebx */
    987     edx = ebp + 0xC; /* 0x270219E9: lea edx, [ebp + 0xc] */
    988     PUSH32(esp, edx); /* 0x270219EC: push edx */
    989     ecx = edi; /* 0x270219ED: mov ecx, edi */
    990     RECOMP_ICALL(0x27021A90u); /* 0x270219EF: call 0x27021a90 */ /* not lifted */
    991     RECOMP_FLAGS_IN();
    992     ecx = MEM32(eax); /* 0x270219F4: mov ecx, dword ptr [eax] */
    993     eax = MEM32(ebp + 0x8); /* 0x270219F6: mov eax, dword ptr [ebp + 8] */
    994     edi = POP32_VAL(esp); /* 0x270219F9: pop edi */
    995     MEM32(eax) = ecx; /* 0x270219FA: mov dword ptr [eax], ecx */
    996     MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x270219FC: mov byte ptr [ebp - 8], 1 */
    997     ecx = MEM32(ebp + (-0x8)); /* 0x27021A00: mov ecx, dword ptr [ebp - 8] */
    998     esi = POP32_VAL(esp); /* 0x27021A03: pop esi */
    999     MEM32(eax + 0x4) = ecx; /* 0x27021A04: mov dword ptr [eax + 4], ecx */
   1000     ebx = POP32_VAL(esp); /* 0x27021A07: pop ebx */
   1001     esp = ebp; /* 0x27021A08: mov esp, ebp */
   1002     ebp = POP32_VAL(esp); /* 0x27021A0A: pop ebp */
   1003     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x27021A0B: ret 8 */
   1004 L_27021A0E:
   1005     eax = MEM32(ebp + 0x8); /* 0x27021A0E: mov eax, dword ptr [ebp + 8] */
   1006     edi = POP32_VAL(esp); /* 0x27021A11: pop edi */
   1007     MEM32(eax) = edx; /* 0x27021A12: mov dword ptr [eax], edx */
   1008     MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x27021A14: mov byte ptr [ebp - 8], 0 */
   1009     edx = MEM32(ebp + (-0x8)); /* 0x27021A18: mov edx, dword ptr [ebp - 8] */
   1010     esi = POP32_VAL(esp); /* 0x27021A1B: pop esi */
   1011     MEM32(eax + 0x4) = edx; /* 0x27021A1C: mov dword ptr [eax + 4], edx */
   1012     ebx = POP32_VAL(esp); /* 0x27021A1F: pop ebx */
   1013     esp = ebp; /* 0x27021A20: mov esp, ebp */
   1014     ebp = POP32_VAL(esp); /* 0x27021A22: pop ebp */
   1015     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x27021A23: ret 8 */
   1016     RECOMP_REGS_OUT();
   1017 }
   1018 
   1019 void sub_27021A30(void) {
   1020     int _fpu_cmp = 0;
   1021     uint32_t _cf = 0;
   1022     int _df = 1;
   1023     uint32_t _flag_k = FK_NONE;
   1024     uint32_t _flag_a = 0, _flag_b = 0;
   1025     uint32_t _itail_tgt = 0;
   1026     RECOMP_REGS_LOCALS
   1027     RECOMP_ENTER(0x27021A30u);
   1028 
   1029 L_27021A30:
   1030     PUSH32(esp, ebp); /* 0x27021A30: push ebp */
   1031     ebp = esp; /* 0x27021A31: mov ebp, esp */
   1032     PUSH32(esp, ebx); /* 0x27021A33: push ebx */
   1033     PUSH32(esp, esi); /* 0x27021A34: push esi */
   1034     ebx = ecx; /* 0x27021A35: mov ebx, ecx */
   1035     eax = MEM32(ebx + 0x8); /* 0x27021A37: mov eax, dword ptr [ebx + 8] */
   1036     PUSH32(esp, edi); /* 0x27021A3A: push edi */
   1037     edi = MEM32(ebp + 0x8); /* 0x27021A3B: mov edi, dword ptr [ebp + 8] */
   1038     /* cmp edi, eax */ /* 0x27021A3E: cmp edi, eax */
   1039     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1040     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1041     _flag_k = FK_CMP;
   1042     esi = edi; /* 0x27021A40: mov esi, edi */
   1043     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021A63; /* 0x27021A42: je 0x27021a63 */
   1044 L_27021A44:
   1045     eax = MEM32(esi + 0x8); /* 0x27021A44: mov eax, dword ptr [esi + 8] */
   1046     PUSH32(esp, eax); /* 0x27021A47: push eax */
   1047     ecx = ebx; /* 0x27021A48: mov ecx, ebx */
   1048     RECOMP_ICALL(0x27021A30u); /* 0x27021A4A: call 0x27021a30 */ /* not lifted */
   1049     RECOMP_FLAGS_IN();
   1050     esi = MEM32(esi); /* 0x27021A4F: mov esi, dword ptr [esi] */
   1051     PUSH32(esp, edi); /* 0x27021A51: push edi */
   1052     RECOMP_ICALL(0x27026DA4u); /* 0x27021A52: call 0x27026da4 */ /* not lifted */
   1053     RECOMP_FLAGS_IN();
   1054     eax = MEM32(ebx + 0x8); /* 0x27021A57: mov eax, dword ptr [ebx + 8] */
   1055     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1056     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1057     esp = esp + 4; /* 0x27021A5A: add esp, 4 */
   1058     _flag_k = FK_ADD;
   1059     /* cmp esi, eax */ /* 0x27021A5D: cmp esi, eax */
   1060     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   1061     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1062     _flag_k = FK_CMP;
   1063     edi = esi; /* 0x27021A5F: mov edi, esi */
   1064     RECOMP_BACKEDGE();
   1065     if (CMP_NE(_flag_a, _flag_b)) goto L_27021A44; /* 0x27021A61: jne 0x27021a44 */
   1066 L_27021A63:
   1067     edi = POP32_VAL(esp); /* 0x27021A63: pop edi */
   1068     esi = POP32_VAL(esp); /* 0x27021A64: pop esi */
   1069     ebx = POP32_VAL(esp); /* 0x27021A65: pop ebx */
   1070     ebp = POP32_VAL(esp); /* 0x27021A66: pop ebp */
   1071     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021A67: ret 4 */
   1072     RECOMP_REGS_OUT();
   1073 }
   1074 
   1075 void sub_27021A70(void) {
   1076     int _fpu_cmp = 0;
   1077     uint32_t _cf = 0;
   1078     int _df = 1;
   1079     uint32_t _flag_k = FK_NONE;
   1080     uint32_t _flag_a = 0, _flag_b = 0;
   1081     uint32_t _itail_tgt = 0;
   1082     RECOMP_REGS_LOCALS
   1083     RECOMP_ENTER(0x27021A70u);
   1084 
   1085 L_27021A70:
   1086     PUSH32(esp, ebp); /* 0x27021A70: push ebp */
   1087     ebp = esp; /* 0x27021A71: mov ebp, esp */
   1088     eax = MEM32(ebp + 0x8); /* 0x27021A73: mov eax, dword ptr [ebp + 8] */
   1089     ecx = MEM32(eax); /* 0x27021A76: mov ecx, dword ptr [eax] */
   1090     SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x27021A78: mov dl, byte ptr [ecx + 0x15] */
   1091     /* test LO8(edx), LO8(edx) */ /* 0x27021A7B: test dl, dl */
   1092     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1093     _cf = 0;
   1094     _flag_k = FK_NARROW(FK_TEST, 24);
   1095     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021A8A; /* 0x27021A7D: jne 0x27021a8a */
   1096 L_27021A7F:
   1097     eax = ecx; /* 0x27021A7F: mov eax, ecx */
   1098     ecx = MEM32(eax); /* 0x27021A81: mov ecx, dword ptr [eax] */
   1099     SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x27021A83: mov dl, byte ptr [ecx + 0x15] */
   1100     /* test LO8(edx), LO8(edx) */ /* 0x27021A86: test dl, dl */
   1101     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1102     _cf = 0;
   1103     _flag_k = FK_NARROW(FK_TEST, 24);
   1104     RECOMP_BACKEDGE();
   1105     if (TEST_Z(_flag_a, _flag_b)) goto L_27021A7F; /* 0x27021A88: je 0x27021a7f */
   1106 L_27021A8A:
   1107     ebp = POP32_VAL(esp); /* 0x27021A8A: pop ebp */
   1108     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021A8B: ret  */
   1109     RECOMP_REGS_OUT();
   1110 }
   1111 
   1112 void sub_27021A90(void) {
   1113     int _fpu_cmp = 0;
   1114     uint32_t _cf = 0;
   1115     int _df = 1;
   1116     uint32_t _flag_k = FK_NONE;
   1117     uint32_t _flag_a = 0, _flag_b = 0;
   1118     uint32_t _itail_tgt = 0;
   1119     RECOMP_REGS_LOCALS
   1120     RECOMP_ENTER(0x27021A90u);
   1121 
   1122 L_27021A90:
   1123     PUSH32(esp, ebp); /* 0x27021A90: push ebp */
   1124     ebp = esp; /* 0x27021A91: mov ebp, esp */
   1125     PUSH32(esp, ecx); /* 0x27021A93: push ecx */
   1126     PUSH32(esp, ebx); /* 0x27021A94: push ebx */
   1127     PUSH32(esp, esi); /* 0x27021A95: push esi */
   1128     PUSH32(esp, edi); /* 0x27021A96: push edi */
   1129     PUSH32(esp, 0x18u); /* 0x27021A97: push 0x18 */
   1130     esi = ecx; /* 0x27021A99: mov esi, ecx */
   1131     RECOMP_ICALL(0x27026EA4u); /* 0x27021A9B: call 0x27026ea4 */ /* not lifted */
   1132     RECOMP_FLAGS_IN();
   1133     edi = MEM32(ebp + 0x10); /* 0x27021AA0: mov edi, dword ptr [ebp + 0x10] */
   1134     ebx = MEM32(ebp + 0x14); /* 0x27021AA3: mov ebx, dword ptr [ebp + 0x14] */
   1135     MEM32(eax + 0x4) = edi; /* 0x27021AA6: mov dword ptr [eax + 4], edi */
   1136     MEM8(eax + 0x14) = (uint8_t)(0); /* 0x27021AA9: mov byte ptr [eax + 0x14], 0 */
   1137     MEM8(eax + 0x15) = (uint8_t)(0); /* 0x27021AAD: mov byte ptr [eax + 0x15], 0 */
   1138     ecx = MEM32(esi + 0x8); /* 0x27021AB1: mov ecx, dword ptr [esi + 8] */
   1139     MEM32(eax) = ecx; /* 0x27021AB4: mov dword ptr [eax], ecx */
   1140     edx = MEM32(esi + 0x8); /* 0x27021AB6: mov edx, dword ptr [esi + 8] */
   1141     MEM32(ebp + (-0x4)) = eax; /* 0x27021AB9: mov dword ptr [ebp - 4], eax */
   1142     MEM32(eax + 0x8) = edx; /* 0x27021ABC: mov dword ptr [eax + 8], edx */
   1143     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   1144     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1145     eax = eax + 0xCu; /* 0x27021ABF: add eax, 0xc */
   1146     _flag_k = FK_ADD;
   1147     PUSH32(esp, ebx); /* 0x27021AC2: push ebx */
   1148     PUSH32(esp, eax); /* 0x27021AC3: push eax */
   1149     RECOMP_ICALL(0x27021D90u); /* 0x27021AC4: call 0x27021d90 */ /* not lifted */
   1150     RECOMP_FLAGS_IN();
   1151     ecx = MEM32(esi + 0x10); /* 0x27021AC9: mov ecx, dword ptr [esi + 0x10] */
   1152     eax = MEM32(esi + 0x4); /* 0x27021ACC: mov eax, dword ptr [esi + 4] */
   1153     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   1154     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1155     esp = esp + 0xCu; /* 0x27021ACF: add esp, 0xc */
   1156     _flag_k = FK_ADD;
   1157     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   1158     ecx = ecx + 1; /* 0x27021AD2: inc ecx */
   1159     _flag_k = FK_INC;
   1160     /* cmp edi, eax */ /* 0x27021AD3: cmp edi, eax */
   1161     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1162     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1163     _flag_k = FK_CMP;
   1164     MEM32(esi + 0x10) = ecx; /* 0x27021AD5: mov dword ptr [esi + 0x10], ecx */
   1165     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021AFC; /* 0x27021AD8: je 0x27021afc */
   1166 L_27021ADA:
   1167     eax = MEM32(ebp + 0xC); /* 0x27021ADA: mov eax, dword ptr [ebp + 0xc] */
   1168     /* cmp eax, MEM32(esi + 0x8) */ /* 0x27021ADD: cmp eax, dword ptr [esi + 8] */
   1169     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1171     _flag_k = FK_CMP;
   1172     if (CMP_NE(_flag_a, _flag_b)) goto L_27021AFC; /* 0x27021AE0: jne 0x27021afc */
   1173 L_27021AE2:
   1174     ecx = MEM32(ebx); /* 0x27021AE2: mov ecx, dword ptr [ebx] */
   1175     /* cmp ecx, MEM32(edi + 0xC) */ /* 0x27021AE4: cmp ecx, dword ptr [edi + 0xc] */
   1176     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC));
   1177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1178     _flag_k = FK_CMP;
   1179     if (CMP_L(_flag_a, _flag_b)) goto L_27021AFC; /* 0x27021AE7: jl 0x27021afc */
   1180 L_27021AE9:
   1181     ecx = MEM32(ebp + (-0x4)); /* 0x27021AE9: mov ecx, dword ptr [ebp - 4] */
   1182     MEM32(edi + 0x8) = ecx; /* 0x27021AEC: mov dword ptr [edi + 8], ecx */
   1183     eax = MEM32(esi + 0x4); /* 0x27021AEF: mov eax, dword ptr [esi + 4] */
   1184     /* cmp edi, MEM32(eax + 0x8) */ /* 0x27021AF2: cmp edi, dword ptr [eax + 8] */
   1185     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8));
   1186     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1187     _flag_k = FK_CMP;
   1188     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B1C; /* 0x27021AF5: jne 0x27021b1c */
   1189 L_27021AF7:
   1190     MEM32(eax + 0x8) = ecx; /* 0x27021AF7: mov dword ptr [eax + 8], ecx */
   1191     goto L_27021B1C; /* 0x27021AFA: jmp 0x27021b1c */
   1192 L_27021AFC:
   1193     ecx = MEM32(ebp + (-0x4)); /* 0x27021AFC: mov ecx, dword ptr [ebp - 4] */
   1194     MEM32(edi) = ecx; /* 0x27021AFF: mov dword ptr [edi], ecx */
   1195     eax = MEM32(esi + 0x4); /* 0x27021B01: mov eax, dword ptr [esi + 4] */
   1196     /* cmp edi, eax */ /* 0x27021B04: cmp edi, eax */
   1197     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   1198     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1199     _flag_k = FK_CMP;
   1200     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B13; /* 0x27021B06: jne 0x27021b13 */
   1201 L_27021B08:
   1202     MEM32(eax + 0x4) = ecx; /* 0x27021B08: mov dword ptr [eax + 4], ecx */
   1203     edx = MEM32(esi + 0x4); /* 0x27021B0B: mov edx, dword ptr [esi + 4] */
   1204     MEM32(edx + 0x8) = ecx; /* 0x27021B0E: mov dword ptr [edx + 8], ecx */
   1205     goto L_27021B1C; /* 0x27021B11: jmp 0x27021b1c */
   1206 L_27021B13:
   1207     /* cmp edi, MEM32(eax) */ /* 0x27021B13: cmp edi, dword ptr [eax] */
   1208     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax));
   1209     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1210     _flag_k = FK_CMP;
   1211     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B1C; /* 0x27021B15: jne 0x27021b1c */
   1212 L_27021B17:
   1213     ecx = MEM32(ebp + (-0x4)); /* 0x27021B17: mov ecx, dword ptr [ebp - 4] */
   1214     MEM32(eax) = ecx; /* 0x27021B1A: mov dword ptr [eax], ecx */
   1215 L_27021B1C:
   1216     edx = MEM32(esi + 0x4); /* 0x27021B1C: mov edx, dword ptr [esi + 4] */
   1217     eax = MEM32(ebp + (-0x4)); /* 0x27021B1F: mov eax, dword ptr [ebp - 4] */
   1218     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B22: cmp eax, dword ptr [edx + 4] */
   1219     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1220     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1221     _flag_k = FK_CMP;
   1222     SET_LO8(ebx, 1); /* 0x27021B25: mov bl, 1 */
   1223     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B27: je 0x27021cad */
   1224 L_27021B2D:
   1225     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   1226     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   1227     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   1228     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1229     _cf = 0;
   1230     _flag_k = FK_NARROW(FK_TEST, 24);
   1231     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   1232 L_27021B3B:
   1233     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   1234     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   1235     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   1236     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1237     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1238     _flag_k = FK_CMP;
   1239     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   1240 L_27021B48:
   1241     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   1242     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   1243     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1244     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1245     _flag_k = FK_NARROW(FK_CMP, 24);
   1246     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   1247 L_27021B51:
   1248     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   1249     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   1250     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   1251     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   1252     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   1253     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   1254     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   1255     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   1256 L_27021B6C:
   1257     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   1258     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1259     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1260     _flag_k = FK_CMP;
   1261     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   1262 L_27021B71:
   1263     eax = ecx; /* 0x27021B71: mov eax, ecx */
   1264     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   1265     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   1266     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   1267     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   1268     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   1269     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1271     _flag_k = FK_CMP;
   1272     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   1273 L_27021B82:
   1274     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   1275 L_27021B85:
   1276     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   1277     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   1278     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   1279     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   1280     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1281     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1282     _flag_k = FK_CMP;
   1283     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   1284 L_27021B93:
   1285     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   1286     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   1287 L_27021B98:
   1288     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   1289     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   1290     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   1291     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1292     _flag_k = FK_CMP;
   1293     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   1294 L_27021B9F:
   1295     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   1296     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   1297 L_27021BA3:
   1298     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   1299 L_27021BA6:
   1300     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   1301     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   1302 L_27021BAB:
   1303     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   1304     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   1305     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   1306     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   1307     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   1308     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   1309     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   1310     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   1311     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   1312     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   1313     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   1314     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   1315     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1317     _flag_k = FK_CMP;
   1318     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   1319 L_27021BD0:
   1320     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   1321 L_27021BD3:
   1322     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   1323     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   1324     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   1325     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   1326     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1327     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1328     _flag_k = FK_CMP;
   1329     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   1330 L_27021BE1:
   1331     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   1332     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   1333     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   1334 L_27021BEC:
   1335     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   1336     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   1337     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   1338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1339     _flag_k = FK_CMP;
   1340     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   1341 L_27021BF4:
   1342     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   1343     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   1344     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   1345 L_27021BFF:
   1346     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   1347     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   1348     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   1349 L_27021C09:
   1350     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   1351     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1352     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1353     _flag_k = FK_NARROW(FK_CMP, 24);
   1354     RECOMP_BACKEDGE();
   1355     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   1356 L_27021C13:
   1357     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   1358     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   1359     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1360     _flag_k = FK_CMP;
   1361     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   1362 L_27021C17:
   1363     eax = ecx; /* 0x27021C17: mov eax, ecx */
   1364     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   1365     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   1366     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   1367     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   1368     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   1369     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1371     _flag_k = FK_CMP;
   1372     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   1373 L_27021C28:
   1374     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   1375 L_27021C2B:
   1376     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   1377     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   1378     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   1379     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   1380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1382     _flag_k = FK_CMP;
   1383     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   1384 L_27021C39:
   1385     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   1386     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   1387 L_27021C3E:
   1388     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   1389     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   1390     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   1391     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1392     _flag_k = FK_CMP;
   1393     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   1394 L_27021C46:
   1395     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   1396     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   1397 L_27021C4B:
   1398     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   1399 L_27021C4D:
   1400     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   1401     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   1402 L_27021C53:
   1403     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   1404     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   1405     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   1406     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   1407     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   1408     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   1409     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   1410     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   1411     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   1412     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   1413     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   1414     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   1415     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1416     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1417     _flag_k = FK_CMP;
   1418     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   1419 L_27021C78:
   1420     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   1421 L_27021C7B:
   1422     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   1423     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   1424     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   1425     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   1426     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1427     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1428     _flag_k = FK_CMP;
   1429     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   1430 L_27021C89:
   1431     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   1432     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   1433 L_27021C8E:
   1434     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   1435     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   1436     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   1437     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1438     _flag_k = FK_CMP;
   1439     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   1440 L_27021C95:
   1441     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   1442     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   1443 L_27021C99:
   1444     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   1445 L_27021C9C:
   1446     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   1447 L_27021C9E:
   1448     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   1449 L_27021CA1:
   1450     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   1451     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   1452     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   1453     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1454     _flag_k = FK_CMP;
   1455     RECOMP_BACKEDGE();
   1456     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   1457 L_27021CAD:
   1458     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   1459     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   1460     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   1461     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   1462     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   1463     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   1464     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   1465     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   1466     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   1467     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   1468     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   1469     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   1470     RECOMP_REGS_OUT();
   1471 }
   1472 
   1473 void sub_27021B2D(void) {
   1474     int _fpu_cmp = 0;
   1475     uint32_t _cf = 0;
   1476     int _df = 1;
   1477     uint32_t _flag_k = FK_NONE;
   1478     uint32_t _flag_a = 0, _flag_b = 0;
   1479     uint32_t _itail_tgt = 0;
   1480     RECOMP_REGS_LOCALS
   1481     RECOMP_ENTER(0x27021B2Du);
   1482 
   1483 L_27021B2D:
   1484     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   1485     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   1486     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   1487     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1488     _cf = 0;
   1489     _flag_k = FK_NARROW(FK_TEST, 24);
   1490     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   1491 L_27021B3B:
   1492     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   1493     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   1494     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   1495     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1496     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1497     _flag_k = FK_CMP;
   1498     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   1499 L_27021B48:
   1500     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   1501     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   1502     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1503     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1504     _flag_k = FK_NARROW(FK_CMP, 24);
   1505     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   1506 L_27021B51:
   1507     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   1508     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   1509     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   1510     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   1511     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   1512     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   1513     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   1514     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   1515 L_27021B6C:
   1516     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   1517     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1518     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1519     _flag_k = FK_CMP;
   1520     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   1521 L_27021B71:
   1522     eax = ecx; /* 0x27021B71: mov eax, ecx */
   1523     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   1524     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   1525     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   1526     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   1527     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   1528     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1530     _flag_k = FK_CMP;
   1531     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   1532 L_27021B82:
   1533     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   1534 L_27021B85:
   1535     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   1536     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   1537     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   1538     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   1539     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1540     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1541     _flag_k = FK_CMP;
   1542     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   1543 L_27021B93:
   1544     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   1545     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   1546 L_27021B98:
   1547     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   1548     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   1549     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   1550     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1551     _flag_k = FK_CMP;
   1552     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   1553 L_27021B9F:
   1554     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   1555     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   1556 L_27021BA3:
   1557     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   1558 L_27021BA6:
   1559     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   1560     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   1561 L_27021BAB:
   1562     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   1563     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   1564     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   1565     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   1566     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   1567     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   1568     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   1569     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   1570     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   1571     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   1572     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   1573     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   1574     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1576     _flag_k = FK_CMP;
   1577     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   1578 L_27021BD0:
   1579     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   1580 L_27021BD3:
   1581     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   1582     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   1583     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   1584     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   1585     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1586     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1587     _flag_k = FK_CMP;
   1588     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   1589 L_27021BE1:
   1590     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   1591     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   1592     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   1593 L_27021BEC:
   1594     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   1595     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   1596     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   1597     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1598     _flag_k = FK_CMP;
   1599     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   1600 L_27021BF4:
   1601     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   1602     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   1603     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   1604 L_27021BFF:
   1605     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   1606     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   1607     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   1608 L_27021C09:
   1609     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   1610     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1611     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1612     _flag_k = FK_NARROW(FK_CMP, 24);
   1613     RECOMP_BACKEDGE();
   1614     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   1615 L_27021C13:
   1616     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   1617     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   1618     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1619     _flag_k = FK_CMP;
   1620     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   1621 L_27021C17:
   1622     eax = ecx; /* 0x27021C17: mov eax, ecx */
   1623     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   1624     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   1625     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   1626     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   1627     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   1628     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1629     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1630     _flag_k = FK_CMP;
   1631     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   1632 L_27021C28:
   1633     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   1634 L_27021C2B:
   1635     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   1636     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   1637     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   1638     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   1639     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1640     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1641     _flag_k = FK_CMP;
   1642     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   1643 L_27021C39:
   1644     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   1645     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   1646 L_27021C3E:
   1647     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   1648     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   1649     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   1650     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1651     _flag_k = FK_CMP;
   1652     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   1653 L_27021C46:
   1654     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   1655     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   1656 L_27021C4B:
   1657     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   1658 L_27021C4D:
   1659     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   1660     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   1661 L_27021C53:
   1662     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   1663     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   1664     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   1665     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   1666     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   1667     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   1668     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   1669     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   1670     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   1671     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   1672     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   1673     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   1674     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1675     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1676     _flag_k = FK_CMP;
   1677     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   1678 L_27021C78:
   1679     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   1680 L_27021C7B:
   1681     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   1682     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   1683     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   1684     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   1685     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1686     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1687     _flag_k = FK_CMP;
   1688     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   1689 L_27021C89:
   1690     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   1691     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   1692 L_27021C8E:
   1693     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   1694     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   1695     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   1696     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1697     _flag_k = FK_CMP;
   1698     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   1699 L_27021C95:
   1700     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   1701     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   1702 L_27021C99:
   1703     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   1704 L_27021C9C:
   1705     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   1706 L_27021C9E:
   1707     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   1708 L_27021CA1:
   1709     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   1710     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   1711     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   1712     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1713     _flag_k = FK_CMP;
   1714     RECOMP_BACKEDGE();
   1715     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   1716 L_27021CAD:
   1717     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   1718     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   1719     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   1720     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   1721     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   1722     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   1723     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   1724     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   1725     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   1726     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   1727     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   1728     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   1729     RECOMP_REGS_OUT();
   1730 }
   1731 
   1732 void sub_27021B51(void) {
   1733     int _fpu_cmp = 0;
   1734     uint32_t _cf = 0;
   1735     int _df = 1;
   1736     uint32_t _flag_k = FK_NONE;
   1737     uint32_t _flag_a = 0, _flag_b = 0;
   1738     uint32_t _itail_tgt = 0;
   1739     RECOMP_REGS_LOCALS
   1740     RECOMP_ENTER(0x27021B51u);
   1741 
   1742     goto L_27021B51;
   1743 L_27021B2D:
   1744     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   1745     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   1746     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   1747     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1748     _cf = 0;
   1749     _flag_k = FK_NARROW(FK_TEST, 24);
   1750     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   1751 L_27021B3B:
   1752     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   1753     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   1754     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   1755     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1757     _flag_k = FK_CMP;
   1758     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   1759 L_27021B48:
   1760     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   1761     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   1762     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1764     _flag_k = FK_NARROW(FK_CMP, 24);
   1765     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   1766 L_27021B51:
   1767     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   1768     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   1769     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   1770     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   1771     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   1772     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   1773     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   1774     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   1775 L_27021B6C:
   1776     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   1777     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   1778     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1779     _flag_k = FK_CMP;
   1780     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   1781 L_27021B71:
   1782     eax = ecx; /* 0x27021B71: mov eax, ecx */
   1783     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   1784     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   1785     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   1786     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   1787     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   1788     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1789     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1790     _flag_k = FK_CMP;
   1791     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   1792 L_27021B82:
   1793     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   1794 L_27021B85:
   1795     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   1796     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   1797     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   1798     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   1799     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1800     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1801     _flag_k = FK_CMP;
   1802     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   1803 L_27021B93:
   1804     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   1805     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   1806 L_27021B98:
   1807     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   1808     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   1809     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   1810     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1811     _flag_k = FK_CMP;
   1812     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   1813 L_27021B9F:
   1814     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   1815     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   1816 L_27021BA3:
   1817     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   1818 L_27021BA6:
   1819     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   1820     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   1821 L_27021BAB:
   1822     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   1823     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   1824     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   1825     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   1826     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   1827     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   1828     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   1829     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   1830     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   1831     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   1832     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   1833     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   1834     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1835     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1836     _flag_k = FK_CMP;
   1837     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   1838 L_27021BD0:
   1839     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   1840 L_27021BD3:
   1841     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   1842     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   1843     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   1844     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   1845     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1847     _flag_k = FK_CMP;
   1848     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   1849 L_27021BE1:
   1850     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   1851     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   1852     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   1853 L_27021BEC:
   1854     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   1855     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   1856     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   1857     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1858     _flag_k = FK_CMP;
   1859     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   1860 L_27021BF4:
   1861     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   1862     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   1863     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   1864 L_27021BFF:
   1865     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   1866     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   1867     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   1868 L_27021C09:
   1869     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   1870     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   1871     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1872     _flag_k = FK_NARROW(FK_CMP, 24);
   1873     RECOMP_BACKEDGE();
   1874     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   1875 L_27021C13:
   1876     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   1877     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   1878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1879     _flag_k = FK_CMP;
   1880     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   1881 L_27021C17:
   1882     eax = ecx; /* 0x27021C17: mov eax, ecx */
   1883     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   1884     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   1885     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   1886     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   1887     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   1888     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1890     _flag_k = FK_CMP;
   1891     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   1892 L_27021C28:
   1893     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   1894 L_27021C2B:
   1895     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   1896     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   1897     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   1898     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   1899     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   1900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1901     _flag_k = FK_CMP;
   1902     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   1903 L_27021C39:
   1904     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   1905     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   1906 L_27021C3E:
   1907     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   1908     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   1909     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   1910     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1911     _flag_k = FK_CMP;
   1912     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   1913 L_27021C46:
   1914     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   1915     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   1916 L_27021C4B:
   1917     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   1918 L_27021C4D:
   1919     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   1920     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   1921 L_27021C53:
   1922     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   1923     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   1924     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   1925     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   1926     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   1927     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   1928     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   1929     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   1930     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   1931     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   1932     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   1933     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   1934     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   1935     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1936     _flag_k = FK_CMP;
   1937     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   1938 L_27021C78:
   1939     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   1940 L_27021C7B:
   1941     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   1942     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   1943     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   1944     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   1945     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   1946     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1947     _flag_k = FK_CMP;
   1948     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   1949 L_27021C89:
   1950     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   1951     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   1952 L_27021C8E:
   1953     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   1954     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   1955     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   1956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1957     _flag_k = FK_CMP;
   1958     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   1959 L_27021C95:
   1960     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   1961     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   1962 L_27021C99:
   1963     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   1964 L_27021C9C:
   1965     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   1966 L_27021C9E:
   1967     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   1968 L_27021CA1:
   1969     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   1970     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   1971     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   1972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1973     _flag_k = FK_CMP;
   1974     RECOMP_BACKEDGE();
   1975     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   1976 L_27021CAD:
   1977     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   1978     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   1979     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   1980     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   1981     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   1982     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   1983     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   1984     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   1985     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   1986     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   1987     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   1988     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   1989     RECOMP_REGS_OUT();
   1990 }
   1991 
   1992 void sub_27021BA6(void) {
   1993     int _fpu_cmp = 0;
   1994     uint32_t _cf = 0;
   1995     int _df = 1;
   1996     uint32_t _flag_k = FK_NONE;
   1997     uint32_t _flag_a = 0, _flag_b = 0;
   1998     uint32_t _itail_tgt = 0;
   1999     RECOMP_REGS_LOCALS
   2000     RECOMP_ENTER(0x27021BA6u);
   2001 
   2002     goto L_27021BA6;
   2003 L_27021B2D:
   2004     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   2005     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   2006     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   2007     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2008     _cf = 0;
   2009     _flag_k = FK_NARROW(FK_TEST, 24);
   2010     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   2011 L_27021B3B:
   2012     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   2013     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   2014     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   2015     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2016     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2017     _flag_k = FK_CMP;
   2018     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   2019 L_27021B48:
   2020     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   2021     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   2022     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2023     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2024     _flag_k = FK_NARROW(FK_CMP, 24);
   2025     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   2026 L_27021B51:
   2027     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   2028     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   2029     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   2030     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   2031     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   2032     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   2033     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   2034     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   2035 L_27021B6C:
   2036     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   2037     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2038     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2039     _flag_k = FK_CMP;
   2040     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   2041 L_27021B71:
   2042     eax = ecx; /* 0x27021B71: mov eax, ecx */
   2043     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   2044     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   2045     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   2046     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   2047     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   2048     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2049     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2050     _flag_k = FK_CMP;
   2051     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   2052 L_27021B82:
   2053     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   2054 L_27021B85:
   2055     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   2056     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   2057     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   2058     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   2059     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2061     _flag_k = FK_CMP;
   2062     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   2063 L_27021B93:
   2064     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   2065     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   2066 L_27021B98:
   2067     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   2068     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   2069     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2070     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2071     _flag_k = FK_CMP;
   2072     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   2073 L_27021B9F:
   2074     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   2075     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   2076 L_27021BA3:
   2077     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   2078 L_27021BA6:
   2079     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   2080     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   2081 L_27021BAB:
   2082     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   2083     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   2084     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   2085     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   2086     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   2087     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   2088     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   2089     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   2090     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   2091     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   2092     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   2093     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   2094     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2095     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2096     _flag_k = FK_CMP;
   2097     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   2098 L_27021BD0:
   2099     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   2100 L_27021BD3:
   2101     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   2102     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   2103     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   2104     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   2105     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2106     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2107     _flag_k = FK_CMP;
   2108     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   2109 L_27021BE1:
   2110     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   2111     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   2112     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   2113 L_27021BEC:
   2114     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   2115     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   2116     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2118     _flag_k = FK_CMP;
   2119     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   2120 L_27021BF4:
   2121     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   2122     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   2123     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   2124 L_27021BFF:
   2125     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   2126     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   2127     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   2128 L_27021C09:
   2129     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   2130     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2131     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2132     _flag_k = FK_NARROW(FK_CMP, 24);
   2133     RECOMP_BACKEDGE();
   2134     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   2135 L_27021C13:
   2136     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   2137     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2138     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2139     _flag_k = FK_CMP;
   2140     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   2141 L_27021C17:
   2142     eax = ecx; /* 0x27021C17: mov eax, ecx */
   2143     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   2144     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   2145     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   2146     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   2147     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   2148     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2149     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2150     _flag_k = FK_CMP;
   2151     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   2152 L_27021C28:
   2153     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   2154 L_27021C2B:
   2155     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   2156     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   2157     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   2158     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   2159     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2160     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2161     _flag_k = FK_CMP;
   2162     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   2163 L_27021C39:
   2164     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   2165     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   2166 L_27021C3E:
   2167     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   2168     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   2169     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2171     _flag_k = FK_CMP;
   2172     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   2173 L_27021C46:
   2174     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   2175     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   2176 L_27021C4B:
   2177     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   2178 L_27021C4D:
   2179     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   2180     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   2181 L_27021C53:
   2182     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   2183     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   2184     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   2185     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   2186     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   2187     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   2188     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   2189     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   2190     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   2191     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   2192     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   2193     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   2194     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2195     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2196     _flag_k = FK_CMP;
   2197     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   2198 L_27021C78:
   2199     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   2200 L_27021C7B:
   2201     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   2202     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   2203     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   2204     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   2205     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2206     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2207     _flag_k = FK_CMP;
   2208     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   2209 L_27021C89:
   2210     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   2211     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   2212 L_27021C8E:
   2213     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   2214     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   2215     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2216     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2217     _flag_k = FK_CMP;
   2218     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   2219 L_27021C95:
   2220     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   2221     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   2222 L_27021C99:
   2223     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   2224 L_27021C9C:
   2225     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   2226 L_27021C9E:
   2227     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   2228 L_27021CA1:
   2229     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   2230     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   2231     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   2232     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2233     _flag_k = FK_CMP;
   2234     RECOMP_BACKEDGE();
   2235     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   2236 L_27021CAD:
   2237     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   2238     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   2239     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   2240     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   2241     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   2242     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   2243     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   2244     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   2245     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   2246     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   2247     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   2248     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   2249     RECOMP_REGS_OUT();
   2250 }
   2251 
   2252 void sub_27021BAB(void) {
   2253     int _fpu_cmp = 0;
   2254     uint32_t _cf = 0;
   2255     int _df = 1;
   2256     uint32_t _flag_k = FK_NONE;
   2257     uint32_t _flag_a = 0, _flag_b = 0;
   2258     uint32_t _itail_tgt = 0;
   2259     RECOMP_REGS_LOCALS
   2260     RECOMP_ENTER(0x27021BABu);
   2261 
   2262     goto L_27021BAB;
   2263 L_27021B2D:
   2264     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   2265     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   2266     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   2267     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2268     _cf = 0;
   2269     _flag_k = FK_NARROW(FK_TEST, 24);
   2270     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   2271 L_27021B3B:
   2272     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   2273     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   2274     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   2275     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2276     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2277     _flag_k = FK_CMP;
   2278     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   2279 L_27021B48:
   2280     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   2281     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   2282     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2283     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2284     _flag_k = FK_NARROW(FK_CMP, 24);
   2285     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   2286 L_27021B51:
   2287     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   2288     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   2289     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   2290     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   2291     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   2292     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   2293     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   2294     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   2295 L_27021B6C:
   2296     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   2297     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2298     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2299     _flag_k = FK_CMP;
   2300     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   2301 L_27021B71:
   2302     eax = ecx; /* 0x27021B71: mov eax, ecx */
   2303     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   2304     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   2305     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   2306     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   2307     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   2308     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2309     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2310     _flag_k = FK_CMP;
   2311     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   2312 L_27021B82:
   2313     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   2314 L_27021B85:
   2315     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   2316     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   2317     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   2318     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   2319     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2321     _flag_k = FK_CMP;
   2322     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   2323 L_27021B93:
   2324     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   2325     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   2326 L_27021B98:
   2327     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   2328     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   2329     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2330     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2331     _flag_k = FK_CMP;
   2332     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   2333 L_27021B9F:
   2334     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   2335     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   2336 L_27021BA3:
   2337     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   2338 L_27021BA6:
   2339     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   2340     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   2341 L_27021BAB:
   2342     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   2343     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   2344     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   2345     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   2346     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   2347     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   2348     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   2349     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   2350     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   2351     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   2352     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   2353     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   2354     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2356     _flag_k = FK_CMP;
   2357     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   2358 L_27021BD0:
   2359     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   2360 L_27021BD3:
   2361     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   2362     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   2363     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   2364     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   2365     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2366     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2367     _flag_k = FK_CMP;
   2368     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   2369 L_27021BE1:
   2370     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   2371     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   2372     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   2373 L_27021BEC:
   2374     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   2375     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   2376     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2377     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2378     _flag_k = FK_CMP;
   2379     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   2380 L_27021BF4:
   2381     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   2382     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   2383     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   2384 L_27021BFF:
   2385     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   2386     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   2387     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   2388 L_27021C09:
   2389     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   2390     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2391     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2392     _flag_k = FK_NARROW(FK_CMP, 24);
   2393     RECOMP_BACKEDGE();
   2394     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   2395 L_27021C13:
   2396     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   2397     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2398     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2399     _flag_k = FK_CMP;
   2400     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   2401 L_27021C17:
   2402     eax = ecx; /* 0x27021C17: mov eax, ecx */
   2403     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   2404     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   2405     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   2406     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   2407     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   2408     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2409     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2410     _flag_k = FK_CMP;
   2411     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   2412 L_27021C28:
   2413     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   2414 L_27021C2B:
   2415     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   2416     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   2417     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   2418     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   2419     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2420     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2421     _flag_k = FK_CMP;
   2422     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   2423 L_27021C39:
   2424     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   2425     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   2426 L_27021C3E:
   2427     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   2428     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   2429     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2431     _flag_k = FK_CMP;
   2432     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   2433 L_27021C46:
   2434     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   2435     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   2436 L_27021C4B:
   2437     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   2438 L_27021C4D:
   2439     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   2440     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   2441 L_27021C53:
   2442     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   2443     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   2444     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   2445     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   2446     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   2447     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   2448     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   2449     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   2450     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   2451     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   2452     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   2453     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   2454     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2456     _flag_k = FK_CMP;
   2457     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   2458 L_27021C78:
   2459     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   2460 L_27021C7B:
   2461     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   2462     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   2463     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   2464     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   2465     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2466     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2467     _flag_k = FK_CMP;
   2468     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   2469 L_27021C89:
   2470     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   2471     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   2472 L_27021C8E:
   2473     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   2474     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   2475     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2476     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2477     _flag_k = FK_CMP;
   2478     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   2479 L_27021C95:
   2480     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   2481     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   2482 L_27021C99:
   2483     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   2484 L_27021C9C:
   2485     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   2486 L_27021C9E:
   2487     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   2488 L_27021CA1:
   2489     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   2490     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   2491     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   2492     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2493     _flag_k = FK_CMP;
   2494     RECOMP_BACKEDGE();
   2495     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   2496 L_27021CAD:
   2497     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   2498     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   2499     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   2500     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   2501     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   2502     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   2503     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   2504     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   2505     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   2506     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   2507     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   2508     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   2509     RECOMP_REGS_OUT();
   2510 }
   2511 
   2512 void sub_27021C09(void) {
   2513     int _fpu_cmp = 0;
   2514     uint32_t _cf = 0;
   2515     int _df = 1;
   2516     uint32_t _flag_k = FK_NONE;
   2517     uint32_t _flag_a = 0, _flag_b = 0;
   2518     uint32_t _itail_tgt = 0;
   2519     RECOMP_REGS_LOCALS
   2520     RECOMP_ENTER(0x27021C09u);
   2521 
   2522     goto L_27021C09;
   2523 L_27021B2D:
   2524     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   2525     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   2526     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   2527     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2528     _cf = 0;
   2529     _flag_k = FK_NARROW(FK_TEST, 24);
   2530     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   2531 L_27021B3B:
   2532     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   2533     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   2534     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   2535     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2537     _flag_k = FK_CMP;
   2538     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   2539 L_27021B48:
   2540     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   2541     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   2542     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2543     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2544     _flag_k = FK_NARROW(FK_CMP, 24);
   2545     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   2546 L_27021B51:
   2547     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   2548     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   2549     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   2550     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   2551     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   2552     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   2553     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   2554     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   2555 L_27021B6C:
   2556     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   2557     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2558     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2559     _flag_k = FK_CMP;
   2560     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   2561 L_27021B71:
   2562     eax = ecx; /* 0x27021B71: mov eax, ecx */
   2563     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   2564     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   2565     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   2566     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   2567     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   2568     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2569     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2570     _flag_k = FK_CMP;
   2571     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   2572 L_27021B82:
   2573     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   2574 L_27021B85:
   2575     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   2576     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   2577     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   2578     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   2579     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2580     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2581     _flag_k = FK_CMP;
   2582     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   2583 L_27021B93:
   2584     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   2585     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   2586 L_27021B98:
   2587     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   2588     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   2589     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2590     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2591     _flag_k = FK_CMP;
   2592     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   2593 L_27021B9F:
   2594     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   2595     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   2596 L_27021BA3:
   2597     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   2598 L_27021BA6:
   2599     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   2600     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   2601 L_27021BAB:
   2602     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   2603     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   2604     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   2605     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   2606     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   2607     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   2608     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   2609     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   2610     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   2611     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   2612     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   2613     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   2614     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2615     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2616     _flag_k = FK_CMP;
   2617     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   2618 L_27021BD0:
   2619     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   2620 L_27021BD3:
   2621     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   2622     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   2623     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   2624     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   2625     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2626     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2627     _flag_k = FK_CMP;
   2628     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   2629 L_27021BE1:
   2630     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   2631     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   2632     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   2633 L_27021BEC:
   2634     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   2635     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   2636     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2637     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2638     _flag_k = FK_CMP;
   2639     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   2640 L_27021BF4:
   2641     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   2642     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   2643     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   2644 L_27021BFF:
   2645     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   2646     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   2647     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   2648 L_27021C09:
   2649     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   2650     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2651     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2652     _flag_k = FK_NARROW(FK_CMP, 24);
   2653     RECOMP_BACKEDGE();
   2654     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   2655 L_27021C13:
   2656     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   2657     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2658     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2659     _flag_k = FK_CMP;
   2660     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   2661 L_27021C17:
   2662     eax = ecx; /* 0x27021C17: mov eax, ecx */
   2663     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   2664     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   2665     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   2666     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   2667     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   2668     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2669     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2670     _flag_k = FK_CMP;
   2671     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   2672 L_27021C28:
   2673     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   2674 L_27021C2B:
   2675     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   2676     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   2677     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   2678     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   2679     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2680     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2681     _flag_k = FK_CMP;
   2682     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   2683 L_27021C39:
   2684     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   2685     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   2686 L_27021C3E:
   2687     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   2688     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   2689     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2690     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2691     _flag_k = FK_CMP;
   2692     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   2693 L_27021C46:
   2694     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   2695     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   2696 L_27021C4B:
   2697     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   2698 L_27021C4D:
   2699     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   2700     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   2701 L_27021C53:
   2702     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   2703     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   2704     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   2705     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   2706     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   2707     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   2708     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   2709     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   2710     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   2711     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   2712     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   2713     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   2714     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2716     _flag_k = FK_CMP;
   2717     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   2718 L_27021C78:
   2719     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   2720 L_27021C7B:
   2721     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   2722     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   2723     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   2724     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   2725     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2727     _flag_k = FK_CMP;
   2728     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   2729 L_27021C89:
   2730     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   2731     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   2732 L_27021C8E:
   2733     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   2734     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   2735     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2736     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2737     _flag_k = FK_CMP;
   2738     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   2739 L_27021C95:
   2740     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   2741     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   2742 L_27021C99:
   2743     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   2744 L_27021C9C:
   2745     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   2746 L_27021C9E:
   2747     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   2748 L_27021CA1:
   2749     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   2750     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   2751     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   2752     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2753     _flag_k = FK_CMP;
   2754     RECOMP_BACKEDGE();
   2755     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   2756 L_27021CAD:
   2757     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   2758     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   2759     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   2760     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   2761     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   2762     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   2763     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   2764     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   2765     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   2766     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   2767     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   2768     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   2769     RECOMP_REGS_OUT();
   2770 }
   2771 
   2772 void sub_27021C4D(void) {
   2773     int _fpu_cmp = 0;
   2774     uint32_t _cf = 0;
   2775     int _df = 1;
   2776     uint32_t _flag_k = FK_NONE;
   2777     uint32_t _flag_a = 0, _flag_b = 0;
   2778     uint32_t _itail_tgt = 0;
   2779     RECOMP_REGS_LOCALS
   2780     RECOMP_ENTER(0x27021C4Du);
   2781 
   2782     goto L_27021C4D;
   2783 L_27021B2D:
   2784     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   2785     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   2786     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   2787     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   2788     _cf = 0;
   2789     _flag_k = FK_NARROW(FK_TEST, 24);
   2790     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   2791 L_27021B3B:
   2792     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   2793     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   2794     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   2795     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2796     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2797     _flag_k = FK_CMP;
   2798     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   2799 L_27021B48:
   2800     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   2801     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   2802     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2803     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2804     _flag_k = FK_NARROW(FK_CMP, 24);
   2805     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   2806 L_27021B51:
   2807     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   2808     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   2809     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   2810     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   2811     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   2812     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   2813     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   2814     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   2815 L_27021B6C:
   2816     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   2817     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   2818     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2819     _flag_k = FK_CMP;
   2820     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   2821 L_27021B71:
   2822     eax = ecx; /* 0x27021B71: mov eax, ecx */
   2823     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   2824     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   2825     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   2826     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   2827     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   2828     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2829     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2830     _flag_k = FK_CMP;
   2831     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   2832 L_27021B82:
   2833     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   2834 L_27021B85:
   2835     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   2836     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   2837     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   2838     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   2839     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2841     _flag_k = FK_CMP;
   2842     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   2843 L_27021B93:
   2844     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   2845     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   2846 L_27021B98:
   2847     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   2848     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   2849     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   2850     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2851     _flag_k = FK_CMP;
   2852     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   2853 L_27021B9F:
   2854     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   2855     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   2856 L_27021BA3:
   2857     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   2858 L_27021BA6:
   2859     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   2860     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   2861 L_27021BAB:
   2862     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   2863     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   2864     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   2865     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   2866     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   2867     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   2868     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   2869     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   2870     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   2871     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   2872     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   2873     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   2874     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2875     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2876     _flag_k = FK_CMP;
   2877     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   2878 L_27021BD0:
   2879     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   2880 L_27021BD3:
   2881     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   2882     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   2883     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   2884     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   2885     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2886     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2887     _flag_k = FK_CMP;
   2888     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   2889 L_27021BE1:
   2890     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   2891     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   2892     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   2893 L_27021BEC:
   2894     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   2895     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   2896     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   2897     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2898     _flag_k = FK_CMP;
   2899     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   2900 L_27021BF4:
   2901     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   2902     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   2903     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   2904 L_27021BFF:
   2905     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   2906     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   2907     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   2908 L_27021C09:
   2909     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   2910     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   2911     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2912     _flag_k = FK_NARROW(FK_CMP, 24);
   2913     RECOMP_BACKEDGE();
   2914     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   2915 L_27021C13:
   2916     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   2917     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   2918     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2919     _flag_k = FK_CMP;
   2920     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   2921 L_27021C17:
   2922     eax = ecx; /* 0x27021C17: mov eax, ecx */
   2923     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   2924     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   2925     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   2926     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   2927     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   2928     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2929     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2930     _flag_k = FK_CMP;
   2931     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   2932 L_27021C28:
   2933     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   2934 L_27021C2B:
   2935     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   2936     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   2937     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   2938     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   2939     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   2940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2941     _flag_k = FK_CMP;
   2942     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   2943 L_27021C39:
   2944     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   2945     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   2946 L_27021C3E:
   2947     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   2948     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   2949     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   2950     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2951     _flag_k = FK_CMP;
   2952     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   2953 L_27021C46:
   2954     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   2955     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   2956 L_27021C4B:
   2957     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   2958 L_27021C4D:
   2959     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   2960     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   2961 L_27021C53:
   2962     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   2963     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   2964     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   2965     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   2966     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   2967     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   2968     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   2969     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   2970     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   2971     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   2972     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   2973     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   2974     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   2975     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2976     _flag_k = FK_CMP;
   2977     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   2978 L_27021C78:
   2979     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   2980 L_27021C7B:
   2981     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   2982     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   2983     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   2984     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   2985     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   2986     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2987     _flag_k = FK_CMP;
   2988     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   2989 L_27021C89:
   2990     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   2991     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   2992 L_27021C8E:
   2993     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   2994     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   2995     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   2996     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2997     _flag_k = FK_CMP;
   2998     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   2999 L_27021C95:
   3000     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   3001     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   3002 L_27021C99:
   3003     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   3004 L_27021C9C:
   3005     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   3006 L_27021C9E:
   3007     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   3008 L_27021CA1:
   3009     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   3010     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   3011     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3012     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3013     _flag_k = FK_CMP;
   3014     RECOMP_BACKEDGE();
   3015     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   3016 L_27021CAD:
   3017     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   3018     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   3019     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   3020     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   3021     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   3022     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   3023     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   3024     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   3025     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   3026     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   3027     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   3028     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   3029     RECOMP_REGS_OUT();
   3030 }
   3031 
   3032 void sub_27021C53(void) {
   3033     int _fpu_cmp = 0;
   3034     uint32_t _cf = 0;
   3035     int _df = 1;
   3036     uint32_t _flag_k = FK_NONE;
   3037     uint32_t _flag_a = 0, _flag_b = 0;
   3038     uint32_t _itail_tgt = 0;
   3039     RECOMP_REGS_LOCALS
   3040     RECOMP_ENTER(0x27021C53u);
   3041 
   3042     goto L_27021C53;
   3043 L_27021B2D:
   3044     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   3045     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   3046     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   3047     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3048     _cf = 0;
   3049     _flag_k = FK_NARROW(FK_TEST, 24);
   3050     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   3051 L_27021B3B:
   3052     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   3053     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   3054     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   3055     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3056     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3057     _flag_k = FK_CMP;
   3058     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   3059 L_27021B48:
   3060     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   3061     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   3062     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3063     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3064     _flag_k = FK_NARROW(FK_CMP, 24);
   3065     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   3066 L_27021B51:
   3067     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   3068     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   3069     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   3070     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   3071     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   3072     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   3073     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   3074     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   3075 L_27021B6C:
   3076     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   3077     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3078     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3079     _flag_k = FK_CMP;
   3080     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   3081 L_27021B71:
   3082     eax = ecx; /* 0x27021B71: mov eax, ecx */
   3083     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   3084     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   3085     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   3086     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   3087     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   3088     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3089     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3090     _flag_k = FK_CMP;
   3091     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   3092 L_27021B82:
   3093     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   3094 L_27021B85:
   3095     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   3096     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   3097     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   3098     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   3099     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3100     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3101     _flag_k = FK_CMP;
   3102     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   3103 L_27021B93:
   3104     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   3105     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   3106 L_27021B98:
   3107     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   3108     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   3109     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3110     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3111     _flag_k = FK_CMP;
   3112     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   3113 L_27021B9F:
   3114     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   3115     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   3116 L_27021BA3:
   3117     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   3118 L_27021BA6:
   3119     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   3120     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   3121 L_27021BAB:
   3122     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   3123     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   3124     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   3125     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   3126     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   3127     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   3128     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   3129     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   3130     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   3131     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   3132     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   3133     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   3134     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3135     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3136     _flag_k = FK_CMP;
   3137     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   3138 L_27021BD0:
   3139     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   3140 L_27021BD3:
   3141     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   3142     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   3143     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   3144     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   3145     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3146     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3147     _flag_k = FK_CMP;
   3148     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   3149 L_27021BE1:
   3150     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   3151     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   3152     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   3153 L_27021BEC:
   3154     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   3155     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   3156     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3157     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3158     _flag_k = FK_CMP;
   3159     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   3160 L_27021BF4:
   3161     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   3162     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   3163     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   3164 L_27021BFF:
   3165     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   3166     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   3167     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   3168 L_27021C09:
   3169     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   3170     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3172     _flag_k = FK_NARROW(FK_CMP, 24);
   3173     RECOMP_BACKEDGE();
   3174     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   3175 L_27021C13:
   3176     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   3177     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3178     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3179     _flag_k = FK_CMP;
   3180     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   3181 L_27021C17:
   3182     eax = ecx; /* 0x27021C17: mov eax, ecx */
   3183     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   3184     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   3185     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   3186     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   3187     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   3188     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3189     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3190     _flag_k = FK_CMP;
   3191     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   3192 L_27021C28:
   3193     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   3194 L_27021C2B:
   3195     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   3196     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   3197     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   3198     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   3199     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3200     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3201     _flag_k = FK_CMP;
   3202     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   3203 L_27021C39:
   3204     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   3205     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   3206 L_27021C3E:
   3207     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   3208     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   3209     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3211     _flag_k = FK_CMP;
   3212     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   3213 L_27021C46:
   3214     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   3215     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   3216 L_27021C4B:
   3217     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   3218 L_27021C4D:
   3219     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   3220     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   3221 L_27021C53:
   3222     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   3223     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   3224     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   3225     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   3226     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   3227     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   3228     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   3229     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   3230     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   3231     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   3232     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   3233     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   3234     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3235     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3236     _flag_k = FK_CMP;
   3237     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   3238 L_27021C78:
   3239     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   3240 L_27021C7B:
   3241     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   3242     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   3243     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   3244     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   3245     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3246     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3247     _flag_k = FK_CMP;
   3248     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   3249 L_27021C89:
   3250     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   3251     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   3252 L_27021C8E:
   3253     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   3254     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   3255     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   3256     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3257     _flag_k = FK_CMP;
   3258     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   3259 L_27021C95:
   3260     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   3261     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   3262 L_27021C99:
   3263     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   3264 L_27021C9C:
   3265     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   3266 L_27021C9E:
   3267     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   3268 L_27021CA1:
   3269     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   3270     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   3271     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3272     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3273     _flag_k = FK_CMP;
   3274     RECOMP_BACKEDGE();
   3275     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   3276 L_27021CAD:
   3277     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   3278     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   3279     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   3280     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   3281     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   3282     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   3283     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   3284     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   3285     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   3286     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   3287     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   3288     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   3289     RECOMP_REGS_OUT();
   3290 }
   3291 
   3292 void sub_27021C9C(void) {
   3293     int _fpu_cmp = 0;
   3294     uint32_t _cf = 0;
   3295     int _df = 1;
   3296     uint32_t _flag_k = FK_NONE;
   3297     uint32_t _flag_a = 0, _flag_b = 0;
   3298     uint32_t _itail_tgt = 0;
   3299     RECOMP_REGS_LOCALS
   3300     RECOMP_ENTER(0x27021C9Cu);
   3301 
   3302     goto L_27021C9C;
   3303 L_27021B2D:
   3304     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   3305     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   3306     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   3307     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3308     _cf = 0;
   3309     _flag_k = FK_NARROW(FK_TEST, 24);
   3310     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   3311 L_27021B3B:
   3312     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   3313     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   3314     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   3315     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3316     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3317     _flag_k = FK_CMP;
   3318     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   3319 L_27021B48:
   3320     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   3321     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   3322     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3323     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3324     _flag_k = FK_NARROW(FK_CMP, 24);
   3325     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   3326 L_27021B51:
   3327     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   3328     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   3329     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   3330     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   3331     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   3332     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   3333     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   3334     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   3335 L_27021B6C:
   3336     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   3337     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3338     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3339     _flag_k = FK_CMP;
   3340     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   3341 L_27021B71:
   3342     eax = ecx; /* 0x27021B71: mov eax, ecx */
   3343     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   3344     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   3345     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   3346     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   3347     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   3348     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3349     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3350     _flag_k = FK_CMP;
   3351     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   3352 L_27021B82:
   3353     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   3354 L_27021B85:
   3355     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   3356     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   3357     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   3358     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   3359     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3360     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3361     _flag_k = FK_CMP;
   3362     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   3363 L_27021B93:
   3364     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   3365     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   3366 L_27021B98:
   3367     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   3368     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   3369     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3370     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3371     _flag_k = FK_CMP;
   3372     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   3373 L_27021B9F:
   3374     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   3375     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   3376 L_27021BA3:
   3377     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   3378 L_27021BA6:
   3379     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   3380     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   3381 L_27021BAB:
   3382     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   3383     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   3384     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   3385     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   3386     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   3387     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   3388     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   3389     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   3390     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   3391     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   3392     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   3393     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   3394     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3395     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3396     _flag_k = FK_CMP;
   3397     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   3398 L_27021BD0:
   3399     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   3400 L_27021BD3:
   3401     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   3402     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   3403     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   3404     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   3405     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3406     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3407     _flag_k = FK_CMP;
   3408     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   3409 L_27021BE1:
   3410     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   3411     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   3412     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   3413 L_27021BEC:
   3414     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   3415     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   3416     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3417     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3418     _flag_k = FK_CMP;
   3419     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   3420 L_27021BF4:
   3421     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   3422     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   3423     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   3424 L_27021BFF:
   3425     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   3426     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   3427     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   3428 L_27021C09:
   3429     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   3430     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3431     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3432     _flag_k = FK_NARROW(FK_CMP, 24);
   3433     RECOMP_BACKEDGE();
   3434     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   3435 L_27021C13:
   3436     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   3437     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3438     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3439     _flag_k = FK_CMP;
   3440     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   3441 L_27021C17:
   3442     eax = ecx; /* 0x27021C17: mov eax, ecx */
   3443     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   3444     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   3445     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   3446     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   3447     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   3448     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   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_27021C2B; /* 0x27021C26: je 0x27021c2b */
   3452 L_27021C28:
   3453     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   3454 L_27021C2B:
   3455     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   3456     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   3457     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   3458     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   3459     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3460     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3461     _flag_k = FK_CMP;
   3462     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   3463 L_27021C39:
   3464     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   3465     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   3466 L_27021C3E:
   3467     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   3468     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   3469     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3470     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3471     _flag_k = FK_CMP;
   3472     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   3473 L_27021C46:
   3474     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   3475     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   3476 L_27021C4B:
   3477     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   3478 L_27021C4D:
   3479     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   3480     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   3481 L_27021C53:
   3482     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   3483     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   3484     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   3485     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   3486     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   3487     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   3488     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   3489     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   3490     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   3491     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   3492     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   3493     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   3494     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3495     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3496     _flag_k = FK_CMP;
   3497     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   3498 L_27021C78:
   3499     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   3500 L_27021C7B:
   3501     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   3502     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   3503     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   3504     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   3505     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3506     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3507     _flag_k = FK_CMP;
   3508     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   3509 L_27021C89:
   3510     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   3511     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   3512 L_27021C8E:
   3513     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   3514     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   3515     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   3516     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3517     _flag_k = FK_CMP;
   3518     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   3519 L_27021C95:
   3520     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   3521     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   3522 L_27021C99:
   3523     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   3524 L_27021C9C:
   3525     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   3526 L_27021C9E:
   3527     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   3528 L_27021CA1:
   3529     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   3530     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   3531     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3532     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3533     _flag_k = FK_CMP;
   3534     RECOMP_BACKEDGE();
   3535     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   3536 L_27021CAD:
   3537     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   3538     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   3539     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   3540     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   3541     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   3542     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   3543     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   3544     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   3545     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   3546     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   3547     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   3548     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   3549     RECOMP_REGS_OUT();
   3550 }
   3551 
   3552 void sub_27021C9E(void) {
   3553     int _fpu_cmp = 0;
   3554     uint32_t _cf = 0;
   3555     int _df = 1;
   3556     uint32_t _flag_k = FK_NONE;
   3557     uint32_t _flag_a = 0, _flag_b = 0;
   3558     uint32_t _itail_tgt = 0;
   3559     RECOMP_REGS_LOCALS
   3560     RECOMP_ENTER(0x27021C9Eu);
   3561 
   3562     goto L_27021C9E;
   3563 L_27021B2D:
   3564     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   3565     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   3566     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   3567     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3568     _cf = 0;
   3569     _flag_k = FK_NARROW(FK_TEST, 24);
   3570     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   3571 L_27021B3B:
   3572     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   3573     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   3574     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   3575     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3576     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3577     _flag_k = FK_CMP;
   3578     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   3579 L_27021B48:
   3580     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   3581     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   3582     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3583     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3584     _flag_k = FK_NARROW(FK_CMP, 24);
   3585     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   3586 L_27021B51:
   3587     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   3588     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   3589     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   3590     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   3591     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   3592     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   3593     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   3594     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   3595 L_27021B6C:
   3596     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   3597     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3598     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3599     _flag_k = FK_CMP;
   3600     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   3601 L_27021B71:
   3602     eax = ecx; /* 0x27021B71: mov eax, ecx */
   3603     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   3604     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   3605     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   3606     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   3607     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   3608     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3609     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3610     _flag_k = FK_CMP;
   3611     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   3612 L_27021B82:
   3613     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   3614 L_27021B85:
   3615     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   3616     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   3617     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   3618     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   3619     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3620     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3621     _flag_k = FK_CMP;
   3622     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   3623 L_27021B93:
   3624     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   3625     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   3626 L_27021B98:
   3627     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   3628     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   3629     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3630     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3631     _flag_k = FK_CMP;
   3632     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   3633 L_27021B9F:
   3634     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   3635     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   3636 L_27021BA3:
   3637     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   3638 L_27021BA6:
   3639     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   3640     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   3641 L_27021BAB:
   3642     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   3643     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   3644     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   3645     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   3646     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   3647     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   3648     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   3649     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   3650     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   3651     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   3652     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   3653     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   3654     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3655     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3656     _flag_k = FK_CMP;
   3657     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   3658 L_27021BD0:
   3659     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   3660 L_27021BD3:
   3661     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   3662     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   3663     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   3664     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   3665     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3666     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3667     _flag_k = FK_CMP;
   3668     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   3669 L_27021BE1:
   3670     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   3671     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   3672     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   3673 L_27021BEC:
   3674     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   3675     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   3676     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3677     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3678     _flag_k = FK_CMP;
   3679     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   3680 L_27021BF4:
   3681     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   3682     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   3683     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   3684 L_27021BFF:
   3685     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   3686     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   3687     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   3688 L_27021C09:
   3689     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   3690     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3691     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3692     _flag_k = FK_NARROW(FK_CMP, 24);
   3693     RECOMP_BACKEDGE();
   3694     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   3695 L_27021C13:
   3696     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   3697     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3698     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3699     _flag_k = FK_CMP;
   3700     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   3701 L_27021C17:
   3702     eax = ecx; /* 0x27021C17: mov eax, ecx */
   3703     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   3704     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   3705     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   3706     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   3707     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   3708     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3709     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3710     _flag_k = FK_CMP;
   3711     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   3712 L_27021C28:
   3713     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   3714 L_27021C2B:
   3715     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   3716     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   3717     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   3718     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   3719     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3720     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3721     _flag_k = FK_CMP;
   3722     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   3723 L_27021C39:
   3724     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   3725     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   3726 L_27021C3E:
   3727     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   3728     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   3729     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3730     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3731     _flag_k = FK_CMP;
   3732     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   3733 L_27021C46:
   3734     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   3735     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   3736 L_27021C4B:
   3737     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   3738 L_27021C4D:
   3739     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   3740     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   3741 L_27021C53:
   3742     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   3743     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   3744     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   3745     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   3746     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   3747     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   3748     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   3749     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   3750     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   3751     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   3752     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   3753     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   3754     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3755     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3756     _flag_k = FK_CMP;
   3757     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   3758 L_27021C78:
   3759     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   3760 L_27021C7B:
   3761     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   3762     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   3763     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   3764     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   3765     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3766     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3767     _flag_k = FK_CMP;
   3768     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   3769 L_27021C89:
   3770     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   3771     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   3772 L_27021C8E:
   3773     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   3774     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   3775     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   3776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3777     _flag_k = FK_CMP;
   3778     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   3779 L_27021C95:
   3780     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   3781     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   3782 L_27021C99:
   3783     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   3784 L_27021C9C:
   3785     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   3786 L_27021C9E:
   3787     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   3788 L_27021CA1:
   3789     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   3790     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   3791     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   3792     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3793     _flag_k = FK_CMP;
   3794     RECOMP_BACKEDGE();
   3795     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   3796 L_27021CAD:
   3797     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   3798     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   3799     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   3800     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   3801     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   3802     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   3803     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   3804     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   3805     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   3806     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   3807     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   3808     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   3809     RECOMP_REGS_OUT();
   3810 }
   3811 
   3812 void sub_27021CA1(void) {
   3813     int _fpu_cmp = 0;
   3814     uint32_t _cf = 0;
   3815     int _df = 1;
   3816     uint32_t _flag_k = FK_NONE;
   3817     uint32_t _flag_a = 0, _flag_b = 0;
   3818     uint32_t _itail_tgt = 0;
   3819     RECOMP_REGS_LOCALS
   3820     RECOMP_ENTER(0x27021CA1u);
   3821 
   3822     goto L_27021CA1;
   3823 L_27021B2D:
   3824     ecx = MEM32(eax + 0x4); /* 0x27021B2D: mov ecx, dword ptr [eax + 4] */
   3825     SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x27021B30: mov dl, byte ptr [ecx + 0x14] */
   3826     /* test LO8(edx), LO8(edx) */ /* 0x27021B33: test dl, dl */
   3827     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   3828     _cf = 0;
   3829     _flag_k = FK_NARROW(FK_TEST, 24);
   3830     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021CAD; /* 0x27021B35: jne 0x27021cad */
   3831 L_27021B3B:
   3832     edi = MEM32(ecx + 0x4); /* 0x27021B3B: mov edi, dword ptr [ecx + 4] */
   3833     edx = MEM32(edi); /* 0x27021B3E: mov edx, dword ptr [edi] */
   3834     /* cmp ecx, edx */ /* 0x27021B40: cmp ecx, edx */
   3835     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3836     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3837     _flag_k = FK_CMP;
   3838     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C09; /* 0x27021B42: jne 0x27021c09 */
   3839 L_27021B48:
   3840     edx = MEM32(edi + 0x8); /* 0x27021B48: mov edx, dword ptr [edi + 8] */
   3841     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021B4B: cmp byte ptr [edx + 0x14], 0 */
   3842     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3843     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3844     _flag_k = FK_NARROW(FK_CMP, 24);
   3845     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B6C; /* 0x27021B4F: jne 0x27021b6c */
   3846 L_27021B51:
   3847     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B51: mov byte ptr [ecx + 0x14], bl */
   3848     MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021B54: mov byte ptr [edx + 0x14], bl */
   3849     ecx = MEM32(eax + 0x4); /* 0x27021B57: mov ecx, dword ptr [eax + 4] */
   3850     edx = MEM32(ecx + 0x4); /* 0x27021B5A: mov edx, dword ptr [ecx + 4] */
   3851     MEM8(edx + 0x14) = (uint8_t)(0); /* 0x27021B5D: mov byte ptr [edx + 0x14], 0 */
   3852     eax = MEM32(eax + 0x4); /* 0x27021B61: mov eax, dword ptr [eax + 4] */
   3853     eax = MEM32(eax + 0x4); /* 0x27021B64: mov eax, dword ptr [eax + 4] */
   3854     goto L_27021CA1; /* 0x27021B67: jmp 0x27021ca1 */
   3855 L_27021B6C:
   3856     /* cmp eax, MEM32(ecx + 0x8) */ /* 0x27021B6C: cmp eax, dword ptr [ecx + 8] */
   3857     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   3858     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3859     _flag_k = FK_CMP;
   3860     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BAB; /* 0x27021B6F: jne 0x27021bab */
   3861 L_27021B71:
   3862     eax = ecx; /* 0x27021B71: mov eax, ecx */
   3863     ecx = MEM32(eax + 0x8); /* 0x27021B73: mov ecx, dword ptr [eax + 8] */
   3864     edx = MEM32(ecx); /* 0x27021B76: mov edx, dword ptr [ecx] */
   3865     MEM32(eax + 0x8) = edx; /* 0x27021B78: mov dword ptr [eax + 8], edx */
   3866     edx = MEM32(ecx); /* 0x27021B7B: mov edx, dword ptr [ecx] */
   3867     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021B7D: cmp edx, dword ptr [esi + 8] */
   3868     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3870     _flag_k = FK_CMP;
   3871     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B85; /* 0x27021B80: je 0x27021b85 */
   3872 L_27021B82:
   3873     MEM32(edx + 0x4) = eax; /* 0x27021B82: mov dword ptr [edx + 4], eax */
   3874 L_27021B85:
   3875     edx = MEM32(eax + 0x4); /* 0x27021B85: mov edx, dword ptr [eax + 4] */
   3876     MEM32(ecx + 0x4) = edx; /* 0x27021B88: mov dword ptr [ecx + 4], edx */
   3877     edx = MEM32(esi + 0x4); /* 0x27021B8B: mov edx, dword ptr [esi + 4] */
   3878     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021B8E: cmp eax, dword ptr [edx + 4] */
   3879     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3880     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3881     _flag_k = FK_CMP;
   3882     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B98; /* 0x27021B91: jne 0x27021b98 */
   3883 L_27021B93:
   3884     MEM32(edx + 0x4) = ecx; /* 0x27021B93: mov dword ptr [edx + 4], ecx */
   3885     goto L_27021BA6; /* 0x27021B96: jmp 0x27021ba6 */
   3886 L_27021B98:
   3887     edx = MEM32(eax + 0x4); /* 0x27021B98: mov edx, dword ptr [eax + 4] */
   3888     /* cmp eax, MEM32(edx) */ /* 0x27021B9B: cmp eax, dword ptr [edx] */
   3889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx));
   3890     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3891     _flag_k = FK_CMP;
   3892     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BA3; /* 0x27021B9D: jne 0x27021ba3 */
   3893 L_27021B9F:
   3894     MEM32(edx) = ecx; /* 0x27021B9F: mov dword ptr [edx], ecx */
   3895     goto L_27021BA6; /* 0x27021BA1: jmp 0x27021ba6 */
   3896 L_27021BA3:
   3897     MEM32(edx + 0x8) = ecx; /* 0x27021BA3: mov dword ptr [edx + 8], ecx */
   3898 L_27021BA6:
   3899     MEM32(ecx) = eax; /* 0x27021BA6: mov dword ptr [ecx], eax */
   3900     MEM32(eax + 0x4) = ecx; /* 0x27021BA8: mov dword ptr [eax + 4], ecx */
   3901 L_27021BAB:
   3902     ecx = MEM32(eax + 0x4); /* 0x27021BAB: mov ecx, dword ptr [eax + 4] */
   3903     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021BAE: mov byte ptr [ecx + 0x14], bl */
   3904     edx = MEM32(eax + 0x4); /* 0x27021BB1: mov edx, dword ptr [eax + 4] */
   3905     ecx = MEM32(edx + 0x4); /* 0x27021BB4: mov ecx, dword ptr [edx + 4] */
   3906     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021BB7: mov byte ptr [ecx + 0x14], 0 */
   3907     edx = MEM32(eax + 0x4); /* 0x27021BBB: mov edx, dword ptr [eax + 4] */
   3908     ecx = MEM32(edx + 0x4); /* 0x27021BBE: mov ecx, dword ptr [edx + 4] */
   3909     edx = MEM32(ecx); /* 0x27021BC1: mov edx, dword ptr [ecx] */
   3910     edi = MEM32(edx + 0x8); /* 0x27021BC3: mov edi, dword ptr [edx + 8] */
   3911     MEM32(ecx) = edi; /* 0x27021BC6: mov dword ptr [ecx], edi */
   3912     edi = MEM32(edx + 0x8); /* 0x27021BC8: mov edi, dword ptr [edx + 8] */
   3913     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021BCB: cmp edi, dword ptr [esi + 8] */
   3914     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3915     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3916     _flag_k = FK_CMP;
   3917     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021BD3; /* 0x27021BCE: je 0x27021bd3 */
   3918 L_27021BD0:
   3919     MEM32(edi + 0x4) = ecx; /* 0x27021BD0: mov dword ptr [edi + 4], ecx */
   3920 L_27021BD3:
   3921     edi = MEM32(ecx + 0x4); /* 0x27021BD3: mov edi, dword ptr [ecx + 4] */
   3922     MEM32(edx + 0x4) = edi; /* 0x27021BD6: mov dword ptr [edx + 4], edi */
   3923     edi = MEM32(esi + 0x4); /* 0x27021BD9: mov edi, dword ptr [esi + 4] */
   3924     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021BDC: cmp ecx, dword ptr [edi + 4] */
   3925     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   3926     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3927     _flag_k = FK_CMP;
   3928     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BEC; /* 0x27021BDF: jne 0x27021bec */
   3929 L_27021BE1:
   3930     MEM32(edi + 0x4) = edx; /* 0x27021BE1: mov dword ptr [edi + 4], edx */
   3931     MEM32(edx + 0x8) = ecx; /* 0x27021BE4: mov dword ptr [edx + 8], ecx */
   3932     goto L_27021C9E; /* 0x27021BE7: jmp 0x27021c9e */
   3933 L_27021BEC:
   3934     edi = MEM32(ecx + 0x4); /* 0x27021BEC: mov edi, dword ptr [ecx + 4] */
   3935     /* cmp ecx, MEM32(edi + 0x8) */ /* 0x27021BEF: cmp ecx, dword ptr [edi + 8] */
   3936     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8));
   3937     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3938     _flag_k = FK_CMP;
   3939     if (CMP_NE(_flag_a, _flag_b)) goto L_27021BFF; /* 0x27021BF2: jne 0x27021bff */
   3940 L_27021BF4:
   3941     MEM32(edi + 0x8) = edx; /* 0x27021BF4: mov dword ptr [edi + 8], edx */
   3942     MEM32(edx + 0x8) = ecx; /* 0x27021BF7: mov dword ptr [edx + 8], ecx */
   3943     goto L_27021C9E; /* 0x27021BFA: jmp 0x27021c9e */
   3944 L_27021BFF:
   3945     MEM32(edi) = edx; /* 0x27021BFF: mov dword ptr [edi], edx */
   3946     MEM32(edx + 0x8) = ecx; /* 0x27021C01: mov dword ptr [edx + 8], ecx */
   3947     goto L_27021C9E; /* 0x27021C04: jmp 0x27021c9e */
   3948 L_27021C09:
   3949     /* cmp MEM8(edx + 0x14), 0 */ /* 0x27021C09: cmp byte ptr [edx + 0x14], 0 */
   3950     _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24;
   3951     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3952     _flag_k = FK_NARROW(FK_CMP, 24);
   3953     RECOMP_BACKEDGE();
   3954     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021B51; /* 0x27021C0D: je 0x27021b51 */
   3955 L_27021C13:
   3956     /* cmp eax, MEM32(ecx) */ /* 0x27021C13: cmp eax, dword ptr [ecx] */
   3957     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx));
   3958     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3959     _flag_k = FK_CMP;
   3960     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C53; /* 0x27021C15: jne 0x27021c53 */
   3961 L_27021C17:
   3962     eax = ecx; /* 0x27021C17: mov eax, ecx */
   3963     ecx = MEM32(eax); /* 0x27021C19: mov ecx, dword ptr [eax] */
   3964     edx = MEM32(ecx + 0x8); /* 0x27021C1B: mov edx, dword ptr [ecx + 8] */
   3965     MEM32(eax) = edx; /* 0x27021C1E: mov dword ptr [eax], edx */
   3966     edx = MEM32(ecx + 0x8); /* 0x27021C20: mov edx, dword ptr [ecx + 8] */
   3967     /* cmp edx, MEM32(esi + 0x8) */ /* 0x27021C23: cmp edx, dword ptr [esi + 8] */
   3968     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   3969     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3970     _flag_k = FK_CMP;
   3971     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C2B; /* 0x27021C26: je 0x27021c2b */
   3972 L_27021C28:
   3973     MEM32(edx + 0x4) = eax; /* 0x27021C28: mov dword ptr [edx + 4], eax */
   3974 L_27021C2B:
   3975     edx = MEM32(eax + 0x4); /* 0x27021C2B: mov edx, dword ptr [eax + 4] */
   3976     MEM32(ecx + 0x4) = edx; /* 0x27021C2E: mov dword ptr [ecx + 4], edx */
   3977     edx = MEM32(esi + 0x4); /* 0x27021C31: mov edx, dword ptr [esi + 4] */
   3978     /* cmp eax, MEM32(edx + 0x4) */ /* 0x27021C34: cmp eax, dword ptr [edx + 4] */
   3979     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4));
   3980     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3981     _flag_k = FK_CMP;
   3982     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C3E; /* 0x27021C37: jne 0x27021c3e */
   3983 L_27021C39:
   3984     MEM32(edx + 0x4) = ecx; /* 0x27021C39: mov dword ptr [edx + 4], ecx */
   3985     goto L_27021C4D; /* 0x27021C3C: jmp 0x27021c4d */
   3986 L_27021C3E:
   3987     edx = MEM32(eax + 0x4); /* 0x27021C3E: mov edx, dword ptr [eax + 4] */
   3988     /* cmp eax, MEM32(edx + 0x8) */ /* 0x27021C41: cmp eax, dword ptr [edx + 8] */
   3989     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8));
   3990     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3991     _flag_k = FK_CMP;
   3992     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C4B; /* 0x27021C44: jne 0x27021c4b */
   3993 L_27021C46:
   3994     MEM32(edx + 0x8) = ecx; /* 0x27021C46: mov dword ptr [edx + 8], ecx */
   3995     goto L_27021C4D; /* 0x27021C49: jmp 0x27021c4d */
   3996 L_27021C4B:
   3997     MEM32(edx) = ecx; /* 0x27021C4B: mov dword ptr [edx], ecx */
   3998 L_27021C4D:
   3999     MEM32(ecx + 0x8) = eax; /* 0x27021C4D: mov dword ptr [ecx + 8], eax */
   4000     MEM32(eax + 0x4) = ecx; /* 0x27021C50: mov dword ptr [eax + 4], ecx */
   4001 L_27021C53:
   4002     ecx = MEM32(eax + 0x4); /* 0x27021C53: mov ecx, dword ptr [eax + 4] */
   4003     MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021C56: mov byte ptr [ecx + 0x14], bl */
   4004     edx = MEM32(eax + 0x4); /* 0x27021C59: mov edx, dword ptr [eax + 4] */
   4005     ecx = MEM32(edx + 0x4); /* 0x27021C5C: mov ecx, dword ptr [edx + 4] */
   4006     MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x27021C5F: mov byte ptr [ecx + 0x14], 0 */
   4007     edx = MEM32(eax + 0x4); /* 0x27021C63: mov edx, dword ptr [eax + 4] */
   4008     ecx = MEM32(edx + 0x4); /* 0x27021C66: mov ecx, dword ptr [edx + 4] */
   4009     edx = MEM32(ecx + 0x8); /* 0x27021C69: mov edx, dword ptr [ecx + 8] */
   4010     edi = MEM32(edx); /* 0x27021C6C: mov edi, dword ptr [edx] */
   4011     MEM32(ecx + 0x8) = edi; /* 0x27021C6E: mov dword ptr [ecx + 8], edi */
   4012     edi = MEM32(edx); /* 0x27021C71: mov edi, dword ptr [edx] */
   4013     /* cmp edi, MEM32(esi + 0x8) */ /* 0x27021C73: cmp edi, dword ptr [esi + 8] */
   4014     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8));
   4015     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4016     _flag_k = FK_CMP;
   4017     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021C7B; /* 0x27021C76: je 0x27021c7b */
   4018 L_27021C78:
   4019     MEM32(edi + 0x4) = ecx; /* 0x27021C78: mov dword ptr [edi + 4], ecx */
   4020 L_27021C7B:
   4021     edi = MEM32(ecx + 0x4); /* 0x27021C7B: mov edi, dword ptr [ecx + 4] */
   4022     MEM32(edx + 0x4) = edi; /* 0x27021C7E: mov dword ptr [edx + 4], edi */
   4023     edi = MEM32(esi + 0x4); /* 0x27021C81: mov edi, dword ptr [esi + 4] */
   4024     /* cmp ecx, MEM32(edi + 0x4) */ /* 0x27021C84: cmp ecx, dword ptr [edi + 4] */
   4025     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4));
   4026     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4027     _flag_k = FK_CMP;
   4028     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C8E; /* 0x27021C87: jne 0x27021c8e */
   4029 L_27021C89:
   4030     MEM32(edi + 0x4) = edx; /* 0x27021C89: mov dword ptr [edi + 4], edx */
   4031     goto L_27021C9C; /* 0x27021C8C: jmp 0x27021c9c */
   4032 L_27021C8E:
   4033     edi = MEM32(ecx + 0x4); /* 0x27021C8E: mov edi, dword ptr [ecx + 4] */
   4034     /* cmp ecx, MEM32(edi) */ /* 0x27021C91: cmp ecx, dword ptr [edi] */
   4035     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi));
   4036     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4037     _flag_k = FK_CMP;
   4038     if (CMP_NE(_flag_a, _flag_b)) goto L_27021C99; /* 0x27021C93: jne 0x27021c99 */
   4039 L_27021C95:
   4040     MEM32(edi) = edx; /* 0x27021C95: mov dword ptr [edi], edx */
   4041     goto L_27021C9C; /* 0x27021C97: jmp 0x27021c9c */
   4042 L_27021C99:
   4043     MEM32(edi + 0x8) = edx; /* 0x27021C99: mov dword ptr [edi + 8], edx */
   4044 L_27021C9C:
   4045     MEM32(edx) = ecx; /* 0x27021C9C: mov dword ptr [edx], ecx */
   4046 L_27021C9E:
   4047     MEM32(ecx + 0x4) = edx; /* 0x27021C9E: mov dword ptr [ecx + 4], edx */
   4048 L_27021CA1:
   4049     ecx = MEM32(esi + 0x4); /* 0x27021CA1: mov ecx, dword ptr [esi + 4] */
   4050     /* cmp eax, MEM32(ecx + 0x4) */ /* 0x27021CA4: cmp eax, dword ptr [ecx + 4] */
   4051     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   4052     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4053     _flag_k = FK_CMP;
   4054     RECOMP_BACKEDGE();
   4055     if (CMP_NE(_flag_a, _flag_b)) goto L_27021B2D; /* 0x27021CA7: jne 0x27021b2d */
   4056 L_27021CAD:
   4057     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   4058     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   4059     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   4060     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   4061     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   4062     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   4063     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   4064     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   4065     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   4066     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   4067     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   4068     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   4069     RECOMP_REGS_OUT();
   4070 }
   4071 
   4072 void sub_27021CAD(void) {
   4073     int _fpu_cmp = 0;
   4074     uint32_t _cf = 0;
   4075     int _df = 1;
   4076     uint32_t _flag_k = FK_NONE;
   4077     uint32_t _flag_a = 0, _flag_b = 0;
   4078     uint32_t _itail_tgt = 0;
   4079     RECOMP_REGS_LOCALS
   4080     RECOMP_ENTER(0x27021CADu);
   4081 
   4082 L_27021CAD:
   4083     edx = MEM32(esi + 0x4); /* 0x27021CAD: mov edx, dword ptr [esi + 4] */
   4084     eax = MEM32(edx + 0x4); /* 0x27021CB0: mov eax, dword ptr [edx + 4] */
   4085     ecx = MEM32(ebp + (-0x4)); /* 0x27021CB3: mov ecx, dword ptr [ebp - 4] */
   4086     MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x27021CB6: mov byte ptr [eax + 0x14], bl */
   4087     eax = MEM32(ebp + 0x8); /* 0x27021CB9: mov eax, dword ptr [ebp + 8] */
   4088     edi = POP32_VAL(esp); /* 0x27021CBC: pop edi */
   4089     esi = POP32_VAL(esp); /* 0x27021CBD: pop esi */
   4090     MEM32(eax) = ecx; /* 0x27021CBE: mov dword ptr [eax], ecx */
   4091     ebx = POP32_VAL(esp); /* 0x27021CC0: pop ebx */
   4092     esp = ebp; /* 0x27021CC1: mov esp, ebp */
   4093     ebp = POP32_VAL(esp); /* 0x27021CC3: pop ebp */
   4094     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x27021CC4: ret 0x10 */
   4095     RECOMP_REGS_OUT();
   4096 }
   4097 
   4098 void sub_27021CD0(void) {
   4099     int _fpu_cmp = 0;
   4100     uint32_t _cf = 0;
   4101     int _df = 1;
   4102     uint32_t _flag_k = FK_NONE;
   4103     uint32_t _flag_a = 0, _flag_b = 0;
   4104     uint32_t _itail_tgt = 0;
   4105     RECOMP_REGS_LOCALS
   4106     RECOMP_ENTER(0x27021CD0u);
   4107 
   4108 L_27021CD0:
   4109     PUSH32(esp, ebp); /* 0x27021CD0: push ebp */
   4110     ebp = esp; /* 0x27021CD1: mov ebp, esp */
   4111     edx = MEM32(ebp + 0x8); /* 0x27021CD3: mov edx, dword ptr [ebp + 8] */
   4112     eax = MEM32(edx + 0x8); /* 0x27021CD6: mov eax, dword ptr [edx + 8] */
   4113     PUSH32(esp, esi); /* 0x27021CD9: push esi */
   4114     esi = MEM32(eax); /* 0x27021CDA: mov esi, dword ptr [eax] */
   4115     MEM32(edx + 0x8) = esi; /* 0x27021CDC: mov dword ptr [edx + 8], esi */
   4116     esi = MEM32(eax); /* 0x27021CDF: mov esi, dword ptr [eax] */
   4117     /* cmp esi, MEM32(ecx + 0x8) */ /* 0x27021CE1: cmp esi, dword ptr [ecx + 8] */
   4118     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x8));
   4119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4120     _flag_k = FK_CMP;
   4121     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021CE9; /* 0x27021CE4: je 0x27021ce9 */
   4122 L_27021CE6:
   4123     MEM32(esi + 0x4) = edx; /* 0x27021CE6: mov dword ptr [esi + 4], edx */
   4124 L_27021CE9:
   4125     esi = MEM32(edx + 0x4); /* 0x27021CE9: mov esi, dword ptr [edx + 4] */
   4126     MEM32(eax + 0x4) = esi; /* 0x27021CEC: mov dword ptr [eax + 4], esi */
   4127     ecx = MEM32(ecx + 0x4); /* 0x27021CEF: mov ecx, dword ptr [ecx + 4] */
   4128     /* cmp edx, MEM32(ecx + 0x4) */ /* 0x27021CF2: cmp edx, dword ptr [ecx + 4] */
   4129     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x4));
   4130     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4131     _flag_k = FK_CMP;
   4132     if (CMP_NE(_flag_a, _flag_b)) goto L_27021D04; /* 0x27021CF5: jne 0x27021d04 */
   4133 L_27021CF7:
   4134     MEM32(ecx + 0x4) = eax; /* 0x27021CF7: mov dword ptr [ecx + 4], eax */
   4135     MEM32(eax) = edx; /* 0x27021CFA: mov dword ptr [eax], edx */
   4136     MEM32(edx + 0x4) = eax; /* 0x27021CFC: mov dword ptr [edx + 4], eax */
   4137     esi = POP32_VAL(esp); /* 0x27021CFF: pop esi */
   4138     ebp = POP32_VAL(esp); /* 0x27021D00: pop ebp */
   4139     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021D01: ret 4 */
   4140 L_27021D04:
   4141     ecx = MEM32(edx + 0x4); /* 0x27021D04: mov ecx, dword ptr [edx + 4] */
   4142     /* cmp edx, MEM32(ecx) */ /* 0x27021D07: cmp edx, dword ptr [ecx] */
   4143     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx));
   4144     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4145     _flag_k = FK_CMP;
   4146     if (CMP_NE(_flag_a, _flag_b)) goto L_27021D17; /* 0x27021D09: jne 0x27021d17 */
   4147 L_27021D0B:
   4148     MEM32(ecx) = eax; /* 0x27021D0B: mov dword ptr [ecx], eax */
   4149     MEM32(eax) = edx; /* 0x27021D0D: mov dword ptr [eax], edx */
   4150     MEM32(edx + 0x4) = eax; /* 0x27021D0F: mov dword ptr [edx + 4], eax */
   4151     esi = POP32_VAL(esp); /* 0x27021D12: pop esi */
   4152     ebp = POP32_VAL(esp); /* 0x27021D13: pop ebp */
   4153     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021D14: ret 4 */
   4154 L_27021D17:
   4155     MEM32(ecx + 0x8) = eax; /* 0x27021D17: mov dword ptr [ecx + 8], eax */
   4156     MEM32(eax) = edx; /* 0x27021D1A: mov dword ptr [eax], edx */
   4157     MEM32(edx + 0x4) = eax; /* 0x27021D1C: mov dword ptr [edx + 4], eax */
   4158     esi = POP32_VAL(esp); /* 0x27021D1F: pop esi */
   4159     ebp = POP32_VAL(esp); /* 0x27021D20: pop ebp */
   4160     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021D21: ret 4 */
   4161     RECOMP_REGS_OUT();
   4162 }
   4163 
   4164 void sub_27021D30(void) {
   4165     int _fpu_cmp = 0;
   4166     uint32_t _cf = 0;
   4167     int _df = 1;
   4168     uint32_t _flag_k = FK_NONE;
   4169     uint32_t _flag_a = 0, _flag_b = 0;
   4170     uint32_t _itail_tgt = 0;
   4171     RECOMP_REGS_LOCALS
   4172     RECOMP_ENTER(0x27021D30u);
   4173 
   4174 L_27021D30:
   4175     eax = MEM32(ecx); /* 0x27021D30: mov eax, dword ptr [ecx] */
   4176     SET_LO8(edx, MEM8(eax + 0x14)); /* 0x27021D32: mov dl, byte ptr [eax + 0x14] */
   4177     /* test LO8(edx), LO8(edx) */ /* 0x27021D35: test dl, dl */
   4178     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   4179     _cf = 0;
   4180     _flag_k = FK_NARROW(FK_TEST, 24);
   4181     PUSH32(esp, ebx); /* 0x27021D37: push ebx */
   4182     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021D49; /* 0x27021D38: jne 0x27021d49 */
   4183 L_27021D3A:
   4184     edx = MEM32(eax + 0x4); /* 0x27021D3A: mov edx, dword ptr [eax + 4] */
   4185     /* cmp MEM32(edx + 0x4), eax */ /* 0x27021D3D: cmp dword ptr [edx + 4], eax */
   4186     _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax);
   4187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4188     _flag_k = FK_CMP;
   4189     if (CMP_NE(_flag_a, _flag_b)) goto L_27021D49; /* 0x27021D40: jne 0x27021d49 */
   4190 L_27021D42:
   4191     eax = MEM32(eax + 0x8); /* 0x27021D42: mov eax, dword ptr [eax + 8] */
   4192     MEM32(ecx) = eax; /* 0x27021D45: mov dword ptr [ecx], eax */
   4193     ebx = POP32_VAL(esp); /* 0x27021D47: pop ebx */
   4194     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021D48: ret  */
   4195 L_27021D49:
   4196     edx = MEM32(eax); /* 0x27021D49: mov edx, dword ptr [eax] */
   4197     SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x27021D4B: mov bl, byte ptr [edx + 0x15] */
   4198     /* test LO8(ebx), LO8(ebx) */ /* 0x27021D4E: test bl, bl */
   4199     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4200     _cf = 0;
   4201     _flag_k = FK_NARROW(FK_TEST, 24);
   4202     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021D6C; /* 0x27021D50: jne 0x27021d6c */
   4203 L_27021D52:
   4204     eax = MEM32(edx + 0x8); /* 0x27021D52: mov eax, dword ptr [edx + 8] */
   4205     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x27021D55: mov bl, byte ptr [eax + 0x15] */
   4206     /* test LO8(ebx), LO8(ebx) */ /* 0x27021D58: test bl, bl */
   4207     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4208     _cf = 0;
   4209     _flag_k = FK_NARROW(FK_TEST, 24);
   4210     if (TEST_NZ(_flag_a, _flag_b)) goto L_27021D68; /* 0x27021D5A: jne 0x27021d68 */
   4211 L_27021D5C:
   4212     edx = eax; /* 0x27021D5C: mov edx, eax */
   4213     eax = MEM32(edx + 0x8); /* 0x27021D5E: mov eax, dword ptr [edx + 8] */
   4214     SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x27021D61: mov bl, byte ptr [eax + 0x15] */
   4215     /* test LO8(ebx), LO8(ebx) */ /* 0x27021D64: test bl, bl */
   4216     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   4217     _cf = 0;
   4218     _flag_k = FK_NARROW(FK_TEST, 24);
   4219     RECOMP_BACKEDGE();
   4220     if (TEST_Z(_flag_a, _flag_b)) goto L_27021D5C; /* 0x27021D66: je 0x27021d5c */
   4221 L_27021D68:
   4222     MEM32(ecx) = edx; /* 0x27021D68: mov dword ptr [ecx], edx */
   4223     ebx = POP32_VAL(esp); /* 0x27021D6A: pop ebx */
   4224     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021D6B: ret  */
   4225 L_27021D6C:
   4226     eax = MEM32(eax + 0x4); /* 0x27021D6C: mov eax, dword ptr [eax + 4] */
   4227     edx = MEM32(ecx); /* 0x27021D6F: mov edx, dword ptr [ecx] */
   4228     /* cmp edx, MEM32(eax) */ /* 0x27021D71: cmp edx, dword ptr [eax] */
   4229     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   4230     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4231     _flag_k = FK_CMP;
   4232     if (CMP_NE(_flag_a, _flag_b)) goto L_27021D80; /* 0x27021D73: jne 0x27021d80 */
   4233 L_27021D75:
   4234     MEM32(ecx) = eax; /* 0x27021D75: mov dword ptr [ecx], eax */
   4235     eax = MEM32(eax + 0x4); /* 0x27021D77: mov eax, dword ptr [eax + 4] */
   4236     edx = MEM32(ecx); /* 0x27021D7A: mov edx, dword ptr [ecx] */
   4237     /* cmp edx, MEM32(eax) */ /* 0x27021D7C: cmp edx, dword ptr [eax] */
   4238     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax));
   4239     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4240     _flag_k = FK_CMP;
   4241     RECOMP_BACKEDGE();
   4242     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021D75; /* 0x27021D7E: je 0x27021d75 */
   4243 L_27021D80:
   4244     MEM32(ecx) = eax; /* 0x27021D80: mov dword ptr [ecx], eax */
   4245     ebx = POP32_VAL(esp); /* 0x27021D82: pop ebx */
   4246     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021D83: ret  */
   4247     RECOMP_REGS_OUT();
   4248 }
   4249 
   4250 void sub_27021D90(void) {
   4251     int _fpu_cmp = 0;
   4252     uint32_t _cf = 0;
   4253     int _df = 1;
   4254     uint32_t _flag_k = FK_NONE;
   4255     uint32_t _flag_a = 0, _flag_b = 0;
   4256     uint32_t _itail_tgt = 0;
   4257     RECOMP_REGS_LOCALS
   4258     RECOMP_ENTER(0x27021D90u);
   4259 
   4260 L_27021D90:
   4261     PUSH32(esp, ebp); /* 0x27021D90: push ebp */
   4262     ebp = esp; /* 0x27021D91: mov ebp, esp */
   4263     eax = MEM32(ebp + 0x8); /* 0x27021D93: mov eax, dword ptr [ebp + 8] */
   4264     /* test eax, eax */ /* 0x27021D96: test eax, eax */
   4265     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4266     _cf = 0;
   4267     _flag_k = FK_TEST;
   4268     if (TEST_Z(_flag_a, _flag_b)) goto L_27021DA7; /* 0x27021D98: je 0x27021da7 */
   4269 L_27021D9A:
   4270     ecx = MEM32(ebp + 0xC); /* 0x27021D9A: mov ecx, dword ptr [ebp + 0xc] */
   4271     edx = MEM32(ecx); /* 0x27021D9D: mov edx, dword ptr [ecx] */
   4272     MEM32(eax) = edx; /* 0x27021D9F: mov dword ptr [eax], edx */
   4273     ecx = MEM32(ecx + 0x4); /* 0x27021DA1: mov ecx, dword ptr [ecx + 4] */
   4274     MEM32(eax + 0x4) = ecx; /* 0x27021DA4: mov dword ptr [eax + 4], ecx */
   4275 L_27021DA7:
   4276     ebp = POP32_VAL(esp); /* 0x27021DA7: pop ebp */
   4277     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021DA8: ret  */
   4278     RECOMP_REGS_OUT();
   4279 }
   4280 
   4281 void sub_27021DB0(void) {
   4282     int _fpu_cmp = 0;
   4283     uint32_t _cf = 0;
   4284     int _df = 1;
   4285     uint32_t _flag_k = FK_NONE;
   4286     uint32_t _flag_a = 0, _flag_b = 0;
   4287     uint32_t _itail_tgt = 0;
   4288     RECOMP_REGS_LOCALS
   4289     RECOMP_ENTER(0x27021DB0u);
   4290 
   4291 L_27021DB0:
   4292     RECOMP_ICALL(0x27021DC0u); /* 0x27021DB0: call 0x27021dc0 */ /* not lifted */
   4293     RECOMP_FLAGS_IN();
   4294     goto L_27021DD0; /* 0x27021DB5: jmp 0x27021dd0 */
   4295 L_27021DD0:
   4296     PUSH32(esp, 0x27021DE0u); /* 0x27021DD0: push 0x27021de0 */
   4297     RECOMP_ICALL(0x27026F86u); /* 0x27021DD5: call 0x27026f86 */ /* not lifted */
   4298     RECOMP_FLAGS_IN();
   4299     ecx = POP32_VAL(esp); /* 0x27021DDA: pop ecx */
   4300     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021DDB: ret  */
   4301     RECOMP_REGS_OUT();
   4302 }
   4303 
   4304 void sub_27021DC0(void) {
   4305     int _fpu_cmp = 0;
   4306     uint32_t _cf = 0;
   4307     int _df = 1;
   4308     uint32_t _flag_k = FK_NONE;
   4309     uint32_t _flag_a = 0, _flag_b = 0;
   4310     uint32_t _itail_tgt = 0;
   4311     RECOMP_REGS_LOCALS
   4312     RECOMP_ENTER(0x27021DC0u);
   4313 
   4314 L_27021DC0:
   4315     ecx = 0x27048C2Du; /* 0x27021DC0: mov ecx, 0x27048c2d */
   4316 L_27021DC5:
   4317     { _itail_tgt = (uint32_t)(MEM32(0x27029084)); goto _ljump; }
   4318     { RECOMP_REGS_OUT(); return; } /* end of function */
   4319   _ljump:
   4320     switch (_itail_tgt) {
   4321       case 0x27021DC0u: goto L_27021DC0;
   4322       case 0x27021DC5u: goto L_27021DC5;
   4323       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4324     }
   4325     RECOMP_REGS_OUT();
   4326 }
   4327 
   4328 void sub_27021DD0(void) {
   4329     int _fpu_cmp = 0;
   4330     uint32_t _cf = 0;
   4331     int _df = 1;
   4332     uint32_t _flag_k = FK_NONE;
   4333     uint32_t _flag_a = 0, _flag_b = 0;
   4334     uint32_t _itail_tgt = 0;
   4335     RECOMP_REGS_LOCALS
   4336     RECOMP_ENTER(0x27021DD0u);
   4337 
   4338 L_27021DD0:
   4339     PUSH32(esp, 0x27021DE0u); /* 0x27021DD0: push 0x27021de0 */
   4340     RECOMP_ICALL(0x27026F86u); /* 0x27021DD5: call 0x27026f86 */ /* not lifted */
   4341     RECOMP_FLAGS_IN();
   4342     ecx = POP32_VAL(esp); /* 0x27021DDA: pop ecx */
   4343     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021DDB: ret  */
   4344     RECOMP_REGS_OUT();
   4345 }
   4346 
   4347 void sub_27021DE0(void) {
   4348     int _fpu_cmp = 0;
   4349     uint32_t _cf = 0;
   4350     int _df = 1;
   4351     uint32_t _flag_k = FK_NONE;
   4352     uint32_t _flag_a = 0, _flag_b = 0;
   4353     uint32_t _itail_tgt = 0;
   4354     RECOMP_REGS_LOCALS
   4355     RECOMP_ENTER(0x27021DE0u);
   4356 
   4357 L_27021DE0:
   4358     ecx = 0x27048C2Du; /* 0x27021DE0: mov ecx, 0x27048c2d */
   4359 L_27021DE5:
   4360     { _itail_tgt = (uint32_t)(MEM32(0x27029080)); goto _ljump; }
   4361     { RECOMP_REGS_OUT(); return; } /* end of function */
   4362   _ljump:
   4363     switch (_itail_tgt) {
   4364       case 0x27021DE0u: goto L_27021DE0;
   4365       case 0x27021DE5u: goto L_27021DE5;
   4366       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4367     }
   4368     RECOMP_REGS_OUT();
   4369 }
   4370 
   4371 void sub_27021DF0(void) {
   4372     int _fpu_cmp = 0;
   4373     uint32_t _cf = 0;
   4374     int _df = 1;
   4375     uint32_t _flag_k = FK_NONE;
   4376     uint32_t _flag_a = 0, _flag_b = 0;
   4377     uint32_t _itail_tgt = 0;
   4378     RECOMP_REGS_LOCALS
   4379     RECOMP_ENTER(0x27021DF0u);
   4380 
   4381 L_27021DF0:
   4382     RECOMP_ICALL(0x27021E00u); /* 0x27021DF0: call 0x27021e00 */ /* not lifted */
   4383     RECOMP_FLAGS_IN();
   4384     goto L_27021E10; /* 0x27021DF5: jmp 0x27021e10 */
   4385 L_27021E10:
   4386     PUSH32(esp, 0x27021E20u); /* 0x27021E10: push 0x27021e20 */
   4387     RECOMP_ICALL(0x27026F86u); /* 0x27021E15: call 0x27026f86 */ /* not lifted */
   4388     RECOMP_FLAGS_IN();
   4389     ecx = POP32_VAL(esp); /* 0x27021E1A: pop ecx */
   4390     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021E1B: ret  */
   4391     RECOMP_REGS_OUT();
   4392 }
   4393 
   4394 void sub_27021E00(void) {
   4395     int _fpu_cmp = 0;
   4396     uint32_t _cf = 0;
   4397     int _df = 1;
   4398     uint32_t _flag_k = FK_NONE;
   4399     uint32_t _flag_a = 0, _flag_b = 0;
   4400     uint32_t _itail_tgt = 0;
   4401     RECOMP_REGS_LOCALS
   4402     RECOMP_ENTER(0x27021E00u);
   4403 
   4404 L_27021E00:
   4405     ecx = 0x27048C2Cu; /* 0x27021E00: mov ecx, 0x27048c2c */
   4406 L_27021E05:
   4407     { _itail_tgt = (uint32_t)(MEM32(0x2702907C)); goto _ljump; }
   4408     { RECOMP_REGS_OUT(); return; } /* end of function */
   4409   _ljump:
   4410     switch (_itail_tgt) {
   4411       case 0x27021E00u: goto L_27021E00;
   4412       case 0x27021E05u: goto L_27021E05;
   4413       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4414     }
   4415     RECOMP_REGS_OUT();
   4416 }
   4417 
   4418 void sub_27021E10(void) {
   4419     int _fpu_cmp = 0;
   4420     uint32_t _cf = 0;
   4421     int _df = 1;
   4422     uint32_t _flag_k = FK_NONE;
   4423     uint32_t _flag_a = 0, _flag_b = 0;
   4424     uint32_t _itail_tgt = 0;
   4425     RECOMP_REGS_LOCALS
   4426     RECOMP_ENTER(0x27021E10u);
   4427 
   4428 L_27021E10:
   4429     PUSH32(esp, 0x27021E20u); /* 0x27021E10: push 0x27021e20 */
   4430     RECOMP_ICALL(0x27026F86u); /* 0x27021E15: call 0x27026f86 */ /* not lifted */
   4431     RECOMP_FLAGS_IN();
   4432     ecx = POP32_VAL(esp); /* 0x27021E1A: pop ecx */
   4433     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021E1B: ret  */
   4434     RECOMP_REGS_OUT();
   4435 }
   4436 
   4437 void sub_27021E20(void) {
   4438     int _fpu_cmp = 0;
   4439     uint32_t _cf = 0;
   4440     int _df = 1;
   4441     uint32_t _flag_k = FK_NONE;
   4442     uint32_t _flag_a = 0, _flag_b = 0;
   4443     uint32_t _itail_tgt = 0;
   4444     RECOMP_REGS_LOCALS
   4445     RECOMP_ENTER(0x27021E20u);
   4446 
   4447 L_27021E20:
   4448     ecx = 0x27048C2Cu; /* 0x27021E20: mov ecx, 0x27048c2c */
   4449 L_27021E25:
   4450     { _itail_tgt = (uint32_t)(MEM32(0x27029078)); goto _ljump; }
   4451     { RECOMP_REGS_OUT(); return; } /* end of function */
   4452   _ljump:
   4453     switch (_itail_tgt) {
   4454       case 0x27021E20u: goto L_27021E20;
   4455       case 0x27021E25u: goto L_27021E25;
   4456       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   4457     }
   4458     RECOMP_REGS_OUT();
   4459 }
   4460 
   4461 void sub_27021E30(void) {
   4462     int _fpu_cmp = 0;
   4463     uint32_t _cf = 0;
   4464     int _df = 1;
   4465     uint32_t _flag_k = FK_NONE;
   4466     uint32_t _flag_a = 0, _flag_b = 0;
   4467     uint32_t _itail_tgt = 0;
   4468     RECOMP_REGS_LOCALS
   4469     RECOMP_ENTER(0x27021E30u);
   4470 
   4471 L_27021E30:
   4472     eax = ecx; /* 0x27021E30: mov eax, ecx */
   4473     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021E32: ret  */
   4474     RECOMP_REGS_OUT();
   4475 }
   4476 
   4477 void sub_27021E40(void) {
   4478     int _fpu_cmp = 0;
   4479     uint32_t _cf = 0;
   4480     int _df = 1;
   4481     uint32_t _flag_k = FK_NONE;
   4482     uint32_t _flag_a = 0, _flag_b = 0;
   4483     uint32_t _itail_tgt = 0;
   4484     RECOMP_REGS_LOCALS
   4485     RECOMP_ENTER(0x27021E40u);
   4486 
   4487 L_27021E40:
   4488     PUSH32(esp, ebp); /* 0x27021E40: push ebp */
   4489     ebp = esp; /* 0x27021E41: mov ebp, esp */
   4490     PUSH32(esp, esi); /* 0x27021E43: push esi */
   4491     esi = MEM32(ebp + 0x8); /* 0x27021E44: mov esi, dword ptr [ebp + 8] */
   4492     PUSH32(esp, edi); /* 0x27021E47: push edi */
   4493     eax = ecx; /* 0x27021E48: mov eax, ecx */
   4494     ecx = 0xEu; /* 0x27021E4A: mov ecx, 0xe */
   4495     edi = eax; /* 0x27021E4F: mov edi, eax */
   4496     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27021E51: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4497     edi = POP32_VAL(esp); /* 0x27021E53: pop edi */
   4498     esi = POP32_VAL(esp); /* 0x27021E54: pop esi */
   4499     ebp = POP32_VAL(esp); /* 0x27021E55: pop ebp */
   4500     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021E56: ret 4 */
   4501     RECOMP_REGS_OUT();
   4502 }
   4503 
   4504 void sub_27021E60(void) {
   4505     int _fpu_cmp = 0;
   4506     uint32_t _cf = 0;
   4507     int _df = 1;
   4508     uint32_t _flag_k = FK_NONE;
   4509     uint32_t _flag_a = 0, _flag_b = 0;
   4510     uint32_t _itail_tgt = 0;
   4511     RECOMP_REGS_LOCALS
   4512     RECOMP_ENTER(0x27021E60u);
   4513 
   4514 L_27021E60:
   4515     eax = MEM32(0x2704893C); /* 0x27021E60: mov eax, dword ptr [0x2704893c] */
   4516     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021E65: ret  */
   4517     RECOMP_REGS_OUT();
   4518 }
   4519 
   4520 void sub_27021E70(void) {
   4521     int _fpu_cmp = 0;
   4522     uint32_t _cf = 0;
   4523     int _df = 1;
   4524     uint32_t _flag_k = FK_NONE;
   4525     uint32_t _flag_a = 0, _flag_b = 0;
   4526     uint32_t _itail_tgt = 0;
   4527     RECOMP_REGS_LOCALS
   4528     RECOMP_ENTER(0x27021E70u);
   4529 
   4530 L_27021E70:
   4531     PUSH32(esp, ebp); /* 0x27021E70: push ebp */
   4532     ebp = esp; /* 0x27021E71: mov ebp, esp */
   4533     eax = ecx; /* 0x27021E73: mov eax, ecx */
   4534     ecx = MEM32(ebp + 0x8); /* 0x27021E75: mov ecx, dword ptr [ebp + 8] */
   4535     SET_LO8(edx, MEM8(ecx)); /* 0x27021E78: mov dl, byte ptr [ecx] */
   4536     MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x27021E7A: mov byte ptr [eax], dl */
   4537     ebp = POP32_VAL(esp); /* 0x27021E7C: pop ebp */
   4538     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021E7D: ret 4 */
   4539     RECOMP_REGS_OUT();
   4540 }
   4541 
   4542 void sub_27021E80(void) {
   4543     int _fpu_cmp = 0;
   4544     uint32_t _cf = 0;
   4545     int _df = 1;
   4546     uint32_t _flag_k = FK_NONE;
   4547     uint32_t _flag_a = 0, _flag_b = 0;
   4548     uint32_t _itail_tgt = 0;
   4549     RECOMP_REGS_LOCALS
   4550     RECOMP_ENTER(0x27021E80u);
   4551 
   4552 L_27021E80:
   4553     eax = ecx; /* 0x27021E80: mov eax, ecx */
   4554     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4555     ecx = 0; /* 0x27021E82: xor ecx, ecx */
   4556     _cf = 0;
   4557     _flag_k = FK_TEST;
   4558     MEM32(eax) = ecx; /* 0x27021E84: mov dword ptr [eax], ecx */
   4559     MEM32(eax + 0x4) = ecx; /* 0x27021E86: mov dword ptr [eax + 4], ecx */
   4560     MEM32(eax + 0x14) = ecx; /* 0x27021E89: mov dword ptr [eax + 0x14], ecx */
   4561     MEM32(eax + 0x18) = ecx; /* 0x27021E8C: mov dword ptr [eax + 0x18], ecx */
   4562     MEM32(eax + 0x1C) = ecx; /* 0x27021E8F: mov dword ptr [eax + 0x1c], ecx */
   4563     MEM32(eax + 0x20) = ecx; /* 0x27021E92: mov dword ptr [eax + 0x20], ecx */
   4564     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021E95: ret  */
   4565     RECOMP_REGS_OUT();
   4566 }
   4567 
   4568 void sub_27021EA0(void) {
   4569     int _fpu_cmp = 0;
   4570     uint32_t _cf = 0;
   4571     int _df = 1;
   4572     uint32_t _flag_k = FK_NONE;
   4573     uint32_t _flag_a = 0, _flag_b = 0;
   4574     uint32_t _itail_tgt = 0;
   4575     RECOMP_REGS_LOCALS
   4576     RECOMP_ENTER(0x27021EA0u);
   4577 
   4578 L_27021EA0:
   4579     PUSH32(esp, ebp); /* 0x27021EA0: push ebp */
   4580     ebp = esp; /* 0x27021EA1: mov ebp, esp */
   4581     PUSH32(esp, esi); /* 0x27021EA3: push esi */
   4582     esi = MEM32(ebp + 0x8); /* 0x27021EA4: mov esi, dword ptr [ebp + 8] */
   4583     PUSH32(esp, edi); /* 0x27021EA7: push edi */
   4584     eax = ecx; /* 0x27021EA8: mov eax, ecx */
   4585     ecx = 0xAu; /* 0x27021EAA: mov ecx, 0xa */
   4586     edi = eax; /* 0x27021EAF: mov edi, eax */
   4587     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27021EB1: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   4588     edi = POP32_VAL(esp); /* 0x27021EB3: pop edi */
   4589     esi = POP32_VAL(esp); /* 0x27021EB4: pop esi */
   4590     ebp = POP32_VAL(esp); /* 0x27021EB5: pop ebp */
   4591     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021EB6: ret 4 */
   4592     RECOMP_REGS_OUT();
   4593 }
   4594 
   4595 void sub_27021EC0(void) {
   4596     int _fpu_cmp = 0;
   4597     uint32_t _cf = 0;
   4598     int _df = 1;
   4599     uint32_t _flag_k = FK_NONE;
   4600     uint32_t _flag_a = 0, _flag_b = 0;
   4601     uint32_t _itail_tgt = 0;
   4602     RECOMP_REGS_LOCALS
   4603     RECOMP_ENTER(0x27021EC0u);
   4604 
   4605 L_27021EC0:
   4606     eax = MEM32(0x27048B44); /* 0x27021EC0: mov eax, dword ptr [0x27048b44] */
   4607     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021EC5: ret  */
   4608     RECOMP_REGS_OUT();
   4609 }
   4610 
   4611 void sub_27021ED0(void) {
   4612     int _fpu_cmp = 0;
   4613     uint32_t _cf = 0;
   4614     int _df = 1;
   4615     uint32_t _flag_k = FK_NONE;
   4616     uint32_t _flag_a = 0, _flag_b = 0;
   4617     uint32_t _itail_tgt = 0;
   4618     RECOMP_REGS_LOCALS
   4619     RECOMP_ENTER(0x27021ED0u);
   4620 
   4621 L_27021ED0:
   4622     MEM8(ecx + 0xC) = (uint8_t)(1); /* 0x27021ED0: mov byte ptr [ecx + 0xc], 1 */
   4623     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021ED4: ret  */
   4624     RECOMP_REGS_OUT();
   4625 }
   4626 
   4627 void sub_27021EE0(void) {
   4628     int _fpu_cmp = 0;
   4629     uint32_t _cf = 0;
   4630     int _df = 1;
   4631     uint32_t _flag_k = FK_NONE;
   4632     uint32_t _flag_a = 0, _flag_b = 0;
   4633     uint32_t _itail_tgt = 0;
   4634     RECOMP_REGS_LOCALS
   4635     RECOMP_ENTER(0x27021EE0u);
   4636 
   4637     goto L_27021EE0;
   4638 L_27004ED0:
   4639     PUSH32(esp, edi); /* 0x27004ED0: push edi */
   4640     edi = ecx + 0x17C; /* 0x27004ED1: lea edi, [ecx + 0x17c] */
   4641     ecx = 0x1Du; /* 0x27004ED7: mov ecx, 0x1d */
   4642     eax = 0x01010101u; /* 0x27004EDC: mov eax, 0x1010101 */
   4643     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27004EE1: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; }
   4644     MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x27004EE3: stosw word ptr es:[edi], ax */
   4645     MEM8(edi) = LO8(eax); edi += _df; /* 0x27004EE5: stosb byte ptr es:[edi], al */
   4646     edi = POP32_VAL(esp); /* 0x27004EE6: pop edi */
   4647     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27004EE7: ret  */
   4648 L_27021EE0:
   4649     MEM8(ecx + 0xC) = (uint8_t)(0); /* 0x27021EE0: mov byte ptr [ecx + 0xc], 0 */
   4650     RECOMP_BACKEDGE();
   4651     goto L_27004ED0; /* 0x27021EE4: jmp 0x27004ed0 */
   4652     { RECOMP_REGS_OUT(); return; } /* end of function */
   4653     RECOMP_REGS_OUT();
   4654 }
   4655 
   4656 void sub_27021EF0(void) {
   4657     int _fpu_cmp = 0;
   4658     uint32_t _cf = 0;
   4659     int _df = 1;
   4660     uint32_t _flag_k = FK_NONE;
   4661     uint32_t _flag_a = 0, _flag_b = 0;
   4662     uint32_t _itail_tgt = 0;
   4663     RECOMP_REGS_LOCALS
   4664     RECOMP_ENTER(0x27021EF0u);
   4665 
   4666 L_27021EF0:
   4667     SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x27021EF0: mov al, byte ptr [ecx + 0xc] */
   4668     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021EF3: ret  */
   4669     RECOMP_REGS_OUT();
   4670 }
   4671 
   4672 void sub_27021F00(void) {
   4673     int _fpu_cmp = 0;
   4674     uint32_t _cf = 0;
   4675     int _df = 1;
   4676     uint32_t _flag_k = FK_NONE;
   4677     uint32_t _flag_a = 0, _flag_b = 0;
   4678     uint32_t _itail_tgt = 0;
   4679     RECOMP_REGS_LOCALS
   4680     RECOMP_ENTER(0x27021F00u);
   4681 
   4682 L_27021F00:
   4683     PUSH32(esp, ebp); /* 0x27021F00: push ebp */
   4684     ebp = esp; /* 0x27021F01: mov ebp, esp */
   4685     eax = MEM32(ebp + 0x8); /* 0x27021F03: mov eax, dword ptr [ebp + 8] */
   4686     edx = MEM32(eax); /* 0x27021F06: mov edx, dword ptr [eax] */
   4687     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x9Cu);
   4688     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4689     ecx = ecx + 0x9Cu; /* 0x27021F08: add ecx, 0x9c */
   4690     _flag_k = FK_ADD;
   4691     MEM32(ecx) = edx; /* 0x27021F0E: mov dword ptr [ecx], edx */
   4692     edx = MEM32(eax + 0x4); /* 0x27021F10: mov edx, dword ptr [eax + 4] */
   4693     MEM32(ecx + 0x4) = edx; /* 0x27021F13: mov dword ptr [ecx + 4], edx */
   4694     eax = MEM32(eax + 0x8); /* 0x27021F16: mov eax, dword ptr [eax + 8] */
   4695     MEM32(ecx + 0x8) = eax; /* 0x27021F19: mov dword ptr [ecx + 8], eax */
   4696     ebp = POP32_VAL(esp); /* 0x27021F1C: pop ebp */
   4697     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021F1D: ret 4 */
   4698     RECOMP_REGS_OUT();
   4699 }
   4700 
   4701 void sub_27021F20(void) {
   4702     int _fpu_cmp = 0;
   4703     uint32_t _cf = 0;
   4704     int _df = 1;
   4705     uint32_t _flag_k = FK_NONE;
   4706     uint32_t _flag_a = 0, _flag_b = 0;
   4707     uint32_t _itail_tgt = 0;
   4708     RECOMP_REGS_LOCALS
   4709     RECOMP_ENTER(0x27021F20u);
   4710 
   4711 L_27021F20:
   4712     PUSH32(esp, ebp); /* 0x27021F20: push ebp */
   4713     ebp = esp; /* 0x27021F21: mov ebp, esp */
   4714     eax = MEM32(ebp + 0x8); /* 0x27021F23: mov eax, dword ptr [ebp + 8] */
   4715     MEM32(ecx + 0xC4) = eax; /* 0x27021F26: mov dword ptr [ecx + 0xc4], eax */
   4716     ebp = POP32_VAL(esp); /* 0x27021F2C: pop ebp */
   4717     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021F2D: ret 4 */
   4718     RECOMP_REGS_OUT();
   4719 }
   4720 
   4721 void sub_27021F30(void) {
   4722     int _fpu_cmp = 0;
   4723     uint32_t _cf = 0;
   4724     int _df = 1;
   4725     uint32_t _flag_k = FK_NONE;
   4726     uint32_t _flag_a = 0, _flag_b = 0;
   4727     uint32_t _itail_tgt = 0;
   4728     RECOMP_REGS_LOCALS
   4729     RECOMP_ENTER(0x27021F30u);
   4730 
   4731 L_27021F30:
   4732     PUSH32(esp, ebp); /* 0x27021F30: push ebp */
   4733     ebp = esp; /* 0x27021F31: mov ebp, esp */
   4734     eax = MEM32(ebp + 0x8); /* 0x27021F33: mov eax, dword ptr [ebp + 8] */
   4735     edx = MEM32(eax); /* 0x27021F36: mov edx, dword ptr [eax] */
   4736     MEM32(ecx + 0xBC) = edx; /* 0x27021F38: mov dword ptr [ecx + 0xbc], edx */
   4737     eax = MEM32(eax + 0x4); /* 0x27021F3E: mov eax, dword ptr [eax + 4] */
   4738     MEM32(ecx + 0xC0) = eax; /* 0x27021F41: mov dword ptr [ecx + 0xc0], eax */
   4739     ebp = POP32_VAL(esp); /* 0x27021F47: pop ebp */
   4740     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021F48: ret 4 */
   4741     RECOMP_REGS_OUT();
   4742 }
   4743 
   4744 void sub_27021F50(void) {
   4745     int _fpu_cmp = 0;
   4746     uint32_t _cf = 0;
   4747     int _df = 1;
   4748     uint32_t _flag_k = FK_NONE;
   4749     uint32_t _flag_a = 0, _flag_b = 0;
   4750     uint32_t _itail_tgt = 0;
   4751     RECOMP_REGS_LOCALS
   4752     RECOMP_ENTER(0x27021F50u);
   4753 
   4754 L_27021F50:
   4755     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4756     eax = 0; /* 0x27021F50: xor eax, eax */
   4757     _cf = 0;
   4758     _flag_k = FK_TEST;
   4759     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4760     edx = 0; /* 0x27021F52: xor edx, edx */
   4761     _cf = 0;
   4762     _flag_k = FK_TEST;
   4763     MEM32(ecx + 0xBC) = eax; /* 0x27021F54: mov dword ptr [ecx + 0xbc], eax */
   4764     MEM32(ecx + 0xC0) = edx; /* 0x27021F5A: mov dword ptr [ecx + 0xc0], edx */
   4765     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021F60: ret  */
   4766     RECOMP_REGS_OUT();
   4767 }
   4768 
   4769 void sub_27021F70(void) {
   4770     int _fpu_cmp = 0;
   4771     uint32_t _cf = 0;
   4772     int _df = 1;
   4773     uint32_t _flag_k = FK_NONE;
   4774     uint32_t _flag_a = 0, _flag_b = 0;
   4775     uint32_t _itail_tgt = 0;
   4776     RECOMP_REGS_LOCALS
   4777     RECOMP_ENTER(0x27021F70u);
   4778 
   4779 L_27021F70:
   4780     PUSH32(esp, ebp); /* 0x27021F70: push ebp */
   4781     ebp = esp; /* 0x27021F71: mov ebp, esp */
   4782     eax = MEM32(ebp + 0x8); /* 0x27021F73: mov eax, dword ptr [ebp + 8] */
   4783     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x9Cu);
   4784     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4785     ecx = ecx + 0x9Cu; /* 0x27021F76: add ecx, 0x9c */
   4786     _flag_k = FK_ADD;
   4787     PUSH32(esp, esi); /* 0x27021F7C: push esi */
   4788     esi = MEM32(ecx); /* 0x27021F7D: mov esi, dword ptr [ecx] */
   4789     edx = eax; /* 0x27021F7F: mov edx, eax */
   4790     MEM32(edx) = esi; /* 0x27021F81: mov dword ptr [edx], esi */
   4791     esi = MEM32(ecx + 0x4); /* 0x27021F83: mov esi, dword ptr [ecx + 4] */
   4792     MEM32(edx + 0x4) = esi; /* 0x27021F86: mov dword ptr [edx + 4], esi */
   4793     ecx = MEM32(ecx + 0x8); /* 0x27021F89: mov ecx, dword ptr [ecx + 8] */
   4794     MEM32(edx + 0x8) = ecx; /* 0x27021F8C: mov dword ptr [edx + 8], ecx */
   4795     esi = POP32_VAL(esp); /* 0x27021F8F: pop esi */
   4796     ebp = POP32_VAL(esp); /* 0x27021F90: pop ebp */
   4797     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021F91: ret 4 */
   4798     RECOMP_REGS_OUT();
   4799 }
   4800 
   4801 void sub_27021FA0(void) {
   4802     int _fpu_cmp = 0;
   4803     uint32_t _cf = 0;
   4804     int _df = 1;
   4805     uint32_t _flag_k = FK_NONE;
   4806     uint32_t _flag_a = 0, _flag_b = 0;
   4807     uint32_t _itail_tgt = 0;
   4808     RECOMP_REGS_LOCALS
   4809     RECOMP_ENTER(0x27021FA0u);
   4810 
   4811 L_27021FA0:
   4812     fp_push(*(float*)&MEM32(ecx + 0x14)); /* 0x27021FA0: fld dword ptr [ecx + 0x14] */
   4813     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021FA3: ret  */
   4814     RECOMP_REGS_OUT();
   4815 }
   4816 
   4817 void sub_27021FB0(void) {
   4818     int _fpu_cmp = 0;
   4819     uint32_t _cf = 0;
   4820     int _df = 1;
   4821     uint32_t _flag_k = FK_NONE;
   4822     uint32_t _flag_a = 0, _flag_b = 0;
   4823     uint32_t _itail_tgt = 0;
   4824     RECOMP_REGS_LOCALS
   4825     RECOMP_ENTER(0x27021FB0u);
   4826 
   4827 L_27021FB0:
   4828     fp_push(*(float*)&MEM32(ecx + 0x18)); /* 0x27021FB0: fld dword ptr [ecx + 0x18] */
   4829     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27021FB3: ret  */
   4830     RECOMP_REGS_OUT();
   4831 }
   4832 
   4833 void sub_27021FC0(void) {
   4834     int _fpu_cmp = 0;
   4835     uint32_t _cf = 0;
   4836     int _df = 1;
   4837     uint32_t _flag_k = FK_NONE;
   4838     uint32_t _flag_a = 0, _flag_b = 0;
   4839     uint32_t _itail_tgt = 0;
   4840     RECOMP_REGS_LOCALS
   4841     RECOMP_ENTER(0x27021FC0u);
   4842 
   4843 L_27021FC0:
   4844     PUSH32(esp, ebp); /* 0x27021FC0: push ebp */
   4845     ebp = esp; /* 0x27021FC1: mov ebp, esp */
   4846     eax = MEM32(ebp + 0x8); /* 0x27021FC3: mov eax, dword ptr [ebp + 8] */
   4847     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xA8u);
   4848     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4849     ecx = ecx + 0xA8u; /* 0x27021FC6: add ecx, 0xa8 */
   4850     _flag_k = FK_ADD;
   4851     /* cmp eax, ecx */ /* 0x27021FCC: cmp eax, ecx */
   4852     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4853     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4854     _flag_k = FK_CMP;
   4855     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021FDA; /* 0x27021FCE: je 0x27021fda */
   4856 L_27021FD0:
   4857     edx = MEM32(ecx); /* 0x27021FD0: mov edx, dword ptr [ecx] */
   4858     MEM32(eax) = edx; /* 0x27021FD2: mov dword ptr [eax], edx */
   4859     ecx = MEM32(ecx + 0x4); /* 0x27021FD4: mov ecx, dword ptr [ecx + 4] */
   4860     MEM32(eax + 0x4) = ecx; /* 0x27021FD7: mov dword ptr [eax + 4], ecx */
   4861 L_27021FDA:
   4862     ebp = POP32_VAL(esp); /* 0x27021FDA: pop ebp */
   4863     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021FDB: ret 4 */
   4864     RECOMP_REGS_OUT();
   4865 }
   4866 
   4867 void sub_27021FE0(void) {
   4868     int _fpu_cmp = 0;
   4869     uint32_t _cf = 0;
   4870     int _df = 1;
   4871     uint32_t _flag_k = FK_NONE;
   4872     uint32_t _flag_a = 0, _flag_b = 0;
   4873     uint32_t _itail_tgt = 0;
   4874     RECOMP_REGS_LOCALS
   4875     RECOMP_ENTER(0x27021FE0u);
   4876 
   4877 L_27021FE0:
   4878     PUSH32(esp, ebp); /* 0x27021FE0: push ebp */
   4879     ebp = esp; /* 0x27021FE1: mov ebp, esp */
   4880     eax = MEM32(ebp + 0x8); /* 0x27021FE3: mov eax, dword ptr [ebp + 8] */
   4881     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xBCu);
   4882     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4883     ecx = ecx + 0xBCu; /* 0x27021FE6: add ecx, 0xbc */
   4884     _flag_k = FK_ADD;
   4885     /* cmp eax, ecx */ /* 0x27021FEC: cmp eax, ecx */
   4886     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   4887     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4888     _flag_k = FK_CMP;
   4889     if (CMP_EQ(_flag_a, _flag_b)) goto L_27021FFA; /* 0x27021FEE: je 0x27021ffa */
   4890 L_27021FF0:
   4891     edx = MEM32(ecx); /* 0x27021FF0: mov edx, dword ptr [ecx] */
   4892     MEM32(eax) = edx; /* 0x27021FF2: mov dword ptr [eax], edx */
   4893     ecx = MEM32(ecx + 0x4); /* 0x27021FF4: mov ecx, dword ptr [ecx + 4] */
   4894     MEM32(eax + 0x4) = ecx; /* 0x27021FF7: mov dword ptr [eax + 4], ecx */
   4895 L_27021FFA:
   4896     ebp = POP32_VAL(esp); /* 0x27021FFA: pop ebp */
   4897     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27021FFB: ret 4 */
   4898     RECOMP_REGS_OUT();
   4899 }
   4900 
   4901 void sub_27022000(void) {
   4902     int _fpu_cmp = 0;
   4903     uint32_t _cf = 0;
   4904     int _df = 1;
   4905     uint32_t _flag_k = FK_NONE;
   4906     uint32_t _flag_a = 0, _flag_b = 0;
   4907     uint32_t _itail_tgt = 0;
   4908     RECOMP_REGS_LOCALS
   4909     RECOMP_ENTER(0x27022000u);
   4910 
   4911 L_27022000:
   4912     eax = MEM32(ecx + 0xBC); /* 0x27022000: mov eax, dword ptr [ecx + 0xbc] */
   4913     /* test eax, eax */ /* 0x27022006: test eax, eax */
   4914     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4915     _cf = 0;
   4916     _flag_k = FK_TEST;
   4917     if (TEST_NZ(_flag_a, _flag_b)) goto L_27022023; /* 0x27022008: jne 0x27022023 */
   4918 L_2702200A:
   4919     eax = MEM32(ecx + 0xC0); /* 0x2702200A: mov eax, dword ptr [ecx + 0xc0] */
   4920     /* test eax, eax */ /* 0x27022010: test eax, eax */
   4921     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4922     _cf = 0;
   4923     _flag_k = FK_TEST;
   4924     if (TEST_NZ(_flag_a, _flag_b)) goto L_27022023; /* 0x27022012: jne 0x27022023 */
   4925 L_27022014:
   4926     eax = 1; /* 0x27022014: mov eax, 1 */
   4927     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4928     ecx = 0; /* 0x27022019: xor ecx, ecx */
   4929     _cf = 0;
   4930     _flag_k = FK_TEST;
   4931     /* test LO8(eax), LO8(eax) */ /* 0x2702201B: test al, al */
   4932     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4933     _cf = 0;
   4934     _flag_k = FK_NARROW(FK_TEST, 24);
   4935     SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2702201D: sete cl */
   4936     SET_LO8(eax, LO8(ecx)); /* 0x27022020: mov al, cl */
   4937     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022022: ret  */
   4938 L_27022023:
   4939     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4940     eax = 0; /* 0x27022023: xor eax, eax */
   4941     _cf = 0;
   4942     _flag_k = FK_TEST;
   4943     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4944     ecx = 0; /* 0x27022025: xor ecx, ecx */
   4945     _cf = 0;
   4946     _flag_k = FK_TEST;
   4947     /* test LO8(eax), LO8(eax) */ /* 0x27022027: test al, al */
   4948     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   4949     _cf = 0;
   4950     _flag_k = FK_NARROW(FK_TEST, 24);
   4951     SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x27022029: sete cl */
   4952     SET_LO8(eax, LO8(ecx)); /* 0x2702202C: mov al, cl */
   4953     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2702202E: ret  */
   4954     RECOMP_REGS_OUT();
   4955 }
   4956 
   4957 void sub_27022030(void) {
   4958     int _fpu_cmp = 0;
   4959     uint32_t _cf = 0;
   4960     int _df = 1;
   4961     uint32_t _flag_k = FK_NONE;
   4962     uint32_t _flag_a = 0, _flag_b = 0;
   4963     uint32_t _itail_tgt = 0;
   4964     RECOMP_REGS_LOCALS
   4965     RECOMP_ENTER(0x27022030u);
   4966 
   4967 L_27022030:
   4968     eax = MEM32(ecx + 0xC4); /* 0x27022030: mov eax, dword ptr [ecx + 0xc4] */
   4969     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022036: ret  */
   4970     RECOMP_REGS_OUT();
   4971 }
   4972 
   4973 void sub_27022040(void) {
   4974     int _fpu_cmp = 0;
   4975     uint32_t _cf = 0;
   4976     int _df = 1;
   4977     uint32_t _flag_k = FK_NONE;
   4978     uint32_t _flag_a = 0, _flag_b = 0;
   4979     uint32_t _itail_tgt = 0;
   4980     RECOMP_REGS_LOCALS
   4981     RECOMP_ENTER(0x27022040u);
   4982 
   4983 L_27022040:
   4984     eax = MEM32(ecx + 0xD0); /* 0x27022040: mov eax, dword ptr [ecx + 0xd0] */
   4985     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022046: ret  */
   4986     RECOMP_REGS_OUT();
   4987 }
   4988 
   4989 void sub_27022050(void) {
   4990     int _fpu_cmp = 0;
   4991     uint32_t _cf = 0;
   4992     int _df = 1;
   4993     uint32_t _flag_k = FK_NONE;
   4994     uint32_t _flag_a = 0, _flag_b = 0;
   4995     uint32_t _itail_tgt = 0;
   4996     RECOMP_REGS_LOCALS
   4997     RECOMP_ENTER(0x27022050u);
   4998 
   4999 L_27022050:
   5000     PUSH32(esp, ebp); /* 0x27022050: push ebp */
   5001     ebp = esp; /* 0x27022051: mov ebp, esp */
   5002     eax = MEM32(ebp + 0x8); /* 0x27022053: mov eax, dword ptr [ebp + 8] */
   5003     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xD4u);
   5004     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5005     ecx = ecx + 0xD4u; /* 0x27022056: add ecx, 0xd4 */
   5006     _flag_k = FK_ADD;
   5007     /* cmp eax, ecx */ /* 0x2702205C: cmp eax, ecx */
   5008     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   5009     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5010     _flag_k = FK_CMP;
   5011     if (CMP_EQ(_flag_a, _flag_b)) goto L_2702206A; /* 0x2702205E: je 0x2702206a */
   5012 L_27022060:
   5013     edx = MEM32(ecx); /* 0x27022060: mov edx, dword ptr [ecx] */
   5014     MEM32(eax) = edx; /* 0x27022062: mov dword ptr [eax], edx */
   5015     ecx = MEM32(ecx + 0x4); /* 0x27022064: mov ecx, dword ptr [ecx + 4] */
   5016     MEM32(eax + 0x4) = ecx; /* 0x27022067: mov dword ptr [eax + 4], ecx */
   5017 L_2702206A:
   5018     ebp = POP32_VAL(esp); /* 0x2702206A: pop ebp */
   5019     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2702206B: ret 4 */
   5020     RECOMP_REGS_OUT();
   5021 }
   5022 
   5023 void sub_27022070(void) {
   5024     int _fpu_cmp = 0;
   5025     uint32_t _cf = 0;
   5026     int _df = 1;
   5027     uint32_t _flag_k = FK_NONE;
   5028     uint32_t _flag_a = 0, _flag_b = 0;
   5029     uint32_t _itail_tgt = 0;
   5030     RECOMP_REGS_LOCALS
   5031     RECOMP_ENTER(0x27022070u);
   5032 
   5033 L_27022070:
   5034     eax = ecx + 0xE0; /* 0x27022070: lea eax, [ecx + 0xe0] */
   5035     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022076: ret  */
   5036     RECOMP_REGS_OUT();
   5037 }
   5038 
   5039 void sub_27022080(void) {
   5040     int _fpu_cmp = 0;
   5041     uint32_t _cf = 0;
   5042     int _df = 1;
   5043     uint32_t _flag_k = FK_NONE;
   5044     uint32_t _flag_a = 0, _flag_b = 0;
   5045     uint32_t _itail_tgt = 0;
   5046     RECOMP_REGS_LOCALS
   5047     RECOMP_ENTER(0x27022080u);
   5048 
   5049 L_27022080:
   5050     PUSH32(esp, ebp); /* 0x27022080: push ebp */
   5051     ebp = esp; /* 0x27022081: mov ebp, esp */
   5052     edx = MEM32(ecx + 0x108); /* 0x27022083: mov edx, dword ptr [ecx + 0x108] */
   5053     eax = MEM32(ebp + 0x8); /* 0x27022089: mov eax, dword ptr [ebp + 8] */
   5054     MEM32(eax) = edx; /* 0x2702208C: mov dword ptr [eax], edx */
   5055     ecx = MEM32(ecx + 0x10C); /* 0x2702208E: mov ecx, dword ptr [ecx + 0x10c] */
   5056     MEM32(eax + 0x4) = ecx; /* 0x27022094: mov dword ptr [eax + 4], ecx */
   5057     ebp = POP32_VAL(esp); /* 0x27022097: pop ebp */
   5058     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27022098: ret 4 */
   5059     RECOMP_REGS_OUT();
   5060 }
   5061 
   5062 void sub_270220A0(void) {
   5063     int _fpu_cmp = 0;
   5064     uint32_t _cf = 0;
   5065     int _df = 1;
   5066     uint32_t _flag_k = FK_NONE;
   5067     uint32_t _flag_a = 0, _flag_b = 0;
   5068     uint32_t _itail_tgt = 0;
   5069     RECOMP_REGS_LOCALS
   5070     RECOMP_ENTER(0x270220A0u);
   5071 
   5072 L_270220A0:
   5073     PUSH32(esp, ebp); /* 0x270220A0: push ebp */
   5074     ebp = esp; /* 0x270220A1: mov ebp, esp */
   5075     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x270220A3: mov al, byte ptr [ebp + 8] */
   5076     MEM8(0x27048B50) = (uint8_t)(LO8(eax)); /* 0x270220A6: mov byte ptr [0x27048b50], al */
   5077     ebp = POP32_VAL(esp); /* 0x270220AB: pop ebp */
   5078     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270220AC: ret  */
   5079     RECOMP_REGS_OUT();
   5080 }
   5081 
   5082 void sub_270220B0(void) {
   5083     int _fpu_cmp = 0;
   5084     uint32_t _cf = 0;
   5085     int _df = 1;
   5086     uint32_t _flag_k = FK_NONE;
   5087     uint32_t _flag_a = 0, _flag_b = 0;
   5088     uint32_t _itail_tgt = 0;
   5089     RECOMP_REGS_LOCALS
   5090     RECOMP_ENTER(0x270220B0u);
   5091 
   5092 L_270220B0:
   5093     SET_LO8(eax, MEM8(0x27048B50)); /* 0x270220B0: mov al, byte ptr [0x27048b50] */
   5094     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270220B5: ret  */
   5095     RECOMP_REGS_OUT();
   5096 }
   5097 
   5098 void sub_270220C0(void) {
   5099     int _fpu_cmp = 0;
   5100     uint32_t _cf = 0;
   5101     int _df = 1;
   5102     uint32_t _flag_k = FK_NONE;
   5103     uint32_t _flag_a = 0, _flag_b = 0;
   5104     uint32_t _itail_tgt = 0;
   5105     RECOMP_REGS_LOCALS
   5106     RECOMP_ENTER(0x270220C0u);
   5107 
   5108 L_270220C0:
   5109     PUSH32(esp, ebp); /* 0x270220C0: push ebp */
   5110     ebp = esp; /* 0x270220C1: mov ebp, esp */
   5111     eax = MEM32(ebp + 0x8); /* 0x270220C3: mov eax, dword ptr [ebp + 8] */
   5112     MEM32(ecx + 0xC8) = eax; /* 0x270220C6: mov dword ptr [ecx + 0xc8], eax */
   5113     ebp = POP32_VAL(esp); /* 0x270220CC: pop ebp */
   5114     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x270220CD: ret 4 */
   5115     RECOMP_REGS_OUT();
   5116 }
   5117 
   5118 void sub_270220D0(void) {
   5119     int _fpu_cmp = 0;
   5120     uint32_t _cf = 0;
   5121     int _df = 1;
   5122     uint32_t _flag_k = FK_NONE;
   5123     uint32_t _flag_a = 0, _flag_b = 0;
   5124     uint32_t _itail_tgt = 0;
   5125     RECOMP_REGS_LOCALS
   5126     RECOMP_ENTER(0x270220D0u);
   5127 
   5128 L_270220D0:
   5129     eax = MEM32(ecx + 0xC8); /* 0x270220D0: mov eax, dword ptr [ecx + 0xc8] */
   5130     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270220D6: ret  */
   5131     RECOMP_REGS_OUT();
   5132 }
   5133 
   5134 void sub_270220E0(void) {
   5135     int _fpu_cmp = 0;
   5136     uint32_t _cf = 0;
   5137     int _df = 1;
   5138     uint32_t _flag_k = FK_NONE;
   5139     uint32_t _flag_a = 0, _flag_b = 0;
   5140     uint32_t _itail_tgt = 0;
   5141     RECOMP_REGS_LOCALS
   5142     RECOMP_ENTER(0x270220E0u);
   5143 
   5144 L_270220E0:
   5145     PUSH32(esp, ebp); /* 0x270220E0: push ebp */
   5146     ebp = esp; /* 0x270220E1: mov ebp, esp */
   5147     eax = MEM32(ebp + 0x8); /* 0x270220E3: mov eax, dword ptr [ebp + 8] */
   5148     MEM32(ecx + 0xCC) = eax; /* 0x270220E6: mov dword ptr [ecx + 0xcc], eax */
   5149     ebp = POP32_VAL(esp); /* 0x270220EC: pop ebp */
   5150     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x270220ED: ret 4 */
   5151     RECOMP_REGS_OUT();
   5152 }
   5153 
   5154 void sub_270220F0(void) {
   5155     int _fpu_cmp = 0;
   5156     uint32_t _cf = 0;
   5157     int _df = 1;
   5158     uint32_t _flag_k = FK_NONE;
   5159     uint32_t _flag_a = 0, _flag_b = 0;
   5160     uint32_t _itail_tgt = 0;
   5161     RECOMP_REGS_LOCALS
   5162     RECOMP_ENTER(0x270220F0u);
   5163 
   5164 L_270220F0:
   5165     eax = MEM32(ecx + 0xCC); /* 0x270220F0: mov eax, dword ptr [ecx + 0xcc] */
   5166     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270220F6: ret  */
   5167     RECOMP_REGS_OUT();
   5168 }
   5169 
   5170 void sub_27022100(void) {
   5171     int _fpu_cmp = 0;
   5172     uint32_t _cf = 0;
   5173     int _df = 1;
   5174     uint32_t _flag_k = FK_NONE;
   5175     uint32_t _flag_a = 0, _flag_b = 0;
   5176     uint32_t _itail_tgt = 0;
   5177     RECOMP_REGS_LOCALS
   5178     RECOMP_ENTER(0x27022100u);
   5179 
   5180 L_27022100:
   5181     PUSH32(esp, ebp); /* 0x27022100: push ebp */
   5182     ebp = esp; /* 0x27022101: mov ebp, esp */
   5183     eax = MEM32(ebp + 0x8); /* 0x27022103: mov eax, dword ptr [ebp + 8] */
   5184     MEM32(ecx + 0x110) = eax; /* 0x27022106: mov dword ptr [ecx + 0x110], eax */
   5185     ebp = POP32_VAL(esp); /* 0x2702210C: pop ebp */
   5186     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2702210D: ret 4 */
   5187     RECOMP_REGS_OUT();
   5188 }
   5189 
   5190 void sub_27022110(void) {
   5191     int _fpu_cmp = 0;
   5192     uint32_t _cf = 0;
   5193     int _df = 1;
   5194     uint32_t _flag_k = FK_NONE;
   5195     uint32_t _flag_a = 0, _flag_b = 0;
   5196     uint32_t _itail_tgt = 0;
   5197     RECOMP_REGS_LOCALS
   5198     RECOMP_ENTER(0x27022110u);
   5199 
   5200 L_27022110:
   5201     eax = MEM32(ecx + 0x110); /* 0x27022110: mov eax, dword ptr [ecx + 0x110] */
   5202     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022116: ret  */
   5203     RECOMP_REGS_OUT();
   5204 }
   5205 
   5206 void sub_27022120(void) {
   5207     int _fpu_cmp = 0;
   5208     uint32_t _cf = 0;
   5209     int _df = 1;
   5210     uint32_t _flag_k = FK_NONE;
   5211     uint32_t _flag_a = 0, _flag_b = 0;
   5212     uint32_t _itail_tgt = 0;
   5213     RECOMP_REGS_LOCALS
   5214     RECOMP_ENTER(0x27022120u);
   5215 
   5216 L_27022120:
   5217     SET_LO8(eax, MEM8(ecx + 0x144)); /* 0x27022120: mov al, byte ptr [ecx + 0x144] */
   5218     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022126: ret  */
   5219     RECOMP_REGS_OUT();
   5220 }
   5221 
   5222 void sub_27022130(void) {
   5223     int _fpu_cmp = 0;
   5224     uint32_t _cf = 0;
   5225     int _df = 1;
   5226     uint32_t _flag_k = FK_NONE;
   5227     uint32_t _flag_a = 0, _flag_b = 0;
   5228     uint32_t _itail_tgt = 0;
   5229     RECOMP_REGS_LOCALS
   5230     RECOMP_ENTER(0x27022130u);
   5231 
   5232 L_27022130:
   5233     SET_LO8(eax, MEM8(ecx + 0x145)); /* 0x27022130: mov al, byte ptr [ecx + 0x145] */
   5234     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022136: ret  */
   5235     RECOMP_REGS_OUT();
   5236 }
   5237 
   5238 void sub_27022140(void) {
   5239     int _fpu_cmp = 0;
   5240     uint32_t _cf = 0;
   5241     int _df = 1;
   5242     uint32_t _flag_k = FK_NONE;
   5243     uint32_t _flag_a = 0, _flag_b = 0;
   5244     uint32_t _itail_tgt = 0;
   5245     RECOMP_REGS_LOCALS
   5246     RECOMP_ENTER(0x27022140u);
   5247 
   5248 L_27022140:
   5249     SET_LO8(eax, MEM8(ecx + 0x146)); /* 0x27022140: mov al, byte ptr [ecx + 0x146] */
   5250     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022146: ret  */
   5251     RECOMP_REGS_OUT();
   5252 }
   5253 
   5254 void sub_27022150(void) {
   5255     int _fpu_cmp = 0;
   5256     uint32_t _cf = 0;
   5257     int _df = 1;
   5258     uint32_t _flag_k = FK_NONE;
   5259     uint32_t _flag_a = 0, _flag_b = 0;
   5260     uint32_t _itail_tgt = 0;
   5261     RECOMP_REGS_LOCALS
   5262     RECOMP_ENTER(0x27022150u);
   5263 
   5264 L_27022150:
   5265     SET_LO8(eax, MEM8(ecx + 0x147)); /* 0x27022150: mov al, byte ptr [ecx + 0x147] */
   5266     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022156: ret  */
   5267     RECOMP_REGS_OUT();
   5268 }
   5269 
   5270 void sub_27022160(void) {
   5271     int _fpu_cmp = 0;
   5272     uint32_t _cf = 0;
   5273     int _df = 1;
   5274     uint32_t _flag_k = FK_NONE;
   5275     uint32_t _flag_a = 0, _flag_b = 0;
   5276     uint32_t _itail_tgt = 0;
   5277     RECOMP_REGS_LOCALS
   5278     RECOMP_ENTER(0x27022160u);
   5279 
   5280 L_27022160:
   5281     SET_LO8(eax, MEM8(ecx + 0x148)); /* 0x27022160: mov al, byte ptr [ecx + 0x148] */
   5282     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022166: ret  */
   5283     RECOMP_REGS_OUT();
   5284 }
   5285 
   5286 void sub_27022170(void) {
   5287     int _fpu_cmp = 0;
   5288     uint32_t _cf = 0;
   5289     int _df = 1;
   5290     uint32_t _flag_k = FK_NONE;
   5291     uint32_t _flag_a = 0, _flag_b = 0;
   5292     uint32_t _itail_tgt = 0;
   5293     RECOMP_REGS_LOCALS
   5294     RECOMP_ENTER(0x27022170u);
   5295 
   5296 L_27022170:
   5297     SET_LO8(eax, MEM8(ecx + 0x149)); /* 0x27022170: mov al, byte ptr [ecx + 0x149] */
   5298     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022176: ret  */
   5299     RECOMP_REGS_OUT();
   5300 }
   5301 
   5302 void sub_27022180(void) {
   5303     int _fpu_cmp = 0;
   5304     uint32_t _cf = 0;
   5305     int _df = 1;
   5306     uint32_t _flag_k = FK_NONE;
   5307     uint32_t _flag_a = 0, _flag_b = 0;
   5308     uint32_t _itail_tgt = 0;
   5309     RECOMP_REGS_LOCALS
   5310     RECOMP_ENTER(0x27022180u);
   5311 
   5312 L_27022180:
   5313     eax = ecx + 0x14C; /* 0x27022180: lea eax, [ecx + 0x14c] */
   5314     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022186: ret  */
   5315     RECOMP_REGS_OUT();
   5316 }
   5317 
   5318 void sub_27022190(void) {
   5319     int _fpu_cmp = 0;
   5320     uint32_t _cf = 0;
   5321     int _df = 1;
   5322     uint32_t _flag_k = FK_NONE;
   5323     uint32_t _flag_a = 0, _flag_b = 0;
   5324     uint32_t _itail_tgt = 0;
   5325     RECOMP_REGS_LOCALS
   5326     RECOMP_ENTER(0x27022190u);
   5327 
   5328 L_27022190:
   5329     eax = ecx + 0x154; /* 0x27022190: lea eax, [ecx + 0x154] */
   5330     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022196: ret  */
   5331     RECOMP_REGS_OUT();
   5332 }
   5333 
   5334 void sub_270221A0(void) {
   5335     int _fpu_cmp = 0;
   5336     uint32_t _cf = 0;
   5337     int _df = 1;
   5338     uint32_t _flag_k = FK_NONE;
   5339     uint32_t _flag_a = 0, _flag_b = 0;
   5340     uint32_t _itail_tgt = 0;
   5341     RECOMP_REGS_LOCALS
   5342     RECOMP_ENTER(0x270221A0u);
   5343 
   5344 L_270221A0:
   5345     eax = ecx + 0x15C; /* 0x270221A0: lea eax, [ecx + 0x15c] */
   5346     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270221A6: ret  */
   5347     RECOMP_REGS_OUT();
   5348 }
   5349 
   5350 void sub_270221B0(void) {
   5351     int _fpu_cmp = 0;
   5352     uint32_t _cf = 0;
   5353     int _df = 1;
   5354     uint32_t _flag_k = FK_NONE;
   5355     uint32_t _flag_a = 0, _flag_b = 0;
   5356     uint32_t _itail_tgt = 0;
   5357     RECOMP_REGS_LOCALS
   5358     RECOMP_ENTER(0x270221B0u);
   5359 
   5360 L_270221B0:
   5361     eax = ecx + 0x164; /* 0x270221B0: lea eax, [ecx + 0x164] */
   5362     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270221B6: ret  */
   5363     RECOMP_REGS_OUT();
   5364 }
   5365 
   5366 void sub_270221C0(void) {
   5367     int _fpu_cmp = 0;
   5368     uint32_t _cf = 0;
   5369     int _df = 1;
   5370     uint32_t _flag_k = FK_NONE;
   5371     uint32_t _flag_a = 0, _flag_b = 0;
   5372     uint32_t _itail_tgt = 0;
   5373     RECOMP_REGS_LOCALS
   5374     RECOMP_ENTER(0x270221C0u);
   5375 
   5376 L_270221C0:
   5377     eax = ecx + 0x16C; /* 0x270221C0: lea eax, [ecx + 0x16c] */
   5378     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270221C6: ret  */
   5379     RECOMP_REGS_OUT();
   5380 }
   5381 
   5382 void sub_270221D0(void) {
   5383     int _fpu_cmp = 0;
   5384     uint32_t _cf = 0;
   5385     int _df = 1;
   5386     uint32_t _flag_k = FK_NONE;
   5387     uint32_t _flag_a = 0, _flag_b = 0;
   5388     uint32_t _itail_tgt = 0;
   5389     RECOMP_REGS_LOCALS
   5390     RECOMP_ENTER(0x270221D0u);
   5391 
   5392 L_270221D0:
   5393     eax = ecx + 0x174; /* 0x270221D0: lea eax, [ecx + 0x174] */
   5394     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270221D6: ret  */
   5395     RECOMP_REGS_OUT();
   5396 }
   5397 
   5398 void sub_270221E0(void) {
   5399     int _fpu_cmp = 0;
   5400     uint32_t _cf = 0;
   5401     int _df = 1;
   5402     uint32_t _flag_k = FK_NONE;
   5403     uint32_t _flag_a = 0, _flag_b = 0;
   5404     uint32_t _itail_tgt = 0;
   5405     RECOMP_REGS_LOCALS
   5406     RECOMP_ENTER(0x270221E0u);
   5407 
   5408 L_270221E0:
   5409     MEM8(ecx) = (uint8_t)(0); /* 0x270221E0: mov byte ptr [ecx], 0 */
   5410     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270221E3: ret  */
   5411     RECOMP_REGS_OUT();
   5412 }
   5413 
   5414 void sub_270221F0(void) {
   5415     int _fpu_cmp = 0;
   5416     uint32_t _cf = 0;
   5417     int _df = 1;
   5418     uint32_t _flag_k = FK_NONE;
   5419     uint32_t _flag_a = 0, _flag_b = 0;
   5420     uint32_t _itail_tgt = 0;
   5421     RECOMP_REGS_LOCALS
   5422     RECOMP_ENTER(0x270221F0u);
   5423 
   5424 L_270221F0:
   5425     PUSH32(esp, ebp); /* 0x270221F0: push ebp */
   5426     ebp = esp; /* 0x270221F1: mov ebp, esp */
   5427     eax = MEM32(ebp + 0x8); /* 0x270221F3: mov eax, dword ptr [ebp + 8] */
   5428     edx = MEM32(ebp + 0xC); /* 0x270221F6: mov edx, dword ptr [ebp + 0xc] */
   5429     MEM8(ecx) = (uint8_t)(1); /* 0x270221F9: mov byte ptr [ecx], 1 */
   5430     MEM32(ecx + 0x4) = eax; /* 0x270221FC: mov dword ptr [ecx + 4], eax */
   5431     MEM32(ecx + 0x8) = edx; /* 0x270221FF: mov dword ptr [ecx + 8], edx */
   5432     ebp = POP32_VAL(esp); /* 0x27022202: pop ebp */
   5433     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x27022203: ret 8 */
   5434     RECOMP_REGS_OUT();
   5435 }
   5436 
   5437 void sub_27022210(void) {
   5438     int _fpu_cmp = 0;
   5439     uint32_t _cf = 0;
   5440     int _df = 1;
   5441     uint32_t _flag_k = FK_NONE;
   5442     uint32_t _flag_a = 0, _flag_b = 0;
   5443     uint32_t _itail_tgt = 0;
   5444     RECOMP_REGS_LOCALS
   5445     RECOMP_ENTER(0x27022210u);
   5446 
   5447 L_27022210:
   5448     PUSH32(esp, ebp); /* 0x27022210: push ebp */
   5449     ebp = esp; /* 0x27022211: mov ebp, esp */
   5450     eax = MEM32(ebp + 0x8); /* 0x27022213: mov eax, dword ptr [ebp + 8] */
   5451     MEM32(0x27048B4C) = eax; /* 0x27022216: mov dword ptr [0x27048b4c], eax */
   5452     ebp = POP32_VAL(esp); /* 0x2702221B: pop ebp */
   5453     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2702221C: ret  */
   5454     RECOMP_REGS_OUT();
   5455 }
   5456 
   5457 void sub_27022220(void) {
   5458     int _fpu_cmp = 0;
   5459     uint32_t _cf = 0;
   5460     int _df = 1;
   5461     uint32_t _flag_k = FK_NONE;
   5462     uint32_t _flag_a = 0, _flag_b = 0;
   5463     uint32_t _itail_tgt = 0;
   5464     RECOMP_REGS_LOCALS
   5465     RECOMP_ENTER(0x27022220u);
   5466 
   5467 L_27022220:
   5468     eax = MEM32(0x27048B4C); /* 0x27022220: mov eax, dword ptr [0x27048b4c] */
   5469     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022225: ret  */
   5470     RECOMP_REGS_OUT();
   5471 }
   5472 
   5473 void sub_27022230(void) {
   5474     int _fpu_cmp = 0;
   5475     uint32_t _cf = 0;
   5476     int _df = 1;
   5477     uint32_t _flag_k = FK_NONE;
   5478     uint32_t _flag_a = 0, _flag_b = 0;
   5479     uint32_t _itail_tgt = 0;
   5480     RECOMP_REGS_LOCALS
   5481     RECOMP_ENTER(0x27022230u);
   5482 
   5483 L_27022230:
   5484     PUSH32(esp, ebp); /* 0x27022230: push ebp */
   5485     ebp = esp; /* 0x27022231: mov ebp, esp */
   5486     edx = MEM32(ebp + 0x8); /* 0x27022233: mov edx, dword ptr [ebp + 8] */
   5487     eax = ecx; /* 0x27022236: mov eax, ecx */
   5488     SET_LO8(ecx, MEM8(edx)); /* 0x27022238: mov cl, byte ptr [edx] */
   5489     MEM8(eax) = (uint8_t)(LO8(ecx)); /* 0x2702223A: mov byte ptr [eax], cl */
   5490     ecx = MEM32(edx + 0x4); /* 0x2702223C: mov ecx, dword ptr [edx + 4] */
   5491     MEM32(eax + 0x4) = ecx; /* 0x2702223F: mov dword ptr [eax + 4], ecx */
   5492     ecx = MEM32(edx + 0x8); /* 0x27022242: mov ecx, dword ptr [edx + 8] */
   5493     MEM32(eax + 0x8) = ecx; /* 0x27022245: mov dword ptr [eax + 8], ecx */
   5494     SET_LO8(ecx, MEM8(edx + 0xC)); /* 0x27022248: mov cl, byte ptr [edx + 0xc] */
   5495     MEM8(eax + 0xC) = (uint8_t)(LO8(ecx)); /* 0x2702224B: mov byte ptr [eax + 0xc], cl */
   5496     ecx = MEM32(edx + 0x10); /* 0x2702224E: mov ecx, dword ptr [edx + 0x10] */
   5497     MEM32(eax + 0x10) = ecx; /* 0x27022251: mov dword ptr [eax + 0x10], ecx */
   5498     ecx = MEM32(edx + 0x14); /* 0x27022254: mov ecx, dword ptr [edx + 0x14] */
   5499     MEM32(eax + 0x14) = ecx; /* 0x27022257: mov dword ptr [eax + 0x14], ecx */
   5500     ecx = MEM32(edx + 0x18); /* 0x2702225A: mov ecx, dword ptr [edx + 0x18] */
   5501     MEM32(eax + 0x18) = ecx; /* 0x2702225D: mov dword ptr [eax + 0x18], ecx */
   5502     PUSH32(esp, esi); /* 0x27022260: push esi */
   5503     PUSH32(esp, edi); /* 0x27022261: push edi */
   5504     esi = edx + 0x1C; /* 0x27022262: lea esi, [edx + 0x1c] */
   5505     edi = eax + 0x1C; /* 0x27022265: lea edi, [eax + 0x1c] */
   5506     ecx = 0xFu; /* 0x27022268: mov ecx, 0xf */
   5507     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2702226D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5508     MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2702226F: movsw word ptr es:[edi], word ptr [esi] */
   5509     MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x27022271: movsb byte ptr es:[edi], byte ptr [esi] */
   5510     esi = edx + 0x5B; /* 0x27022272: lea esi, [edx + 0x5b] */
   5511     edi = eax + 0x5B; /* 0x27022275: lea edi, [eax + 0x5b] */
   5512     ecx = 0xFu; /* 0x27022278: mov ecx, 0xf */
   5513     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2702227D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5514     MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2702227F: movsw word ptr es:[edi], word ptr [esi] */
   5515     MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x27022281: movsb byte ptr es:[edi], byte ptr [esi] */
   5516     ecx = edx + 0x9C; /* 0x27022282: lea ecx, [edx + 0x9c] */
   5517     edi = MEM32(ecx); /* 0x27022288: mov edi, dword ptr [ecx] */
   5518     esi = eax + 0x9C; /* 0x2702228A: lea esi, [eax + 0x9c] */
   5519     MEM32(esi) = edi; /* 0x27022290: mov dword ptr [esi], edi */
   5520     edi = MEM32(ecx + 0x4); /* 0x27022292: mov edi, dword ptr [ecx + 4] */
   5521     MEM32(esi + 0x4) = edi; /* 0x27022295: mov dword ptr [esi + 4], edi */
   5522     ecx = MEM32(ecx + 0x8); /* 0x27022298: mov ecx, dword ptr [ecx + 8] */
   5523     MEM32(esi + 0x8) = ecx; /* 0x2702229B: mov dword ptr [esi + 8], ecx */
   5524     ecx = edx + 0xA8; /* 0x2702229E: lea ecx, [edx + 0xa8] */
   5525     esi = eax + 0xA8; /* 0x270222A4: lea esi, [eax + 0xa8] */
   5526     /* cmp esi, ecx */ /* 0x270222AA: cmp esi, ecx */
   5527     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   5528     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5529     _flag_k = FK_CMP;
   5530     if (CMP_EQ(_flag_a, _flag_b)) goto L_270222B8; /* 0x270222AC: je 0x270222b8 */
   5531 L_270222AE:
   5532     edi = MEM32(ecx); /* 0x270222AE: mov edi, dword ptr [ecx] */
   5533     MEM32(esi) = edi; /* 0x270222B0: mov dword ptr [esi], edi */
   5534     ecx = MEM32(ecx + 0x4); /* 0x270222B2: mov ecx, dword ptr [ecx + 4] */
   5535     MEM32(esi + 0x4) = ecx; /* 0x270222B5: mov dword ptr [esi + 4], ecx */
   5536 L_270222B8:
   5537     ecx = edx + 0xB0; /* 0x270222B8: lea ecx, [edx + 0xb0] */
   5538     esi = eax + 0xB0; /* 0x270222BE: lea esi, [eax + 0xb0] */
   5539     /* cmp esi, ecx */ /* 0x270222C4: cmp esi, ecx */
   5540     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   5541     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5542     _flag_k = FK_CMP;
   5543     if (CMP_EQ(_flag_a, _flag_b)) goto L_270222D2; /* 0x270222C6: je 0x270222d2 */
   5544 L_270222C8:
   5545     edi = MEM32(ecx); /* 0x270222C8: mov edi, dword ptr [ecx] */
   5546     MEM32(esi) = edi; /* 0x270222CA: mov dword ptr [esi], edi */
   5547     ecx = MEM32(ecx + 0x4); /* 0x270222CC: mov ecx, dword ptr [ecx + 4] */
   5548     MEM32(esi + 0x4) = ecx; /* 0x270222CF: mov dword ptr [esi + 4], ecx */
   5549 L_270222D2:
   5550     ecx = MEM32(edx + 0xB8); /* 0x270222D2: mov ecx, dword ptr [edx + 0xb8] */
   5551     MEM32(eax + 0xB8) = ecx; /* 0x270222D8: mov dword ptr [eax + 0xb8], ecx */
   5552     ecx = edx + 0xBC; /* 0x270222DE: lea ecx, [edx + 0xbc] */
   5553     esi = eax + 0xBC; /* 0x270222E4: lea esi, [eax + 0xbc] */
   5554     /* cmp esi, ecx */ /* 0x270222EA: cmp esi, ecx */
   5555     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   5556     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5557     _flag_k = FK_CMP;
   5558     if (CMP_EQ(_flag_a, _flag_b)) goto L_270222F8; /* 0x270222EC: je 0x270222f8 */
   5559 L_270222EE:
   5560     edi = MEM32(ecx); /* 0x270222EE: mov edi, dword ptr [ecx] */
   5561     MEM32(esi) = edi; /* 0x270222F0: mov dword ptr [esi], edi */
   5562     ecx = MEM32(ecx + 0x4); /* 0x270222F2: mov ecx, dword ptr [ecx + 4] */
   5563     MEM32(esi + 0x4) = ecx; /* 0x270222F5: mov dword ptr [esi + 4], ecx */
   5564 L_270222F8:
   5565     ecx = MEM32(edx + 0xC4); /* 0x270222F8: mov ecx, dword ptr [edx + 0xc4] */
   5566     MEM32(eax + 0xC4) = ecx; /* 0x270222FE: mov dword ptr [eax + 0xc4], ecx */
   5567     ecx = MEM32(edx + 0xC8); /* 0x27022304: mov ecx, dword ptr [edx + 0xc8] */
   5568     MEM32(eax + 0xC8) = ecx; /* 0x2702230A: mov dword ptr [eax + 0xc8], ecx */
   5569     ecx = MEM32(edx + 0xCC); /* 0x27022310: mov ecx, dword ptr [edx + 0xcc] */
   5570     MEM32(eax + 0xCC) = ecx; /* 0x27022316: mov dword ptr [eax + 0xcc], ecx */
   5571     ecx = MEM32(edx + 0xD0); /* 0x2702231C: mov ecx, dword ptr [edx + 0xd0] */
   5572     MEM32(eax + 0xD0) = ecx; /* 0x27022322: mov dword ptr [eax + 0xd0], ecx */
   5573     ecx = edx + 0xD4; /* 0x27022328: lea ecx, [edx + 0xd4] */
   5574     esi = eax + 0xD4; /* 0x2702232E: lea esi, [eax + 0xd4] */
   5575     /* cmp esi, ecx */ /* 0x27022334: cmp esi, ecx */
   5576     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx);
   5577     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5578     _flag_k = FK_CMP;
   5579     if (CMP_EQ(_flag_a, _flag_b)) goto L_27022342; /* 0x27022336: je 0x27022342 */
   5580 L_27022338:
   5581     edi = MEM32(ecx); /* 0x27022338: mov edi, dword ptr [ecx] */
   5582     MEM32(esi) = edi; /* 0x2702233A: mov dword ptr [esi], edi */
   5583     ecx = MEM32(ecx + 0x4); /* 0x2702233C: mov ecx, dword ptr [ecx + 4] */
   5584     MEM32(esi + 0x4) = ecx; /* 0x2702233F: mov dword ptr [esi + 4], ecx */
   5585 L_27022342:
   5586     ecx = MEM32(edx + 0xDC); /* 0x27022342: mov ecx, dword ptr [edx + 0xdc] */
   5587     MEM32(eax + 0xDC) = ecx; /* 0x27022348: mov dword ptr [eax + 0xdc], ecx */
   5588     esi = edx + 0xE0; /* 0x2702234E: lea esi, [edx + 0xe0] */
   5589     edi = eax + 0xE0; /* 0x27022354: lea edi, [eax + 0xe0] */
   5590     ecx = 0xAu; /* 0x2702235A: mov ecx, 0xa */
   5591     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2702235F: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5592     ecx = MEM32(edx + 0x108); /* 0x27022361: mov ecx, dword ptr [edx + 0x108] */
   5593     MEM32(eax + 0x108) = ecx; /* 0x27022367: mov dword ptr [eax + 0x108], ecx */
   5594     ecx = MEM32(edx + 0x10C); /* 0x2702236D: mov ecx, dword ptr [edx + 0x10c] */
   5595     MEM32(eax + 0x10C) = ecx; /* 0x27022373: mov dword ptr [eax + 0x10c], ecx */
   5596     ecx = MEM32(edx + 0x110); /* 0x27022379: mov ecx, dword ptr [edx + 0x110] */
   5597     MEM32(eax + 0x110) = ecx; /* 0x2702237F: mov dword ptr [eax + 0x110], ecx */
   5598     ecx = MEM32(edx + 0x114); /* 0x27022385: mov ecx, dword ptr [edx + 0x114] */
   5599     MEM32(eax + 0x114) = ecx; /* 0x2702238B: mov dword ptr [eax + 0x114], ecx */
   5600     ecx = MEM32(edx + 0x118); /* 0x27022391: mov ecx, dword ptr [edx + 0x118] */
   5601     MEM32(eax + 0x118) = ecx; /* 0x27022397: mov dword ptr [eax + 0x118], ecx */
   5602     SET_LO8(ecx, MEM8(edx + 0x11C)); /* 0x2702239D: mov cl, byte ptr [edx + 0x11c] */
   5603     MEM8(eax + 0x11C) = (uint8_t)(LO8(ecx)); /* 0x270223A3: mov byte ptr [eax + 0x11c], cl */
   5604     ecx = MEM32(edx + 0x120); /* 0x270223A9: mov ecx, dword ptr [edx + 0x120] */
   5605     MEM32(eax + 0x120) = ecx; /* 0x270223AF: mov dword ptr [eax + 0x120], ecx */
   5606     SET_LO8(ecx, MEM8(edx + 0x124)); /* 0x270223B5: mov cl, byte ptr [edx + 0x124] */
   5607     MEM8(eax + 0x124) = (uint8_t)(LO8(ecx)); /* 0x270223BB: mov byte ptr [eax + 0x124], cl */
   5608     SET_LO8(ecx, MEM8(edx + 0x125)); /* 0x270223C1: mov cl, byte ptr [edx + 0x125] */
   5609     MEM8(eax + 0x125) = (uint8_t)(LO8(ecx)); /* 0x270223C7: mov byte ptr [eax + 0x125], cl */
   5610     SET_LO8(ecx, MEM8(edx + 0x126)); /* 0x270223CD: mov cl, byte ptr [edx + 0x126] */
   5611     MEM8(eax + 0x126) = (uint8_t)(LO8(ecx)); /* 0x270223D3: mov byte ptr [eax + 0x126], cl */
   5612     ecx = MEM32(edx + 0x128); /* 0x270223D9: mov ecx, dword ptr [edx + 0x128] */
   5613     MEM32(eax + 0x128) = ecx; /* 0x270223DF: mov dword ptr [eax + 0x128], ecx */
   5614     ecx = MEM32(edx + 0x12C); /* 0x270223E5: mov ecx, dword ptr [edx + 0x12c] */
   5615     MEM32(eax + 0x12C) = ecx; /* 0x270223EB: mov dword ptr [eax + 0x12c], ecx */
   5616     ecx = MEM32(edx + 0x130); /* 0x270223F1: mov ecx, dword ptr [edx + 0x130] */
   5617     MEM32(eax + 0x130) = ecx; /* 0x270223F7: mov dword ptr [eax + 0x130], ecx */
   5618     ecx = MEM32(edx + 0x134); /* 0x270223FD: mov ecx, dword ptr [edx + 0x134] */
   5619     MEM32(eax + 0x134) = ecx; /* 0x27022403: mov dword ptr [eax + 0x134], ecx */
   5620     ecx = MEM32(edx + 0x138); /* 0x27022409: mov ecx, dword ptr [edx + 0x138] */
   5621     MEM32(eax + 0x138) = ecx; /* 0x2702240F: mov dword ptr [eax + 0x138], ecx */
   5622     ecx = MEM32(edx + 0x13C); /* 0x27022415: mov ecx, dword ptr [edx + 0x13c] */
   5623     MEM32(eax + 0x13C) = ecx; /* 0x2702241B: mov dword ptr [eax + 0x13c], ecx */
   5624     ecx = MEM32(edx + 0x140); /* 0x27022421: mov ecx, dword ptr [edx + 0x140] */
   5625     MEM32(eax + 0x140) = ecx; /* 0x27022427: mov dword ptr [eax + 0x140], ecx */
   5626     SET_LO8(ecx, MEM8(edx + 0x144)); /* 0x2702242D: mov cl, byte ptr [edx + 0x144] */
   5627     MEM8(eax + 0x144) = (uint8_t)(LO8(ecx)); /* 0x27022433: mov byte ptr [eax + 0x144], cl */
   5628     SET_LO8(ecx, MEM8(edx + 0x145)); /* 0x27022439: mov cl, byte ptr [edx + 0x145] */
   5629     MEM8(eax + 0x145) = (uint8_t)(LO8(ecx)); /* 0x2702243F: mov byte ptr [eax + 0x145], cl */
   5630     SET_LO8(ecx, MEM8(edx + 0x146)); /* 0x27022445: mov cl, byte ptr [edx + 0x146] */
   5631     MEM8(eax + 0x146) = (uint8_t)(LO8(ecx)); /* 0x2702244B: mov byte ptr [eax + 0x146], cl */
   5632     SET_LO8(ecx, MEM8(edx + 0x147)); /* 0x27022451: mov cl, byte ptr [edx + 0x147] */
   5633     MEM8(eax + 0x147) = (uint8_t)(LO8(ecx)); /* 0x27022457: mov byte ptr [eax + 0x147], cl */
   5634     SET_LO8(ecx, MEM8(edx + 0x148)); /* 0x2702245D: mov cl, byte ptr [edx + 0x148] */
   5635     MEM8(eax + 0x148) = (uint8_t)(LO8(ecx)); /* 0x27022463: mov byte ptr [eax + 0x148], cl */
   5636     SET_LO8(ecx, MEM8(edx + 0x149)); /* 0x27022469: mov cl, byte ptr [edx + 0x149] */
   5637     MEM8(eax + 0x149) = (uint8_t)(LO8(ecx)); /* 0x2702246F: mov byte ptr [eax + 0x149], cl */
   5638     ecx = MEM32(edx + 0x14C); /* 0x27022475: mov ecx, dword ptr [edx + 0x14c] */
   5639     MEM32(eax + 0x14C) = ecx; /* 0x2702247B: mov dword ptr [eax + 0x14c], ecx */
   5640     ecx = MEM32(edx + 0x150); /* 0x27022481: mov ecx, dword ptr [edx + 0x150] */
   5641     MEM32(eax + 0x150) = ecx; /* 0x27022487: mov dword ptr [eax + 0x150], ecx */
   5642     ecx = MEM32(edx + 0x154); /* 0x2702248D: mov ecx, dword ptr [edx + 0x154] */
   5643     MEM32(eax + 0x154) = ecx; /* 0x27022493: mov dword ptr [eax + 0x154], ecx */
   5644     ecx = MEM32(edx + 0x158); /* 0x27022499: mov ecx, dword ptr [edx + 0x158] */
   5645     MEM32(eax + 0x158) = ecx; /* 0x2702249F: mov dword ptr [eax + 0x158], ecx */
   5646     ecx = MEM32(edx + 0x15C); /* 0x270224A5: mov ecx, dword ptr [edx + 0x15c] */
   5647     MEM32(eax + 0x15C) = ecx; /* 0x270224AB: mov dword ptr [eax + 0x15c], ecx */
   5648     ecx = MEM32(edx + 0x160); /* 0x270224B1: mov ecx, dword ptr [edx + 0x160] */
   5649     MEM32(eax + 0x160) = ecx; /* 0x270224B7: mov dword ptr [eax + 0x160], ecx */
   5650     ecx = MEM32(edx + 0x164); /* 0x270224BD: mov ecx, dword ptr [edx + 0x164] */
   5651     MEM32(eax + 0x164) = ecx; /* 0x270224C3: mov dword ptr [eax + 0x164], ecx */
   5652     ecx = MEM32(edx + 0x168); /* 0x270224C9: mov ecx, dword ptr [edx + 0x168] */
   5653     MEM32(eax + 0x168) = ecx; /* 0x270224CF: mov dword ptr [eax + 0x168], ecx */
   5654     ecx = MEM32(edx + 0x16C); /* 0x270224D5: mov ecx, dword ptr [edx + 0x16c] */
   5655     MEM32(eax + 0x16C) = ecx; /* 0x270224DB: mov dword ptr [eax + 0x16c], ecx */
   5656     ecx = MEM32(edx + 0x170); /* 0x270224E1: mov ecx, dword ptr [edx + 0x170] */
   5657     MEM32(eax + 0x170) = ecx; /* 0x270224E7: mov dword ptr [eax + 0x170], ecx */
   5658     ecx = MEM32(edx + 0x174); /* 0x270224ED: mov ecx, dword ptr [edx + 0x174] */
   5659     MEM32(eax + 0x174) = ecx; /* 0x270224F3: mov dword ptr [eax + 0x174], ecx */
   5660     ecx = MEM32(edx + 0x178); /* 0x270224F9: mov ecx, dword ptr [edx + 0x178] */
   5661     MEM32(eax + 0x178) = ecx; /* 0x270224FF: mov dword ptr [eax + 0x178], ecx */
   5662     esi = edx + 0x17C; /* 0x27022505: lea esi, [edx + 0x17c] */
   5663     edi = eax + 0x17C; /* 0x2702250B: lea edi, [eax + 0x17c] */
   5664     ecx = 0x1Du; /* 0x27022511: mov ecx, 0x1d */
   5665     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27022516: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5666     MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x27022518: movsw word ptr es:[edi], word ptr [esi] */
   5667     MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2702251A: movsb byte ptr es:[edi], byte ptr [esi] */
   5668     edi = POP32_VAL(esp); /* 0x2702251B: pop edi */
   5669     esi = POP32_VAL(esp); /* 0x2702251C: pop esi */
   5670     ebp = POP32_VAL(esp); /* 0x2702251D: pop ebp */
   5671     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2702251E: ret 4 */
   5672     RECOMP_REGS_OUT();
   5673 }
   5674 
   5675 void sub_27022530(void) {
   5676     int _fpu_cmp = 0;
   5677     uint32_t _cf = 0;
   5678     int _df = 1;
   5679     uint32_t _flag_k = FK_NONE;
   5680     uint32_t _flag_a = 0, _flag_b = 0;
   5681     uint32_t _itail_tgt = 0;
   5682     RECOMP_REGS_LOCALS
   5683     RECOMP_ENTER(0x27022530u);
   5684 
   5685 L_27022530:
   5686     PUSH32(esp, ebp); /* 0x27022530: push ebp */
   5687     ebp = esp; /* 0x27022531: mov ebp, esp */
   5688     PUSH32(esp, esi); /* 0x27022533: push esi */
   5689     esi = MEM32(ebp + 0x8); /* 0x27022534: mov esi, dword ptr [ebp + 8] */
   5690     PUSH32(esp, edi); /* 0x27022537: push edi */
   5691     eax = ecx; /* 0x27022538: mov eax, ecx */
   5692     ecx = 0x7Du; /* 0x2702253A: mov ecx, 0x7d */
   5693     edi = eax; /* 0x2702253F: mov edi, eax */
   5694     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27022541: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5695     edi = POP32_VAL(esp); /* 0x27022543: pop edi */
   5696     esi = POP32_VAL(esp); /* 0x27022544: pop esi */
   5697     ebp = POP32_VAL(esp); /* 0x27022545: pop ebp */
   5698     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27022546: ret 4 */
   5699     RECOMP_REGS_OUT();
   5700 }
   5701 
   5702 void sub_27022550(void) {
   5703     int _fpu_cmp = 0;
   5704     uint32_t _cf = 0;
   5705     int _df = 1;
   5706     uint32_t _flag_k = FK_NONE;
   5707     uint32_t _flag_a = 0, _flag_b = 0;
   5708     uint32_t _itail_tgt = 0;
   5709     RECOMP_REGS_LOCALS
   5710     RECOMP_ENTER(0x27022550u);
   5711 
   5712 L_27022550:
   5713     PUSH32(esp, ebp); /* 0x27022550: push ebp */
   5714     ebp = esp; /* 0x27022551: mov ebp, esp */
   5715     PUSH32(esp, esi); /* 0x27022553: push esi */
   5716     esi = MEM32(ebp + 0x8); /* 0x27022554: mov esi, dword ptr [ebp + 8] */
   5717     PUSH32(esp, edi); /* 0x27022557: push edi */
   5718     eax = ecx; /* 0x27022558: mov eax, ecx */
   5719     ecx = 0x506u; /* 0x2702255A: mov ecx, 0x506 */
   5720     edi = eax; /* 0x2702255F: mov edi, eax */
   5721     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27022561: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5722     edi = POP32_VAL(esp); /* 0x27022563: pop edi */
   5723     esi = POP32_VAL(esp); /* 0x27022564: pop esi */
   5724     ebp = POP32_VAL(esp); /* 0x27022565: pop ebp */
   5725     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27022566: ret 4 */
   5726     RECOMP_REGS_OUT();
   5727 }
   5728 
   5729 void sub_27022570(void) {
   5730     int _fpu_cmp = 0;
   5731     uint32_t _cf = 0;
   5732     int _df = 1;
   5733     uint32_t _flag_k = FK_NONE;
   5734     uint32_t _flag_a = 0, _flag_b = 0;
   5735     uint32_t _itail_tgt = 0;
   5736     RECOMP_REGS_LOCALS
   5737     RECOMP_ENTER(0x27022570u);
   5738 
   5739 L_27022570:
   5740     eax = MEM32(0x27048B70); /* 0x27022570: mov eax, dword ptr [0x27048b70] */
   5741     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022575: ret  */
   5742     RECOMP_REGS_OUT();
   5743 }
   5744 
   5745 void sub_27022580(void) {
   5746     int _fpu_cmp = 0;
   5747     uint32_t _cf = 0;
   5748     int _df = 1;
   5749     uint32_t _flag_k = FK_NONE;
   5750     uint32_t _flag_a = 0, _flag_b = 0;
   5751     uint32_t _itail_tgt = 0;
   5752     RECOMP_REGS_LOCALS
   5753     RECOMP_ENTER(0x27022580u);
   5754 
   5755 L_27022580:
   5756     PUSH32(esp, ebp); /* 0x27022580: push ebp */
   5757     ebp = esp; /* 0x27022581: mov ebp, esp */
   5758     eax = MEM32(ebp + 0x8); /* 0x27022583: mov eax, dword ptr [ebp + 8] */
   5759     eax = MEM32(ecx + eax * 4); /* 0x27022586: mov eax, dword ptr [ecx + eax*4] */
   5760     ebp = POP32_VAL(esp); /* 0x27022589: pop ebp */
   5761     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2702258A: ret 4 */
   5762     RECOMP_REGS_OUT();
   5763 }
   5764 
   5765 void sub_27022590(void) {
   5766     int _fpu_cmp = 0;
   5767     uint32_t _cf = 0;
   5768     int _df = 1;
   5769     uint32_t _flag_k = FK_NONE;
   5770     uint32_t _flag_a = 0, _flag_b = 0;
   5771     uint32_t _itail_tgt = 0;
   5772     RECOMP_REGS_LOCALS
   5773     RECOMP_ENTER(0x27022590u);
   5774 
   5775 L_27022590:
   5776     PUSH32(esp, ebp); /* 0x27022590: push ebp */
   5777     ebp = esp; /* 0x27022591: mov ebp, esp */
   5778     eax = MEM32(ebp + 0x8); /* 0x27022593: mov eax, dword ptr [ebp + 8] */
   5779     edx = MEM32(ebp + 0xC); /* 0x27022596: mov edx, dword ptr [ebp + 0xc] */
   5780     ecx = MEM32(ecx + edx * 4); /* 0x27022599: mov ecx, dword ptr [ecx + edx*4] */
   5781     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   5782     eax = eax & 0xFFu; /* 0x2702259C: and eax, 0xff */
   5783     _cf = 0;
   5784     _flag_k = FK_TEST;
   5785     if (4u) _cf = (((eax) >> 28) & 1u); /* 0x270225A1: shl eax, 4 */
   5786     if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5787     eax = eax << 4u; /* 0x270225A1: shl eax, 4 */
   5788     edx = MEM32(ecx + eax); /* 0x270225A4: mov edx, dword ptr [ecx + eax] */
   5789     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   5790     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5791     ecx = ecx + eax; /* 0x270225A7: add ecx, eax */
   5792     _flag_k = FK_ADD;
   5793     eax = MEM32(ecx + 0x8); /* 0x270225A9: mov eax, dword ptr [ecx + 8] */
   5794     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5795     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5796     eax = eax - edx; /* 0x270225AC: sub eax, edx */
   5797     _flag_k = FK_CMP;
   5798     ebp = POP32_VAL(esp); /* 0x270225AE: pop ebp */
   5799     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x270225AF: ret 8 */
   5800     RECOMP_REGS_OUT();
   5801 }
   5802 
   5803 void sub_270225C0(void) {
   5804     int _fpu_cmp = 0;
   5805     uint32_t _cf = 0;
   5806     int _df = 1;
   5807     uint32_t _flag_k = FK_NONE;
   5808     uint32_t _flag_a = 0, _flag_b = 0;
   5809     uint32_t _itail_tgt = 0;
   5810     RECOMP_REGS_LOCALS
   5811     RECOMP_ENTER(0x270225C0u);
   5812 
   5813 L_270225C0:
   5814     PUSH32(esp, ebp); /* 0x270225C0: push ebp */
   5815     ebp = esp; /* 0x270225C1: mov ebp, esp */
   5816     PUSH32(esp, esi); /* 0x270225C3: push esi */
   5817     esi = MEM32(ebp + 0x8); /* 0x270225C4: mov esi, dword ptr [ebp + 8] */
   5818     PUSH32(esp, edi); /* 0x270225C7: push edi */
   5819     eax = ecx; /* 0x270225C8: mov eax, ecx */
   5820     ecx = 8; /* 0x270225CA: mov ecx, 8 */
   5821     edi = eax; /* 0x270225CF: mov edi, eax */
   5822     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x270225D1: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5823     edi = POP32_VAL(esp); /* 0x270225D3: pop edi */
   5824     esi = POP32_VAL(esp); /* 0x270225D4: pop esi */
   5825     ebp = POP32_VAL(esp); /* 0x270225D5: pop ebp */
   5826     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x270225D6: ret 4 */
   5827     RECOMP_REGS_OUT();
   5828 }
   5829 
   5830 void sub_270225E0(void) {
   5831     int _fpu_cmp = 0;
   5832     uint32_t _cf = 0;
   5833     int _df = 1;
   5834     uint32_t _flag_k = FK_NONE;
   5835     uint32_t _flag_a = 0, _flag_b = 0;
   5836     uint32_t _itail_tgt = 0;
   5837     RECOMP_REGS_LOCALS
   5838     RECOMP_ENTER(0x270225E0u);
   5839 
   5840 L_270225E0:
   5841     eax = MEM32(ecx + 0x2C); /* 0x270225E0: mov eax, dword ptr [ecx + 0x2c] */
   5842     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270225E3: ret  */
   5843     RECOMP_REGS_OUT();
   5844 }
   5845 
   5846 void sub_270225F0(void) {
   5847     int _fpu_cmp = 0;
   5848     uint32_t _cf = 0;
   5849     int _df = 1;
   5850     uint32_t _flag_k = FK_NONE;
   5851     uint32_t _flag_a = 0, _flag_b = 0;
   5852     uint32_t _itail_tgt = 0;
   5853     RECOMP_REGS_LOCALS
   5854     RECOMP_ENTER(0x270225F0u);
   5855 
   5856 L_270225F0:
   5857     eax = MEM32(ecx + 0x30); /* 0x270225F0: mov eax, dword ptr [ecx + 0x30] */
   5858     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x270225F3: ret  */
   5859     RECOMP_REGS_OUT();
   5860 }
   5861 
   5862 void sub_27022600(void) {
   5863     int _fpu_cmp = 0;
   5864     uint32_t _cf = 0;
   5865     int _df = 1;
   5866     uint32_t _flag_k = FK_NONE;
   5867     uint32_t _flag_a = 0, _flag_b = 0;
   5868     uint32_t _itail_tgt = 0;
   5869     RECOMP_REGS_LOCALS
   5870     RECOMP_ENTER(0x27022600u);
   5871 
   5872 L_27022600:
   5873     eax = MEM32(ecx + 0x34); /* 0x27022600: mov eax, dword ptr [ecx + 0x34] */
   5874     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022603: ret  */
   5875     RECOMP_REGS_OUT();
   5876 }
   5877 
   5878 void sub_27022610(void) {
   5879     int _fpu_cmp = 0;
   5880     uint32_t _cf = 0;
   5881     int _df = 1;
   5882     uint32_t _flag_k = FK_NONE;
   5883     uint32_t _flag_a = 0, _flag_b = 0;
   5884     uint32_t _itail_tgt = 0;
   5885     RECOMP_REGS_LOCALS
   5886     RECOMP_ENTER(0x27022610u);
   5887 
   5888 L_27022610:
   5889     eax = MEM32(ecx + 0x38); /* 0x27022610: mov eax, dword ptr [ecx + 0x38] */
   5890     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022613: ret  */
   5891     RECOMP_REGS_OUT();
   5892 }
   5893 
   5894 void sub_27022620(void) {
   5895     int _fpu_cmp = 0;
   5896     uint32_t _cf = 0;
   5897     int _df = 1;
   5898     uint32_t _flag_k = FK_NONE;
   5899     uint32_t _flag_a = 0, _flag_b = 0;
   5900     uint32_t _itail_tgt = 0;
   5901     RECOMP_REGS_LOCALS
   5902     RECOMP_ENTER(0x27022620u);
   5903 
   5904 L_27022620:
   5905     fp_push(*(float*)&MEM32(ecx + 0x3C)); /* 0x27022620: fld dword ptr [ecx + 0x3c] */
   5906     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022623: ret  */
   5907     RECOMP_REGS_OUT();
   5908 }
   5909 
   5910 void sub_27022630(void) {
   5911     int _fpu_cmp = 0;
   5912     uint32_t _cf = 0;
   5913     int _df = 1;
   5914     uint32_t _flag_k = FK_NONE;
   5915     uint32_t _flag_a = 0, _flag_b = 0;
   5916     uint32_t _itail_tgt = 0;
   5917     RECOMP_REGS_LOCALS
   5918     RECOMP_ENTER(0x27022630u);
   5919 
   5920 L_27022630:
   5921     fp_push(*(float*)&MEM32(ecx + 0x40)); /* 0x27022630: fld dword ptr [ecx + 0x40] */
   5922     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022633: ret  */
   5923     RECOMP_REGS_OUT();
   5924 }
   5925 
   5926 void sub_27022640(void) {
   5927     int _fpu_cmp = 0;
   5928     uint32_t _cf = 0;
   5929     int _df = 1;
   5930     uint32_t _flag_k = FK_NONE;
   5931     uint32_t _flag_a = 0, _flag_b = 0;
   5932     uint32_t _itail_tgt = 0;
   5933     RECOMP_REGS_LOCALS
   5934     RECOMP_ENTER(0x27022640u);
   5935 
   5936 L_27022640:
   5937     PUSH32(esp, ebp); /* 0x27022640: push ebp */
   5938     ebp = esp; /* 0x27022641: mov ebp, esp */
   5939     eax = MEM32(ebp + 0x8); /* 0x27022643: mov eax, dword ptr [ebp + 8] */
   5940     edx = MEM32(ecx + 0x2C); /* 0x27022646: mov edx, dword ptr [ecx + 0x2c] */
   5941     PUSH32(esp, esi); /* 0x27022649: push esi */
   5942     esi = MEM32(eax); /* 0x2702264A: mov esi, dword ptr [eax] */
   5943     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx);
   5944     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5945     esi = esi + edx; /* 0x2702264C: add esi, edx */
   5946     _flag_k = FK_ADD;
   5947     edx = MEM32(eax + 0x4); /* 0x2702264E: mov edx, dword ptr [eax + 4] */
   5948     MEM32(eax) = esi; /* 0x27022651: mov dword ptr [eax], esi */
   5949     ecx = MEM32(ecx + 0x30); /* 0x27022653: mov ecx, dword ptr [ecx + 0x30] */
   5950     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   5951     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5952     edx = edx + ecx; /* 0x27022656: add edx, ecx */
   5953     _flag_k = FK_ADD;
   5954     MEM32(eax + 0x4) = edx; /* 0x27022658: mov dword ptr [eax + 4], edx */
   5955     esi = POP32_VAL(esp); /* 0x2702265B: pop esi */
   5956     ebp = POP32_VAL(esp); /* 0x2702265C: pop ebp */
   5957     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2702265D: ret 4 */
   5958     RECOMP_REGS_OUT();
   5959 }
   5960 
   5961 void sub_27022660(void) {
   5962     int _fpu_cmp = 0;
   5963     uint32_t _cf = 0;
   5964     int _df = 1;
   5965     uint32_t _flag_k = FK_NONE;
   5966     uint32_t _flag_a = 0, _flag_b = 0;
   5967     uint32_t _itail_tgt = 0;
   5968     RECOMP_REGS_LOCALS
   5969     RECOMP_ENTER(0x27022660u);
   5970 
   5971 L_27022660:
   5972     PUSH32(esp, ebp); /* 0x27022660: push ebp */
   5973     ebp = esp; /* 0x27022661: mov ebp, esp */
   5974     PUSH32(esp, esi); /* 0x27022663: push esi */
   5975     esi = MEM32(ebp + 0x8); /* 0x27022664: mov esi, dword ptr [ebp + 8] */
   5976     PUSH32(esp, edi); /* 0x27022667: push edi */
   5977     eax = ecx; /* 0x27022668: mov eax, ecx */
   5978     ecx = 0x14u; /* 0x2702266A: mov ecx, 0x14 */
   5979     edi = eax; /* 0x2702266F: mov edi, eax */
   5980     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x27022671: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   5981     edi = POP32_VAL(esp); /* 0x27022673: pop edi */
   5982     esi = POP32_VAL(esp); /* 0x27022674: pop esi */
   5983     ebp = POP32_VAL(esp); /* 0x27022675: pop ebp */
   5984     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x27022676: ret 4 */
   5985     RECOMP_REGS_OUT();
   5986 }
   5987 
   5988 void sub_27022680(void) {
   5989     int _fpu_cmp = 0;
   5990     uint32_t _cf = 0;
   5991     int _df = 1;
   5992     uint32_t _flag_k = FK_NONE;
   5993     uint32_t _flag_a = 0, _flag_b = 0;
   5994     uint32_t _itail_tgt = 0;
   5995     RECOMP_REGS_LOCALS
   5996     RECOMP_ENTER(0x27022680u);
   5997 
   5998 L_27022680:
   5999     eax = MEM32(ecx + 0x18); /* 0x27022680: mov eax, dword ptr [ecx + 0x18] */
   6000     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022683: ret  */
   6001     RECOMP_REGS_OUT();
   6002 }
   6003 
   6004 void sub_27022690(void) {
   6005     int _fpu_cmp = 0;
   6006     uint32_t _cf = 0;
   6007     int _df = 1;
   6008     uint32_t _flag_k = FK_NONE;
   6009     uint32_t _flag_a = 0, _flag_b = 0;
   6010     uint32_t _itail_tgt = 0;
   6011     RECOMP_REGS_LOCALS
   6012     RECOMP_ENTER(0x27022690u);
   6013 
   6014 L_27022690:
   6015     SET_LO8(eax, MEM8(ecx + 0x50)); /* 0x27022690: mov al, byte ptr [ecx + 0x50] */
   6016     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x27022693: ret  */
   6017     RECOMP_REGS_OUT();
   6018 }
   6019 
   6020 void sub_270226A0(void) {
   6021     int _fpu_cmp = 0;
   6022     uint32_t _cf = 0;
   6023     int _df = 1;
   6024     uint32_t _flag_k = FK_NONE;
   6025     uint32_t _flag_a = 0, _flag_b = 0;
   6026     uint32_t _itail_tgt = 0;
   6027     RECOMP_REGS_LOCALS
   6028     RECOMP_ENTER(0x270226A0u);
   6029 
   6030 L_270226A0:
   6031     PUSH32(esp, ebp); /* 0x270226A0: push ebp */
   6032     ebp = esp; /* 0x270226A1: mov ebp, esp */
   6033     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x270226A3: mov al, byte ptr [ebp + 8] */
   6034     MEM8(ecx + 0x24) = (uint8_t)(LO8(eax)); /* 0x270226A6: mov byte ptr [ecx + 0x24], al */
   6035     ebp = POP32_VAL(esp); /* 0x270226A9: pop ebp */
   6036     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x270226AA: ret 4 */
   6037     RECOMP_REGS_OUT();
   6038 }
   6039 
   6040 void sub_270226B0(void) {
   6041     int _fpu_cmp = 0;
   6042     uint32_t _cf = 0;
   6043     int _df = 1;
   6044     uint32_t _flag_k = FK_NONE;
   6045     uint32_t _flag_a = 0, _flag_b = 0;
   6046     uint32_t _itail_tgt = 0;
   6047     RECOMP_REGS_LOCALS
   6048     RECOMP_ENTER(0x270226B0u);
   6049 
   6050 L_270226B0:
   6051     PUSH32(esp, ebp); /* 0x270226B0: push ebp */
   6052     ebp = esp; /* 0x270226B1: mov ebp, esp */
   6053     SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x270226B3: mov al, byte ptr [ebp + 8] */
   6054     MEM8(ecx + 0x25) = (uint8_t)(LO8(eax)); /* 0x270226B6: mov byte ptr [ecx + 0x25], al */
   6055     ebp = POP32_VAL(esp); /* 0x270226B9: pop ebp */
   6056     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x270226BA: ret 4 */
   6057     RECOMP_REGS_OUT();
   6058 }
   6059 
   6060 void sub_270226C0(void) {
   6061     int _fpu_cmp = 0;
   6062     uint32_t _cf = 0;
   6063     int _df = 1;
   6064     uint32_t _flag_k = FK_NONE;
   6065     uint32_t _flag_a = 0, _flag_b = 0;
   6066     uint32_t _itail_tgt = 0;
   6067     RECOMP_REGS_LOCALS
   6068     RECOMP_ENTER(0x270226C0u);
   6069 
   6070 L_270226C0:
   6071     PUSH32(esp, ebp); /* 0x270226C0: push ebp */
   6072     ebp = esp; /* 0x270226C1: mov ebp, esp */
   6073     eax = MEM32(ebp + 0x8); /* 0x270226C3: mov eax, dword ptr [ebp + 8] */
   6074     edx = MEM32(ebp + 0xC); /* 0x270226C6: mov edx, dword ptr [ebp + 0xc] */
   6075     MEM32(ecx + 0x1C) = eax; /* 0x270226C9: mov dword ptr [ecx + 0x1c], eax */
   6076     MEM32(ecx + 0x20) = edx; /* 0x270226CC: mov dword ptr [ecx + 0x20], edx */
   6077     ebp = POP32_VAL(esp); /* 0x270226CF: pop ebp */
   6078     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x270226D0: ret 8 */
   6079     RECOMP_REGS_OUT();
   6080 }