aorecomp

Anarchy Online classic in the browser

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


client/game/br.dll/lifted-0000.c (347101B)


      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_26001000(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(0x26001000u);
     17 
     18 L_26001000:
     19     PUSH32(esp, ebp); /* 0x26001000: push ebp */
     20     ebp = esp; /* 0x26001001: mov ebp, esp */
     21     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x324u);
     22     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     23     esp = esp - 0x324u; /* 0x26001003: sub esp, 0x324 */
     24     _flag_k = FK_CMP;
     25     eax = MEM32(0x260064D0); /* 0x26001009: mov eax, dword ptr [0x260064d0] */
     26     /* test eax, eax */ /* 0x2600100E: test eax, eax */
     27     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
     28     _cf = 0;
     29     _flag_k = FK_TEST;
     30     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001172; /* 0x26001010: jne 0x26001172 */
     31 L_26001016:
     32     PUSH32(esp, esi); /* 0x26001016: push esi */
     33     PUSH32(esp, edi); /* 0x26001017: push edi */
     34     edi = MEM32(0x26004028); /* 0x26001018: mov edi, dword ptr [0x26004028] */
     35     PUSH32(esp, 0x26006040u); /* 0x2600101E: push 0x26006040 */
     36     RECOMP_ICALL(edi); /* 0x26001023: call edi */
     37     RECOMP_FLAGS_IN();
     38     esi = eax; /* 0x26001025: mov esi, eax */
     39     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     40     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     41     esp = esp + 4; /* 0x26001027: add esp, 4 */
     42     _flag_k = FK_ADD;
     43     /* test esi, esi */ /* 0x2600102A: test esi, esi */
     44     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
     45     _cf = 0;
     46     _flag_k = FK_TEST;
     47     if (TEST_NZ(_flag_a, _flag_b)) goto L_260010D3; /* 0x2600102C: jne 0x260010d3 */
     48 L_26001032:
     49     PUSH32(esp, 0x26006038u); /* 0x26001032: push 0x26006038 */
     50     RECOMP_ICALL(edi); /* 0x26001037: call edi */
     51     RECOMP_FLAGS_IN();
     52     edx = eax; /* 0x26001039: mov edx, eax */
     53     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
     54     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     55     esp = esp + 4; /* 0x2600103B: add esp, 4 */
     56     _flag_k = FK_ADD;
     57     /* test edx, edx */ /* 0x2600103E: test edx, edx */
     58     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
     59     _cf = 0;
     60     _flag_k = FK_TEST;
     61     if (TEST_Z(_flag_a, _flag_b)) goto L_2600107C; /* 0x26001040: je 0x2600107c */
     62 L_26001042:
     63     edi = edx; /* 0x26001042: mov edi, edx */
     64     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
     65     ecx = ecx | 0xFFFFFFFFu; /* 0x26001044: or ecx, 0xffffffff */
     66     _cf = 0;
     67     _flag_k = FK_TEST;
     68     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     69     eax = 0; /* 0x26001047: xor eax, eax */
     70     _cf = 0;
     71     _flag_k = FK_TEST;
     72     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; } /* 0x26001049: repne scasb al, byte ptr es:[edi] */
     73     ecx = ~ecx; /* 0x2600104B: not ecx */
     74     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
     75     ecx = ecx - 1; /* 0x2600104D: dec ecx */
     76     _flag_k = FK_DEC;
     77     /* cmp ecx, 0xC8u */ /* 0x2600104E: cmp ecx, 0xc8 */
     78     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xC8u);
     79     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     80     _flag_k = FK_CMP;
     81     if (CMP_A(_flag_a, _flag_b)) goto L_2600107C; /* 0x26001054: ja 0x2600107c */
     82 L_26001056:
     83     PUSH32(esp, edx); /* 0x26001056: push edx */
     84     eax = ebp + (-0x124); /* 0x26001057: lea eax, [ebp - 0x124] */
     85     PUSH32(esp, 0x2600602Cu); /* 0x2600105D: push 0x2600602c */
     86     PUSH32(esp, eax); /* 0x26001062: push eax */
     87     RECOMP_ICALL(MEM32(0x26004048)); /* 0x26001063: call dword ptr [0x26004048] */
     88     RECOMP_FLAGS_IN();
     89     ecx = ebp + (-0x124); /* 0x26001069: lea ecx, [ebp - 0x124] */
     90     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
     91     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
     92     esp = esp + 0xCu; /* 0x2600106F: add esp, 0xc */
     93     _flag_k = FK_ADD;
     94     /* test ecx, ecx */ /* 0x26001072: test ecx, ecx */
     95     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
     96     _cf = 0;
     97     _flag_k = FK_TEST;
     98     esi = ebp + (-0x124); /* 0x26001074: lea esi, [ebp - 0x124] */
     99     if (TEST_NZ(_flag_a, _flag_b)) goto L_260010D3; /* 0x2600107A: jne 0x260010d3 */
    100 L_2600107C:
    101     edi = MEM32(0x26004020); /* 0x2600107C: mov edi, dword ptr [0x26004020] */
    102     edx = ebp + (-0x24); /* 0x26001082: lea edx, [ebp - 0x24] */
    103     PUSH32(esp, edx); /* 0x26001085: push edx */
    104     PUSH32(esp, 0x26006020u); /* 0x26001086: push 0x26006020 */
    105     RECOMP_ICALL(edi); /* 0x2600108B: call edi */
    106     RECOMP_FLAGS_IN();
    107     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    108     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    109     esp = esp + 8; /* 0x2600108D: add esp, 8 */
    110     _flag_k = FK_ADD;
    111     /* test eax, eax */ /* 0x26001090: test eax, eax */
    112     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    113     _cf = 0;
    114     _flag_k = FK_TEST;
    115     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600109D; /* 0x26001092: jne 0x2600109d */
    116 L_26001094:
    117     esi = 0x26006020u; /* 0x26001094: mov esi, 0x26006020 */
    118     /* cmp eax, esi */ /* 0x26001099: cmp eax, esi */
    119     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi);
    120     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    121     _flag_k = FK_CMP;
    122     if (CMP_NE(_flag_a, _flag_b)) goto L_260010D3; /* 0x2600109B: jne 0x260010d3 */
    123 L_2600109D:
    124     ecx = ebp + (-0x24); /* 0x2600109D: lea ecx, [ebp - 0x24] */
    125     PUSH32(esp, ecx); /* 0x260010A0: push ecx */
    126     PUSH32(esp, 0x26006014u); /* 0x260010A1: push 0x26006014 */
    127     RECOMP_ICALL(edi); /* 0x260010A6: call edi */
    128     RECOMP_FLAGS_IN();
    129     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    130     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    131     esp = esp + 8; /* 0x260010A8: add esp, 8 */
    132     _flag_k = FK_ADD;
    133     /* test eax, eax */ /* 0x260010AB: test eax, eax */
    134     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    135     _cf = 0;
    136     _flag_k = FK_TEST;
    137     if (TEST_NZ(_flag_a, _flag_b)) goto L_260010D3; /* 0x260010AD: jne 0x260010d3 */
    138 L_260010AF:
    139     PUSH32(esp, 0x200u); /* 0x260010AF: push 0x200 */
    140     edx = ebp + (-0x324); /* 0x260010B4: lea edx, [ebp - 0x324] */
    141     PUSH32(esp, 0x26006014u); /* 0x260010BA: push 0x26006014 */
    142     PUSH32(esp, edx); /* 0x260010BF: push edx */
    143     RECOMP_ICALL(MEM32(0x26004030)); /* 0x260010C0: call dword ptr [0x26004030] */
    144     RECOMP_FLAGS_IN();
    145     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    146     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    147     esp = esp + 0xCu; /* 0x260010C6: add esp, 0xc */
    148     _flag_k = FK_ADD;
    149     /* test eax, eax */ /* 0x260010C9: test eax, eax */
    150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    151     _cf = 0;
    152     _flag_k = FK_TEST;
    153     if (TEST_Z(_flag_a, _flag_b)) goto L_260010D3; /* 0x260010CB: je 0x260010d3 */
    154 L_260010CD:
    155     esi = ebp + (-0x324); /* 0x260010CD: lea esi, [ebp - 0x324] */
    156 L_260010D3:
    157     edi = esi; /* 0x260010D3: mov edi, esi */
    158     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    159     ecx = ecx | 0xFFFFFFFFu; /* 0x260010D5: or ecx, 0xffffffff */
    160     _cf = 0;
    161     _flag_k = FK_TEST;
    162     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    163     eax = 0; /* 0x260010D8: xor eax, eax */
    164     _cf = 0;
    165     _flag_k = FK_TEST;
    166     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; } /* 0x260010DA: repne scasb al, byte ptr es:[edi] */
    167     ecx = ~ecx; /* 0x260010DC: not ecx */
    168     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    169     ecx = ecx - 1; /* 0x260010DE: dec ecx */
    170     _flag_k = FK_DEC;
    171     edi = esi; /* 0x260010DF: mov edi, esi */
    172     edx = ecx; /* 0x260010E1: mov edx, ecx */
    173     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    174     ecx = ecx | 0xFFFFFFFFu; /* 0x260010E3: or ecx, 0xffffffff */
    175     _cf = 0;
    176     _flag_k = FK_TEST;
    177     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; } /* 0x260010E6: repne scasb al, byte ptr es:[edi] */
    178     ecx = ~ecx; /* 0x260010E8: not ecx */
    179     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    180     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    181     edi = edi - ecx; /* 0x260010EA: sub edi, ecx */
    182     _flag_k = FK_CMP;
    183     eax = ecx; /* 0x260010EC: mov eax, ecx */
    184     esi = edi; /* 0x260010EE: mov esi, edi */
    185     edi = 0x26006350u; /* 0x260010F0: mov edi, 0x26006350 */
    186     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x260010F5: shr ecx, 2 */
    187     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    188     ecx = ecx >> 2u; /* 0x260010F5: shr ecx, 2 */
    189     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x260010F8: 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; }
    190     ecx = eax; /* 0x260010FA: mov ecx, eax */
    191     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    192     ecx = ecx & 3; /* 0x260010FC: and ecx, 3 */
    193     _cf = 0;
    194     _flag_k = FK_TEST;
    195     /* test edx, edx */ /* 0x260010FF: test edx, edx */
    196     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    197     _cf = 0;
    198     _flag_k = FK_TEST;
    199     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001101: 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; }
    200     if (TEST_LE(_flag_a, _flag_b)) goto L_26001142; /* 0x26001103: jle 0x26001142 */
    201 L_26001105:
    202     SET_LO8(edx, MEM8(edx + 0x2600634F)); /* 0x26001105: mov dl, byte ptr [edx + 0x2600634f] */
    203     /* cmp LO8(edx), 0x2Fu */ /* 0x2600110B: cmp dl, 0x2f */
    204     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24;
    205     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    206     _flag_k = FK_NARROW(FK_CMP, 24);
    207     if (CMP_EQ(_flag_a, _flag_b)) goto L_26001142; /* 0x2600110E: je 0x26001142 */
    208 L_26001110:
    209     /* cmp LO8(edx), 0x5Cu */ /* 0x26001110: cmp dl, 0x5c */
    210     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24;
    211     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    212     _flag_k = FK_NARROW(FK_CMP, 24);
    213     if (CMP_EQ(_flag_a, _flag_b)) goto L_26001142; /* 0x26001113: je 0x26001142 */
    214 L_26001115:
    215     edi = 0x26006010u; /* 0x26001115: mov edi, 0x26006010 */
    216     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    217     ecx = ecx | 0xFFFFFFFFu; /* 0x2600111A: or ecx, 0xffffffff */
    218     _cf = 0;
    219     _flag_k = FK_TEST;
    220     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    221     eax = 0; /* 0x2600111D: xor eax, eax */
    222     _cf = 0;
    223     _flag_k = FK_TEST;
    224     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; } /* 0x2600111F: repne scasb al, byte ptr es:[edi] */
    225     ecx = ~ecx; /* 0x26001121: not ecx */
    226     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    227     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    228     edi = edi - ecx; /* 0x26001123: sub edi, ecx */
    229     _flag_k = FK_CMP;
    230     esi = edi; /* 0x26001125: mov esi, edi */
    231     edx = ecx; /* 0x26001127: mov edx, ecx */
    232     edi = 0x26006350u; /* 0x26001129: mov edi, 0x26006350 */
    233     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    234     ecx = ecx | 0xFFFFFFFFu; /* 0x2600112E: or ecx, 0xffffffff */
    235     _cf = 0;
    236     _flag_k = FK_TEST;
    237     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; } /* 0x26001131: repne scasb al, byte ptr es:[edi] */
    238     ecx = edx; /* 0x26001133: mov ecx, edx */
    239     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
    240     edi = edi - 1; /* 0x26001135: dec edi */
    241     _flag_k = FK_DEC;
    242     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001136: shr ecx, 2 */
    243     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    244     ecx = ecx >> 2u; /* 0x26001136: shr ecx, 2 */
    245     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001139: 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; }
    246     ecx = edx; /* 0x2600113B: mov ecx, edx */
    247     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    248     ecx = ecx & 3; /* 0x2600113D: and ecx, 3 */
    249     _cf = 0;
    250     _flag_k = FK_TEST;
    251     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001140: 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; }
    252 L_26001142:
    253     SET_LO8(ecx, MEM8(0x26006350)); /* 0x26001142: mov cl, byte ptr [0x26006350] */
    254     edi = POP32_VAL(esp); /* 0x26001148: pop edi */
    255     /* test LO8(ecx), LO8(ecx) */ /* 0x26001149: test cl, cl */
    256     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    257     _cf = 0;
    258     _flag_k = FK_NARROW(FK_TEST, 24);
    259     MEM32(0x260064D0) = 0x26006350u; /* 0x2600114B: mov dword ptr [0x260064d0], 0x26006350 */
    260     eax = 0x26006350u; /* 0x26001155: mov eax, 0x26006350 */
    261     esi = POP32_VAL(esp); /* 0x2600115A: pop esi */
    262     if (TEST_Z(_flag_a, _flag_b)) goto L_2600116D; /* 0x2600115B: je 0x2600116d */
    263 L_2600115D:
    264     /* cmp MEM8(eax), 0x5Cu */ /* 0x2600115D: cmp byte ptr [eax], 0x5c */
    265     _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24;
    266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    267     _flag_k = FK_NARROW(FK_CMP, 24);
    268     if (CMP_NE(_flag_a, _flag_b)) goto L_26001165; /* 0x26001160: jne 0x26001165 */
    269 L_26001162:
    270     MEM8(eax) = (uint8_t)(0x2Fu); /* 0x26001162: mov byte ptr [eax], 0x2f */
    271 L_26001165:
    272     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x26001165: mov cl, byte ptr [eax + 1] */
    273     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    274     eax = eax + 1; /* 0x26001168: inc eax */
    275     _flag_k = FK_INC;
    276     /* test LO8(ecx), LO8(ecx) */ /* 0x26001169: test cl, cl */
    277     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    278     _cf = 0;
    279     _flag_k = FK_NARROW(FK_TEST, 24);
    280     RECOMP_BACKEDGE();
    281     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600115D; /* 0x2600116B: jne 0x2600115d */
    282 L_2600116D:
    283     eax = MEM32(0x260064D0); /* 0x2600116D: mov eax, dword ptr [0x260064d0] */
    284 L_26001172:
    285     esp = ebp; /* 0x26001172: mov esp, ebp */
    286     ebp = POP32_VAL(esp); /* 0x26001174: pop ebp */
    287     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26001175: ret  */
    288     RECOMP_REGS_OUT();
    289 }
    290 
    291 void sub_26001180(void) {
    292     int _fpu_cmp = 0;
    293     uint32_t _cf = 0;
    294     int _df = 1;
    295     uint32_t _flag_k = FK_NONE;
    296     uint32_t _flag_a = 0, _flag_b = 0;
    297     uint32_t _itail_tgt = 0;
    298     RECOMP_REGS_LOCALS
    299     RECOMP_ENTER(0x26001180u);
    300 
    301 L_26001180:
    302     PUSH32(esp, ebp); /* 0x26001180: push ebp */
    303     ebp = esp; /* 0x26001181: mov ebp, esp */
    304     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x124u);
    305     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    306     esp = esp - 0x124u; /* 0x26001183: sub esp, 0x124 */
    307     _flag_k = FK_CMP;
    308     eax = MEM32(0x260064D4); /* 0x26001189: mov eax, dword ptr [0x260064d4] */
    309     /* test eax, eax */ /* 0x2600118E: test eax, eax */
    310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    311     _cf = 0;
    312     _flag_k = FK_TEST;
    313     if (TEST_NZ(_flag_a, _flag_b)) goto L_260012B2; /* 0x26001190: jne 0x260012b2 */
    314 L_26001196:
    315     PUSH32(esp, esi); /* 0x26001196: push esi */
    316     PUSH32(esp, edi); /* 0x26001197: push edi */
    317     edi = MEM32(0x26004028); /* 0x26001198: mov edi, dword ptr [0x26004028] */
    318     PUSH32(esp, 0x26006078u); /* 0x2600119E: push 0x26006078 */
    319     RECOMP_ICALL(edi); /* 0x260011A3: call edi */
    320     RECOMP_FLAGS_IN();
    321     esi = eax; /* 0x260011A5: mov esi, eax */
    322     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    323     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    324     esp = esp + 4; /* 0x260011A7: add esp, 4 */
    325     _flag_k = FK_ADD;
    326     /* test esi, esi */ /* 0x260011AA: test esi, esi */
    327     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
    328     _cf = 0;
    329     _flag_k = FK_TEST;
    330     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001213; /* 0x260011AC: jne 0x26001213 */
    331 L_260011AE:
    332     PUSH32(esp, 0x26006038u); /* 0x260011AE: push 0x26006038 */
    333     RECOMP_ICALL(edi); /* 0x260011B3: call edi */
    334     RECOMP_FLAGS_IN();
    335     edx = eax; /* 0x260011B5: mov edx, eax */
    336     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    337     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    338     esp = esp + 4; /* 0x260011B7: add esp, 4 */
    339     _flag_k = FK_ADD;
    340     /* test edx, edx */ /* 0x260011BA: test edx, edx */
    341     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    342     _cf = 0;
    343     _flag_k = FK_TEST;
    344     if (TEST_Z(_flag_a, _flag_b)) goto L_260011F8; /* 0x260011BC: je 0x260011f8 */
    345 L_260011BE:
    346     edi = edx; /* 0x260011BE: mov edi, edx */
    347     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    348     ecx = ecx | 0xFFFFFFFFu; /* 0x260011C0: or ecx, 0xffffffff */
    349     _cf = 0;
    350     _flag_k = FK_TEST;
    351     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    352     eax = 0; /* 0x260011C3: xor eax, eax */
    353     _cf = 0;
    354     _flag_k = FK_TEST;
    355     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; } /* 0x260011C5: repne scasb al, byte ptr es:[edi] */
    356     ecx = ~ecx; /* 0x260011C7: not ecx */
    357     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    358     ecx = ecx - 1; /* 0x260011C9: dec ecx */
    359     _flag_k = FK_DEC;
    360     /* cmp ecx, 0xC8u */ /* 0x260011CA: cmp ecx, 0xc8 */
    361     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xC8u);
    362     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    363     _flag_k = FK_CMP;
    364     if (CMP_A(_flag_a, _flag_b)) goto L_260011F8; /* 0x260011D0: ja 0x260011f8 */
    365 L_260011D2:
    366     PUSH32(esp, edx); /* 0x260011D2: push edx */
    367     eax = ebp + (-0x124); /* 0x260011D3: lea eax, [ebp - 0x124] */
    368     PUSH32(esp, 0x26006060u); /* 0x260011D9: push 0x26006060 */
    369     PUSH32(esp, eax); /* 0x260011DE: push eax */
    370     RECOMP_ICALL(MEM32(0x26004048)); /* 0x260011DF: call dword ptr [0x26004048] */
    371     RECOMP_FLAGS_IN();
    372     ecx = ebp + (-0x124); /* 0x260011E5: lea ecx, [ebp - 0x124] */
    373     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    374     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    375     esp = esp + 0xCu; /* 0x260011EB: add esp, 0xc */
    376     _flag_k = FK_ADD;
    377     /* test ecx, ecx */ /* 0x260011EE: test ecx, ecx */
    378     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    379     _cf = 0;
    380     _flag_k = FK_TEST;
    381     esi = ebp + (-0x124); /* 0x260011F0: lea esi, [ebp - 0x124] */
    382     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001213; /* 0x260011F6: jne 0x26001213 */
    383 L_260011F8:
    384     edx = ebp + (-0x24); /* 0x260011F8: lea edx, [ebp - 0x24] */
    385     PUSH32(esp, edx); /* 0x260011FB: push edx */
    386     PUSH32(esp, 0x2600604Cu); /* 0x260011FC: push 0x2600604c */
    387     RECOMP_ICALL(MEM32(0x26004020)); /* 0x26001201: call dword ptr [0x26004020] */
    388     RECOMP_FLAGS_IN();
    389     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    390     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    391     esp = esp + 8; /* 0x26001207: add esp, 8 */
    392     _flag_k = FK_ADD;
    393     /* test eax, eax */ /* 0x2600120A: test eax, eax */
    394     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    395     _cf = 0;
    396     _flag_k = FK_TEST;
    397     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001213; /* 0x2600120C: jne 0x26001213 */
    398 L_2600120E:
    399     esi = 0x2600604Cu; /* 0x2600120E: mov esi, 0x2600604c */
    400 L_26001213:
    401     edi = esi; /* 0x26001213: mov edi, esi */
    402     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    403     ecx = ecx | 0xFFFFFFFFu; /* 0x26001215: or ecx, 0xffffffff */
    404     _cf = 0;
    405     _flag_k = FK_TEST;
    406     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    407     eax = 0; /* 0x26001218: xor eax, eax */
    408     _cf = 0;
    409     _flag_k = FK_TEST;
    410     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; } /* 0x2600121A: repne scasb al, byte ptr es:[edi] */
    411     ecx = ~ecx; /* 0x2600121C: not ecx */
    412     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    413     ecx = ecx - 1; /* 0x2600121E: dec ecx */
    414     _flag_k = FK_DEC;
    415     edi = esi; /* 0x2600121F: mov edi, esi */
    416     edx = ecx; /* 0x26001221: mov edx, ecx */
    417     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    418     ecx = ecx | 0xFFFFFFFFu; /* 0x26001223: or ecx, 0xffffffff */
    419     _cf = 0;
    420     _flag_k = FK_TEST;
    421     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; } /* 0x26001226: repne scasb al, byte ptr es:[edi] */
    422     ecx = ~ecx; /* 0x26001228: not ecx */
    423     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    424     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    425     edi = edi - ecx; /* 0x2600122A: sub edi, ecx */
    426     _flag_k = FK_CMP;
    427     eax = ecx; /* 0x2600122C: mov eax, ecx */
    428     esi = edi; /* 0x2600122E: mov esi, edi */
    429     edi = 0x260063D0u; /* 0x26001230: mov edi, 0x260063d0 */
    430     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001235: shr ecx, 2 */
    431     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    432     ecx = ecx >> 2u; /* 0x26001235: shr ecx, 2 */
    433     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001238: 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; }
    434     ecx = eax; /* 0x2600123A: mov ecx, eax */
    435     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    436     ecx = ecx & 3; /* 0x2600123C: and ecx, 3 */
    437     _cf = 0;
    438     _flag_k = FK_TEST;
    439     /* test edx, edx */ /* 0x2600123F: test edx, edx */
    440     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    441     _cf = 0;
    442     _flag_k = FK_TEST;
    443     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001241: 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; }
    444     if (TEST_LE(_flag_a, _flag_b)) goto L_26001282; /* 0x26001243: jle 0x26001282 */
    445 L_26001245:
    446     SET_LO8(edx, MEM8(edx + 0x260063CF)); /* 0x26001245: mov dl, byte ptr [edx + 0x260063cf] */
    447     /* cmp LO8(edx), 0x2Fu */ /* 0x2600124B: cmp dl, 0x2f */
    448     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24;
    449     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    450     _flag_k = FK_NARROW(FK_CMP, 24);
    451     if (CMP_EQ(_flag_a, _flag_b)) goto L_26001282; /* 0x2600124E: je 0x26001282 */
    452 L_26001250:
    453     /* cmp LO8(edx), 0x5Cu */ /* 0x26001250: cmp dl, 0x5c */
    454     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24;
    455     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    456     _flag_k = FK_NARROW(FK_CMP, 24);
    457     if (CMP_EQ(_flag_a, _flag_b)) goto L_26001282; /* 0x26001253: je 0x26001282 */
    458 L_26001255:
    459     edi = 0x26006010u; /* 0x26001255: mov edi, 0x26006010 */
    460     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    461     ecx = ecx | 0xFFFFFFFFu; /* 0x2600125A: or ecx, 0xffffffff */
    462     _cf = 0;
    463     _flag_k = FK_TEST;
    464     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    465     eax = 0; /* 0x2600125D: xor eax, eax */
    466     _cf = 0;
    467     _flag_k = FK_TEST;
    468     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; } /* 0x2600125F: repne scasb al, byte ptr es:[edi] */
    469     ecx = ~ecx; /* 0x26001261: not ecx */
    470     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    471     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    472     edi = edi - ecx; /* 0x26001263: sub edi, ecx */
    473     _flag_k = FK_CMP;
    474     esi = edi; /* 0x26001265: mov esi, edi */
    475     edx = ecx; /* 0x26001267: mov edx, ecx */
    476     edi = 0x260063D0u; /* 0x26001269: mov edi, 0x260063d0 */
    477     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    478     ecx = ecx | 0xFFFFFFFFu; /* 0x2600126E: or ecx, 0xffffffff */
    479     _cf = 0;
    480     _flag_k = FK_TEST;
    481     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; } /* 0x26001271: repne scasb al, byte ptr es:[edi] */
    482     ecx = edx; /* 0x26001273: mov ecx, edx */
    483     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
    484     edi = edi - 1; /* 0x26001275: dec edi */
    485     _flag_k = FK_DEC;
    486     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001276: shr ecx, 2 */
    487     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    488     ecx = ecx >> 2u; /* 0x26001276: shr ecx, 2 */
    489     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001279: 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; }
    490     ecx = edx; /* 0x2600127B: mov ecx, edx */
    491     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    492     ecx = ecx & 3; /* 0x2600127D: and ecx, 3 */
    493     _cf = 0;
    494     _flag_k = FK_TEST;
    495     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001280: 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; }
    496 L_26001282:
    497     SET_LO8(ecx, MEM8(0x260063D0)); /* 0x26001282: mov cl, byte ptr [0x260063d0] */
    498     edi = POP32_VAL(esp); /* 0x26001288: pop edi */
    499     /* test LO8(ecx), LO8(ecx) */ /* 0x26001289: test cl, cl */
    500     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    501     _cf = 0;
    502     _flag_k = FK_NARROW(FK_TEST, 24);
    503     MEM32(0x260064D4) = 0x260063D0u; /* 0x2600128B: mov dword ptr [0x260064d4], 0x260063d0 */
    504     eax = 0x260063D0u; /* 0x26001295: mov eax, 0x260063d0 */
    505     esi = POP32_VAL(esp); /* 0x2600129A: pop esi */
    506     if (TEST_Z(_flag_a, _flag_b)) goto L_260012AD; /* 0x2600129B: je 0x260012ad */
    507 L_2600129D:
    508     /* cmp MEM8(eax), 0x5Cu */ /* 0x2600129D: cmp byte ptr [eax], 0x5c */
    509     _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24;
    510     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    511     _flag_k = FK_NARROW(FK_CMP, 24);
    512     if (CMP_NE(_flag_a, _flag_b)) goto L_260012A5; /* 0x260012A0: jne 0x260012a5 */
    513 L_260012A2:
    514     MEM8(eax) = (uint8_t)(0x2Fu); /* 0x260012A2: mov byte ptr [eax], 0x2f */
    515 L_260012A5:
    516     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x260012A5: mov cl, byte ptr [eax + 1] */
    517     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    518     eax = eax + 1; /* 0x260012A8: inc eax */
    519     _flag_k = FK_INC;
    520     /* test LO8(ecx), LO8(ecx) */ /* 0x260012A9: test cl, cl */
    521     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    522     _cf = 0;
    523     _flag_k = FK_NARROW(FK_TEST, 24);
    524     RECOMP_BACKEDGE();
    525     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600129D; /* 0x260012AB: jne 0x2600129d */
    526 L_260012AD:
    527     eax = MEM32(0x260064D4); /* 0x260012AD: mov eax, dword ptr [0x260064d4] */
    528 L_260012B2:
    529     esp = ebp; /* 0x260012B2: mov esp, ebp */
    530     ebp = POP32_VAL(esp); /* 0x260012B4: pop ebp */
    531     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260012B5: ret  */
    532     RECOMP_REGS_OUT();
    533 }
    534 
    535 void sub_260012C0(void) {
    536     int _fpu_cmp = 0;
    537     uint32_t _cf = 0;
    538     int _df = 1;
    539     uint32_t _flag_k = FK_NONE;
    540     uint32_t _flag_a = 0, _flag_b = 0;
    541     uint32_t _itail_tgt = 0;
    542     RECOMP_REGS_LOCALS
    543     RECOMP_ENTER(0x260012C0u);
    544 
    545 L_260012C0:
    546     PUSH32(esp, ebp); /* 0x260012C0: push ebp */
    547     ebp = esp; /* 0x260012C1: mov ebp, esp */
    548     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x124u);
    549     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    550     esp = esp - 0x124u; /* 0x260012C3: sub esp, 0x124 */
    551     _flag_k = FK_CMP;
    552     eax = MEM32(0x260064D8); /* 0x260012C9: mov eax, dword ptr [0x260064d8] */
    553     /* test eax, eax */ /* 0x260012CE: test eax, eax */
    554     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    555     _cf = 0;
    556     _flag_k = FK_TEST;
    557     if (TEST_NZ(_flag_a, _flag_b)) goto L_260013F2; /* 0x260012D0: jne 0x260013f2 */
    558 L_260012D6:
    559     PUSH32(esp, esi); /* 0x260012D6: push esi */
    560     PUSH32(esp, edi); /* 0x260012D7: push edi */
    561     edi = MEM32(0x26004028); /* 0x260012D8: mov edi, dword ptr [0x26004028] */
    562     PUSH32(esp, 0x260060A8u); /* 0x260012DE: push 0x260060a8 */
    563     RECOMP_ICALL(edi); /* 0x260012E3: call edi */
    564     RECOMP_FLAGS_IN();
    565     esi = eax; /* 0x260012E5: mov esi, eax */
    566     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    567     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    568     esp = esp + 4; /* 0x260012E7: add esp, 4 */
    569     _flag_k = FK_ADD;
    570     /* test esi, esi */ /* 0x260012EA: test esi, esi */
    571     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
    572     _cf = 0;
    573     _flag_k = FK_TEST;
    574     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001353; /* 0x260012EC: jne 0x26001353 */
    575 L_260012EE:
    576     PUSH32(esp, 0x26006038u); /* 0x260012EE: push 0x26006038 */
    577     RECOMP_ICALL(edi); /* 0x260012F3: call edi */
    578     RECOMP_FLAGS_IN();
    579     edx = eax; /* 0x260012F5: mov edx, eax */
    580     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    581     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    582     esp = esp + 4; /* 0x260012F7: add esp, 4 */
    583     _flag_k = FK_ADD;
    584     /* test edx, edx */ /* 0x260012FA: test edx, edx */
    585     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    586     _cf = 0;
    587     _flag_k = FK_TEST;
    588     if (TEST_Z(_flag_a, _flag_b)) goto L_26001338; /* 0x260012FC: je 0x26001338 */
    589 L_260012FE:
    590     edi = edx; /* 0x260012FE: mov edi, edx */
    591     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    592     ecx = ecx | 0xFFFFFFFFu; /* 0x26001300: or ecx, 0xffffffff */
    593     _cf = 0;
    594     _flag_k = FK_TEST;
    595     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    596     eax = 0; /* 0x26001303: xor eax, eax */
    597     _cf = 0;
    598     _flag_k = FK_TEST;
    599     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; } /* 0x26001305: repne scasb al, byte ptr es:[edi] */
    600     ecx = ~ecx; /* 0x26001307: not ecx */
    601     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    602     ecx = ecx - 1; /* 0x26001309: dec ecx */
    603     _flag_k = FK_DEC;
    604     /* cmp ecx, 0xC8u */ /* 0x2600130A: cmp ecx, 0xc8 */
    605     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xC8u);
    606     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    607     _flag_k = FK_CMP;
    608     if (CMP_A(_flag_a, _flag_b)) goto L_26001338; /* 0x26001310: ja 0x26001338 */
    609 L_26001312:
    610     PUSH32(esp, edx); /* 0x26001312: push edx */
    611     eax = ebp + (-0x124); /* 0x26001313: lea eax, [ebp - 0x124] */
    612     PUSH32(esp, 0x2600609Cu); /* 0x26001319: push 0x2600609c */
    613     PUSH32(esp, eax); /* 0x2600131E: push eax */
    614     RECOMP_ICALL(MEM32(0x26004048)); /* 0x2600131F: call dword ptr [0x26004048] */
    615     RECOMP_FLAGS_IN();
    616     ecx = ebp + (-0x124); /* 0x26001325: lea ecx, [ebp - 0x124] */
    617     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    618     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    619     esp = esp + 0xCu; /* 0x2600132B: add esp, 0xc */
    620     _flag_k = FK_ADD;
    621     /* test ecx, ecx */ /* 0x2600132E: test ecx, ecx */
    622     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    623     _cf = 0;
    624     _flag_k = FK_TEST;
    625     esi = ebp + (-0x124); /* 0x26001330: lea esi, [ebp - 0x124] */
    626     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001353; /* 0x26001336: jne 0x26001353 */
    627 L_26001338:
    628     edx = ebp + (-0x24); /* 0x26001338: lea edx, [ebp - 0x24] */
    629     PUSH32(esp, edx); /* 0x2600133B: push edx */
    630     PUSH32(esp, 0x26006088u); /* 0x2600133C: push 0x26006088 */
    631     RECOMP_ICALL(MEM32(0x26004020)); /* 0x26001341: call dword ptr [0x26004020] */
    632     RECOMP_FLAGS_IN();
    633     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
    634     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    635     esp = esp + 8; /* 0x26001347: add esp, 8 */
    636     _flag_k = FK_ADD;
    637     /* test eax, eax */ /* 0x2600134A: test eax, eax */
    638     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    639     _cf = 0;
    640     _flag_k = FK_TEST;
    641     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001353; /* 0x2600134C: jne 0x26001353 */
    642 L_2600134E:
    643     esi = 0x26006088u; /* 0x2600134E: mov esi, 0x26006088 */
    644 L_26001353:
    645     edi = esi; /* 0x26001353: mov edi, esi */
    646     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    647     ecx = ecx | 0xFFFFFFFFu; /* 0x26001355: or ecx, 0xffffffff */
    648     _cf = 0;
    649     _flag_k = FK_TEST;
    650     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    651     eax = 0; /* 0x26001358: xor eax, eax */
    652     _cf = 0;
    653     _flag_k = FK_TEST;
    654     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; } /* 0x2600135A: repne scasb al, byte ptr es:[edi] */
    655     ecx = ~ecx; /* 0x2600135C: not ecx */
    656     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    657     ecx = ecx - 1; /* 0x2600135E: dec ecx */
    658     _flag_k = FK_DEC;
    659     edi = esi; /* 0x2600135F: mov edi, esi */
    660     edx = ecx; /* 0x26001361: mov edx, ecx */
    661     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    662     ecx = ecx | 0xFFFFFFFFu; /* 0x26001363: or ecx, 0xffffffff */
    663     _cf = 0;
    664     _flag_k = FK_TEST;
    665     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; } /* 0x26001366: repne scasb al, byte ptr es:[edi] */
    666     ecx = ~ecx; /* 0x26001368: not ecx */
    667     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    668     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    669     edi = edi - ecx; /* 0x2600136A: sub edi, ecx */
    670     _flag_k = FK_CMP;
    671     eax = ecx; /* 0x2600136C: mov eax, ecx */
    672     esi = edi; /* 0x2600136E: mov esi, edi */
    673     edi = 0x260062D0u; /* 0x26001370: mov edi, 0x260062d0 */
    674     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001375: shr ecx, 2 */
    675     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    676     ecx = ecx >> 2u; /* 0x26001375: shr ecx, 2 */
    677     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001378: 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; }
    678     ecx = eax; /* 0x2600137A: mov ecx, eax */
    679     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    680     ecx = ecx & 3; /* 0x2600137C: and ecx, 3 */
    681     _cf = 0;
    682     _flag_k = FK_TEST;
    683     /* test edx, edx */ /* 0x2600137F: test edx, edx */
    684     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
    685     _cf = 0;
    686     _flag_k = FK_TEST;
    687     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001381: 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; }
    688     if (TEST_LE(_flag_a, _flag_b)) goto L_260013C2; /* 0x26001383: jle 0x260013c2 */
    689 L_26001385:
    690     SET_LO8(edx, MEM8(edx + 0x260062CF)); /* 0x26001385: mov dl, byte ptr [edx + 0x260062cf] */
    691     /* cmp LO8(edx), 0x2Fu */ /* 0x2600138B: cmp dl, 0x2f */
    692     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24;
    693     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    694     _flag_k = FK_NARROW(FK_CMP, 24);
    695     if (CMP_EQ(_flag_a, _flag_b)) goto L_260013C2; /* 0x2600138E: je 0x260013c2 */
    696 L_26001390:
    697     /* cmp LO8(edx), 0x5Cu */ /* 0x26001390: cmp dl, 0x5c */
    698     _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24;
    699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    700     _flag_k = FK_NARROW(FK_CMP, 24);
    701     if (CMP_EQ(_flag_a, _flag_b)) goto L_260013C2; /* 0x26001393: je 0x260013c2 */
    702 L_26001395:
    703     edi = 0x26006010u; /* 0x26001395: mov edi, 0x26006010 */
    704     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    705     ecx = ecx | 0xFFFFFFFFu; /* 0x2600139A: or ecx, 0xffffffff */
    706     _cf = 0;
    707     _flag_k = FK_TEST;
    708     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    709     eax = 0; /* 0x2600139D: xor eax, eax */
    710     _cf = 0;
    711     _flag_k = FK_TEST;
    712     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; } /* 0x2600139F: repne scasb al, byte ptr es:[edi] */
    713     ecx = ~ecx; /* 0x260013A1: not ecx */
    714     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
    715     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    716     edi = edi - ecx; /* 0x260013A3: sub edi, ecx */
    717     _flag_k = FK_CMP;
    718     esi = edi; /* 0x260013A5: mov esi, edi */
    719     edx = ecx; /* 0x260013A7: mov edx, ecx */
    720     edi = 0x260062D0u; /* 0x260013A9: mov edi, 0x260062d0 */
    721     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    722     ecx = ecx | 0xFFFFFFFFu; /* 0x260013AE: or ecx, 0xffffffff */
    723     _cf = 0;
    724     _flag_k = FK_TEST;
    725     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; } /* 0x260013B1: repne scasb al, byte ptr es:[edi] */
    726     ecx = edx; /* 0x260013B3: mov ecx, edx */
    727     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
    728     edi = edi - 1; /* 0x260013B5: dec edi */
    729     _flag_k = FK_DEC;
    730     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x260013B6: shr ecx, 2 */
    731     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    732     ecx = ecx >> 2u; /* 0x260013B6: shr ecx, 2 */
    733     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x260013B9: 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; }
    734     ecx = edx; /* 0x260013BB: mov ecx, edx */
    735     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    736     ecx = ecx & 3; /* 0x260013BD: and ecx, 3 */
    737     _cf = 0;
    738     _flag_k = FK_TEST;
    739     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x260013C0: 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; }
    740 L_260013C2:
    741     SET_LO8(ecx, MEM8(0x260062D0)); /* 0x260013C2: mov cl, byte ptr [0x260062d0] */
    742     edi = POP32_VAL(esp); /* 0x260013C8: pop edi */
    743     /* test LO8(ecx), LO8(ecx) */ /* 0x260013C9: test cl, cl */
    744     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    745     _cf = 0;
    746     _flag_k = FK_NARROW(FK_TEST, 24);
    747     MEM32(0x260064D8) = 0x260062D0u; /* 0x260013CB: mov dword ptr [0x260064d8], 0x260062d0 */
    748     eax = 0x260062D0u; /* 0x260013D5: mov eax, 0x260062d0 */
    749     esi = POP32_VAL(esp); /* 0x260013DA: pop esi */
    750     if (TEST_Z(_flag_a, _flag_b)) goto L_260013ED; /* 0x260013DB: je 0x260013ed */
    751 L_260013DD:
    752     /* cmp MEM8(eax), 0x5Cu */ /* 0x260013DD: cmp byte ptr [eax], 0x5c */
    753     _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24;
    754     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    755     _flag_k = FK_NARROW(FK_CMP, 24);
    756     if (CMP_NE(_flag_a, _flag_b)) goto L_260013E5; /* 0x260013E0: jne 0x260013e5 */
    757 L_260013E2:
    758     MEM8(eax) = (uint8_t)(0x2Fu); /* 0x260013E2: mov byte ptr [eax], 0x2f */
    759 L_260013E5:
    760     SET_LO8(ecx, MEM8(eax + 0x1)); /* 0x260013E5: mov cl, byte ptr [eax + 1] */
    761     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
    762     eax = eax + 1; /* 0x260013E8: inc eax */
    763     _flag_k = FK_INC;
    764     /* test LO8(ecx), LO8(ecx) */ /* 0x260013E9: test cl, cl */
    765     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
    766     _cf = 0;
    767     _flag_k = FK_NARROW(FK_TEST, 24);
    768     RECOMP_BACKEDGE();
    769     if (TEST_NZ(_flag_a, _flag_b)) goto L_260013DD; /* 0x260013EB: jne 0x260013dd */
    770 L_260013ED:
    771     eax = MEM32(0x260064D8); /* 0x260013ED: mov eax, dword ptr [0x260064d8] */
    772 L_260013F2:
    773     esp = ebp; /* 0x260013F2: mov esp, ebp */
    774     ebp = POP32_VAL(esp); /* 0x260013F4: pop ebp */
    775     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260013F5: ret  */
    776     RECOMP_REGS_OUT();
    777 }
    778 
    779 void sub_26001400(void) {
    780     int _fpu_cmp = 0;
    781     uint32_t _cf = 0;
    782     int _df = 1;
    783     uint32_t _flag_k = FK_NONE;
    784     uint32_t _flag_a = 0, _flag_b = 0;
    785     uint32_t _itail_tgt = 0;
    786     RECOMP_REGS_LOCALS
    787     RECOMP_ENTER(0x26001400u);
    788 
    789 L_26001400:
    790     PUSH32(esp, ebp); /* 0x26001400: push ebp */
    791     ebp = esp; /* 0x26001401: mov ebp, esp */
    792     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x108u);
    793     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    794     esp = esp - 0x108u; /* 0x26001403: sub esp, 0x108 */
    795     _flag_k = FK_CMP;
    796     eax = MEM32(0x260064DC); /* 0x26001409: mov eax, dword ptr [0x260064dc] */
    797     /* test eax, eax */ /* 0x2600140E: test eax, eax */
    798     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    799     _cf = 0;
    800     _flag_k = FK_TEST;
    801     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600145F; /* 0x26001410: jne 0x2600145f */
    802 L_26001412:
    803     eax = ebp + (-0x108); /* 0x26001412: lea eax, [ebp - 0x108] */
    804     PUSH32(esp, eax); /* 0x26001418: push eax */
    805     PUSH32(esp, 0x108u); /* 0x26001419: push 0x108 */
    806     RECOMP_ICALL(MEM32(0x26004004)); /* 0x2600141E: call dword ptr [0x26004004] */
    807     RECOMP_FLAGS_IN();
    808     PUSH32(esp, 0); /* 0x26001424: push 0 */
    809     PUSH32(esp, 0x260060C0u); /* 0x26001426: push 0x260060c0 */
    810     RECOMP_ICALL(MEM32(0x26004000)); /* 0x2600142B: call dword ptr [0x26004000] */
    811     RECOMP_FLAGS_IN();
    812     ecx = ebp + (-0x108); /* 0x26001431: lea ecx, [ebp - 0x108] */
    813     PUSH32(esp, 0x260060C0u); /* 0x26001437: push 0x260060c0 */
    814     PUSH32(esp, ecx); /* 0x2600143C: push ecx */
    815     PUSH32(esp, 0x260060B8u); /* 0x2600143D: push 0x260060b8 */
    816     PUSH32(esp, 0x26006450u); /* 0x26001442: push 0x26006450 */
    817     RECOMP_ICALL(MEM32(0x26004048)); /* 0x26001447: call dword ptr [0x26004048] */
    818     RECOMP_FLAGS_IN();
    819     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
    820     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    821     esp = esp + 0x10u; /* 0x2600144D: add esp, 0x10 */
    822     _flag_k = FK_ADD;
    823     MEM32(0x260064DC) = 0x26006450u; /* 0x26001450: mov dword ptr [0x260064dc], 0x26006450 */
    824     eax = 0x26006450u; /* 0x2600145A: mov eax, 0x26006450 */
    825 L_2600145F:
    826     esp = ebp; /* 0x2600145F: mov esp, ebp */
    827     ebp = POP32_VAL(esp); /* 0x26001461: pop ebp */
    828     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26001462: ret  */
    829     RECOMP_REGS_OUT();
    830 }
    831 
    832 void sub_26001470(void) {
    833     int _fpu_cmp = 0;
    834     uint32_t _cf = 0;
    835     int _df = 1;
    836     uint32_t _flag_k = FK_NONE;
    837     uint32_t _flag_a = 0, _flag_b = 0;
    838     uint32_t _itail_tgt = 0;
    839     RECOMP_REGS_LOCALS
    840     RECOMP_ENTER(0x26001470u);
    841 
    842 L_26001470:
    843     PUSH32(esp, ebp); /* 0x26001470: push ebp */
    844     ebp = esp; /* 0x26001471: mov ebp, esp */
    845     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x118u);
    846     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    847     esp = esp - 0x118u; /* 0x26001473: sub esp, 0x118 */
    848     _flag_k = FK_CMP;
    849     eax = MEM32(0x260064D0); /* 0x26001479: mov eax, dword ptr [0x260064d0] */
    850     PUSH32(esp, ebx); /* 0x2600147E: push ebx */
    851     PUSH32(esp, esi); /* 0x2600147F: push esi */
    852     PUSH32(esp, edi); /* 0x26001480: push edi */
    853     /* test eax, eax */ /* 0x26001481: test eax, eax */
    854     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    855     _cf = 0;
    856     _flag_k = FK_TEST;
    857     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001524; /* 0x26001483: jne 0x26001524 */
    858 L_26001489:
    859     RECOMP_ICALL(MEM32(0x26004010)); /* 0x26001489: call dword ptr [0x26004010] */
    860     RECOMP_FLAGS_IN();
    861     edi = MEM32(0x26004048); /* 0x2600148F: mov edi, dword ptr [0x26004048] */
    862     ebx = MEM32(0x2600400C); /* 0x26001495: mov ebx, dword ptr [0x2600400c] */
    863     MEM32(ebp + (-0x8)) = eax; /* 0x2600149B: mov dword ptr [ebp - 8], eax */
    864     MEM32(ebp + (-0x4)) = 2; /* 0x2600149E: mov dword ptr [ebp - 4], 2 */
    865     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    866     esi = 0; /* 0x260014A5: xor esi, esi */
    867     _cf = 0;
    868     _flag_k = FK_TEST;
    869 L_260014A7:
    870     eax = MEM32(ebp + (-0x8)); /* 0x260014A7: mov eax, dword ptr [ebp - 8] */
    871     ecx = MEM32(ebp + (-0x4)); /* 0x260014AA: mov ecx, dword ptr [ebp - 4] */
    872     /* test eax, ecx */ /* 0x260014AD: test eax, ecx */
    873     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
    874     _cf = 0;
    875     _flag_k = FK_TEST;
    876     if (TEST_Z(_flag_a, _flag_b)) goto L_26001514; /* 0x260014AF: je 0x26001514 */
    877 L_260014B1:
    878     ecx = esi + 0x41; /* 0x260014B1: lea ecx, [esi + 0x41] */
    879     PUSH32(esp, ecx); /* 0x260014B4: push ecx */
    880     PUSH32(esp, 0x260060D4u); /* 0x260014B5: push 0x260060d4 */
    881     PUSH32(esp, 0x26006350u); /* 0x260014BA: push 0x26006350 */
    882     RECOMP_ICALL(edi); /* 0x260014BF: call edi */
    883     RECOMP_FLAGS_IN();
    884     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    885     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    886     esp = esp + 0xCu; /* 0x260014C1: add esp, 0xc */
    887     _flag_k = FK_ADD;
    888     PUSH32(esp, 0x26006350u); /* 0x260014C4: push 0x26006350 */
    889     RECOMP_ICALL(ebx); /* 0x260014C9: call ebx */
    890     RECOMP_FLAGS_IN();
    891     /* cmp eax, 5 */ /* 0x260014CB: cmp eax, 5 */
    892     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5);
    893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    894     _flag_k = FK_CMP;
    895     if (CMP_NE(_flag_a, _flag_b)) goto L_26001514; /* 0x260014CE: jne 0x26001514 */
    896 L_260014D0:
    897     PUSH32(esp, 0); /* 0x260014D0: push 0 */
    898     edx = ebp + (-0xC); /* 0x260014D2: lea edx, [ebp - 0xc] */
    899     PUSH32(esp, 0); /* 0x260014D5: push 0 */
    900     eax = ebp + (-0x10); /* 0x260014D7: lea eax, [ebp - 0x10] */
    901     PUSH32(esp, edx); /* 0x260014DA: push edx */
    902     PUSH32(esp, eax); /* 0x260014DB: push eax */
    903     PUSH32(esp, 0); /* 0x260014DC: push 0 */
    904     ecx = ebp + (-0x118); /* 0x260014DE: lea ecx, [ebp - 0x118] */
    905     PUSH32(esp, 0x108u); /* 0x260014E4: push 0x108 */
    906     PUSH32(esp, ecx); /* 0x260014E9: push ecx */
    907     PUSH32(esp, 0x26006350u); /* 0x260014EA: push 0x26006350 */
    908     RECOMP_ICALL(MEM32(0x26004008)); /* 0x260014EF: call dword ptr [0x26004008] */
    909     RECOMP_FLAGS_IN();
    910     /* test eax, eax */ /* 0x260014F5: test eax, eax */
    911     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    912     _cf = 0;
    913     _flag_k = FK_TEST;
    914     if (TEST_Z(_flag_a, _flag_b)) goto L_26001514; /* 0x260014F7: je 0x26001514 */
    915 L_260014F9:
    916     PUSH32(esp, 7); /* 0x260014F9: push 7 */
    917     edx = ebp + (-0x118); /* 0x260014FB: lea edx, [ebp - 0x118] */
    918     PUSH32(esp, 0x260060CCu); /* 0x26001501: push 0x260060cc */
    919     PUSH32(esp, edx); /* 0x26001506: push edx */
    920     RECOMP_ICALL(MEM32(0x2600402C)); /* 0x26001507: call dword ptr [0x2600402c] */
    921     RECOMP_FLAGS_IN();
    922     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
    923     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    924     esp = esp + 0xCu; /* 0x2600150D: add esp, 0xc */
    925     _flag_k = FK_ADD;
    926     /* test eax, eax */ /* 0x26001510: test eax, eax */
    927     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    928     _cf = 0;
    929     _flag_k = FK_TEST;
    930     if (TEST_Z(_flag_a, _flag_b)) goto L_2600152B; /* 0x26001512: je 0x2600152b */
    931 L_26001514:
    932     edx = MEM32(ebp + (-0x4)); /* 0x26001514: mov edx, dword ptr [ebp - 4] */
    933     if (1u) _cf = (((edx) >> 31) & 1u); /* 0x26001517: shl edx, 1 */
    934     if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    935     edx = edx << 1u; /* 0x26001517: shl edx, 1 */
    936     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1);
    937     esi = esi + 1; /* 0x26001519: inc esi */
    938     _flag_k = FK_INC;
    939     MEM32(ebp + (-0x4)) = edx; /* 0x2600151A: mov dword ptr [ebp - 4], edx */
    940     /* cmp esi, 0x18u */ /* 0x2600151D: cmp esi, 0x18 */
    941     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u);
    942     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    943     _flag_k = FK_CMP;
    944     RECOMP_BACKEDGE();
    945     if (CMP_L(_flag_a, _flag_b)) goto L_260014A7; /* 0x26001520: jl 0x260014a7 */
    946 L_26001522:
    947     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    948     eax = 0; /* 0x26001522: xor eax, eax */
    949     _cf = 0;
    950     _flag_k = FK_TEST;
    951 L_26001524:
    952     edi = POP32_VAL(esp); /* 0x26001524: pop edi */
    953     esi = POP32_VAL(esp); /* 0x26001525: pop esi */
    954     ebx = POP32_VAL(esp); /* 0x26001526: pop ebx */
    955     esp = ebp; /* 0x26001527: mov esp, ebp */
    956     ebp = POP32_VAL(esp); /* 0x26001529: pop ebp */
    957     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600152A: ret  */
    958 L_2600152B:
    959     eax = 0x26006350u; /* 0x2600152B: mov eax, 0x26006350 */
    960     edi = POP32_VAL(esp); /* 0x26001530: pop edi */
    961     esi = POP32_VAL(esp); /* 0x26001531: pop esi */
    962     MEM32(0x260064D0) = eax; /* 0x26001532: mov dword ptr [0x260064d0], eax */
    963     ebx = POP32_VAL(esp); /* 0x26001537: pop ebx */
    964     esp = ebp; /* 0x26001538: mov esp, ebp */
    965     ebp = POP32_VAL(esp); /* 0x2600153A: pop ebp */
    966     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600153B: ret  */
    967     RECOMP_REGS_OUT();
    968 }
    969 
    970 void sub_26001540(void) {
    971     int _fpu_cmp = 0;
    972     uint32_t _cf = 0;
    973     int _df = 1;
    974     uint32_t _flag_k = FK_NONE;
    975     uint32_t _flag_a = 0, _flag_b = 0;
    976     uint32_t _itail_tgt = 0;
    977     RECOMP_REGS_LOCALS
    978     RECOMP_ENTER(0x26001540u);
    979 
    980 L_26001540:
    981     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26001540: ret  */
    982     RECOMP_REGS_OUT();
    983 }
    984 
    985 void sub_26001550(void) {
    986     int _fpu_cmp = 0;
    987     uint32_t _cf = 0;
    988     int _df = 1;
    989     uint32_t _flag_k = FK_NONE;
    990     uint32_t _flag_a = 0, _flag_b = 0;
    991     uint32_t _itail_tgt = 0;
    992     RECOMP_REGS_LOCALS
    993     RECOMP_ENTER(0x26001550u);
    994 
    995 L_26001550:
    996     PUSH32(esp, ebp); /* 0x26001550: push ebp */
    997     ebp = esp; /* 0x26001551: mov ebp, esp */
    998     eax = MEM32(ebp + 0x8); /* 0x26001553: mov eax, dword ptr [ebp + 8] */
    999     PUSH32(esp, esi); /* 0x26001556: push esi */
   1000     esi = ecx; /* 0x26001557: mov esi, ecx */
   1001     PUSH32(esp, eax); /* 0x26001559: push eax */
   1002     MEM8(esi + 0x104) = (uint8_t)(0); /* 0x2600155A: mov byte ptr [esi + 0x104], 0 */
   1003     RECOMP_ICALL(0x260015E0u); /* 0x26001561: call 0x260015e0 */ /* not lifted */
   1004     RECOMP_FLAGS_IN();
   1005     eax = esi; /* 0x26001566: mov eax, esi */
   1006     esi = POP32_VAL(esp); /* 0x26001568: pop esi */
   1007     ebp = POP32_VAL(esp); /* 0x26001569: pop ebp */
   1008     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2600156A: ret 4 */
   1009     RECOMP_REGS_OUT();
   1010 }
   1011 
   1012 void sub_26001570(void) {
   1013     int _fpu_cmp = 0;
   1014     uint32_t _cf = 0;
   1015     int _df = 1;
   1016     uint32_t _flag_k = FK_NONE;
   1017     uint32_t _flag_a = 0, _flag_b = 0;
   1018     uint32_t _itail_tgt = 0;
   1019     RECOMP_REGS_LOCALS
   1020     RECOMP_ENTER(0x26001570u);
   1021 
   1022 L_26001570:
   1023     PUSH32(esp, ebp); /* 0x26001570: push ebp */
   1024     ebp = esp; /* 0x26001571: mov ebp, esp */
   1025     eax = ecx; /* 0x26001573: mov eax, ecx */
   1026     ecx = MEM32(ebp + 0x8); /* 0x26001575: mov ecx, dword ptr [ebp + 8] */
   1027     SET_LO8(edx, MEM8(ecx)); /* 0x26001578: mov dl, byte ptr [ecx] */
   1028     MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2600157A: mov byte ptr [eax], dl */
   1029     ebp = POP32_VAL(esp); /* 0x2600157C: pop ebp */
   1030     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2600157D: ret 4 */
   1031     RECOMP_REGS_OUT();
   1032 }
   1033 
   1034 void sub_26001580(void) {
   1035     int _fpu_cmp = 0;
   1036     uint32_t _cf = 0;
   1037     int _df = 1;
   1038     uint32_t _flag_k = FK_NONE;
   1039     uint32_t _flag_a = 0, _flag_b = 0;
   1040     uint32_t _itail_tgt = 0;
   1041     RECOMP_REGS_LOCALS
   1042     RECOMP_ENTER(0x26001580u);
   1043 
   1044 L_26001580:
   1045     eax = ecx; /* 0x26001580: mov eax, ecx */
   1046     MEM8(eax + 0x104) = (uint8_t)(0); /* 0x26001582: mov byte ptr [eax + 0x104], 0 */
   1047     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26001589: ret  */
   1048     RECOMP_REGS_OUT();
   1049 }
   1050 
   1051 void sub_26001590(void) {
   1052     int _fpu_cmp = 0;
   1053     uint32_t _cf = 0;
   1054     int _df = 1;
   1055     uint32_t _flag_k = FK_NONE;
   1056     uint32_t _flag_a = 0, _flag_b = 0;
   1057     uint32_t _itail_tgt = 0;
   1058     RECOMP_REGS_LOCALS
   1059     RECOMP_ENTER(0x26001590u);
   1060 
   1061 L_26001590:
   1062     eax = ecx + 0x104; /* 0x26001590: lea eax, [ecx + 0x104] */
   1063     SET_LO8(ecx, MEM8(ecx + 0x104)); /* 0x26001596: mov cl, byte ptr [ecx + 0x104] */
   1064     /* test LO8(ecx), LO8(ecx) */ /* 0x2600159C: test cl, cl */
   1065     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   1066     _cf = 0;
   1067     _flag_k = FK_NARROW(FK_TEST, 24);
   1068     if (TEST_Z(_flag_a, _flag_b)) goto L_260015A7; /* 0x2600159E: je 0x260015a7 */
   1069 L_260015A0:
   1070     PUSH32(esp, eax); /* 0x260015A0: push eax */
   1071     RECOMP_ICALL(MEM32(0x26004014)); /* 0x260015A1: call dword ptr [0x26004014] */
   1072     RECOMP_FLAGS_IN();
   1073 L_260015A7:
   1074     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260015A7: ret  */
   1075     RECOMP_REGS_OUT();
   1076 }
   1077 
   1078 void sub_260015B0(void) {
   1079     int _fpu_cmp = 0;
   1080     uint32_t _cf = 0;
   1081     int _df = 1;
   1082     uint32_t _flag_k = FK_NONE;
   1083     uint32_t _flag_a = 0, _flag_b = 0;
   1084     uint32_t _itail_tgt = 0;
   1085     RECOMP_REGS_LOCALS
   1086     RECOMP_ENTER(0x260015B0u);
   1087 
   1088 L_260015B0:
   1089     eax = ecx; /* 0x260015B0: mov eax, ecx */
   1090     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260015B2: ret  */
   1091     RECOMP_REGS_OUT();
   1092 }
   1093 
   1094 void sub_260015C0(void) {
   1095     int _fpu_cmp = 0;
   1096     uint32_t _cf = 0;
   1097     int _df = 1;
   1098     uint32_t _flag_k = FK_NONE;
   1099     uint32_t _flag_a = 0, _flag_b = 0;
   1100     uint32_t _itail_tgt = 0;
   1101     RECOMP_REGS_LOCALS
   1102     RECOMP_ENTER(0x260015C0u);
   1103 
   1104 L_260015C0:
   1105     PUSH32(esp, ebp); /* 0x260015C0: push ebp */
   1106     ebp = esp; /* 0x260015C1: mov ebp, esp */
   1107     PUSH32(esp, esi); /* 0x260015C3: push esi */
   1108     esi = MEM32(ebp + 0x8); /* 0x260015C4: mov esi, dword ptr [ebp + 8] */
   1109     eax = ecx; /* 0x260015C7: mov eax, ecx */
   1110     PUSH32(esp, edi); /* 0x260015C9: push edi */
   1111     ecx = 0x82u; /* 0x260015CA: mov ecx, 0x82 */
   1112     edi = eax; /* 0x260015CF: mov edi, eax */
   1113     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x260015D1: 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; }
   1114     edi = POP32_VAL(esp); /* 0x260015D3: pop edi */
   1115     esi = POP32_VAL(esp); /* 0x260015D4: pop esi */
   1116     ebp = POP32_VAL(esp); /* 0x260015D5: pop ebp */
   1117     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x260015D6: ret 4 */
   1118     RECOMP_REGS_OUT();
   1119 }
   1120 
   1121 void sub_260015E0(void) {
   1122     int _fpu_cmp = 0;
   1123     uint32_t _cf = 0;
   1124     int _df = 1;
   1125     uint32_t _flag_k = FK_NONE;
   1126     uint32_t _flag_a = 0, _flag_b = 0;
   1127     uint32_t _itail_tgt = 0;
   1128     RECOMP_REGS_LOCALS
   1129     RECOMP_ENTER(0x260015E0u);
   1130 
   1131 L_260015E0:
   1132     PUSH32(esp, ebp); /* 0x260015E0: push ebp */
   1133     ebp = esp; /* 0x260015E1: mov ebp, esp */
   1134     PUSH32(esp, ebx); /* 0x260015E3: push ebx */
   1135     ebx = ecx; /* 0x260015E4: mov ebx, ecx */
   1136     PUSH32(esp, esi); /* 0x260015E6: push esi */
   1137     PUSH32(esp, edi); /* 0x260015E7: push edi */
   1138     esi = ebx + 0x104; /* 0x260015E8: lea esi, [ebx + 0x104] */
   1139     PUSH32(esp, esi); /* 0x260015EE: push esi */
   1140     PUSH32(esp, 0x104u); /* 0x260015EF: push 0x104 */
   1141     RECOMP_ICALL(MEM32(0x26004004)); /* 0x260015F4: call dword ptr [0x26004004] */
   1142     RECOMP_FLAGS_IN();
   1143     edi = MEM32(ebp + 0x8); /* 0x260015FA: mov edi, dword ptr [ebp + 8] */
   1144     PUSH32(esp, edi); /* 0x260015FD: push edi */
   1145     RECOMP_ICALL(MEM32(0x26004014)); /* 0x260015FE: call dword ptr [0x26004014] */
   1146     RECOMP_FLAGS_IN();
   1147     /* test eax, eax */ /* 0x26001604: test eax, eax */
   1148     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1149     _cf = 0;
   1150     _flag_k = FK_TEST;
   1151     if (TEST_Z(_flag_a, _flag_b)) goto L_2600162E; /* 0x26001606: je 0x2600162e */
   1152 L_26001608:
   1153     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1154     ecx = ecx | 0xFFFFFFFFu; /* 0x26001608: or ecx, 0xffffffff */
   1155     _cf = 0;
   1156     _flag_k = FK_TEST;
   1157     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1158     eax = 0; /* 0x2600160B: xor eax, eax */
   1159     _cf = 0;
   1160     _flag_k = FK_TEST;
   1161     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; } /* 0x2600160D: repne scasb al, byte ptr es:[edi] */
   1162     ecx = ~ecx; /* 0x2600160F: not ecx */
   1163     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1164     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1165     edi = edi - ecx; /* 0x26001611: sub edi, ecx */
   1166     _flag_k = FK_CMP;
   1167     eax = ecx; /* 0x26001613: mov eax, ecx */
   1168     esi = edi; /* 0x26001615: mov esi, edi */
   1169     edi = ebx; /* 0x26001617: mov edi, ebx */
   1170     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001619: shr ecx, 2 */
   1171     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1172     ecx = ecx >> 2u; /* 0x26001619: shr ecx, 2 */
   1173     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2600161C: 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; }
   1174     ecx = eax; /* 0x2600161E: mov ecx, eax */
   1175     SET_LO8(eax, 1); /* 0x26001620: mov al, 1 */
   1176     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1177     ecx = ecx & 3; /* 0x26001622: and ecx, 3 */
   1178     _cf = 0;
   1179     _flag_k = FK_TEST;
   1180     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001625: 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; }
   1181     edi = POP32_VAL(esp); /* 0x26001627: pop edi */
   1182     esi = POP32_VAL(esp); /* 0x26001628: pop esi */
   1183     ebx = POP32_VAL(esp); /* 0x26001629: pop ebx */
   1184     ebp = POP32_VAL(esp); /* 0x2600162A: pop ebp */
   1185     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2600162B: ret 4 */
   1186 L_2600162E:
   1187     edi = esi; /* 0x2600162E: mov edi, esi */
   1188     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   1189     ecx = ecx | 0xFFFFFFFFu; /* 0x26001630: or ecx, 0xffffffff */
   1190     _cf = 0;
   1191     _flag_k = FK_TEST;
   1192     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1193     eax = 0; /* 0x26001633: xor eax, eax */
   1194     _cf = 0;
   1195     _flag_k = FK_TEST;
   1196     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; } /* 0x26001635: repne scasb al, byte ptr es:[edi] */
   1197     ecx = ~ecx; /* 0x26001637: not ecx */
   1198     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1199     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1200     edi = edi - ecx; /* 0x26001639: sub edi, ecx */
   1201     _flag_k = FK_CMP;
   1202     edx = ecx; /* 0x2600163B: mov edx, ecx */
   1203     esi = edi; /* 0x2600163D: mov esi, edi */
   1204     edi = ebx; /* 0x2600163F: mov edi, ebx */
   1205     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001641: shr ecx, 2 */
   1206     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1207     ecx = ecx >> 2u; /* 0x26001641: shr ecx, 2 */
   1208     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001644: 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; }
   1209     ecx = edx; /* 0x26001646: mov ecx, edx */
   1210     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1211     ecx = ecx & 3; /* 0x26001648: and ecx, 3 */
   1212     _cf = 0;
   1213     _flag_k = FK_TEST;
   1214     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   1215     SET_LO8(eax, 0); /* 0x2600164B: xor al, al */
   1216     _cf = 0;
   1217     _flag_k = FK_NARROW(FK_TEST, 24);
   1218     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2600164D: 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; }
   1219     edi = POP32_VAL(esp); /* 0x2600164F: pop edi */
   1220     esi = POP32_VAL(esp); /* 0x26001650: pop esi */
   1221     ebx = POP32_VAL(esp); /* 0x26001651: pop ebx */
   1222     ebp = POP32_VAL(esp); /* 0x26001652: pop ebp */
   1223     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001653: ret 4 */
   1224     RECOMP_REGS_OUT();
   1225 }
   1226 
   1227 void sub_26001660(void) {
   1228     int _fpu_cmp = 0;
   1229     uint32_t _cf = 0;
   1230     int _df = 1;
   1231     uint32_t _flag_k = FK_NONE;
   1232     uint32_t _flag_a = 0, _flag_b = 0;
   1233     uint32_t _itail_tgt = 0;
   1234     RECOMP_REGS_LOCALS
   1235     RECOMP_ENTER(0x26001660u);
   1236 
   1237 L_26001660:
   1238     PUSH32(esp, ebp); /* 0x26001660: push ebp */
   1239     ebp = esp; /* 0x26001661: mov ebp, esp */
   1240     PUSH32(esp, 0xFFFFFFFFu); /* 0x26001663: push -1 */
   1241     PUSH32(esp, 0x260034D8u); /* 0x26001665: push 0x260034d8 */
   1242     eax = MEM32(FS_BASE + (0)); /* 0x2600166A: mov eax, dword ptr fs:[0] */
   1243     PUSH32(esp, eax); /* 0x26001670: push eax */
   1244     MEM32(FS_BASE + (0)) = esp; /* 0x26001671: mov dword ptr fs:[0], esp */
   1245     PUSH32(esp, ecx); /* 0x26001678: push ecx */
   1246     PUSH32(esp, ebx); /* 0x26001679: push ebx */
   1247     PUSH32(esp, esi); /* 0x2600167A: push esi */
   1248     esi = ecx; /* 0x2600167B: mov esi, ecx */
   1249     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1250     ebx = 0; /* 0x2600167D: xor ebx, ebx */
   1251     _cf = 0;
   1252     _flag_k = FK_TEST;
   1253     PUSH32(esp, edi); /* 0x2600167F: push edi */
   1254     MEM32(ebp + (-0x10)) = esi; /* 0x26001680: mov dword ptr [ebp - 0x10], esi */
   1255     MEM32(esi + 0x4) = ebx; /* 0x26001683: mov dword ptr [esi + 4], ebx */
   1256     MEM32(esi + 0x8) = ebx; /* 0x26001686: mov dword ptr [esi + 8], ebx */
   1257     edi = MEM32(ebp + 0x8); /* 0x26001689: mov edi, dword ptr [ebp + 8] */
   1258     MEM32(ebp + (-0x4)) = ebx; /* 0x2600168C: mov dword ptr [ebp - 4], ebx */
   1259     PUSH32(esp, edi); /* 0x2600168F: push edi */
   1260     MEM32(esi + 0xC) = ebx; /* 0x26001690: mov dword ptr [esi + 0xc], ebx */
   1261     MEM32(esi) = 0x26004090u; /* 0x26001693: mov dword ptr [esi], 0x26004090 */
   1262     RECOMP_ICALL(0x26003240u); /* 0x26001699: call 0x26003240 */ /* not lifted */
   1263     RECOMP_FLAGS_IN();
   1264     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1265     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1266     esp = esp + 4; /* 0x2600169E: add esp, 4 */
   1267     _flag_k = FK_ADD;
   1268     /* cmp eax, ebx */ /* 0x260016A1: cmp eax, ebx */
   1269     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1271     _flag_k = FK_CMP;
   1272     MEM32(esi + 0xC) = eax; /* 0x260016A3: mov dword ptr [esi + 0xc], eax */
   1273     if (CMP_NE(_flag_a, _flag_b)) goto L_260016AF; /* 0x260016A6: jne 0x260016af */
   1274 L_260016A8:
   1275     MEM32(esi + 0x4) = 0xFFFFFFF5u; /* 0x260016A8: mov dword ptr [esi + 4], 0xfffffff5 */
   1276 L_260016AF:
   1277     ecx = MEM32(ebp + (-0xC)); /* 0x260016AF: mov ecx, dword ptr [ebp - 0xc] */
   1278     eax = 1; /* 0x260016B2: mov eax, 1 */
   1279     MEM8(esi + 0x10) = (uint8_t)(LO8(eax)); /* 0x260016B7: mov byte ptr [esi + 0x10], al */
   1280     MEM8(esi + 0x11) = (uint8_t)(LO8(eax)); /* 0x260016BA: mov byte ptr [esi + 0x11], al */
   1281     MEM32(esi + 0x14) = edi; /* 0x260016BD: mov dword ptr [esi + 0x14], edi */
   1282     MEM32(esi + 0x18) = eax; /* 0x260016C0: mov dword ptr [esi + 0x18], eax */
   1283     MEM8(esi + 0x12) = (uint8_t)(LO8(ebx)); /* 0x260016C3: mov byte ptr [esi + 0x12], bl */
   1284     MEM32(esi + 0x1C) = ebx; /* 0x260016C6: mov dword ptr [esi + 0x1c], ebx */
   1285     eax = esi; /* 0x260016C9: mov eax, esi */
   1286     edi = POP32_VAL(esp); /* 0x260016CB: pop edi */
   1287     esi = POP32_VAL(esp); /* 0x260016CC: pop esi */
   1288     ebx = POP32_VAL(esp); /* 0x260016CD: pop ebx */
   1289     MEM32(FS_BASE + (0)) = ecx; /* 0x260016CE: mov dword ptr fs:[0], ecx */
   1290     esp = ebp; /* 0x260016D5: mov esp, ebp */
   1291     ebp = POP32_VAL(esp); /* 0x260016D7: pop ebp */
   1292     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x260016D8: ret 4 */
   1293     RECOMP_REGS_OUT();
   1294 }
   1295 
   1296 void sub_260016E0(void) {
   1297     int _fpu_cmp = 0;
   1298     uint32_t _cf = 0;
   1299     int _df = 1;
   1300     uint32_t _flag_k = FK_NONE;
   1301     uint32_t _flag_a = 0, _flag_b = 0;
   1302     uint32_t _itail_tgt = 0;
   1303     RECOMP_REGS_LOCALS
   1304     RECOMP_ENTER(0x260016E0u);
   1305 
   1306 L_260016E0:
   1307     PUSH32(esp, ebp); /* 0x260016E0: push ebp */
   1308     ebp = esp; /* 0x260016E1: mov ebp, esp */
   1309     PUSH32(esp, ebx); /* 0x260016E3: push ebx */
   1310     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x260016E4: mov bl, byte ptr [ebp + 8] */
   1311     PUSH32(esp, esi); /* 0x260016E7: push esi */
   1312     esi = ecx; /* 0x260016E8: mov esi, ecx */
   1313     /* test LO8(ebx), 2 */ /* 0x260016EA: test bl, 2 */
   1314     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   1315     _cf = 0;
   1316     _flag_k = FK_NARROW(FK_TEST, 24);
   1317     if (TEST_Z(_flag_a, _flag_b)) goto L_2600171B; /* 0x260016ED: je 0x2600171b */
   1318 L_260016EF:
   1319     eax = MEM32(esi + (-0x4)); /* 0x260016EF: mov eax, dword ptr [esi - 4] */
   1320     PUSH32(esp, edi); /* 0x260016F2: push edi */
   1321     edi = esi + (-0x4); /* 0x260016F3: lea edi, [esi - 4] */
   1322     PUSH32(esp, 0x26001860u); /* 0x260016F6: push 0x26001860 */
   1323     PUSH32(esp, eax); /* 0x260016FB: push eax */
   1324     PUSH32(esp, 0x20u); /* 0x260016FC: push 0x20 */
   1325     PUSH32(esp, esi); /* 0x260016FE: push esi */
   1326     RECOMP_ICALL(0x26003256u); /* 0x260016FF: call 0x26003256 */ /* not lifted */
   1327     RECOMP_FLAGS_IN();
   1328     /* test LO8(ebx), 1 */ /* 0x26001704: test bl, 1 */
   1329     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1330     _cf = 0;
   1331     _flag_k = FK_NARROW(FK_TEST, 24);
   1332     if (TEST_Z(_flag_a, _flag_b)) goto L_26001712; /* 0x26001707: je 0x26001712 */
   1333 L_26001709:
   1334     PUSH32(esp, edi); /* 0x26001709: push edi */
   1335     RECOMP_ICALL(0x26003250u); /* 0x2600170A: call 0x26003250 */ /* not lifted */
   1336     RECOMP_FLAGS_IN();
   1337     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1338     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1339     esp = esp + 4; /* 0x2600170F: add esp, 4 */
   1340     _flag_k = FK_ADD;
   1341 L_26001712:
   1342     eax = edi; /* 0x26001712: mov eax, edi */
   1343     edi = POP32_VAL(esp); /* 0x26001714: pop edi */
   1344     esi = POP32_VAL(esp); /* 0x26001715: pop esi */
   1345     ebx = POP32_VAL(esp); /* 0x26001716: pop ebx */
   1346     ebp = POP32_VAL(esp); /* 0x26001717: pop ebp */
   1347     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001718: ret 4 */
   1348 L_2600171B:
   1349     ecx = esi; /* 0x2600171B: mov ecx, esi */
   1350     RECOMP_ICALL(0x26001860u); /* 0x2600171D: call 0x26001860 */ /* not lifted */
   1351     RECOMP_FLAGS_IN();
   1352     /* test LO8(ebx), 1 */ /* 0x26001722: test bl, 1 */
   1353     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1354     _cf = 0;
   1355     _flag_k = FK_NARROW(FK_TEST, 24);
   1356     if (TEST_Z(_flag_a, _flag_b)) goto L_26001730; /* 0x26001725: je 0x26001730 */
   1357 L_26001727:
   1358     PUSH32(esp, esi); /* 0x26001727: push esi */
   1359     RECOMP_ICALL(0x26003250u); /* 0x26001728: call 0x26003250 */ /* not lifted */
   1360     RECOMP_FLAGS_IN();
   1361     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1362     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1363     esp = esp + 4; /* 0x2600172D: add esp, 4 */
   1364     _flag_k = FK_ADD;
   1365 L_26001730:
   1366     eax = esi; /* 0x26001730: mov eax, esi */
   1367     esi = POP32_VAL(esp); /* 0x26001732: pop esi */
   1368     ebx = POP32_VAL(esp); /* 0x26001733: pop ebx */
   1369     ebp = POP32_VAL(esp); /* 0x26001734: pop ebp */
   1370     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001735: ret 4 */
   1371     RECOMP_REGS_OUT();
   1372 }
   1373 
   1374 void sub_26001740(void) {
   1375     int _fpu_cmp = 0;
   1376     uint32_t _cf = 0;
   1377     int _df = 1;
   1378     uint32_t _flag_k = FK_NONE;
   1379     uint32_t _flag_a = 0, _flag_b = 0;
   1380     uint32_t _itail_tgt = 0;
   1381     RECOMP_REGS_LOCALS
   1382     RECOMP_ENTER(0x26001740u);
   1383 
   1384 L_26001740:
   1385     PUSH32(esp, ebp); /* 0x26001740: push ebp */
   1386     ebp = esp; /* 0x26001741: mov ebp, esp */
   1387     edx = MEM32(ebp + 0x8); /* 0x26001743: mov edx, dword ptr [ebp + 8] */
   1388     eax = ecx; /* 0x26001746: mov eax, ecx */
   1389     PUSH32(esp, esi); /* 0x26001748: push esi */
   1390     esi = MEM32(ebp + 0xC); /* 0x26001749: mov esi, dword ptr [ebp + 0xc] */
   1391     MEM32(eax + 0xC) = edx; /* 0x2600174C: mov dword ptr [eax + 0xc], edx */
   1392     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1393     ecx = 0; /* 0x2600174F: xor ecx, ecx */
   1394     _cf = 0;
   1395     _flag_k = FK_TEST;
   1396     edx = 1; /* 0x26001751: mov edx, 1 */
   1397     MEM32(eax + 0x14) = esi; /* 0x26001756: mov dword ptr [eax + 0x14], esi */
   1398     MEM32(eax + 0x4) = ecx; /* 0x26001759: mov dword ptr [eax + 4], ecx */
   1399     MEM32(eax + 0x8) = ecx; /* 0x2600175C: mov dword ptr [eax + 8], ecx */
   1400     MEM32(eax) = 0x26004090u; /* 0x2600175F: mov dword ptr [eax], 0x26004090 */
   1401     MEM8(eax + 0x10) = (uint8_t)(LO8(ecx)); /* 0x26001765: mov byte ptr [eax + 0x10], cl */
   1402     MEM8(eax + 0x11) = (uint8_t)(LO8(edx)); /* 0x26001768: mov byte ptr [eax + 0x11], dl */
   1403     MEM8(eax + 0x12) = (uint8_t)(LO8(ecx)); /* 0x2600176B: mov byte ptr [eax + 0x12], cl */
   1404     MEM32(eax + 0x18) = edx; /* 0x2600176E: mov dword ptr [eax + 0x18], edx */
   1405     MEM32(eax + 0x1C) = ecx; /* 0x26001771: mov dword ptr [eax + 0x1c], ecx */
   1406     esi = POP32_VAL(esp); /* 0x26001774: pop esi */
   1407     ebp = POP32_VAL(esp); /* 0x26001775: pop ebp */
   1408     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001776: ret 8 */
   1409     RECOMP_REGS_OUT();
   1410 }
   1411 
   1412 void sub_26001780(void) {
   1413     int _fpu_cmp = 0;
   1414     uint32_t _cf = 0;
   1415     int _df = 1;
   1416     uint32_t _flag_k = FK_NONE;
   1417     uint32_t _flag_a = 0, _flag_b = 0;
   1418     uint32_t _itail_tgt = 0;
   1419     RECOMP_REGS_LOCALS
   1420     RECOMP_ENTER(0x26001780u);
   1421 
   1422 L_26001780:
   1423     eax = MEM32(ecx); /* 0x26001780: mov eax, dword ptr [ecx] */
   1424 L_26001782:
   1425     { _itail_tgt = (uint32_t)(MEM32(eax + 0x44)); goto _ljump; }
   1426     { RECOMP_REGS_OUT(); return; } /* end of function */
   1427   _ljump:
   1428     switch (_itail_tgt) {
   1429       case 0x26001780u: goto L_26001780;
   1430       case 0x26001782u: goto L_26001782;
   1431       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   1432     }
   1433     RECOMP_REGS_OUT();
   1434 }
   1435 
   1436 void sub_26001790(void) {
   1437     int _fpu_cmp = 0;
   1438     uint32_t _cf = 0;
   1439     int _df = 1;
   1440     uint32_t _flag_k = FK_NONE;
   1441     uint32_t _flag_a = 0, _flag_b = 0;
   1442     uint32_t _itail_tgt = 0;
   1443     RECOMP_REGS_LOCALS
   1444     RECOMP_ENTER(0x26001790u);
   1445 
   1446 L_26001790:
   1447     eax = ecx; /* 0x26001790: mov eax, ecx */
   1448     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1449     ecx = 0; /* 0x26001792: xor ecx, ecx */
   1450     _cf = 0;
   1451     _flag_k = FK_TEST;
   1452     MEM32(eax + 0x4) = ecx; /* 0x26001794: mov dword ptr [eax + 4], ecx */
   1453     MEM32(eax + 0x8) = ecx; /* 0x26001797: mov dword ptr [eax + 8], ecx */
   1454     MEM32(eax) = 0x26004104u; /* 0x2600179A: mov dword ptr [eax], 0x26004104 */
   1455     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260017A0: ret  */
   1456     RECOMP_REGS_OUT();
   1457 }
   1458 
   1459 void sub_260017B0(void) {
   1460     int _fpu_cmp = 0;
   1461     uint32_t _cf = 0;
   1462     int _df = 1;
   1463     uint32_t _flag_k = FK_NONE;
   1464     uint32_t _flag_a = 0, _flag_b = 0;
   1465     uint32_t _itail_tgt = 0;
   1466     RECOMP_REGS_LOCALS
   1467     RECOMP_ENTER(0x260017B0u);
   1468 
   1469 L_260017B0:
   1470     PUSH32(esp, ebp); /* 0x260017B0: push ebp */
   1471     ebp = esp; /* 0x260017B1: mov ebp, esp */
   1472     edx = MEM32(ebp + 0x8); /* 0x260017B3: mov edx, dword ptr [ebp + 8] */
   1473     eax = ecx; /* 0x260017B6: mov eax, ecx */
   1474     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1475     ecx = 0; /* 0x260017B8: xor ecx, ecx */
   1476     _cf = 0;
   1477     _flag_k = FK_TEST;
   1478     MEM32(eax + 0xC) = edx; /* 0x260017BA: mov dword ptr [eax + 0xc], edx */
   1479     edx = MEM32(ebp + 0xC); /* 0x260017BD: mov edx, dword ptr [ebp + 0xc] */
   1480     MEM32(eax + 0x4) = ecx; /* 0x260017C0: mov dword ptr [eax + 4], ecx */
   1481     MEM32(eax + 0x8) = ecx; /* 0x260017C3: mov dword ptr [eax + 8], ecx */
   1482     MEM32(eax) = 0x26004090u; /* 0x260017C6: mov dword ptr [eax], 0x26004090 */
   1483     MEM8(eax + 0x10) = (uint8_t)(LO8(ecx)); /* 0x260017CC: mov byte ptr [eax + 0x10], cl */
   1484     MEM8(eax + 0x11) = (uint8_t)(LO8(ecx)); /* 0x260017CF: mov byte ptr [eax + 0x11], cl */
   1485     MEM8(eax + 0x12) = (uint8_t)(LO8(ecx)); /* 0x260017D2: mov byte ptr [eax + 0x12], cl */
   1486     MEM32(eax + 0x14) = edx; /* 0x260017D5: mov dword ptr [eax + 0x14], edx */
   1487     MEM32(eax + 0x18) = 1; /* 0x260017D8: mov dword ptr [eax + 0x18], 1 */
   1488     MEM32(eax + 0x1C) = ecx; /* 0x260017DF: mov dword ptr [eax + 0x1c], ecx */
   1489     ebp = POP32_VAL(esp); /* 0x260017E2: pop ebp */
   1490     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260017E3: ret 8 */
   1491     RECOMP_REGS_OUT();
   1492 }
   1493 
   1494 void sub_260017F0(void) {
   1495     int _fpu_cmp = 0;
   1496     uint32_t _cf = 0;
   1497     int _df = 1;
   1498     uint32_t _flag_k = FK_NONE;
   1499     uint32_t _flag_a = 0, _flag_b = 0;
   1500     uint32_t _itail_tgt = 0;
   1501     RECOMP_REGS_LOCALS
   1502     RECOMP_ENTER(0x260017F0u);
   1503 
   1504 L_260017F0:
   1505     MEM32(ecx) = 0x26004104u; /* 0x260017F0: mov dword ptr [ecx], 0x26004104 */
   1506     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260017F6: ret  */
   1507     RECOMP_REGS_OUT();
   1508 }
   1509 
   1510 void sub_26001800(void) {
   1511     int _fpu_cmp = 0;
   1512     uint32_t _cf = 0;
   1513     int _df = 1;
   1514     uint32_t _flag_k = FK_NONE;
   1515     uint32_t _flag_a = 0, _flag_b = 0;
   1516     uint32_t _itail_tgt = 0;
   1517     RECOMP_REGS_LOCALS
   1518     RECOMP_ENTER(0x26001800u);
   1519 
   1520 L_26001800:
   1521     PUSH32(esp, ebp); /* 0x26001800: push ebp */
   1522     ebp = esp; /* 0x26001801: mov ebp, esp */
   1523     PUSH32(esp, ebx); /* 0x26001803: push ebx */
   1524     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x26001804: mov bl, byte ptr [ebp + 8] */
   1525     PUSH32(esp, esi); /* 0x26001807: push esi */
   1526     esi = ecx; /* 0x26001808: mov esi, ecx */
   1527     /* test LO8(ebx), 2 */ /* 0x2600180A: test bl, 2 */
   1528     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   1529     _cf = 0;
   1530     _flag_k = FK_NARROW(FK_TEST, 24);
   1531     if (TEST_Z(_flag_a, _flag_b)) goto L_2600183B; /* 0x2600180D: je 0x2600183b */
   1532 L_2600180F:
   1533     eax = MEM32(esi + (-0x4)); /* 0x2600180F: mov eax, dword ptr [esi - 4] */
   1534     PUSH32(esp, edi); /* 0x26001812: push edi */
   1535     edi = esi + (-0x4); /* 0x26001813: lea edi, [esi - 4] */
   1536     PUSH32(esp, 0x260017F0u); /* 0x26001816: push 0x260017f0 */
   1537     PUSH32(esp, eax); /* 0x2600181B: push eax */
   1538     PUSH32(esp, 0xCu); /* 0x2600181C: push 0xc */
   1539     PUSH32(esp, esi); /* 0x2600181E: push esi */
   1540     RECOMP_ICALL(0x26003256u); /* 0x2600181F: call 0x26003256 */ /* not lifted */
   1541     RECOMP_FLAGS_IN();
   1542     /* test LO8(ebx), 1 */ /* 0x26001824: test bl, 1 */
   1543     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1544     _cf = 0;
   1545     _flag_k = FK_NARROW(FK_TEST, 24);
   1546     if (TEST_Z(_flag_a, _flag_b)) goto L_26001832; /* 0x26001827: je 0x26001832 */
   1547 L_26001829:
   1548     PUSH32(esp, edi); /* 0x26001829: push edi */
   1549     RECOMP_ICALL(0x26003250u); /* 0x2600182A: call 0x26003250 */ /* not lifted */
   1550     RECOMP_FLAGS_IN();
   1551     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1552     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1553     esp = esp + 4; /* 0x2600182F: add esp, 4 */
   1554     _flag_k = FK_ADD;
   1555 L_26001832:
   1556     eax = edi; /* 0x26001832: mov eax, edi */
   1557     edi = POP32_VAL(esp); /* 0x26001834: pop edi */
   1558     esi = POP32_VAL(esp); /* 0x26001835: pop esi */
   1559     ebx = POP32_VAL(esp); /* 0x26001836: pop ebx */
   1560     ebp = POP32_VAL(esp); /* 0x26001837: pop ebp */
   1561     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001838: ret 4 */
   1562 L_2600183B:
   1563     /* test LO8(ebx), 1 */ /* 0x2600183B: test bl, 1 */
   1564     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   1565     _cf = 0;
   1566     _flag_k = FK_NARROW(FK_TEST, 24);
   1567     MEM32(esi) = 0x26004104u; /* 0x2600183E: mov dword ptr [esi], 0x26004104 */
   1568     if (TEST_Z(_flag_a, _flag_b)) goto L_2600184F; /* 0x26001844: je 0x2600184f */
   1569 L_26001846:
   1570     PUSH32(esp, esi); /* 0x26001846: push esi */
   1571     RECOMP_ICALL(0x26003250u); /* 0x26001847: call 0x26003250 */ /* not lifted */
   1572     RECOMP_FLAGS_IN();
   1573     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1574     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1575     esp = esp + 4; /* 0x2600184C: add esp, 4 */
   1576     _flag_k = FK_ADD;
   1577 L_2600184F:
   1578     eax = esi; /* 0x2600184F: mov eax, esi */
   1579     esi = POP32_VAL(esp); /* 0x26001851: pop esi */
   1580     ebx = POP32_VAL(esp); /* 0x26001852: pop ebx */
   1581     ebp = POP32_VAL(esp); /* 0x26001853: pop ebp */
   1582     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001854: ret 4 */
   1583     RECOMP_REGS_OUT();
   1584 }
   1585 
   1586 void sub_26001860(void) {
   1587     int _fpu_cmp = 0;
   1588     uint32_t _cf = 0;
   1589     int _df = 1;
   1590     uint32_t _flag_k = FK_NONE;
   1591     uint32_t _flag_a = 0, _flag_b = 0;
   1592     uint32_t _itail_tgt = 0;
   1593     RECOMP_REGS_LOCALS
   1594     RECOMP_ENTER(0x26001860u);
   1595 
   1596 L_26001860:
   1597     PUSH32(esp, ebp); /* 0x26001860: push ebp */
   1598     ebp = esp; /* 0x26001861: mov ebp, esp */
   1599     PUSH32(esp, 0xFFFFFFFFu); /* 0x26001863: push -1 */
   1600     PUSH32(esp, 0x260034F8u); /* 0x26001865: push 0x260034f8 */
   1601     eax = MEM32(FS_BASE + (0)); /* 0x2600186A: mov eax, dword ptr fs:[0] */
   1602     PUSH32(esp, eax); /* 0x26001870: push eax */
   1603     MEM32(FS_BASE + (0)) = esp; /* 0x26001871: mov dword ptr fs:[0], esp */
   1604     PUSH32(esp, ecx); /* 0x26001878: push ecx */
   1605     PUSH32(esp, esi); /* 0x26001879: push esi */
   1606     esi = ecx; /* 0x2600187A: mov esi, ecx */
   1607     MEM32(ebp + (-0x10)) = esi; /* 0x2600187C: mov dword ptr [ebp - 0x10], esi */
   1608     MEM32(esi) = 0x26004090u; /* 0x2600187F: mov dword ptr [esi], 0x26004090 */
   1609     SET_LO8(eax, MEM8(esi + 0x10)); /* 0x26001885: mov al, byte ptr [esi + 0x10] */
   1610     MEM32(ebp + (-0x4)) = 0; /* 0x26001888: mov dword ptr [ebp - 4], 0 */
   1611     /* test LO8(eax), LO8(eax) */ /* 0x2600188F: test al, al */
   1612     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1613     _cf = 0;
   1614     _flag_k = FK_NARROW(FK_TEST, 24);
   1615     if (TEST_Z(_flag_a, _flag_b)) goto L_260018A3; /* 0x26001891: je 0x260018a3 */
   1616 L_26001893:
   1617     eax = MEM32(esi + 0xC); /* 0x26001893: mov eax, dword ptr [esi + 0xc] */
   1618     /* test eax, eax */ /* 0x26001896: test eax, eax */
   1619     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1620     _cf = 0;
   1621     _flag_k = FK_TEST;
   1622     if (TEST_Z(_flag_a, _flag_b)) goto L_260018A3; /* 0x26001898: je 0x260018a3 */
   1623 L_2600189A:
   1624     PUSH32(esp, eax); /* 0x2600189A: push eax */
   1625     RECOMP_ICALL(0x26003250u); /* 0x2600189B: call 0x26003250 */ /* not lifted */
   1626     RECOMP_FLAGS_IN();
   1627     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1628     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1629     esp = esp + 4; /* 0x260018A0: add esp, 4 */
   1630     _flag_k = FK_ADD;
   1631 L_260018A3:
   1632     ecx = MEM32(ebp + (-0xC)); /* 0x260018A3: mov ecx, dword ptr [ebp - 0xc] */
   1633     MEM32(esi) = 0x26004104u; /* 0x260018A6: mov dword ptr [esi], 0x26004104 */
   1634     esi = POP32_VAL(esp); /* 0x260018AC: pop esi */
   1635     MEM32(FS_BASE + (0)) = ecx; /* 0x260018AD: mov dword ptr fs:[0], ecx */
   1636     esp = ebp; /* 0x260018B4: mov esp, ebp */
   1637     ebp = POP32_VAL(esp); /* 0x260018B6: pop ebp */
   1638     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260018B7: ret  */
   1639     RECOMP_REGS_OUT();
   1640 }
   1641 
   1642 void sub_260018C0(void) {
   1643     int _fpu_cmp = 0;
   1644     uint32_t _cf = 0;
   1645     int _df = 1;
   1646     uint32_t _flag_k = FK_NONE;
   1647     uint32_t _flag_a = 0, _flag_b = 0;
   1648     uint32_t _itail_tgt = 0;
   1649     RECOMP_REGS_LOCALS
   1650     RECOMP_ENTER(0x260018C0u);
   1651 
   1652 L_260018C0:
   1653     eax = 0x260060DCu; /* 0x260018C0: mov eax, 0x260060dc */
   1654     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260018C5: ret  */
   1655     RECOMP_REGS_OUT();
   1656 }
   1657 
   1658 void sub_260018D0(void) {
   1659     int _fpu_cmp = 0;
   1660     uint32_t _cf = 0;
   1661     int _df = 1;
   1662     uint32_t _flag_k = FK_NONE;
   1663     uint32_t _flag_a = 0, _flag_b = 0;
   1664     uint32_t _itail_tgt = 0;
   1665     RECOMP_REGS_LOCALS
   1666     RECOMP_ENTER(0x260018D0u);
   1667 
   1668 L_260018D0:
   1669     eax = MEM32(ecx + 0x14); /* 0x260018D0: mov eax, dword ptr [ecx + 0x14] */
   1670     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260018D3: ret  */
   1671     RECOMP_REGS_OUT();
   1672 }
   1673 
   1674 void sub_260018E0(void) {
   1675     int _fpu_cmp = 0;
   1676     uint32_t _cf = 0;
   1677     int _df = 1;
   1678     uint32_t _flag_k = FK_NONE;
   1679     uint32_t _flag_a = 0, _flag_b = 0;
   1680     uint32_t _itail_tgt = 0;
   1681     RECOMP_REGS_LOCALS
   1682     RECOMP_ENTER(0x260018E0u);
   1683 
   1684 L_260018E0:
   1685     MEM8(ecx + 0x12) = (uint8_t)(0); /* 0x260018E0: mov byte ptr [ecx + 0x12], 0 */
   1686     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260018E4: ret  */
   1687     RECOMP_REGS_OUT();
   1688 }
   1689 
   1690 void sub_260018F0(void) {
   1691     int _fpu_cmp = 0;
   1692     uint32_t _cf = 0;
   1693     int _df = 1;
   1694     uint32_t _flag_k = FK_NONE;
   1695     uint32_t _flag_a = 0, _flag_b = 0;
   1696     uint32_t _itail_tgt = 0;
   1697     RECOMP_REGS_LOCALS
   1698     RECOMP_ENTER(0x260018F0u);
   1699 
   1700 L_260018F0:
   1701     eax = MEM32(ecx + 0x4); /* 0x260018F0: mov eax, dword ptr [ecx + 4] */
   1702     /* test eax, eax */ /* 0x260018F3: test eax, eax */
   1703     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1704     _cf = 0;
   1705     _flag_k = FK_TEST;
   1706     if (TEST_G(_flag_a, _flag_b)) goto L_26001909; /* 0x260018F5: jg 0x26001909 */
   1707 L_260018F7:
   1708     /* cmp eax, 0xFFFFFFF5u */ /* 0x260018F7: cmp eax, -0xb */
   1709     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF5u);
   1710     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1711     _flag_k = FK_CMP;
   1712     if (CMP_L(_flag_a, _flag_b)) goto L_26001909; /* 0x260018FA: jl 0x26001909 */
   1713 L_260018FC:
   1714     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x260018FC: shl eax, 2 */
   1715     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1716     eax = eax << 2u; /* 0x260018FC: shl eax, 2 */
   1717     ecx = 0x260060E8u; /* 0x260018FF: mov ecx, 0x260060e8 */
   1718     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1719     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1720     ecx = ecx - eax; /* 0x26001904: sub ecx, eax */
   1721     _flag_k = FK_CMP;
   1722     eax = MEM32(ecx); /* 0x26001906: mov eax, dword ptr [ecx] */
   1723     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26001908: ret  */
   1724 L_26001909:
   1725     eax = MEM32(0x260060EC); /* 0x26001909: mov eax, dword ptr [0x260060ec] */
   1726     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600190E: ret  */
   1727     RECOMP_REGS_OUT();
   1728 }
   1729 
   1730 void sub_26001910(void) {
   1731     int _fpu_cmp = 0;
   1732     uint32_t _cf = 0;
   1733     int _df = 1;
   1734     uint32_t _flag_k = FK_NONE;
   1735     uint32_t _flag_a = 0, _flag_b = 0;
   1736     uint32_t _itail_tgt = 0;
   1737     RECOMP_REGS_LOCALS
   1738     RECOMP_ENTER(0x26001910u);
   1739 
   1740 L_26001910:
   1741     PUSH32(esp, ebp); /* 0x26001910: push ebp */
   1742     ebp = esp; /* 0x26001911: mov ebp, esp */
   1743     PUSH32(esp, esi); /* 0x26001913: push esi */
   1744     esi = ecx; /* 0x26001914: mov esi, ecx */
   1745     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1746     eax = 0; /* 0x26001916: xor eax, eax */
   1747     _cf = 0;
   1748     _flag_k = FK_TEST;
   1749     PUSH32(esp, edi); /* 0x26001918: push edi */
   1750     ecx = MEM32(esi + 0xC); /* 0x26001919: mov ecx, dword ptr [esi + 0xc] */
   1751     /* test ecx, ecx */ /* 0x2600191C: test ecx, ecx */
   1752     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1753     _cf = 0;
   1754     _flag_k = FK_TEST;
   1755     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001938; /* 0x2600191E: jne 0x26001938 */
   1756 L_26001920:
   1757     eax = MEM32(esi); /* 0x26001920: mov eax, dword ptr [esi] */
   1758     edi = 0xFFFFFFFEu; /* 0x26001922: mov edi, 0xfffffffe */
   1759     PUSH32(esp, edi); /* 0x26001927: push edi */
   1760     ecx = esi; /* 0x26001928: mov ecx, esi */
   1761     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x2600192A: call dword ptr [eax + 0x70] */
   1762     RECOMP_FLAGS_IN();
   1763     MEM32(esi + 0x4) = edi; /* 0x2600192D: mov dword ptr [esi + 4], edi */
   1764     eax = edi; /* 0x26001930: mov eax, edi */
   1765     edi = POP32_VAL(esp); /* 0x26001932: pop edi */
   1766     esi = POP32_VAL(esp); /* 0x26001933: pop esi */
   1767     ebp = POP32_VAL(esp); /* 0x26001934: pop ebp */
   1768     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001935: ret 4 */
   1769 L_26001938:
   1770     SET_LO8(ecx, MEM8(esi + 0x12)); /* 0x26001938: mov cl, byte ptr [esi + 0x12] */
   1771     SET_LO8(edx, 1); /* 0x2600193B: mov dl, 1 */
   1772     /* cmp LO8(ecx), LO8(edx) */ /* 0x2600193D: cmp cl, dl */
   1773     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24;
   1774     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1775     _flag_k = FK_NARROW(FK_CMP, 24);
   1776     if (CMP_NE(_flag_a, _flag_b)) goto L_26001957; /* 0x2600193F: jne 0x26001957 */
   1777 L_26001941:
   1778     eax = MEM32(esi); /* 0x26001941: mov eax, dword ptr [esi] */
   1779     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   1780     edi = edi | 0xFFFFFFFFu; /* 0x26001943: or edi, 0xffffffff */
   1781     _cf = 0;
   1782     _flag_k = FK_TEST;
   1783     PUSH32(esp, edi); /* 0x26001946: push edi */
   1784     ecx = esi; /* 0x26001947: mov ecx, esi */
   1785     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26001949: call dword ptr [eax + 0x70] */
   1786     RECOMP_FLAGS_IN();
   1787     MEM32(esi + 0x4) = edi; /* 0x2600194C: mov dword ptr [esi + 4], edi */
   1788     eax = edi; /* 0x2600194F: mov eax, edi */
   1789     edi = POP32_VAL(esp); /* 0x26001951: pop edi */
   1790     esi = POP32_VAL(esp); /* 0x26001952: pop esi */
   1791     ebp = POP32_VAL(esp); /* 0x26001953: pop ebp */
   1792     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001954: ret 4 */
   1793 L_26001957:
   1794     ecx = MEM32(ebp + 0x8); /* 0x26001957: mov ecx, dword ptr [ebp + 8] */
   1795     /* test LO8(ecx), 8 */ /* 0x2600195A: test cl, 8 */
   1796     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(8) << 24;
   1797     _cf = 0;
   1798     _flag_k = FK_NARROW(FK_TEST, 24);
   1799     if (TEST_Z(_flag_a, _flag_b)) goto L_26001977; /* 0x2600195D: je 0x26001977 */
   1800 L_2600195F:
   1801     eax = MEM32(esi); /* 0x2600195F: mov eax, dword ptr [esi] */
   1802     edi = 0xFFFFFFFCu; /* 0x26001961: mov edi, 0xfffffffc */
   1803     PUSH32(esp, edi); /* 0x26001966: push edi */
   1804     ecx = esi; /* 0x26001967: mov ecx, esi */
   1805     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26001969: call dword ptr [eax + 0x70] */
   1806     RECOMP_FLAGS_IN();
   1807     MEM32(esi + 0x4) = edi; /* 0x2600196C: mov dword ptr [esi + 4], edi */
   1808     eax = edi; /* 0x2600196F: mov eax, edi */
   1809     edi = POP32_VAL(esp); /* 0x26001971: pop edi */
   1810     esi = POP32_VAL(esp); /* 0x26001972: pop esi */
   1811     ebp = POP32_VAL(esp); /* 0x26001973: pop ebp */
   1812     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001974: ret 4 */
   1813 L_26001977:
   1814     MEM32(esi + 0x18) = ecx; /* 0x26001977: mov dword ptr [esi + 0x18], ecx */
   1815     MEM8(esi + 0x12) = (uint8_t)(LO8(edx)); /* 0x2600197A: mov byte ptr [esi + 0x12], dl */
   1816     MEM32(esi + 0x4) = eax; /* 0x2600197D: mov dword ptr [esi + 4], eax */
   1817     edi = POP32_VAL(esp); /* 0x26001980: pop edi */
   1818     esi = POP32_VAL(esp); /* 0x26001981: pop esi */
   1819     ebp = POP32_VAL(esp); /* 0x26001982: pop ebp */
   1820     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001983: ret 4 */
   1821     RECOMP_REGS_OUT();
   1822 }
   1823 
   1824 void sub_26001990(void) {
   1825     int _fpu_cmp = 0;
   1826     uint32_t _cf = 0;
   1827     int _df = 1;
   1828     uint32_t _flag_k = FK_NONE;
   1829     uint32_t _flag_a = 0, _flag_b = 0;
   1830     uint32_t _itail_tgt = 0;
   1831     RECOMP_REGS_LOCALS
   1832     RECOMP_ENTER(0x26001990u);
   1833 
   1834 L_26001990:
   1835     SET_LO8(eax, MEM8(ecx + 0x12)); /* 0x26001990: mov al, byte ptr [ecx + 0x12] */
   1836     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26001993: ret  */
   1837     RECOMP_REGS_OUT();
   1838 }
   1839 
   1840 void sub_260019A0(void) {
   1841     int _fpu_cmp = 0;
   1842     uint32_t _cf = 0;
   1843     int _df = 1;
   1844     uint32_t _flag_k = FK_NONE;
   1845     uint32_t _flag_a = 0, _flag_b = 0;
   1846     uint32_t _itail_tgt = 0;
   1847     RECOMP_REGS_LOCALS
   1848     RECOMP_ENTER(0x260019A0u);
   1849 
   1850 L_260019A0:
   1851     PUSH32(esp, esi); /* 0x260019A0: push esi */
   1852     esi = ecx; /* 0x260019A1: mov esi, ecx */
   1853     eax = MEM32(esi + 0xC); /* 0x260019A3: mov eax, dword ptr [esi + 0xc] */
   1854     /* test eax, eax */ /* 0x260019A6: test eax, eax */
   1855     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1856     _cf = 0;
   1857     _flag_k = FK_TEST;
   1858     if (TEST_NZ(_flag_a, _flag_b)) goto L_260019BD; /* 0x260019A8: jne 0x260019bd */
   1859 L_260019AA:
   1860     eax = MEM32(esi); /* 0x260019AA: mov eax, dword ptr [esi] */
   1861     PUSH32(esp, 0xFFFFFFFDu); /* 0x260019AC: push -3 */
   1862     MEM32(esi + 0x4) = 0xFFFFFFFDu; /* 0x260019AE: mov dword ptr [esi + 4], 0xfffffffd */
   1863     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260019B5: call dword ptr [eax + 0x70] */
   1864     RECOMP_FLAGS_IN();
   1865     eax = MEM32(esi + 0x4); /* 0x260019B8: mov eax, dword ptr [esi + 4] */
   1866     esi = POP32_VAL(esp); /* 0x260019BB: pop esi */
   1867     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260019BC: ret  */
   1868 L_260019BD:
   1869     eax = MEM32(esi + 0x1C); /* 0x260019BD: mov eax, dword ptr [esi + 0x1c] */
   1870     MEM32(esi + 0x4) = 0; /* 0x260019C0: mov dword ptr [esi + 4], 0 */
   1871     esi = POP32_VAL(esp); /* 0x260019C7: pop esi */
   1872     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260019C8: ret  */
   1873     RECOMP_REGS_OUT();
   1874 }
   1875 
   1876 void sub_260019D0(void) {
   1877     int _fpu_cmp = 0;
   1878     uint32_t _cf = 0;
   1879     int _df = 1;
   1880     uint32_t _flag_k = FK_NONE;
   1881     uint32_t _flag_a = 0, _flag_b = 0;
   1882     uint32_t _itail_tgt = 0;
   1883     RECOMP_REGS_LOCALS
   1884     RECOMP_ENTER(0x260019D0u);
   1885 
   1886 L_260019D0:
   1887     PUSH32(esp, ebp); /* 0x260019D0: push ebp */
   1888     ebp = esp; /* 0x260019D1: mov ebp, esp */
   1889     PUSH32(esp, esi); /* 0x260019D3: push esi */
   1890     esi = ecx; /* 0x260019D4: mov esi, ecx */
   1891     PUSH32(esp, edi); /* 0x260019D6: push edi */
   1892     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1893     edi = 0; /* 0x260019D7: xor edi, edi */
   1894     _cf = 0;
   1895     _flag_k = FK_TEST;
   1896     eax = MEM32(esi + 0xC); /* 0x260019D9: mov eax, dword ptr [esi + 0xc] */
   1897     /* test eax, eax */ /* 0x260019DC: test eax, eax */
   1898     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1899     _cf = 0;
   1900     _flag_k = FK_TEST;
   1901     if (TEST_NZ(_flag_a, _flag_b)) goto L_260019F6; /* 0x260019DE: jne 0x260019f6 */
   1902 L_260019E0:
   1903     eax = MEM32(esi); /* 0x260019E0: mov eax, dword ptr [esi] */
   1904     edi = 0xFFFFFFFDu; /* 0x260019E2: mov edi, 0xfffffffd */
   1905     PUSH32(esp, edi); /* 0x260019E7: push edi */
   1906     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260019E8: call dword ptr [eax + 0x70] */
   1907     RECOMP_FLAGS_IN();
   1908     MEM32(esi + 0x4) = edi; /* 0x260019EB: mov dword ptr [esi + 4], edi */
   1909     eax = edi; /* 0x260019EE: mov eax, edi */
   1910     edi = POP32_VAL(esp); /* 0x260019F0: pop edi */
   1911     esi = POP32_VAL(esp); /* 0x260019F1: pop esi */
   1912     ebp = POP32_VAL(esp); /* 0x260019F2: pop ebp */
   1913     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260019F3: ret 8 */
   1914 L_260019F6:
   1915     ecx = MEM32(ebp + 0x8); /* 0x260019F6: mov ecx, dword ptr [ebp + 8] */
   1916     /* test ecx, ecx */ /* 0x260019F9: test ecx, ecx */
   1917     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1918     _cf = 0;
   1919     _flag_k = FK_TEST;
   1920     if (TEST_S(_flag_a, _flag_b)) goto L_26001A4F; /* 0x260019FB: jl 0x26001a4f */
   1921 L_260019FD:
   1922     eax = MEM32(esi + 0x14); /* 0x260019FD: mov eax, dword ptr [esi + 0x14] */
   1923     /* cmp ecx, eax */ /* 0x26001A00: cmp ecx, eax */
   1924     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1925     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1926     _flag_k = FK_CMP;
   1927     if (CMP_AE(_flag_a, _flag_b)) goto L_26001A4F; /* 0x26001A02: jae 0x26001a4f */
   1928 L_26001A04:
   1929     edx = MEM32(ebp + 0xC); /* 0x26001A04: mov edx, dword ptr [ebp + 0xc] */
   1930     /* test edx, edx */ /* 0x26001A07: test edx, edx */
   1931     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   1932     _cf = 0;
   1933     _flag_k = FK_TEST;
   1934     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001A19; /* 0x26001A09: jne 0x26001a19 */
   1935 L_26001A0B:
   1936     MEM32(esi + 0x4) = edi; /* 0x26001A0B: mov dword ptr [esi + 4], edi */
   1937     eax = edi; /* 0x26001A0E: mov eax, edi */
   1938     MEM32(esi + 0x1C) = ecx; /* 0x26001A10: mov dword ptr [esi + 0x1c], ecx */
   1939     edi = POP32_VAL(esp); /* 0x26001A13: pop edi */
   1940     esi = POP32_VAL(esp); /* 0x26001A14: pop esi */
   1941     ebp = POP32_VAL(esp); /* 0x26001A15: pop ebp */
   1942     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001A16: ret 8 */
   1943 L_26001A19:
   1944     /* cmp edx, 1 */ /* 0x26001A19: cmp edx, 1 */
   1945     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   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_26001A3F; /* 0x26001A1C: jne 0x26001a3f */
   1949 L_26001A1E:
   1950     edx = MEM32(esi + 0x1C); /* 0x26001A1E: mov edx, dword ptr [esi + 0x1c] */
   1951     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   1952     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1953     ecx = ecx + edx; /* 0x26001A21: add ecx, edx */
   1954     _flag_k = FK_ADD;
   1955     /* cmp ecx, eax */ /* 0x26001A23: cmp ecx, eax */
   1956     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1957     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1958     _flag_k = FK_CMP;
   1959     RECOMP_BACKEDGE();
   1960     if (CMP_B(_flag_a, _flag_b)) goto L_26001A0B; /* 0x26001A25: jb 0x26001a0b */
   1961 L_26001A27:
   1962     eax = MEM32(esi); /* 0x26001A27: mov eax, dword ptr [esi] */
   1963     edi = 0xFFFFFFF8u; /* 0x26001A29: mov edi, 0xfffffff8 */
   1964     PUSH32(esp, edi); /* 0x26001A2E: push edi */
   1965     ecx = esi; /* 0x26001A2F: mov ecx, esi */
   1966     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26001A31: call dword ptr [eax + 0x70] */
   1967     RECOMP_FLAGS_IN();
   1968     MEM32(esi + 0x4) = edi; /* 0x26001A34: mov dword ptr [esi + 4], edi */
   1969     eax = edi; /* 0x26001A37: mov eax, edi */
   1970     edi = POP32_VAL(esp); /* 0x26001A39: pop edi */
   1971     esi = POP32_VAL(esp); /* 0x26001A3A: pop esi */
   1972     ebp = POP32_VAL(esp); /* 0x26001A3B: pop ebp */
   1973     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001A3C: ret 8 */
   1974 L_26001A3F:
   1975     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx);
   1976     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1977     eax = eax - ecx; /* 0x26001A3F: sub eax, ecx */
   1978     _flag_k = FK_CMP;
   1979     MEM32(esi + 0x4) = edi; /* 0x26001A41: mov dword ptr [esi + 4], edi */
   1980     MEM32(esi + 0x1C) = eax; /* 0x26001A44: mov dword ptr [esi + 0x1c], eax */
   1981     eax = edi; /* 0x26001A47: mov eax, edi */
   1982     edi = POP32_VAL(esp); /* 0x26001A49: pop edi */
   1983     esi = POP32_VAL(esp); /* 0x26001A4A: pop esi */
   1984     ebp = POP32_VAL(esp); /* 0x26001A4B: pop ebp */
   1985     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001A4C: ret 8 */
   1986 L_26001A4F:
   1987     edx = MEM32(esi); /* 0x26001A4F: mov edx, dword ptr [esi] */
   1988     edi = 0xFFFFFFFCu; /* 0x26001A51: mov edi, 0xfffffffc */
   1989     PUSH32(esp, edi); /* 0x26001A56: push edi */
   1990     ecx = esi; /* 0x26001A57: mov ecx, esi */
   1991     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26001A59: call dword ptr [edx + 0x70] */
   1992     RECOMP_FLAGS_IN();
   1993     MEM32(esi + 0x4) = edi; /* 0x26001A5C: mov dword ptr [esi + 4], edi */
   1994     eax = edi; /* 0x26001A5F: mov eax, edi */
   1995     edi = POP32_VAL(esp); /* 0x26001A61: pop edi */
   1996     esi = POP32_VAL(esp); /* 0x26001A62: pop esi */
   1997     ebp = POP32_VAL(esp); /* 0x26001A63: pop ebp */
   1998     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001A64: ret 8 */
   1999     RECOMP_REGS_OUT();
   2000 }
   2001 
   2002 void sub_26001A70(void) {
   2003     int _fpu_cmp = 0;
   2004     uint32_t _cf = 0;
   2005     int _df = 1;
   2006     uint32_t _flag_k = FK_NONE;
   2007     uint32_t _flag_a = 0, _flag_b = 0;
   2008     uint32_t _itail_tgt = 0;
   2009     RECOMP_REGS_LOCALS
   2010     RECOMP_ENTER(0x26001A70u);
   2011 
   2012 L_26001A70:
   2013     PUSH32(esp, ebp); /* 0x26001A70: push ebp */
   2014     ebp = esp; /* 0x26001A71: mov ebp, esp */
   2015     PUSH32(esp, ebx); /* 0x26001A73: push ebx */
   2016     PUSH32(esp, esi); /* 0x26001A74: push esi */
   2017     esi = MEM32(ebp + 0xC); /* 0x26001A75: mov esi, dword ptr [ebp + 0xc] */
   2018     ebx = ecx; /* 0x26001A78: mov ebx, ecx */
   2019     PUSH32(esp, esi); /* 0x26001A7A: push esi */
   2020     RECOMP_ICALL(0x26001D30u); /* 0x26001A7B: call 0x26001d30 */ /* not lifted */
   2021     RECOMP_FLAGS_IN();
   2022     /* test eax, eax */ /* 0x26001A80: test eax, eax */
   2023     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2024     _cf = 0;
   2025     _flag_k = FK_TEST;
   2026     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001AB4; /* 0x26001A82: jne 0x26001ab4 */
   2027 L_26001A84:
   2028     PUSH32(esp, edi); /* 0x26001A84: push edi */
   2029     edi = MEM32(ebx + 0x1C); /* 0x26001A85: mov edi, dword ptr [ebx + 0x1c] */
   2030     ecx = esi; /* 0x26001A88: mov ecx, esi */
   2031     esi = MEM32(ebx + 0xC); /* 0x26001A8A: mov esi, dword ptr [ebx + 0xc] */
   2032     edx = ecx; /* 0x26001A8D: mov edx, ecx */
   2033     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi);
   2034     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2035     esi = esi + edi; /* 0x26001A8F: add esi, edi */
   2036     _flag_k = FK_ADD;
   2037     edi = MEM32(ebp + 0x8); /* 0x26001A91: mov edi, dword ptr [ebp + 8] */
   2038     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001A94: shr ecx, 2 */
   2039     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2040     ecx = ecx >> 2u; /* 0x26001A94: shr ecx, 2 */
   2041     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001A97: 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; }
   2042     ecx = edx; /* 0x26001A99: mov ecx, edx */
   2043     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2044     ecx = ecx & 3; /* 0x26001A9B: and ecx, 3 */
   2045     _cf = 0;
   2046     _flag_k = FK_TEST;
   2047     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001A9E: 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; }
   2048     ecx = edx; /* 0x26001AA0: mov ecx, edx */
   2049     edx = MEM32(ebx + 0x1C); /* 0x26001AA2: mov edx, dword ptr [ebx + 0x1c] */
   2050     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2051     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2052     edx = edx + ecx; /* 0x26001AA5: add edx, ecx */
   2053     _flag_k = FK_ADD;
   2054     edi = POP32_VAL(esp); /* 0x26001AA7: pop edi */
   2055     MEM32(ebx + 0x1C) = edx; /* 0x26001AA8: mov dword ptr [ebx + 0x1c], edx */
   2056     MEM32(ebx + 0x4) = eax; /* 0x26001AAB: mov dword ptr [ebx + 4], eax */
   2057     esi = POP32_VAL(esp); /* 0x26001AAE: pop esi */
   2058     ebx = POP32_VAL(esp); /* 0x26001AAF: pop ebx */
   2059     ebp = POP32_VAL(esp); /* 0x26001AB0: pop ebp */
   2060     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001AB1: ret 8 */
   2061 L_26001AB4:
   2062     MEM32(ebx + 0x4) = eax; /* 0x26001AB4: mov dword ptr [ebx + 4], eax */
   2063     esi = POP32_VAL(esp); /* 0x26001AB7: pop esi */
   2064     ebx = POP32_VAL(esp); /* 0x26001AB8: pop ebx */
   2065     ebp = POP32_VAL(esp); /* 0x26001AB9: pop ebp */
   2066     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001ABA: ret 8 */
   2067     RECOMP_REGS_OUT();
   2068 }
   2069 
   2070 void sub_26001AC0(void) {
   2071     int _fpu_cmp = 0;
   2072     uint32_t _cf = 0;
   2073     int _df = 1;
   2074     uint32_t _flag_k = FK_NONE;
   2075     uint32_t _flag_a = 0, _flag_b = 0;
   2076     uint32_t _itail_tgt = 0;
   2077     RECOMP_REGS_LOCALS
   2078     RECOMP_ENTER(0x26001AC0u);
   2079 
   2080 L_26001AC0:
   2081     PUSH32(esp, ebp); /* 0x26001AC0: push ebp */
   2082     ebp = esp; /* 0x26001AC1: mov ebp, esp */
   2083     edx = MEM32(ebp + 0xC); /* 0x26001AC3: mov edx, dword ptr [ebp + 0xc] */
   2084     eax = MEM32(ecx); /* 0x26001AC6: mov eax, dword ptr [ecx] */
   2085     PUSH32(esp, edx); /* 0x26001AC8: push edx */
   2086     edx = ebp + 0xC; /* 0x26001AC9: lea edx, [ebp + 0xc] */
   2087     PUSH32(esp, edx); /* 0x26001ACC: push edx */
   2088     RECOMP_ICALL(MEM32(eax + 0x3C)); /* 0x26001ACD: call dword ptr [eax + 0x3c] */
   2089     RECOMP_FLAGS_IN();
   2090     /* test eax, eax */ /* 0x26001AD0: test eax, eax */
   2091     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2092     _cf = 0;
   2093     _flag_k = FK_TEST;
   2094     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001ADC; /* 0x26001AD2: jne 0x26001adc */
   2095 L_26001AD4:
   2096     fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x26001AD4: fld dword ptr [ebp + 0xc] */
   2097     ecx = MEM32(ebp + 0x8); /* 0x26001AD7: mov ecx, dword ptr [ebp + 8] */
   2098     { float _v = (float)fp_pop(); *(float*)ADDR(ecx) = _v; } /* 0x26001ADA: fstp dword ptr [ecx] */
   2099 L_26001ADC:
   2100     ebp = POP32_VAL(esp); /* 0x26001ADC: pop ebp */
   2101     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001ADD: ret 8 */
   2102     RECOMP_REGS_OUT();
   2103 }
   2104 
   2105 void sub_26001AE0(void) {
   2106     int _fpu_cmp = 0;
   2107     uint32_t _cf = 0;
   2108     int _df = 1;
   2109     uint32_t _flag_k = FK_NONE;
   2110     uint32_t _flag_a = 0, _flag_b = 0;
   2111     uint32_t _itail_tgt = 0;
   2112     RECOMP_REGS_LOCALS
   2113     RECOMP_ENTER(0x26001AE0u);
   2114 
   2115 L_26001AE0:
   2116     PUSH32(esp, ebp); /* 0x26001AE0: push ebp */
   2117     ebp = esp; /* 0x26001AE1: mov ebp, esp */
   2118     PUSH32(esp, esi); /* 0x26001AE3: push esi */
   2119     esi = ecx; /* 0x26001AE4: mov esi, ecx */
   2120     PUSH32(esp, 4); /* 0x26001AE6: push 4 */
   2121     RECOMP_ICALL(0x26001D30u); /* 0x26001AE8: call 0x26001d30 */ /* not lifted */
   2122     RECOMP_FLAGS_IN();
   2123     /* test eax, eax */ /* 0x26001AED: test eax, eax */
   2124     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2125     _cf = 0;
   2126     _flag_k = FK_TEST;
   2127     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001B50; /* 0x26001AEF: jne 0x26001b50 */
   2128 L_26001AF1:
   2129     ecx = MEM32(ebp + 0xC); /* 0x26001AF1: mov ecx, dword ptr [ebp + 0xc] */
   2130     edx = MEM32(esi + 0x1C); /* 0x26001AF4: mov edx, dword ptr [esi + 0x1c] */
   2131     /* cmp ecx, 1 */ /* 0x26001AF7: cmp ecx, 1 */
   2132     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2133     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2134     _flag_k = FK_CMP;
   2135     ecx = MEM32(esi + 0xC); /* 0x26001AFA: mov ecx, dword ptr [esi + 0xc] */
   2136     PUSH32(esp, edi); /* 0x26001AFD: push edi */
   2137     edi = ecx + edx; /* 0x26001AFE: lea edi, [ecx + edx] */
   2138     if (CMP_NE(_flag_a, _flag_b)) goto L_26001B1E; /* 0x26001B01: jne 0x26001b1e */
   2139 L_26001B03:
   2140     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2141     ecx = 0; /* 0x26001B03: xor ecx, ecx */
   2142     _cf = 0;
   2143     _flag_k = FK_TEST;
   2144     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2145     edx = 0; /* 0x26001B05: xor edx, edx */
   2146     _cf = 0;
   2147     _flag_k = FK_TEST;
   2148     SET_HI8(ecx, MEM8(edi + 0x3)); /* 0x26001B07: mov ch, byte ptr [edi + 3] */
   2149     SET_LO8(edx, MEM8(edi + 0x1)); /* 0x26001B0A: mov dl, byte ptr [edi + 1] */
   2150     SET_LO8(ecx, MEM8(edi + 0x2)); /* 0x26001B0D: mov cl, byte ptr [edi + 2] */
   2151     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001B10: shl ecx, 8 */
   2152     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2153     ecx = ecx << 8u; /* 0x26001B10: shl ecx, 8 */
   2154     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   2155     ecx = ecx | edx; /* 0x26001B13: or ecx, edx */
   2156     _cf = 0;
   2157     _flag_k = FK_TEST;
   2158     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001B15: shl ecx, 8 */
   2159     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2160     ecx = ecx << 8u; /* 0x26001B15: shl ecx, 8 */
   2161     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2162     edx = 0; /* 0x26001B18: xor edx, edx */
   2163     _cf = 0;
   2164     _flag_k = FK_TEST;
   2165     SET_LO8(edx, MEM8(edi)); /* 0x26001B1A: mov dl, byte ptr [edi] */
   2166     goto L_26001B37; /* 0x26001B1C: jmp 0x26001b37 */
   2167 L_26001B1E:
   2168     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2169     ecx = 0; /* 0x26001B1E: xor ecx, ecx */
   2170     _cf = 0;
   2171     _flag_k = FK_TEST;
   2172     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2173     edx = 0; /* 0x26001B20: xor edx, edx */
   2174     _cf = 0;
   2175     _flag_k = FK_TEST;
   2176     SET_LO8(ecx, MEM8(edi + 0x1)); /* 0x26001B22: mov cl, byte ptr [edi + 1] */
   2177     SET_LO8(edx, MEM8(edi + 0x2)); /* 0x26001B25: mov dl, byte ptr [edi + 2] */
   2178     SET_HI8(ecx, MEM8(edi)); /* 0x26001B28: mov ch, byte ptr [edi] */
   2179     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001B2A: shl ecx, 8 */
   2180     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2181     ecx = ecx << 8u; /* 0x26001B2A: shl ecx, 8 */
   2182     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   2183     ecx = ecx | edx; /* 0x26001B2D: or ecx, edx */
   2184     _cf = 0;
   2185     _flag_k = FK_TEST;
   2186     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001B2F: shl ecx, 8 */
   2187     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2188     ecx = ecx << 8u; /* 0x26001B2F: shl ecx, 8 */
   2189     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2190     edx = 0; /* 0x26001B32: xor edx, edx */
   2191     _cf = 0;
   2192     _flag_k = FK_TEST;
   2193     SET_LO8(edx, MEM8(edi + 0x3)); /* 0x26001B34: mov dl, byte ptr [edi + 3] */
   2194 L_26001B37:
   2195     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   2196     ecx = ecx | edx; /* 0x26001B37: or ecx, edx */
   2197     _cf = 0;
   2198     _flag_k = FK_TEST;
   2199     edx = MEM32(ebp + 0x8); /* 0x26001B39: mov edx, dword ptr [ebp + 8] */
   2200     edi = POP32_VAL(esp); /* 0x26001B3C: pop edi */
   2201     MEM32(edx) = ecx; /* 0x26001B3D: mov dword ptr [edx], ecx */
   2202     ecx = MEM32(esi + 0x1C); /* 0x26001B3F: mov ecx, dword ptr [esi + 0x1c] */
   2203     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   2204     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2205     ecx = ecx + 4; /* 0x26001B42: add ecx, 4 */
   2206     _flag_k = FK_ADD;
   2207     MEM32(esi + 0x4) = eax; /* 0x26001B45: mov dword ptr [esi + 4], eax */
   2208     MEM32(esi + 0x1C) = ecx; /* 0x26001B48: mov dword ptr [esi + 0x1c], ecx */
   2209     esi = POP32_VAL(esp); /* 0x26001B4B: pop esi */
   2210     ebp = POP32_VAL(esp); /* 0x26001B4C: pop ebp */
   2211     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001B4D: ret 8 */
   2212 L_26001B50:
   2213     MEM32(esi + 0x4) = eax; /* 0x26001B50: mov dword ptr [esi + 4], eax */
   2214     esi = POP32_VAL(esp); /* 0x26001B53: pop esi */
   2215     ebp = POP32_VAL(esp); /* 0x26001B54: pop ebp */
   2216     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001B55: ret 8 */
   2217     RECOMP_REGS_OUT();
   2218 }
   2219 
   2220 void sub_26001B60(void) {
   2221     int _fpu_cmp = 0;
   2222     uint32_t _cf = 0;
   2223     int _df = 1;
   2224     uint32_t _flag_k = FK_NONE;
   2225     uint32_t _flag_a = 0, _flag_b = 0;
   2226     uint32_t _itail_tgt = 0;
   2227     RECOMP_REGS_LOCALS
   2228     RECOMP_ENTER(0x26001B60u);
   2229 
   2230 L_26001B60:
   2231     PUSH32(esp, ebp); /* 0x26001B60: push ebp */
   2232     ebp = esp; /* 0x26001B61: mov ebp, esp */
   2233     PUSH32(esp, esi); /* 0x26001B63: push esi */
   2234     esi = ecx; /* 0x26001B64: mov esi, ecx */
   2235     PUSH32(esp, 1); /* 0x26001B66: push 1 */
   2236     RECOMP_ICALL(0x26001D30u); /* 0x26001B68: call 0x26001d30 */ /* not lifted */
   2237     RECOMP_FLAGS_IN();
   2238     /* test eax, eax */ /* 0x26001B6D: test eax, eax */
   2239     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2240     _cf = 0;
   2241     _flag_k = FK_TEST;
   2242     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001B86; /* 0x26001B6F: jne 0x26001b86 */
   2243 L_26001B71:
   2244     ecx = MEM32(esi + 0xC); /* 0x26001B71: mov ecx, dword ptr [esi + 0xc] */
   2245     edx = MEM32(esi + 0x1C); /* 0x26001B74: mov edx, dword ptr [esi + 0x1c] */
   2246     SET_LO8(ecx, MEM8(ecx + edx)); /* 0x26001B77: mov cl, byte ptr [ecx + edx] */
   2247     edx = MEM32(ebp + 0x8); /* 0x26001B7A: mov edx, dword ptr [ebp + 8] */
   2248     MEM8(edx) = (uint8_t)(LO8(ecx)); /* 0x26001B7D: mov byte ptr [edx], cl */
   2249     ecx = MEM32(esi + 0x1C); /* 0x26001B7F: mov ecx, dword ptr [esi + 0x1c] */
   2250     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2251     ecx = ecx + 1; /* 0x26001B82: inc ecx */
   2252     _flag_k = FK_INC;
   2253     MEM32(esi + 0x1C) = ecx; /* 0x26001B83: mov dword ptr [esi + 0x1c], ecx */
   2254 L_26001B86:
   2255     MEM32(esi + 0x4) = eax; /* 0x26001B86: mov dword ptr [esi + 4], eax */
   2256     esi = POP32_VAL(esp); /* 0x26001B89: pop esi */
   2257     ebp = POP32_VAL(esp); /* 0x26001B8A: pop ebp */
   2258     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001B8B: ret 4 */
   2259     RECOMP_REGS_OUT();
   2260 }
   2261 
   2262 void sub_26001B90(void) {
   2263     int _fpu_cmp = 0;
   2264     uint32_t _cf = 0;
   2265     int _df = 1;
   2266     uint32_t _flag_k = FK_NONE;
   2267     uint32_t _flag_a = 0, _flag_b = 0;
   2268     uint32_t _itail_tgt = 0;
   2269     RECOMP_REGS_LOCALS
   2270     RECOMP_ENTER(0x26001B90u);
   2271 
   2272 L_26001B90:
   2273     PUSH32(esp, ebp); /* 0x26001B90: push ebp */
   2274     ebp = esp; /* 0x26001B91: mov ebp, esp */
   2275     PUSH32(esp, esi); /* 0x26001B93: push esi */
   2276     esi = ecx; /* 0x26001B94: mov esi, ecx */
   2277     PUSH32(esp, 2); /* 0x26001B96: push 2 */
   2278     RECOMP_ICALL(0x26001D30u); /* 0x26001B98: call 0x26001d30 */ /* not lifted */
   2279     RECOMP_FLAGS_IN();
   2280     /* test eax, eax */ /* 0x26001B9D: test eax, eax */
   2281     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2282     _cf = 0;
   2283     _flag_k = FK_TEST;
   2284     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001BD6; /* 0x26001B9F: jne 0x26001bd6 */
   2285 L_26001BA1:
   2286     /* cmp MEM32(ebp + 0xC), 1 */ /* 0x26001BA1: cmp dword ptr [ebp + 0xc], 1 */
   2287     _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1);
   2288     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2289     _flag_k = FK_CMP;
   2290     if (CMP_NE(_flag_a, _flag_b)) goto L_26001BB8; /* 0x26001BA5: jne 0x26001bb8 */
   2291 L_26001BA7:
   2292     ecx = MEM32(esi + 0xC); /* 0x26001BA7: mov ecx, dword ptr [esi + 0xc] */
   2293     edx = MEM32(esi + 0x1C); /* 0x26001BAA: mov edx, dword ptr [esi + 0x1c] */
   2294     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2295     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2296     ecx = ecx + edx; /* 0x26001BAD: add ecx, edx */
   2297     _flag_k = FK_ADD;
   2298     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2299     edx = 0; /* 0x26001BAF: xor edx, edx */
   2300     _cf = 0;
   2301     _flag_k = FK_TEST;
   2302     SET_HI8(edx, MEM8(ecx + 0x1)); /* 0x26001BB1: mov dh, byte ptr [ecx + 1] */
   2303     SET_LO8(edx, MEM8(ecx)); /* 0x26001BB4: mov dl, byte ptr [ecx] */
   2304     goto L_26001BC7; /* 0x26001BB6: jmp 0x26001bc7 */
   2305 L_26001BB8:
   2306     edx = MEM32(esi + 0xC); /* 0x26001BB8: mov edx, dword ptr [esi + 0xc] */
   2307     ecx = MEM32(esi + 0x1C); /* 0x26001BBB: mov ecx, dword ptr [esi + 0x1c] */
   2308     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2309     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2310     ecx = ecx + edx; /* 0x26001BBE: add ecx, edx */
   2311     _flag_k = FK_ADD;
   2312     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2313     edx = 0; /* 0x26001BC0: xor edx, edx */
   2314     _cf = 0;
   2315     _flag_k = FK_TEST;
   2316     SET_LO8(edx, MEM8(ecx + 0x1)); /* 0x26001BC2: mov dl, byte ptr [ecx + 1] */
   2317     SET_HI8(edx, MEM8(ecx)); /* 0x26001BC5: mov dh, byte ptr [ecx] */
   2318 L_26001BC7:
   2319     ecx = MEM32(ebp + 0x8); /* 0x26001BC7: mov ecx, dword ptr [ebp + 8] */
   2320     MEM16(ecx) = (uint16_t)(LO16(edx)); /* 0x26001BCA: mov word ptr [ecx], dx */
   2321     ecx = MEM32(esi + 0x1C); /* 0x26001BCD: mov ecx, dword ptr [esi + 0x1c] */
   2322     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   2323     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2324     ecx = ecx + 2; /* 0x26001BD0: add ecx, 2 */
   2325     _flag_k = FK_ADD;
   2326     MEM32(esi + 0x1C) = ecx; /* 0x26001BD3: mov dword ptr [esi + 0x1c], ecx */
   2327 L_26001BD6:
   2328     MEM32(esi + 0x4) = eax; /* 0x26001BD6: mov dword ptr [esi + 4], eax */
   2329     esi = POP32_VAL(esp); /* 0x26001BD9: pop esi */
   2330     ebp = POP32_VAL(esp); /* 0x26001BDA: pop ebp */
   2331     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001BDB: ret 8 */
   2332     RECOMP_REGS_OUT();
   2333 }
   2334 
   2335 void sub_26001BE0(void) {
   2336     int _fpu_cmp = 0;
   2337     uint32_t _cf = 0;
   2338     int _df = 1;
   2339     uint32_t _flag_k = FK_NONE;
   2340     uint32_t _flag_a = 0, _flag_b = 0;
   2341     uint32_t _itail_tgt = 0;
   2342     RECOMP_REGS_LOCALS
   2343     RECOMP_ENTER(0x26001BE0u);
   2344 
   2345 L_26001BE0:
   2346     PUSH32(esp, ebp); /* 0x26001BE0: push ebp */
   2347     ebp = esp; /* 0x26001BE1: mov ebp, esp */
   2348     PUSH32(esp, esi); /* 0x26001BE3: push esi */
   2349     esi = ecx; /* 0x26001BE4: mov esi, ecx */
   2350     PUSH32(esp, 4); /* 0x26001BE6: push 4 */
   2351     RECOMP_ICALL(0x26001D30u); /* 0x26001BE8: call 0x26001d30 */ /* not lifted */
   2352     RECOMP_FLAGS_IN();
   2353     /* test eax, eax */ /* 0x26001BED: test eax, eax */
   2354     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2355     _cf = 0;
   2356     _flag_k = FK_TEST;
   2357     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001C50; /* 0x26001BEF: jne 0x26001c50 */
   2358 L_26001BF1:
   2359     ecx = MEM32(ebp + 0xC); /* 0x26001BF1: mov ecx, dword ptr [ebp + 0xc] */
   2360     edx = MEM32(esi + 0x1C); /* 0x26001BF4: mov edx, dword ptr [esi + 0x1c] */
   2361     /* cmp ecx, 1 */ /* 0x26001BF7: cmp ecx, 1 */
   2362     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2363     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2364     _flag_k = FK_CMP;
   2365     ecx = MEM32(esi + 0xC); /* 0x26001BFA: mov ecx, dword ptr [esi + 0xc] */
   2366     PUSH32(esp, edi); /* 0x26001BFD: push edi */
   2367     edi = ecx + edx; /* 0x26001BFE: lea edi, [ecx + edx] */
   2368     if (CMP_NE(_flag_a, _flag_b)) goto L_26001C1E; /* 0x26001C01: jne 0x26001c1e */
   2369 L_26001C03:
   2370     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2371     ecx = 0; /* 0x26001C03: xor ecx, ecx */
   2372     _cf = 0;
   2373     _flag_k = FK_TEST;
   2374     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2375     edx = 0; /* 0x26001C05: xor edx, edx */
   2376     _cf = 0;
   2377     _flag_k = FK_TEST;
   2378     SET_HI8(ecx, MEM8(edi + 0x3)); /* 0x26001C07: mov ch, byte ptr [edi + 3] */
   2379     SET_LO8(edx, MEM8(edi + 0x1)); /* 0x26001C0A: mov dl, byte ptr [edi + 1] */
   2380     SET_LO8(ecx, MEM8(edi + 0x2)); /* 0x26001C0D: mov cl, byte ptr [edi + 2] */
   2381     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001C10: shl ecx, 8 */
   2382     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2383     ecx = ecx << 8u; /* 0x26001C10: shl ecx, 8 */
   2384     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   2385     ecx = ecx | edx; /* 0x26001C13: or ecx, edx */
   2386     _cf = 0;
   2387     _flag_k = FK_TEST;
   2388     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001C15: shl ecx, 8 */
   2389     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2390     ecx = ecx << 8u; /* 0x26001C15: shl ecx, 8 */
   2391     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2392     edx = 0; /* 0x26001C18: xor edx, edx */
   2393     _cf = 0;
   2394     _flag_k = FK_TEST;
   2395     SET_LO8(edx, MEM8(edi)); /* 0x26001C1A: mov dl, byte ptr [edi] */
   2396     goto L_26001C37; /* 0x26001C1C: jmp 0x26001c37 */
   2397 L_26001C1E:
   2398     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2399     ecx = 0; /* 0x26001C1E: xor ecx, ecx */
   2400     _cf = 0;
   2401     _flag_k = FK_TEST;
   2402     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2403     edx = 0; /* 0x26001C20: xor edx, edx */
   2404     _cf = 0;
   2405     _flag_k = FK_TEST;
   2406     SET_LO8(ecx, MEM8(edi + 0x1)); /* 0x26001C22: mov cl, byte ptr [edi + 1] */
   2407     SET_LO8(edx, MEM8(edi + 0x2)); /* 0x26001C25: mov dl, byte ptr [edi + 2] */
   2408     SET_HI8(ecx, MEM8(edi)); /* 0x26001C28: mov ch, byte ptr [edi] */
   2409     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001C2A: shl ecx, 8 */
   2410     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2411     ecx = ecx << 8u; /* 0x26001C2A: shl ecx, 8 */
   2412     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   2413     ecx = ecx | edx; /* 0x26001C2D: or ecx, edx */
   2414     _cf = 0;
   2415     _flag_k = FK_TEST;
   2416     if (8u) _cf = (((ecx) >> 24) & 1u); /* 0x26001C2F: shl ecx, 8 */
   2417     if (8u) { _flag_a = recomp_flags_pack((ecx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2418     ecx = ecx << 8u; /* 0x26001C2F: shl ecx, 8 */
   2419     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2420     edx = 0; /* 0x26001C32: xor edx, edx */
   2421     _cf = 0;
   2422     _flag_k = FK_TEST;
   2423     SET_LO8(edx, MEM8(edi + 0x3)); /* 0x26001C34: mov dl, byte ptr [edi + 3] */
   2424 L_26001C37:
   2425     _flag_a = (uint32_t)((ecx | edx)); _flag_b = (uint32_t)((ecx | edx));
   2426     ecx = ecx | edx; /* 0x26001C37: or ecx, edx */
   2427     _cf = 0;
   2428     _flag_k = FK_TEST;
   2429     edx = MEM32(ebp + 0x8); /* 0x26001C39: mov edx, dword ptr [ebp + 8] */
   2430     edi = POP32_VAL(esp); /* 0x26001C3C: pop edi */
   2431     MEM32(edx) = ecx; /* 0x26001C3D: mov dword ptr [edx], ecx */
   2432     ecx = MEM32(esi + 0x1C); /* 0x26001C3F: mov ecx, dword ptr [esi + 0x1c] */
   2433     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   2434     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2435     ecx = ecx + 4; /* 0x26001C42: add ecx, 4 */
   2436     _flag_k = FK_ADD;
   2437     MEM32(esi + 0x4) = eax; /* 0x26001C45: mov dword ptr [esi + 4], eax */
   2438     MEM32(esi + 0x1C) = ecx; /* 0x26001C48: mov dword ptr [esi + 0x1c], ecx */
   2439     esi = POP32_VAL(esp); /* 0x26001C4B: pop esi */
   2440     ebp = POP32_VAL(esp); /* 0x26001C4C: pop ebp */
   2441     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001C4D: ret 8 */
   2442 L_26001C50:
   2443     MEM32(esi + 0x4) = eax; /* 0x26001C50: mov dword ptr [esi + 4], eax */
   2444     esi = POP32_VAL(esp); /* 0x26001C53: pop esi */
   2445     ebp = POP32_VAL(esp); /* 0x26001C54: pop ebp */
   2446     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001C55: ret 8 */
   2447     RECOMP_REGS_OUT();
   2448 }
   2449 
   2450 void sub_26001C60(void) {
   2451     int _fpu_cmp = 0;
   2452     uint32_t _cf = 0;
   2453     int _df = 1;
   2454     uint32_t _flag_k = FK_NONE;
   2455     uint32_t _flag_a = 0, _flag_b = 0;
   2456     uint32_t _itail_tgt = 0;
   2457     RECOMP_REGS_LOCALS
   2458     RECOMP_ENTER(0x26001C60u);
   2459 
   2460 L_26001C60:
   2461     PUSH32(esp, ebp); /* 0x26001C60: push ebp */
   2462     ebp = esp; /* 0x26001C61: mov ebp, esp */
   2463     PUSH32(esp, ecx); /* 0x26001C63: push ecx */
   2464     PUSH32(esp, ebx); /* 0x26001C64: push ebx */
   2465     ebx = MEM32(ebp + 0x8); /* 0x26001C65: mov ebx, dword ptr [ebp + 8] */
   2466     PUSH32(esp, esi); /* 0x26001C68: push esi */
   2467     PUSH32(esp, edi); /* 0x26001C69: push edi */
   2468     /* test ebx, ebx */ /* 0x26001C6A: test ebx, ebx */
   2469     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   2470     _cf = 0;
   2471     _flag_k = FK_TEST;
   2472     esi = ecx; /* 0x26001C6C: mov esi, ecx */
   2473     if (TEST_Z(_flag_a, _flag_b)) goto L_26001D0E; /* 0x26001C6E: je 0x26001d0e */
   2474 L_26001C74:
   2475     eax = MEM32(ebp + 0xC); /* 0x26001C74: mov eax, dword ptr [ebp + 0xc] */
   2476     /* test eax, eax */ /* 0x26001C77: test eax, eax */
   2477     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2478     _cf = 0;
   2479     _flag_k = FK_TEST;
   2480     if (TEST_Z(_flag_a, _flag_b)) goto L_26001D0E; /* 0x26001C79: je 0x26001d0e */
   2481 L_26001C7F:
   2482     PUSH32(esp, 1); /* 0x26001C7F: push 1 */
   2483     RECOMP_ICALL(0x26001D30u); /* 0x26001C81: call 0x26001d30 */ /* not lifted */
   2484     RECOMP_FLAGS_IN();
   2485     /* test eax, eax */ /* 0x26001C86: test eax, eax */
   2486     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2487     _cf = 0;
   2488     _flag_k = FK_TEST;
   2489     MEM32(ebp + 0x8) = eax; /* 0x26001C88: mov dword ptr [ebp + 8], eax */
   2490     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001D1E; /* 0x26001C8B: jne 0x26001d1e */
   2491 L_26001C91:
   2492     eax = MEM32(esi); /* 0x26001C91: mov eax, dword ptr [esi] */
   2493     ecx = esi; /* 0x26001C93: mov ecx, esi */
   2494     RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x26001C95: call dword ptr [eax + 0x10] */
   2495     RECOMP_FLAGS_IN();
   2496     MEM32(ebp + (-0x4)) = eax; /* 0x26001C98: mov dword ptr [ebp - 4], eax */
   2497     eax = MEM32(ebp + 0xC); /* 0x26001C9B: mov eax, dword ptr [ebp + 0xc] */
   2498     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2499     edi = 0; /* 0x26001C9E: xor edi, edi */
   2500     _cf = 0;
   2501     _flag_k = FK_TEST;
   2502     /* test eax, eax */ /* 0x26001CA0: test eax, eax */
   2503     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2504     _cf = 0;
   2505     _flag_k = FK_TEST;
   2506     if (TEST_Z(_flag_a, _flag_b)) goto L_26001CCF; /* 0x26001CA2: jbe 0x26001ccf */
   2507 L_26001CA4:
   2508     edx = MEM32(esi + 0x1C); /* 0x26001CA4: mov edx, dword ptr [esi + 0x1c] */
   2509     ecx = MEM32(esi + 0x14); /* 0x26001CA7: mov ecx, dword ptr [esi + 0x14] */
   2510     /* cmp edx, ecx */ /* 0x26001CAA: cmp edx, ecx */
   2511     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2512     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2513     _flag_k = FK_CMP;
   2514     if (CMP_AE(_flag_a, _flag_b)) goto L_26001CFB; /* 0x26001CAC: jae 0x26001cfb */
   2515 L_26001CAE:
   2516     ecx = MEM32(esi + 0xC); /* 0x26001CAE: mov ecx, dword ptr [esi + 0xc] */
   2517     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   2518     edx = edx + 1; /* 0x26001CB1: inc edx */
   2519     _flag_k = FK_INC;
   2520     SET_LO8(ecx, MEM8(ecx + edx + (-0x1))); /* 0x26001CB2: mov cl, byte ptr [ecx + edx - 1] */
   2521     MEM32(esi + 0x1C) = edx; /* 0x26001CB6: mov dword ptr [esi + 0x1c], edx */
   2522     /* test LO8(ecx), LO8(ecx) */ /* 0x26001CB9: test cl, cl */
   2523     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   2524     _cf = 0;
   2525     _flag_k = FK_NARROW(FK_TEST, 24);
   2526     if (TEST_Z(_flag_a, _flag_b)) goto L_26001CFB; /* 0x26001CBB: je 0x26001cfb */
   2527 L_26001CBD:
   2528     /* cmp MEM8(ebp + 0x10), LO8(ecx) */ /* 0x26001CBD: cmp byte ptr [ebp + 0x10], cl */
   2529     _flag_a = (uint32_t)(MEM8(ebp + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   2530     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2531     _flag_k = FK_NARROW(FK_CMP, 24);
   2532     if (CMP_EQ(_flag_a, _flag_b)) goto L_26001CFB; /* 0x26001CC0: je 0x26001cfb */
   2533 L_26001CC2:
   2534     /* cmp LO8(ecx), 0xDu */ /* 0x26001CC2: cmp cl, 0xd */
   2535     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xDu) << 24;
   2536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2537     _flag_k = FK_NARROW(FK_CMP, 24);
   2538     if (CMP_EQ(_flag_a, _flag_b)) goto L_26001CCB; /* 0x26001CC5: je 0x26001ccb */
   2539 L_26001CC7:
   2540     MEM8(edi + ebx) = (uint8_t)(LO8(ecx)); /* 0x26001CC7: mov byte ptr [edi + ebx], cl */
   2541     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2542     edi = edi + 1; /* 0x26001CCA: inc edi */
   2543     _flag_k = FK_INC;
   2544 L_26001CCB:
   2545     /* cmp edi, eax */ /* 0x26001CCB: cmp edi, eax */
   2546     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   2547     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2548     _flag_k = FK_CMP;
   2549     RECOMP_BACKEDGE();
   2550     if (CMP_B(_flag_a, _flag_b)) goto L_26001CA4; /* 0x26001CCD: jb 0x26001ca4 */
   2551 L_26001CCF:
   2552     eax = MEM32(ebp + (-0x4)); /* 0x26001CCF: mov eax, dword ptr [ebp - 4] */
   2553     edx = MEM32(esi); /* 0x26001CD2: mov edx, dword ptr [esi] */
   2554     PUSH32(esp, 0); /* 0x26001CD4: push 0 */
   2555     PUSH32(esp, eax); /* 0x26001CD6: push eax */
   2556     ecx = esi; /* 0x26001CD7: mov ecx, esi */
   2557     RECOMP_ICALL(MEM32(edx + 0x40)); /* 0x26001CD9: call dword ptr [edx + 0x40] */
   2558     RECOMP_FLAGS_IN();
   2559     edx = MEM32(esi); /* 0x26001CDC: mov edx, dword ptr [esi] */
   2560     PUSH32(esp, 0xFFFFFFF4u); /* 0x26001CDE: push -0xc */
   2561     ecx = esi; /* 0x26001CE0: mov ecx, esi */
   2562     MEM32(ebp + 0x8) = 0xFFFFFFF4u; /* 0x26001CE2: mov dword ptr [ebp + 8], 0xfffffff4 */
   2563     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26001CE9: call dword ptr [edx + 0x70] */
   2564     RECOMP_FLAGS_IN();
   2565     eax = MEM32(ebp + 0x8); /* 0x26001CEC: mov eax, dword ptr [ebp + 8] */
   2566     edi = POP32_VAL(esp); /* 0x26001CEF: pop edi */
   2567     MEM32(esi + 0x4) = eax; /* 0x26001CF0: mov dword ptr [esi + 4], eax */
   2568     esi = POP32_VAL(esp); /* 0x26001CF3: pop esi */
   2569     ebx = POP32_VAL(esp); /* 0x26001CF4: pop ebx */
   2570     esp = ebp; /* 0x26001CF5: mov esp, ebp */
   2571     ebp = POP32_VAL(esp); /* 0x26001CF7: pop ebp */
   2572     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26001CF8: ret 0xc */
   2573 L_26001CFB:
   2574     eax = MEM32(ebp + 0x8); /* 0x26001CFB: mov eax, dword ptr [ebp + 8] */
   2575     MEM8(edi + ebx) = (uint8_t)(0); /* 0x26001CFE: mov byte ptr [edi + ebx], 0 */
   2576     MEM32(esi + 0x4) = eax; /* 0x26001D02: mov dword ptr [esi + 4], eax */
   2577     edi = POP32_VAL(esp); /* 0x26001D05: pop edi */
   2578     esi = POP32_VAL(esp); /* 0x26001D06: pop esi */
   2579     ebx = POP32_VAL(esp); /* 0x26001D07: pop ebx */
   2580     esp = ebp; /* 0x26001D08: mov esp, ebp */
   2581     ebp = POP32_VAL(esp); /* 0x26001D0A: pop ebp */
   2582     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26001D0B: ret 0xc */
   2583 L_26001D0E:
   2584     eax = MEM32(esi); /* 0x26001D0E: mov eax, dword ptr [esi] */
   2585     PUSH32(esp, 0xFFFFFFFCu); /* 0x26001D10: push -4 */
   2586     ecx = esi; /* 0x26001D12: mov ecx, esi */
   2587     MEM32(ebp + 0x8) = 0xFFFFFFFCu; /* 0x26001D14: mov dword ptr [ebp + 8], 0xfffffffc */
   2588     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26001D1B: call dword ptr [eax + 0x70] */
   2589     RECOMP_FLAGS_IN();
   2590 L_26001D1E:
   2591     eax = MEM32(ebp + 0x8); /* 0x26001D1E: mov eax, dword ptr [ebp + 8] */
   2592     edi = POP32_VAL(esp); /* 0x26001D21: pop edi */
   2593     MEM32(esi + 0x4) = eax; /* 0x26001D22: mov dword ptr [esi + 4], eax */
   2594     esi = POP32_VAL(esp); /* 0x26001D25: pop esi */
   2595     ebx = POP32_VAL(esp); /* 0x26001D26: pop ebx */
   2596     esp = ebp; /* 0x26001D27: mov esp, ebp */
   2597     ebp = POP32_VAL(esp); /* 0x26001D29: pop ebp */
   2598     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26001D2A: ret 0xc */
   2599     RECOMP_REGS_OUT();
   2600 }
   2601 
   2602 void sub_26001D30(void) {
   2603     int _fpu_cmp = 0;
   2604     uint32_t _cf = 0;
   2605     int _df = 1;
   2606     uint32_t _flag_k = FK_NONE;
   2607     uint32_t _flag_a = 0, _flag_b = 0;
   2608     uint32_t _itail_tgt = 0;
   2609     RECOMP_REGS_LOCALS
   2610     RECOMP_ENTER(0x26001D30u);
   2611 
   2612 L_26001D30:
   2613     PUSH32(esp, ebp); /* 0x26001D30: push ebp */
   2614     ebp = esp; /* 0x26001D31: mov ebp, esp */
   2615     PUSH32(esp, esi); /* 0x26001D33: push esi */
   2616     esi = ecx; /* 0x26001D34: mov esi, ecx */
   2617     PUSH32(esp, edi); /* 0x26001D36: push edi */
   2618     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2619     edi = 0; /* 0x26001D37: xor edi, edi */
   2620     _cf = 0;
   2621     _flag_k = FK_TEST;
   2622     eax = MEM32(esi + 0xC); /* 0x26001D39: mov eax, dword ptr [esi + 0xc] */
   2623     /* test eax, eax */ /* 0x26001D3C: test eax, eax */
   2624     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2625     _cf = 0;
   2626     _flag_k = FK_TEST;
   2627     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001D55; /* 0x26001D3E: jne 0x26001d55 */
   2628 L_26001D40:
   2629     eax = MEM32(esi); /* 0x26001D40: mov eax, dword ptr [esi] */
   2630     PUSH32(esp, 0xFFFFFFFFu); /* 0x26001D42: push -1 */
   2631     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   2632     edi = edi | 0xFFFFFFFFu; /* 0x26001D44: or edi, 0xffffffff */
   2633     _cf = 0;
   2634     _flag_k = FK_TEST;
   2635     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26001D47: call dword ptr [eax + 0x70] */
   2636     RECOMP_FLAGS_IN();
   2637     MEM32(esi + 0x4) = edi; /* 0x26001D4A: mov dword ptr [esi + 4], edi */
   2638     eax = edi; /* 0x26001D4D: mov eax, edi */
   2639     edi = POP32_VAL(esp); /* 0x26001D4F: pop edi */
   2640     esi = POP32_VAL(esp); /* 0x26001D50: pop esi */
   2641     ebp = POP32_VAL(esp); /* 0x26001D51: pop ebp */
   2642     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001D52: ret 4 */
   2643 L_26001D55:
   2644     /* test MEM8(esi + 0x18), 2 */ /* 0x26001D55: test byte ptr [esi + 0x18], 2 */
   2645     _flag_a = (uint32_t)(MEM8(esi + 0x18)) << 24; _flag_b = (uint32_t)(2) << 24;
   2646     _cf = 0;
   2647     _flag_k = FK_NARROW(FK_TEST, 24);
   2648     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001D89; /* 0x26001D59: jne 0x26001d89 */
   2649 L_26001D5B:
   2650     SET_LO8(eax, MEM8(esi + 0x12)); /* 0x26001D5B: mov al, byte ptr [esi + 0x12] */
   2651     /* test LO8(eax), LO8(eax) */ /* 0x26001D5E: test al, al */
   2652     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2653     _cf = 0;
   2654     _flag_k = FK_NARROW(FK_TEST, 24);
   2655     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001D7A; /* 0x26001D60: jne 0x26001d7a */
   2656 L_26001D62:
   2657     eax = MEM32(esi); /* 0x26001D62: mov eax, dword ptr [esi] */
   2658     edi = 0xFFFFFFFDu; /* 0x26001D64: mov edi, 0xfffffffd */
   2659     PUSH32(esp, edi); /* 0x26001D69: push edi */
   2660     ecx = esi; /* 0x26001D6A: mov ecx, esi */
   2661     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26001D6C: call dword ptr [eax + 0x70] */
   2662     RECOMP_FLAGS_IN();
   2663     MEM32(esi + 0x4) = edi; /* 0x26001D6F: mov dword ptr [esi + 4], edi */
   2664     eax = edi; /* 0x26001D72: mov eax, edi */
   2665     edi = POP32_VAL(esp); /* 0x26001D74: pop edi */
   2666     esi = POP32_VAL(esp); /* 0x26001D75: pop esi */
   2667     ebp = POP32_VAL(esp); /* 0x26001D76: pop ebp */
   2668     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001D77: ret 4 */
   2669 L_26001D7A:
   2670     ecx = MEM32(esi + 0x1C); /* 0x26001D7A: mov ecx, dword ptr [esi + 0x1c] */
   2671     edx = MEM32(ebp + 0x8); /* 0x26001D7D: mov edx, dword ptr [ebp + 8] */
   2672     eax = MEM32(esi + 0x14); /* 0x26001D80: mov eax, dword ptr [esi + 0x14] */
   2673     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   2674     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2675     ecx = ecx + edx; /* 0x26001D83: add ecx, edx */
   2676     _flag_k = FK_ADD;
   2677     /* cmp ecx, eax */ /* 0x26001D85: cmp ecx, eax */
   2678     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2679     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2680     _flag_k = FK_CMP;
   2681     if (CMP_BE(_flag_a, _flag_b)) goto L_26001D96; /* 0x26001D87: jbe 0x26001d96 */
   2682 L_26001D89:
   2683     edx = MEM32(esi); /* 0x26001D89: mov edx, dword ptr [esi] */
   2684     edi = 0xFFFFFFFAu; /* 0x26001D8B: mov edi, 0xfffffffa */
   2685     PUSH32(esp, edi); /* 0x26001D90: push edi */
   2686     ecx = esi; /* 0x26001D91: mov ecx, esi */
   2687     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26001D93: call dword ptr [edx + 0x70] */
   2688     RECOMP_FLAGS_IN();
   2689 L_26001D96:
   2690     MEM32(esi + 0x4) = edi; /* 0x26001D96: mov dword ptr [esi + 4], edi */
   2691     eax = edi; /* 0x26001D99: mov eax, edi */
   2692     edi = POP32_VAL(esp); /* 0x26001D9B: pop edi */
   2693     esi = POP32_VAL(esp); /* 0x26001D9C: pop esi */
   2694     ebp = POP32_VAL(esp); /* 0x26001D9D: pop ebp */
   2695     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001D9E: ret 4 */
   2696     RECOMP_REGS_OUT();
   2697 }
   2698 
   2699 void sub_26001DB0(void) {
   2700     int _fpu_cmp = 0;
   2701     uint32_t _cf = 0;
   2702     int _df = 1;
   2703     uint32_t _flag_k = FK_NONE;
   2704     uint32_t _flag_a = 0, _flag_b = 0;
   2705     uint32_t _itail_tgt = 0;
   2706     RECOMP_REGS_LOCALS
   2707     RECOMP_ENTER(0x26001DB0u);
   2708 
   2709 L_26001DB0:
   2710     PUSH32(esp, ebp); /* 0x26001DB0: push ebp */
   2711     ebp = esp; /* 0x26001DB1: mov ebp, esp */
   2712     PUSH32(esp, ebx); /* 0x26001DB3: push ebx */
   2713     PUSH32(esp, esi); /* 0x26001DB4: push esi */
   2714     PUSH32(esp, edi); /* 0x26001DB5: push edi */
   2715     edi = MEM32(ebp + 0xC); /* 0x26001DB6: mov edi, dword ptr [ebp + 0xc] */
   2716     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2717     eax = 0; /* 0x26001DB9: xor eax, eax */
   2718     _cf = 0;
   2719     _flag_k = FK_TEST;
   2720     ebx = ecx; /* 0x26001DBB: mov ebx, ecx */
   2721     /* test edi, edi */ /* 0x26001DBD: test edi, edi */
   2722     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2723     _cf = 0;
   2724     _flag_k = FK_TEST;
   2725     if (TEST_Z(_flag_a, _flag_b)) goto L_26001E0E; /* 0x26001DBF: je 0x26001e0e */
   2726 L_26001DC1:
   2727     esi = MEM32(ebp + 0x8); /* 0x26001DC1: mov esi, dword ptr [ebp + 8] */
   2728     /* test esi, esi */ /* 0x26001DC4: test esi, esi */
   2729     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2730     _cf = 0;
   2731     _flag_k = FK_TEST;
   2732     if (TEST_Z(_flag_a, _flag_b)) goto L_26001DFF; /* 0x26001DC6: je 0x26001dff */
   2733 L_26001DC8:
   2734     /* test edi, edi */ /* 0x26001DC8: test edi, edi */
   2735     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   2736     _cf = 0;
   2737     _flag_k = FK_TEST;
   2738     if (TEST_Z(_flag_a, _flag_b)) goto L_26001DFF; /* 0x26001DCA: jbe 0x26001dff */
   2739 L_26001DCC:
   2740     PUSH32(esp, edi); /* 0x26001DCC: push edi */
   2741     RECOMP_ICALL(0x26001FF0u); /* 0x26001DCD: call 0x26001ff0 */ /* not lifted */
   2742     RECOMP_FLAGS_IN();
   2743     /* test eax, eax */ /* 0x26001DD2: test eax, eax */
   2744     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2745     _cf = 0;
   2746     _flag_k = FK_TEST;
   2747     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001E0E; /* 0x26001DD4: jne 0x26001e0e */
   2748 L_26001DD6:
   2749     edx = MEM32(ebx + 0x1C); /* 0x26001DD6: mov edx, dword ptr [ebx + 0x1c] */
   2750     ecx = edi; /* 0x26001DD9: mov ecx, edi */
   2751     edi = MEM32(ebx + 0xC); /* 0x26001DDB: mov edi, dword ptr [ebx + 0xc] */
   2752     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2753     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2754     edi = edi + edx; /* 0x26001DDE: add edi, edx */
   2755     _flag_k = FK_ADD;
   2756     edx = ecx; /* 0x26001DE0: mov edx, ecx */
   2757     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x26001DE2: shr ecx, 2 */
   2758     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2759     ecx = ecx >> 2u; /* 0x26001DE2: shr ecx, 2 */
   2760     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x26001DE5: 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; }
   2761     ecx = edx; /* 0x26001DE7: mov ecx, edx */
   2762     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2763     ecx = ecx & 3; /* 0x26001DE9: and ecx, 3 */
   2764     _cf = 0;
   2765     _flag_k = FK_TEST;
   2766     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x26001DEC: 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; }
   2767     ecx = edx; /* 0x26001DEE: mov ecx, edx */
   2768     edx = MEM32(ebx + 0x1C); /* 0x26001DF0: mov edx, dword ptr [ebx + 0x1c] */
   2769     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   2770     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2771     edx = edx + ecx; /* 0x26001DF3: add edx, ecx */
   2772     _flag_k = FK_ADD;
   2773     edi = POP32_VAL(esp); /* 0x26001DF5: pop edi */
   2774     MEM32(ebx + 0x1C) = edx; /* 0x26001DF6: mov dword ptr [ebx + 0x1c], edx */
   2775     esi = POP32_VAL(esp); /* 0x26001DF9: pop esi */
   2776     ebx = POP32_VAL(esp); /* 0x26001DFA: pop ebx */
   2777     ebp = POP32_VAL(esp); /* 0x26001DFB: pop ebp */
   2778     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001DFC: ret 8 */
   2779 L_26001DFF:
   2780     edx = MEM32(ebx); /* 0x26001DFF: mov edx, dword ptr [ebx] */
   2781     esi = 0xFFFFFFFCu; /* 0x26001E01: mov esi, 0xfffffffc */
   2782     PUSH32(esp, esi); /* 0x26001E06: push esi */
   2783     ecx = ebx; /* 0x26001E07: mov ecx, ebx */
   2784     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26001E09: call dword ptr [edx + 0x70] */
   2785     RECOMP_FLAGS_IN();
   2786     eax = esi; /* 0x26001E0C: mov eax, esi */
   2787 L_26001E0E:
   2788     edi = POP32_VAL(esp); /* 0x26001E0E: pop edi */
   2789     esi = POP32_VAL(esp); /* 0x26001E0F: pop esi */
   2790     ebx = POP32_VAL(esp); /* 0x26001E10: pop ebx */
   2791     ebp = POP32_VAL(esp); /* 0x26001E11: pop ebp */
   2792     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001E12: ret 8 */
   2793     RECOMP_REGS_OUT();
   2794 }
   2795 
   2796 void sub_26001E20(void) {
   2797     int _fpu_cmp = 0;
   2798     uint32_t _cf = 0;
   2799     int _df = 1;
   2800     uint32_t _flag_k = FK_NONE;
   2801     uint32_t _flag_a = 0, _flag_b = 0;
   2802     uint32_t _itail_tgt = 0;
   2803     RECOMP_REGS_LOCALS
   2804     RECOMP_ENTER(0x26001E20u);
   2805 
   2806 L_26001E20:
   2807     PUSH32(esp, ebp); /* 0x26001E20: push ebp */
   2808     ebp = esp; /* 0x26001E21: mov ebp, esp */
   2809     eax = MEM32(ebp + 0x8); /* 0x26001E23: mov eax, dword ptr [ebp + 8] */
   2810     edx = MEM32(ecx); /* 0x26001E26: mov edx, dword ptr [ecx] */
   2811     MEM32(ebp + 0x8) = eax; /* 0x26001E28: mov dword ptr [ebp + 8], eax */
   2812     eax = MEM32(ebp + 0xC); /* 0x26001E2B: mov eax, dword ptr [ebp + 0xc] */
   2813     PUSH32(esp, eax); /* 0x26001E2E: push eax */
   2814     eax = MEM32(ebp + 0x8); /* 0x26001E2F: mov eax, dword ptr [ebp + 8] */
   2815     PUSH32(esp, eax); /* 0x26001E32: push eax */
   2816     RECOMP_ICALL(MEM32(edx + 0x68)); /* 0x26001E33: call dword ptr [edx + 0x68] */
   2817     RECOMP_FLAGS_IN();
   2818     ebp = POP32_VAL(esp); /* 0x26001E36: pop ebp */
   2819     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001E37: ret 8 */
   2820     RECOMP_REGS_OUT();
   2821 }
   2822 
   2823 void sub_26001E40(void) {
   2824     int _fpu_cmp = 0;
   2825     uint32_t _cf = 0;
   2826     int _df = 1;
   2827     uint32_t _flag_k = FK_NONE;
   2828     uint32_t _flag_a = 0, _flag_b = 0;
   2829     uint32_t _itail_tgt = 0;
   2830     RECOMP_REGS_LOCALS
   2831     RECOMP_ENTER(0x26001E40u);
   2832 
   2833 L_26001E40:
   2834     PUSH32(esp, ebp); /* 0x26001E40: push ebp */
   2835     ebp = esp; /* 0x26001E41: mov ebp, esp */
   2836     PUSH32(esp, esi); /* 0x26001E43: push esi */
   2837     esi = ecx; /* 0x26001E44: mov esi, ecx */
   2838     PUSH32(esp, 1); /* 0x26001E46: push 1 */
   2839     RECOMP_ICALL(0x26001FF0u); /* 0x26001E48: call 0x26001ff0 */ /* not lifted */
   2840     RECOMP_FLAGS_IN();
   2841     /* test eax, eax */ /* 0x26001E4D: test eax, eax */
   2842     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2843     _cf = 0;
   2844     _flag_k = FK_TEST;
   2845     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001E6E; /* 0x26001E4F: jne 0x26001e6e */
   2846 L_26001E51:
   2847     ecx = MEM32(esi + 0xC); /* 0x26001E51: mov ecx, dword ptr [esi + 0xc] */
   2848     edx = MEM32(esi + 0x1C); /* 0x26001E54: mov edx, dword ptr [esi + 0x1c] */
   2849     PUSH32(esp, ebx); /* 0x26001E57: push ebx */
   2850     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x26001E58: mov bl, byte ptr [ebp + 8] */
   2851     MEM8(ecx + edx) = (uint8_t)(LO8(ebx)); /* 0x26001E5B: mov byte ptr [ecx + edx], bl */
   2852     ecx = MEM32(esi + 0x1C); /* 0x26001E5E: mov ecx, dword ptr [esi + 0x1c] */
   2853     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2854     ecx = ecx + 1; /* 0x26001E61: inc ecx */
   2855     _flag_k = FK_INC;
   2856     MEM32(esi + 0x4) = eax; /* 0x26001E62: mov dword ptr [esi + 4], eax */
   2857     MEM32(esi + 0x1C) = ecx; /* 0x26001E65: mov dword ptr [esi + 0x1c], ecx */
   2858     ebx = POP32_VAL(esp); /* 0x26001E68: pop ebx */
   2859     esi = POP32_VAL(esp); /* 0x26001E69: pop esi */
   2860     ebp = POP32_VAL(esp); /* 0x26001E6A: pop ebp */
   2861     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001E6B: ret 4 */
   2862 L_26001E6E:
   2863     MEM32(esi + 0x4) = eax; /* 0x26001E6E: mov dword ptr [esi + 4], eax */
   2864     esi = POP32_VAL(esp); /* 0x26001E71: pop esi */
   2865     ebp = POP32_VAL(esp); /* 0x26001E72: pop ebp */
   2866     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26001E73: ret 4 */
   2867     RECOMP_REGS_OUT();
   2868 }
   2869 
   2870 void sub_26001E80(void) {
   2871     int _fpu_cmp = 0;
   2872     uint32_t _cf = 0;
   2873     int _df = 1;
   2874     uint32_t _flag_k = FK_NONE;
   2875     uint32_t _flag_a = 0, _flag_b = 0;
   2876     uint32_t _itail_tgt = 0;
   2877     RECOMP_REGS_LOCALS
   2878     RECOMP_ENTER(0x26001E80u);
   2879 
   2880 L_26001E80:
   2881     PUSH32(esp, ebp); /* 0x26001E80: push ebp */
   2882     ebp = esp; /* 0x26001E81: mov ebp, esp */
   2883     PUSH32(esp, esi); /* 0x26001E83: push esi */
   2884     esi = ecx; /* 0x26001E84: mov esi, ecx */
   2885     PUSH32(esp, 2); /* 0x26001E86: push 2 */
   2886     RECOMP_ICALL(0x26001FF0u); /* 0x26001E88: call 0x26001ff0 */ /* not lifted */
   2887     RECOMP_FLAGS_IN();
   2888     /* test eax, eax */ /* 0x26001E8D: test eax, eax */
   2889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2890     _cf = 0;
   2891     _flag_k = FK_TEST;
   2892     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001EE2; /* 0x26001E8F: jne 0x26001ee2 */
   2893 L_26001E91:
   2894     ecx = MEM32(ebp + 0xC); /* 0x26001E91: mov ecx, dword ptr [ebp + 0xc] */
   2895     edx = MEM32(esi + 0xC); /* 0x26001E94: mov edx, dword ptr [esi + 0xc] */
   2896     PUSH32(esp, edi); /* 0x26001E97: push edi */
   2897     edi = MEM32(esi + 0x1C); /* 0x26001E98: mov edi, dword ptr [esi + 0x1c] */
   2898     /* cmp ecx, 1 */ /* 0x26001E9B: cmp ecx, 1 */
   2899     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2901     _flag_k = FK_CMP;
   2902     SET_LO16(ecx, MEM16(ebp + 0x8)); /* 0x26001E9E: mov cx, word ptr [ebp + 8] */
   2903     if (CMP_NE(_flag_a, _flag_b)) goto L_26001EC3; /* 0x26001EA2: jne 0x26001ec3 */
   2904 L_26001EA4:
   2905     MEM8(edx + edi) = (uint8_t)(HI8(ecx)); /* 0x26001EA4: mov byte ptr [edx + edi], ch */
   2906     edx = MEM32(esi + 0xC); /* 0x26001EA7: mov edx, dword ptr [esi + 0xc] */
   2907     edi = MEM32(esi + 0x1C); /* 0x26001EAA: mov edi, dword ptr [esi + 0x1c] */
   2908     MEM8(edx + edi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x26001EAD: mov byte ptr [edx + edi + 1], cl */
   2909     ecx = MEM32(esi + 0x1C); /* 0x26001EB1: mov ecx, dword ptr [esi + 0x1c] */
   2910     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   2911     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2912     ecx = ecx + 2; /* 0x26001EB4: add ecx, 2 */
   2913     _flag_k = FK_ADD;
   2914     MEM32(esi + 0x4) = eax; /* 0x26001EB7: mov dword ptr [esi + 4], eax */
   2915     MEM32(esi + 0x1C) = ecx; /* 0x26001EBA: mov dword ptr [esi + 0x1c], ecx */
   2916     edi = POP32_VAL(esp); /* 0x26001EBD: pop edi */
   2917     esi = POP32_VAL(esp); /* 0x26001EBE: pop esi */
   2918     ebp = POP32_VAL(esp); /* 0x26001EBF: pop ebp */
   2919     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001EC0: ret 8 */
   2920 L_26001EC3:
   2921     MEM8(edx + edi) = (uint8_t)(LO8(ecx)); /* 0x26001EC3: mov byte ptr [edx + edi], cl */
   2922     edx = MEM32(esi + 0xC); /* 0x26001EC6: mov edx, dword ptr [esi + 0xc] */
   2923     edi = MEM32(esi + 0x1C); /* 0x26001EC9: mov edi, dword ptr [esi + 0x1c] */
   2924     MEM8(edx + edi + 0x1) = (uint8_t)(HI8(ecx)); /* 0x26001ECC: mov byte ptr [edx + edi + 1], ch */
   2925     ecx = MEM32(esi + 0x1C); /* 0x26001ED0: mov ecx, dword ptr [esi + 0x1c] */
   2926     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2);
   2927     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2928     ecx = ecx + 2; /* 0x26001ED3: add ecx, 2 */
   2929     _flag_k = FK_ADD;
   2930     MEM32(esi + 0x4) = eax; /* 0x26001ED6: mov dword ptr [esi + 4], eax */
   2931     MEM32(esi + 0x1C) = ecx; /* 0x26001ED9: mov dword ptr [esi + 0x1c], ecx */
   2932     edi = POP32_VAL(esp); /* 0x26001EDC: pop edi */
   2933     esi = POP32_VAL(esp); /* 0x26001EDD: pop esi */
   2934     ebp = POP32_VAL(esp); /* 0x26001EDE: pop ebp */
   2935     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001EDF: ret 8 */
   2936 L_26001EE2:
   2937     MEM32(esi + 0x4) = eax; /* 0x26001EE2: mov dword ptr [esi + 4], eax */
   2938     esi = POP32_VAL(esp); /* 0x26001EE5: pop esi */
   2939     ebp = POP32_VAL(esp); /* 0x26001EE6: pop ebp */
   2940     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001EE7: ret 8 */
   2941     RECOMP_REGS_OUT();
   2942 }
   2943 
   2944 void sub_26001EF0(void) {
   2945     int _fpu_cmp = 0;
   2946     uint32_t _cf = 0;
   2947     int _df = 1;
   2948     uint32_t _flag_k = FK_NONE;
   2949     uint32_t _flag_a = 0, _flag_b = 0;
   2950     uint32_t _itail_tgt = 0;
   2951     RECOMP_REGS_LOCALS
   2952     RECOMP_ENTER(0x26001EF0u);
   2953 
   2954 L_26001EF0:
   2955     PUSH32(esp, ebp); /* 0x26001EF0: push ebp */
   2956     ebp = esp; /* 0x26001EF1: mov ebp, esp */
   2957     PUSH32(esp, esi); /* 0x26001EF3: push esi */
   2958     esi = ecx; /* 0x26001EF4: mov esi, ecx */
   2959     PUSH32(esp, 4); /* 0x26001EF6: push 4 */
   2960     RECOMP_ICALL(0x26001FF0u); /* 0x26001EF8: call 0x26001ff0 */ /* not lifted */
   2961     RECOMP_FLAGS_IN();
   2962     /* test eax, eax */ /* 0x26001EFD: test eax, eax */
   2963     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2964     _cf = 0;
   2965     _flag_k = FK_TEST;
   2966     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001F95; /* 0x26001EFF: jne 0x26001f95 */
   2967 L_26001F05:
   2968     ecx = MEM32(ebp + 0xC); /* 0x26001F05: mov ecx, dword ptr [ebp + 0xc] */
   2969     PUSH32(esp, ebx); /* 0x26001F08: push ebx */
   2970     /* cmp ecx, 1 */ /* 0x26001F09: cmp ecx, 1 */
   2971     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2972     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2973     _flag_k = FK_CMP;
   2974     PUSH32(esp, edi); /* 0x26001F0C: push edi */
   2975     if (CMP_NE(_flag_a, _flag_b)) goto L_26001F52; /* 0x26001F0D: jne 0x26001f52 */
   2976 L_26001F0F:
   2977     ecx = MEM32(esi + 0xC); /* 0x26001F0F: mov ecx, dword ptr [esi + 0xc] */
   2978     edx = MEM32(esi + 0x1C); /* 0x26001F12: mov edx, dword ptr [esi + 0x1c] */
   2979     SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x26001F15: mov bl, byte ptr [ebp + 0xb] */
   2980     MEM8(ecx + edx) = (uint8_t)(LO8(ebx)); /* 0x26001F18: mov byte ptr [ecx + edx], bl */
   2981     ecx = MEM32(esi + 0xC); /* 0x26001F1B: mov ecx, dword ptr [esi + 0xc] */
   2982     edx = MEM32(esi + 0x1C); /* 0x26001F1E: mov edx, dword ptr [esi + 0x1c] */
   2983     SET_LO8(ebx, MEM8(ebp + 0xA)); /* 0x26001F21: mov bl, byte ptr [ebp + 0xa] */
   2984     MEM8(ecx + edx + 0x1) = (uint8_t)(LO8(ebx)); /* 0x26001F24: mov byte ptr [ecx + edx + 1], bl */
   2985     edx = MEM32(esi + 0xC); /* 0x26001F28: mov edx, dword ptr [esi + 0xc] */
   2986     edi = MEM32(esi + 0x1C); /* 0x26001F2B: mov edi, dword ptr [esi + 0x1c] */
   2987     ecx = MEM32(ebp + 0x8); /* 0x26001F2E: mov ecx, dword ptr [ebp + 8] */
   2988     MEM8(edx + edi + 0x2) = (uint8_t)(HI8(ecx)); /* 0x26001F31: mov byte ptr [edx + edi + 2], ch */
   2989     edx = MEM32(esi + 0xC); /* 0x26001F35: mov edx, dword ptr [esi + 0xc] */
   2990     edi = MEM32(esi + 0x1C); /* 0x26001F38: mov edi, dword ptr [esi + 0x1c] */
   2991     MEM8(edx + edi + 0x3) = (uint8_t)(LO8(ecx)); /* 0x26001F3B: mov byte ptr [edx + edi + 3], cl */
   2992     ecx = MEM32(esi + 0x1C); /* 0x26001F3F: mov ecx, dword ptr [esi + 0x1c] */
   2993     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   2994     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2995     ecx = ecx + 4; /* 0x26001F42: add ecx, 4 */
   2996     _flag_k = FK_ADD;
   2997     edi = POP32_VAL(esp); /* 0x26001F45: pop edi */
   2998     MEM32(esi + 0x1C) = ecx; /* 0x26001F46: mov dword ptr [esi + 0x1c], ecx */
   2999     MEM32(esi + 0x4) = eax; /* 0x26001F49: mov dword ptr [esi + 4], eax */
   3000     ebx = POP32_VAL(esp); /* 0x26001F4C: pop ebx */
   3001     esi = POP32_VAL(esp); /* 0x26001F4D: pop esi */
   3002     ebp = POP32_VAL(esp); /* 0x26001F4E: pop ebp */
   3003     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001F4F: ret 8 */
   3004 L_26001F52:
   3005     edx = MEM32(esi + 0xC); /* 0x26001F52: mov edx, dword ptr [esi + 0xc] */
   3006     edi = MEM32(esi + 0x1C); /* 0x26001F55: mov edi, dword ptr [esi + 0x1c] */
   3007     ecx = MEM32(ebp + 0x8); /* 0x26001F58: mov ecx, dword ptr [ebp + 8] */
   3008     SET_LO8(ebx, MEM8(ebp + 0xA)); /* 0x26001F5B: mov bl, byte ptr [ebp + 0xa] */
   3009     MEM8(edx + edi) = (uint8_t)(LO8(ecx)); /* 0x26001F5E: mov byte ptr [edx + edi], cl */
   3010     edx = MEM32(esi + 0xC); /* 0x26001F61: mov edx, dword ptr [esi + 0xc] */
   3011     edi = MEM32(esi + 0x1C); /* 0x26001F64: mov edi, dword ptr [esi + 0x1c] */
   3012     MEM8(edx + edi + 0x1) = (uint8_t)(HI8(ecx)); /* 0x26001F67: mov byte ptr [edx + edi + 1], ch */
   3013     ecx = MEM32(esi + 0xC); /* 0x26001F6B: mov ecx, dword ptr [esi + 0xc] */
   3014     edx = MEM32(esi + 0x1C); /* 0x26001F6E: mov edx, dword ptr [esi + 0x1c] */
   3015     edi = POP32_VAL(esp); /* 0x26001F71: pop edi */
   3016     MEM8(ecx + edx + 0x2) = (uint8_t)(LO8(ebx)); /* 0x26001F72: mov byte ptr [ecx + edx + 2], bl */
   3017     ecx = MEM32(esi + 0xC); /* 0x26001F76: mov ecx, dword ptr [esi + 0xc] */
   3018     edx = MEM32(esi + 0x1C); /* 0x26001F79: mov edx, dword ptr [esi + 0x1c] */
   3019     SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x26001F7C: mov bl, byte ptr [ebp + 0xb] */
   3020     MEM8(ecx + edx + 0x3) = (uint8_t)(LO8(ebx)); /* 0x26001F7F: mov byte ptr [ecx + edx + 3], bl */
   3021     ecx = MEM32(esi + 0x1C); /* 0x26001F83: mov ecx, dword ptr [esi + 0x1c] */
   3022     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4);
   3023     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3024     ecx = ecx + 4; /* 0x26001F86: add ecx, 4 */
   3025     _flag_k = FK_ADD;
   3026     MEM32(esi + 0x4) = eax; /* 0x26001F89: mov dword ptr [esi + 4], eax */
   3027     MEM32(esi + 0x1C) = ecx; /* 0x26001F8C: mov dword ptr [esi + 0x1c], ecx */
   3028     ebx = POP32_VAL(esp); /* 0x26001F8F: pop ebx */
   3029     esi = POP32_VAL(esp); /* 0x26001F90: pop esi */
   3030     ebp = POP32_VAL(esp); /* 0x26001F91: pop ebp */
   3031     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001F92: ret 8 */
   3032 L_26001F95:
   3033     MEM32(esi + 0x4) = eax; /* 0x26001F95: mov dword ptr [esi + 4], eax */
   3034     esi = POP32_VAL(esp); /* 0x26001F98: pop esi */
   3035     ebp = POP32_VAL(esp); /* 0x26001F99: pop ebp */
   3036     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001F9A: ret 8 */
   3037     RECOMP_REGS_OUT();
   3038 }
   3039 
   3040 void sub_26001FA0(void) {
   3041     int _fpu_cmp = 0;
   3042     uint32_t _cf = 0;
   3043     int _df = 1;
   3044     uint32_t _flag_k = FK_NONE;
   3045     uint32_t _flag_a = 0, _flag_b = 0;
   3046     uint32_t _itail_tgt = 0;
   3047     RECOMP_REGS_LOCALS
   3048     RECOMP_ENTER(0x26001FA0u);
   3049 
   3050 L_26001FA0:
   3051     PUSH32(esp, ebp); /* 0x26001FA0: push ebp */
   3052     ebp = esp; /* 0x26001FA1: mov ebp, esp */
   3053     PUSH32(esp, ebx); /* 0x26001FA3: push ebx */
   3054     PUSH32(esp, esi); /* 0x26001FA4: push esi */
   3055     esi = ecx; /* 0x26001FA5: mov esi, ecx */
   3056     PUSH32(esp, edi); /* 0x26001FA7: push edi */
   3057     edi = MEM32(ebp + 0x8); /* 0x26001FA8: mov edi, dword ptr [ebp + 8] */
   3058     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   3059     ecx = ecx | 0xFFFFFFFFu; /* 0x26001FAB: or ecx, 0xffffffff */
   3060     _cf = 0;
   3061     _flag_k = FK_TEST;
   3062     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3063     eax = 0; /* 0x26001FAE: xor eax, eax */
   3064     _cf = 0;
   3065     _flag_k = FK_TEST;
   3066     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; } /* 0x26001FB0: repne scasb al, byte ptr es:[edi] */
   3067     eax = MEM32(ebp + 0xC); /* 0x26001FB2: mov eax, dword ptr [ebp + 0xc] */
   3068     ecx = ~ecx; /* 0x26001FB5: not ecx */
   3069     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   3070     ecx = ecx - 1; /* 0x26001FB7: dec ecx */
   3071     _flag_k = FK_DEC;
   3072     /* cmp eax, 1 */ /* 0x26001FB8: cmp eax, 1 */
   3073     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3074     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3075     _flag_k = FK_CMP;
   3076     ebx = ecx; /* 0x26001FBB: mov ebx, ecx */
   3077     if (CMP_NE(_flag_a, _flag_b)) goto L_26001FC0; /* 0x26001FBD: jne 0x26001fc0 */
   3078 L_26001FBF:
   3079     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   3080     ebx = ebx + 1; /* 0x26001FBF: inc ebx */
   3081     _flag_k = FK_INC;
   3082 L_26001FC0:
   3083     PUSH32(esp, ebx); /* 0x26001FC0: push ebx */
   3084     ecx = esi; /* 0x26001FC1: mov ecx, esi */
   3085     RECOMP_ICALL(0x26001FF0u); /* 0x26001FC3: call 0x26001ff0 */ /* not lifted */
   3086     RECOMP_FLAGS_IN();
   3087     edi = eax; /* 0x26001FC8: mov edi, eax */
   3088     /* test edi, edi */ /* 0x26001FCA: test edi, edi */
   3089     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   3090     _cf = 0;
   3091     _flag_k = FK_TEST;
   3092     if (TEST_NZ(_flag_a, _flag_b)) goto L_26001FDA; /* 0x26001FCC: jne 0x26001fda */
   3093 L_26001FCE:
   3094     ecx = MEM32(ebp + 0x8); /* 0x26001FCE: mov ecx, dword ptr [ebp + 8] */
   3095     eax = MEM32(esi); /* 0x26001FD1: mov eax, dword ptr [esi] */
   3096     PUSH32(esp, ebx); /* 0x26001FD3: push ebx */
   3097     PUSH32(esp, ecx); /* 0x26001FD4: push ecx */
   3098     ecx = esi; /* 0x26001FD5: mov ecx, esi */
   3099     RECOMP_ICALL(MEM32(eax + 0x48)); /* 0x26001FD7: call dword ptr [eax + 0x48] */
   3100     RECOMP_FLAGS_IN();
   3101 L_26001FDA:
   3102     MEM32(esi + 0x4) = edi; /* 0x26001FDA: mov dword ptr [esi + 4], edi */
   3103     eax = edi; /* 0x26001FDD: mov eax, edi */
   3104     edi = POP32_VAL(esp); /* 0x26001FDF: pop edi */
   3105     esi = POP32_VAL(esp); /* 0x26001FE0: pop esi */
   3106     ebx = POP32_VAL(esp); /* 0x26001FE1: pop ebx */
   3107     ebp = POP32_VAL(esp); /* 0x26001FE2: pop ebp */
   3108     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26001FE3: ret 8 */
   3109     RECOMP_REGS_OUT();
   3110 }
   3111 
   3112 void sub_26001FF0(void) {
   3113     int _fpu_cmp = 0;
   3114     uint32_t _cf = 0;
   3115     int _df = 1;
   3116     uint32_t _flag_k = FK_NONE;
   3117     uint32_t _flag_a = 0, _flag_b = 0;
   3118     uint32_t _itail_tgt = 0;
   3119     RECOMP_REGS_LOCALS
   3120     RECOMP_ENTER(0x26001FF0u);
   3121 
   3122 L_26001FF0:
   3123     PUSH32(esp, ebp); /* 0x26001FF0: push ebp */
   3124     ebp = esp; /* 0x26001FF1: mov ebp, esp */
   3125     PUSH32(esp, esi); /* 0x26001FF3: push esi */
   3126     esi = ecx; /* 0x26001FF4: mov esi, ecx */
   3127     PUSH32(esp, edi); /* 0x26001FF6: push edi */
   3128     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3129     edi = 0; /* 0x26001FF7: xor edi, edi */
   3130     _cf = 0;
   3131     _flag_k = FK_TEST;
   3132     eax = MEM32(esi + 0xC); /* 0x26001FF9: mov eax, dword ptr [esi + 0xc] */
   3133     /* test eax, eax */ /* 0x26001FFC: test eax, eax */
   3134     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3135     _cf = 0;
   3136     _flag_k = FK_TEST;
   3137     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002015; /* 0x26001FFE: jne 0x26002015 */
   3138 L_26002000:
   3139     eax = MEM32(esi); /* 0x26002000: mov eax, dword ptr [esi] */
   3140     PUSH32(esp, 0xFFFFFFFFu); /* 0x26002002: push -1 */
   3141     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   3142     edi = edi | 0xFFFFFFFFu; /* 0x26002004: or edi, 0xffffffff */
   3143     _cf = 0;
   3144     _flag_k = FK_TEST;
   3145     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002007: call dword ptr [eax + 0x70] */
   3146     RECOMP_FLAGS_IN();
   3147     MEM32(esi + 0x4) = edi; /* 0x2600200A: mov dword ptr [esi + 4], edi */
   3148     eax = edi; /* 0x2600200D: mov eax, edi */
   3149     edi = POP32_VAL(esp); /* 0x2600200F: pop edi */
   3150     esi = POP32_VAL(esp); /* 0x26002010: pop esi */
   3151     ebp = POP32_VAL(esp); /* 0x26002011: pop ebp */
   3152     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002012: ret 4 */
   3153 L_26002015:
   3154     /* test MEM8(esi + 0x18), 1 */ /* 0x26002015: test byte ptr [esi + 0x18], 1 */
   3155     _flag_a = (uint32_t)(MEM8(esi + 0x18)) << 24; _flag_b = (uint32_t)(1) << 24;
   3156     _cf = 0;
   3157     _flag_k = FK_NARROW(FK_TEST, 24);
   3158     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002049; /* 0x26002019: jne 0x26002049 */
   3159 L_2600201B:
   3160     SET_LO8(eax, MEM8(esi + 0x12)); /* 0x2600201B: mov al, byte ptr [esi + 0x12] */
   3161     /* test LO8(eax), LO8(eax) */ /* 0x2600201E: test al, al */
   3162     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   3163     _cf = 0;
   3164     _flag_k = FK_NARROW(FK_TEST, 24);
   3165     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600203A; /* 0x26002020: jne 0x2600203a */
   3166 L_26002022:
   3167     eax = MEM32(esi); /* 0x26002022: mov eax, dword ptr [esi] */
   3168     edi = 0xFFFFFFFDu; /* 0x26002024: mov edi, 0xfffffffd */
   3169     PUSH32(esp, edi); /* 0x26002029: push edi */
   3170     ecx = esi; /* 0x2600202A: mov ecx, esi */
   3171     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x2600202C: call dword ptr [eax + 0x70] */
   3172     RECOMP_FLAGS_IN();
   3173     MEM32(esi + 0x4) = edi; /* 0x2600202F: mov dword ptr [esi + 4], edi */
   3174     eax = edi; /* 0x26002032: mov eax, edi */
   3175     edi = POP32_VAL(esp); /* 0x26002034: pop edi */
   3176     esi = POP32_VAL(esp); /* 0x26002035: pop esi */
   3177     ebp = POP32_VAL(esp); /* 0x26002036: pop ebp */
   3178     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002037: ret 4 */
   3179 L_2600203A:
   3180     ecx = MEM32(esi + 0x1C); /* 0x2600203A: mov ecx, dword ptr [esi + 0x1c] */
   3181     edx = MEM32(ebp + 0x8); /* 0x2600203D: mov edx, dword ptr [ebp + 8] */
   3182     eax = MEM32(esi + 0x14); /* 0x26002040: mov eax, dword ptr [esi + 0x14] */
   3183     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   3184     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3185     ecx = ecx + edx; /* 0x26002043: add ecx, edx */
   3186     _flag_k = FK_ADD;
   3187     /* cmp ecx, eax */ /* 0x26002045: cmp ecx, eax */
   3188     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   3189     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3190     _flag_k = FK_CMP;
   3191     if (CMP_BE(_flag_a, _flag_b)) goto L_26002056; /* 0x26002047: jbe 0x26002056 */
   3192 L_26002049:
   3193     edx = MEM32(esi); /* 0x26002049: mov edx, dword ptr [esi] */
   3194     edi = 0xFFFFFFF9u; /* 0x2600204B: mov edi, 0xfffffff9 */
   3195     PUSH32(esp, edi); /* 0x26002050: push edi */
   3196     ecx = esi; /* 0x26002051: mov ecx, esi */
   3197     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002053: call dword ptr [edx + 0x70] */
   3198     RECOMP_FLAGS_IN();
   3199 L_26002056:
   3200     MEM32(esi + 0x4) = edi; /* 0x26002056: mov dword ptr [esi + 4], edi */
   3201     eax = edi; /* 0x26002059: mov eax, edi */
   3202     edi = POP32_VAL(esp); /* 0x2600205B: pop edi */
   3203     esi = POP32_VAL(esp); /* 0x2600205C: pop esi */
   3204     ebp = POP32_VAL(esp); /* 0x2600205D: pop ebp */
   3205     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2600205E: ret 4 */
   3206     RECOMP_REGS_OUT();
   3207 }
   3208 
   3209 void sub_26002070(void) {
   3210     int _fpu_cmp = 0;
   3211     uint32_t _cf = 0;
   3212     int _df = 1;
   3213     uint32_t _flag_k = FK_NONE;
   3214     uint32_t _flag_a = 0, _flag_b = 0;
   3215     uint32_t _itail_tgt = 0;
   3216     RECOMP_REGS_LOCALS
   3217     RECOMP_ENTER(0x26002070u);
   3218 
   3219 L_26002070:
   3220     PUSH32(esp, ebp); /* 0x26002070: push ebp */
   3221     ebp = esp; /* 0x26002071: mov ebp, esp */
   3222     PUSH32(esp, 0xFFFFFFFFu); /* 0x26002073: push -1 */
   3223     PUSH32(esp, 0x26003518u); /* 0x26002075: push 0x26003518 */
   3224     eax = MEM32(FS_BASE + (0)); /* 0x2600207A: mov eax, dword ptr fs:[0] */
   3225     PUSH32(esp, eax); /* 0x26002080: push eax */
   3226     MEM32(FS_BASE + (0)) = esp; /* 0x26002081: mov dword ptr fs:[0], esp */
   3227     PUSH32(esp, ecx); /* 0x26002088: push ecx */
   3228     PUSH32(esp, ebx); /* 0x26002089: push ebx */
   3229     ebx = ecx; /* 0x2600208A: mov ebx, ecx */
   3230     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3231     eax = 0; /* 0x2600208C: xor eax, eax */
   3232     _cf = 0;
   3233     _flag_k = FK_TEST;
   3234     PUSH32(esp, esi); /* 0x2600208E: push esi */
   3235     PUSH32(esp, edi); /* 0x2600208F: push edi */
   3236     MEM32(ebp + (-0x10)) = ebx; /* 0x26002090: mov dword ptr [ebp - 0x10], ebx */
   3237     MEM32(ebx + 0x4) = eax; /* 0x26002093: mov dword ptr [ebx + 4], eax */
   3238     MEM32(ebx + 0x8) = eax; /* 0x26002096: mov dword ptr [ebx + 8], eax */
   3239     esi = MEM32(ebp + 0x8); /* 0x26002099: mov esi, dword ptr [ebp + 8] */
   3240     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   3241     ecx = ecx | 0xFFFFFFFFu; /* 0x2600209C: or ecx, 0xffffffff */
   3242     _cf = 0;
   3243     _flag_k = FK_TEST;
   3244     edi = esi; /* 0x2600209F: mov edi, esi */
   3245     MEM32(ebx) = 0x26004178u; /* 0x260020A1: mov dword ptr [ebx], 0x26004178 */
   3246     MEM32(ebx + 0xC) = eax; /* 0x260020A7: mov dword ptr [ebx + 0xc], eax */
   3247     MEM32(ebx + 0x10) = eax; /* 0x260020AA: mov dword ptr [ebx + 0x10], eax */
   3248     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; } /* 0x260020AD: repne scasb al, byte ptr es:[edi] */
   3249     ecx = ~ecx; /* 0x260020AF: not ecx */
   3250     PUSH32(esp, ecx); /* 0x260020B1: push ecx */
   3251     MEM32(ebp + (-0x4)) = eax; /* 0x260020B2: mov dword ptr [ebp - 4], eax */
   3252     RECOMP_ICALL(0x26003240u); /* 0x260020B5: call 0x26003240 */ /* not lifted */
   3253     RECOMP_FLAGS_IN();
   3254     edx = eax; /* 0x260020BA: mov edx, eax */
   3255     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3256     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3257     esp = esp + 4; /* 0x260020BC: add esp, 4 */
   3258     _flag_k = FK_ADD;
   3259     /* test edx, edx */ /* 0x260020BF: test edx, edx */
   3260     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   3261     _cf = 0;
   3262     _flag_k = FK_TEST;
   3263     MEM32(ebx + 0x14) = edx; /* 0x260020C1: mov dword ptr [ebx + 0x14], edx */
   3264     if (TEST_Z(_flag_a, _flag_b)) goto L_26002101; /* 0x260020C4: je 0x26002101 */
   3265 L_260020C6:
   3266     edi = esi; /* 0x260020C6: mov edi, esi */
   3267     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   3268     ecx = ecx | 0xFFFFFFFFu; /* 0x260020C8: or ecx, 0xffffffff */
   3269     _cf = 0;
   3270     _flag_k = FK_TEST;
   3271     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3272     eax = 0; /* 0x260020CB: xor eax, eax */
   3273     _cf = 0;
   3274     _flag_k = FK_TEST;
   3275     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; } /* 0x260020CD: repne scasb al, byte ptr es:[edi] */
   3276     ecx = ~ecx; /* 0x260020CF: not ecx */
   3277     edi = edx; /* 0x260020D1: mov edi, edx */
   3278     edx = ecx; /* 0x260020D3: mov edx, ecx */
   3279     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x260020D5: shr ecx, 2 */
   3280     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3281     ecx = ecx >> 2u; /* 0x260020D5: shr ecx, 2 */
   3282     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x260020D8: 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; }
   3283     ecx = edx; /* 0x260020DA: mov ecx, edx */
   3284     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   3285     ecx = ecx & 3; /* 0x260020DC: and ecx, 3 */
   3286     _cf = 0;
   3287     _flag_k = FK_TEST;
   3288     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x260020DF: rep stosb byte ptr es:[edi], al */ if (_df > 0) { memset((void*)ADDR(edi), LO8(eax), _n); edi += _b; } else { memset((void*)ADDR(edi - _b + 1u), LO8(eax), _n); edi -= _b; } ecx = 0; }
   3289     edi = esi; /* 0x260020E1: mov edi, esi */
   3290     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   3291     ecx = ecx | 0xFFFFFFFFu; /* 0x260020E3: or ecx, 0xffffffff */
   3292     _cf = 0;
   3293     _flag_k = FK_TEST;
   3294     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3295     eax = 0; /* 0x260020E6: xor eax, eax */
   3296     _cf = 0;
   3297     _flag_k = FK_TEST;
   3298     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; } /* 0x260020E8: repne scasb al, byte ptr es:[edi] */
   3299     ecx = ~ecx; /* 0x260020EA: not ecx */
   3300     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   3301     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3302     edi = edi - ecx; /* 0x260020EC: sub edi, ecx */
   3303     _flag_k = FK_CMP;
   3304     eax = ecx; /* 0x260020EE: mov eax, ecx */
   3305     esi = edi; /* 0x260020F0: mov esi, edi */
   3306     edi = MEM32(ebx + 0x14); /* 0x260020F2: mov edi, dword ptr [ebx + 0x14] */
   3307     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x260020F5: shr ecx, 2 */
   3308     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3309     ecx = ecx >> 2u; /* 0x260020F5: shr ecx, 2 */
   3310     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x260020F8: 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; }
   3311     ecx = eax; /* 0x260020FA: mov ecx, eax */
   3312     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   3313     ecx = ecx & 3; /* 0x260020FC: and ecx, 3 */
   3314     _cf = 0;
   3315     _flag_k = FK_TEST;
   3316     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x260020FF: 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; }
   3317 L_26002101:
   3318     ecx = MEM32(ebp + (-0xC)); /* 0x26002101: mov ecx, dword ptr [ebp - 0xc] */
   3319     edi = POP32_VAL(esp); /* 0x26002104: pop edi */
   3320     eax = ebx; /* 0x26002105: mov eax, ebx */
   3321     esi = POP32_VAL(esp); /* 0x26002107: pop esi */
   3322     ebx = POP32_VAL(esp); /* 0x26002108: pop ebx */
   3323     MEM32(FS_BASE + (0)) = ecx; /* 0x26002109: mov dword ptr fs:[0], ecx */
   3324     esp = ebp; /* 0x26002110: mov esp, ebp */
   3325     ebp = POP32_VAL(esp); /* 0x26002112: pop ebp */
   3326     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002113: ret 4 */
   3327     RECOMP_REGS_OUT();
   3328 }
   3329 
   3330 void sub_26002120(void) {
   3331     int _fpu_cmp = 0;
   3332     uint32_t _cf = 0;
   3333     int _df = 1;
   3334     uint32_t _flag_k = FK_NONE;
   3335     uint32_t _flag_a = 0, _flag_b = 0;
   3336     uint32_t _itail_tgt = 0;
   3337     RECOMP_REGS_LOCALS
   3338     RECOMP_ENTER(0x26002120u);
   3339 
   3340 L_26002120:
   3341     PUSH32(esp, ebp); /* 0x26002120: push ebp */
   3342     ebp = esp; /* 0x26002121: mov ebp, esp */
   3343     PUSH32(esp, ebx); /* 0x26002123: push ebx */
   3344     SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x26002124: mov bl, byte ptr [ebp + 8] */
   3345     PUSH32(esp, esi); /* 0x26002127: push esi */
   3346     esi = ecx; /* 0x26002128: mov esi, ecx */
   3347     /* test LO8(ebx), 2 */ /* 0x2600212A: test bl, 2 */
   3348     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24;
   3349     _cf = 0;
   3350     _flag_k = FK_NARROW(FK_TEST, 24);
   3351     if (TEST_Z(_flag_a, _flag_b)) goto L_2600215B; /* 0x2600212D: je 0x2600215b */
   3352 L_2600212F:
   3353     eax = MEM32(esi + (-0x4)); /* 0x2600212F: mov eax, dword ptr [esi - 4] */
   3354     PUSH32(esp, edi); /* 0x26002132: push edi */
   3355     edi = esi + (-0x4); /* 0x26002133: lea edi, [esi - 4] */
   3356     PUSH32(esp, 0x26002180u); /* 0x26002136: push 0x26002180 */
   3357     PUSH32(esp, eax); /* 0x2600213B: push eax */
   3358     PUSH32(esp, 0x18u); /* 0x2600213C: push 0x18 */
   3359     PUSH32(esp, esi); /* 0x2600213E: push esi */
   3360     RECOMP_ICALL(0x26003256u); /* 0x2600213F: call 0x26003256 */ /* not lifted */
   3361     RECOMP_FLAGS_IN();
   3362     /* test LO8(ebx), 1 */ /* 0x26002144: test bl, 1 */
   3363     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3364     _cf = 0;
   3365     _flag_k = FK_NARROW(FK_TEST, 24);
   3366     if (TEST_Z(_flag_a, _flag_b)) goto L_26002152; /* 0x26002147: je 0x26002152 */
   3367 L_26002149:
   3368     PUSH32(esp, edi); /* 0x26002149: push edi */
   3369     RECOMP_ICALL(0x26003250u); /* 0x2600214A: call 0x26003250 */ /* not lifted */
   3370     RECOMP_FLAGS_IN();
   3371     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3372     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3373     esp = esp + 4; /* 0x2600214F: add esp, 4 */
   3374     _flag_k = FK_ADD;
   3375 L_26002152:
   3376     eax = edi; /* 0x26002152: mov eax, edi */
   3377     edi = POP32_VAL(esp); /* 0x26002154: pop edi */
   3378     esi = POP32_VAL(esp); /* 0x26002155: pop esi */
   3379     ebx = POP32_VAL(esp); /* 0x26002156: pop ebx */
   3380     ebp = POP32_VAL(esp); /* 0x26002157: pop ebp */
   3381     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002158: ret 4 */
   3382 L_2600215B:
   3383     ecx = esi; /* 0x2600215B: mov ecx, esi */
   3384     RECOMP_ICALL(0x26002180u); /* 0x2600215D: call 0x26002180 */ /* not lifted */
   3385     RECOMP_FLAGS_IN();
   3386     /* test LO8(ebx), 1 */ /* 0x26002162: test bl, 1 */
   3387     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24;
   3388     _cf = 0;
   3389     _flag_k = FK_NARROW(FK_TEST, 24);
   3390     if (TEST_Z(_flag_a, _flag_b)) goto L_26002170; /* 0x26002165: je 0x26002170 */
   3391 L_26002167:
   3392     PUSH32(esp, esi); /* 0x26002167: push esi */
   3393     RECOMP_ICALL(0x26003250u); /* 0x26002168: call 0x26003250 */ /* not lifted */
   3394     RECOMP_FLAGS_IN();
   3395     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3396     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3397     esp = esp + 4; /* 0x2600216D: add esp, 4 */
   3398     _flag_k = FK_ADD;
   3399 L_26002170:
   3400     eax = esi; /* 0x26002170: mov eax, esi */
   3401     esi = POP32_VAL(esp); /* 0x26002172: pop esi */
   3402     ebx = POP32_VAL(esp); /* 0x26002173: pop ebx */
   3403     ebp = POP32_VAL(esp); /* 0x26002174: pop ebp */
   3404     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002175: ret 4 */
   3405     RECOMP_REGS_OUT();
   3406 }
   3407 
   3408 void sub_26002180(void) {
   3409     int _fpu_cmp = 0;
   3410     uint32_t _cf = 0;
   3411     int _df = 1;
   3412     uint32_t _flag_k = FK_NONE;
   3413     uint32_t _flag_a = 0, _flag_b = 0;
   3414     uint32_t _itail_tgt = 0;
   3415     RECOMP_REGS_LOCALS
   3416     RECOMP_ENTER(0x26002180u);
   3417 
   3418 L_26002180:
   3419     PUSH32(esp, ebp); /* 0x26002180: push ebp */
   3420     ebp = esp; /* 0x26002181: mov ebp, esp */
   3421     PUSH32(esp, 0xFFFFFFFFu); /* 0x26002183: push -1 */
   3422     PUSH32(esp, 0x26003538u); /* 0x26002185: push 0x26003538 */
   3423     eax = MEM32(FS_BASE + (0)); /* 0x2600218A: mov eax, dword ptr fs:[0] */
   3424     PUSH32(esp, eax); /* 0x26002190: push eax */
   3425     MEM32(FS_BASE + (0)) = esp; /* 0x26002191: mov dword ptr fs:[0], esp */
   3426     PUSH32(esp, ecx); /* 0x26002198: push ecx */
   3427     PUSH32(esp, esi); /* 0x26002199: push esi */
   3428     esi = ecx; /* 0x2600219A: mov esi, ecx */
   3429     MEM32(ebp + (-0x10)) = esi; /* 0x2600219C: mov dword ptr [ebp - 0x10], esi */
   3430     MEM32(esi) = 0x26004178u; /* 0x2600219F: mov dword ptr [esi], 0x26004178 */
   3431     MEM32(ebp + (-0x4)) = 0; /* 0x260021A5: mov dword ptr [ebp - 4], 0 */
   3432     RECOMP_ICALL(0x26002200u); /* 0x260021AC: call 0x26002200 */ /* not lifted */
   3433     RECOMP_FLAGS_IN();
   3434     eax = MEM32(esi + 0x14); /* 0x260021B1: mov eax, dword ptr [esi + 0x14] */
   3435     PUSH32(esp, eax); /* 0x260021B4: push eax */
   3436     RECOMP_ICALL(0x26003250u); /* 0x260021B5: call 0x26003250 */ /* not lifted */
   3437     RECOMP_FLAGS_IN();
   3438     ecx = MEM32(ebp + (-0xC)); /* 0x260021BA: mov ecx, dword ptr [ebp - 0xc] */
   3439     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3440     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3441     esp = esp + 4; /* 0x260021BD: add esp, 4 */
   3442     _flag_k = FK_ADD;
   3443     MEM32(esi + 0x14) = 0; /* 0x260021C0: mov dword ptr [esi + 0x14], 0 */
   3444     MEM32(esi) = 0x26004104u; /* 0x260021C7: mov dword ptr [esi], 0x26004104 */
   3445     esi = POP32_VAL(esp); /* 0x260021CD: pop esi */
   3446     MEM32(FS_BASE + (0)) = ecx; /* 0x260021CE: mov dword ptr fs:[0], ecx */
   3447     esp = ebp; /* 0x260021D5: mov esp, ebp */
   3448     ebp = POP32_VAL(esp); /* 0x260021D7: pop ebp */
   3449     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260021D8: ret  */
   3450     RECOMP_REGS_OUT();
   3451 }
   3452 
   3453 void sub_260021E0(void) {
   3454     int _fpu_cmp = 0;
   3455     uint32_t _cf = 0;
   3456     int _df = 1;
   3457     uint32_t _flag_k = FK_NONE;
   3458     uint32_t _flag_a = 0, _flag_b = 0;
   3459     uint32_t _itail_tgt = 0;
   3460     RECOMP_REGS_LOCALS
   3461     RECOMP_ENTER(0x260021E0u);
   3462 
   3463 L_260021E0:
   3464     eax = MEM32(ecx + 0xC); /* 0x260021E0: mov eax, dword ptr [ecx + 0xc] */
   3465     /* test eax, eax */ /* 0x260021E3: test eax, eax */
   3466     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3467     _cf = 0;
   3468     _flag_k = FK_TEST;
   3469     if (TEST_Z(_flag_a, _flag_b)) goto L_260021EF; /* 0x260021E5: je 0x260021ef */
   3470 L_260021E7:
   3471     PUSH32(esp, eax); /* 0x260021E7: push eax */
   3472     RECOMP_ICALL(MEM32(0x26004040)); /* 0x260021E8: call dword ptr [0x26004040] */
   3473     RECOMP_FLAGS_IN();
   3474     ecx = POP32_VAL(esp); /* 0x260021EE: pop ecx */
   3475 L_260021EF:
   3476     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260021EF: ret  */
   3477     RECOMP_REGS_OUT();
   3478 }
   3479 
   3480 void sub_260021F0(void) {
   3481     int _fpu_cmp = 0;
   3482     uint32_t _cf = 0;
   3483     int _df = 1;
   3484     uint32_t _flag_k = FK_NONE;
   3485     uint32_t _flag_a = 0, _flag_b = 0;
   3486     uint32_t _itail_tgt = 0;
   3487     RECOMP_REGS_LOCALS
   3488     RECOMP_ENTER(0x260021F0u);
   3489 
   3490 L_260021F0:
   3491     eax = MEM32(ecx + 0xC); /* 0x260021F0: mov eax, dword ptr [ecx + 0xc] */
   3492     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260021F3: ret  */
   3493     RECOMP_REGS_OUT();
   3494 }
   3495 
   3496 void sub_26002200(void) {
   3497     int _fpu_cmp = 0;
   3498     uint32_t _cf = 0;
   3499     int _df = 1;
   3500     uint32_t _flag_k = FK_NONE;
   3501     uint32_t _flag_a = 0, _flag_b = 0;
   3502     uint32_t _itail_tgt = 0;
   3503     RECOMP_REGS_LOCALS
   3504     RECOMP_ENTER(0x26002200u);
   3505 
   3506 L_26002200:
   3507     PUSH32(esp, esi); /* 0x26002200: push esi */
   3508     esi = ecx; /* 0x26002201: mov esi, ecx */
   3509     eax = MEM32(esi + 0xC); /* 0x26002203: mov eax, dword ptr [esi + 0xc] */
   3510     /* test eax, eax */ /* 0x26002206: test eax, eax */
   3511     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3512     _cf = 0;
   3513     _flag_k = FK_TEST;
   3514     if (TEST_Z(_flag_a, _flag_b)) goto L_2600221B; /* 0x26002208: je 0x2600221b */
   3515 L_2600220A:
   3516     PUSH32(esp, eax); /* 0x2600220A: push eax */
   3517     RECOMP_ICALL(MEM32(0x26004044)); /* 0x2600220B: call dword ptr [0x26004044] */
   3518     RECOMP_FLAGS_IN();
   3519     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3520     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3521     esp = esp + 4; /* 0x26002211: add esp, 4 */
   3522     _flag_k = FK_ADD;
   3523     MEM32(esi + 0xC) = 0; /* 0x26002214: mov dword ptr [esi + 0xc], 0 */
   3524 L_2600221B:
   3525     MEM32(esi + 0x4) = 0; /* 0x2600221B: mov dword ptr [esi + 4], 0 */
   3526     esi = POP32_VAL(esp); /* 0x26002222: pop esi */
   3527     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002223: ret  */
   3528     RECOMP_REGS_OUT();
   3529 }
   3530 
   3531 void sub_26002230(void) {
   3532     int _fpu_cmp = 0;
   3533     uint32_t _cf = 0;
   3534     int _df = 1;
   3535     uint32_t _flag_k = FK_NONE;
   3536     uint32_t _flag_a = 0, _flag_b = 0;
   3537     uint32_t _itail_tgt = 0;
   3538     RECOMP_REGS_LOCALS
   3539     RECOMP_ENTER(0x26002230u);
   3540 
   3541 L_26002230:
   3542     PUSH32(esp, esi); /* 0x26002230: push esi */
   3543     esi = ecx; /* 0x26002231: mov esi, ecx */
   3544     PUSH32(esp, edi); /* 0x26002233: push edi */
   3545     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3546     edi = 0; /* 0x26002234: xor edi, edi */
   3547     _cf = 0;
   3548     _flag_k = FK_TEST;
   3549     eax = MEM32(esi); /* 0x26002236: mov eax, dword ptr [esi] */
   3550     RECOMP_ICALL(MEM32(eax)); /* 0x26002238: call dword ptr [eax] */
   3551     RECOMP_FLAGS_IN();
   3552     ecx = MEM32(esi + 0x14); /* 0x2600223A: mov ecx, dword ptr [esi + 0x14] */
   3553     PUSH32(esp, ecx); /* 0x2600223D: push ecx */
   3554     RECOMP_ICALL(MEM32(0x2600404C)); /* 0x2600223E: call dword ptr [0x2600404c] */
   3555     RECOMP_FLAGS_IN();
   3556     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3557     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3558     esp = esp + 4; /* 0x26002244: add esp, 4 */
   3559     _flag_k = FK_ADD;
   3560     /* test eax, eax */ /* 0x26002247: test eax, eax */
   3561     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3562     _cf = 0;
   3563     _flag_k = FK_TEST;
   3564     if (TEST_Z(_flag_a, _flag_b)) goto L_26002258; /* 0x26002249: je 0x26002258 */
   3565 L_2600224B:
   3566     edx = MEM32(esi); /* 0x2600224B: mov edx, dword ptr [esi] */
   3567     edi = 0xFFFFFFF7u; /* 0x2600224D: mov edi, 0xfffffff7 */
   3568     PUSH32(esp, edi); /* 0x26002252: push edi */
   3569     ecx = esi; /* 0x26002253: mov ecx, esi */
   3570     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002255: call dword ptr [edx + 0x70] */
   3571     RECOMP_FLAGS_IN();
   3572 L_26002258:
   3573     MEM32(esi + 0x4) = edi; /* 0x26002258: mov dword ptr [esi + 4], edi */
   3574     eax = edi; /* 0x2600225B: mov eax, edi */
   3575     edi = POP32_VAL(esp); /* 0x2600225D: pop edi */
   3576     esi = POP32_VAL(esp); /* 0x2600225E: pop esi */
   3577     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600225F: ret  */
   3578     RECOMP_REGS_OUT();
   3579 }
   3580 
   3581 void sub_26002260(void) {
   3582     int _fpu_cmp = 0;
   3583     uint32_t _cf = 0;
   3584     int _df = 1;
   3585     uint32_t _flag_k = FK_NONE;
   3586     uint32_t _flag_a = 0, _flag_b = 0;
   3587     uint32_t _itail_tgt = 0;
   3588     RECOMP_REGS_LOCALS
   3589     RECOMP_ENTER(0x26002260u);
   3590 
   3591 L_26002260:
   3592     PUSH32(esp, ebp); /* 0x26002260: push ebp */
   3593     ebp = esp; /* 0x26002261: mov ebp, esp */
   3594     eax = MEM32(ebp + 0x8); /* 0x26002263: mov eax, dword ptr [ebp + 8] */
   3595     PUSH32(esp, esi); /* 0x26002266: push esi */
   3596     PUSH32(esp, eax); /* 0x26002267: push eax */
   3597     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3598     esi = 0; /* 0x26002268: xor esi, esi */
   3599     _cf = 0;
   3600     _flag_k = FK_TEST;
   3601     RECOMP_ICALL(MEM32(0x2600404C)); /* 0x2600226A: call dword ptr [0x2600404c] */
   3602     RECOMP_FLAGS_IN();
   3603     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3604     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3605     esp = esp + 4; /* 0x26002270: add esp, 4 */
   3606     _flag_k = FK_ADD;
   3607     /* test eax, eax */ /* 0x26002273: test eax, eax */
   3608     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3609     _cf = 0;
   3610     _flag_k = FK_TEST;
   3611     eax = 0xFFFFFFF7u; /* 0x26002275: mov eax, 0xfffffff7 */
   3612     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600227E; /* 0x2600227A: jne 0x2600227e */
   3613 L_2600227C:
   3614     eax = esi; /* 0x2600227C: mov eax, esi */
   3615 L_2600227E:
   3616     esi = POP32_VAL(esp); /* 0x2600227E: pop esi */
   3617     ebp = POP32_VAL(esp); /* 0x2600227F: pop ebp */
   3618     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002280: ret  */
   3619     RECOMP_REGS_OUT();
   3620 }
   3621 
   3622 void sub_26002290(void) {
   3623     int _fpu_cmp = 0;
   3624     uint32_t _cf = 0;
   3625     int _df = 1;
   3626     uint32_t _flag_k = FK_NONE;
   3627     uint32_t _flag_a = 0, _flag_b = 0;
   3628     uint32_t _itail_tgt = 0;
   3629     RECOMP_REGS_LOCALS
   3630     RECOMP_ENTER(0x26002290u);
   3631 
   3632 L_26002290:
   3633     eax = MEM32(ecx + 0x4); /* 0x26002290: mov eax, dword ptr [ecx + 4] */
   3634     /* test eax, eax */ /* 0x26002293: test eax, eax */
   3635     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3636     _cf = 0;
   3637     _flag_k = FK_TEST;
   3638     if (TEST_G(_flag_a, _flag_b)) goto L_260022A9; /* 0x26002295: jg 0x260022a9 */
   3639 L_26002297:
   3640     /* cmp eax, 0xFFFFFFF5u */ /* 0x26002297: cmp eax, -0xb */
   3641     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF5u);
   3642     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3643     _flag_k = FK_CMP;
   3644     if (CMP_L(_flag_a, _flag_b)) goto L_260022A9; /* 0x2600229A: jl 0x260022a9 */
   3645 L_2600229C:
   3646     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2600229C: shl eax, 2 */
   3647     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   3648     eax = eax << 2u; /* 0x2600229C: shl eax, 2 */
   3649     ecx = 0x260061E0u; /* 0x2600229F: mov ecx, 0x260061e0 */
   3650     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   3651     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3652     ecx = ecx - eax; /* 0x260022A4: sub ecx, eax */
   3653     _flag_k = FK_CMP;
   3654     eax = MEM32(ecx); /* 0x260022A6: mov eax, dword ptr [ecx] */
   3655     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260022A8: ret  */
   3656 L_260022A9:
   3657     eax = MEM32(0x260061E4); /* 0x260022A9: mov eax, dword ptr [0x260061e4] */
   3658     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260022AE: ret  */
   3659     RECOMP_REGS_OUT();
   3660 }
   3661 
   3662 void sub_260022B0(void) {
   3663     int _fpu_cmp = 0;
   3664     uint32_t _cf = 0;
   3665     int _df = 1;
   3666     uint32_t _flag_k = FK_NONE;
   3667     uint32_t _flag_a = 0, _flag_b = 0;
   3668     uint32_t _itail_tgt = 0;
   3669     RECOMP_REGS_LOCALS
   3670     RECOMP_ENTER(0x260022B0u);
   3671 
   3672 L_260022B0:
   3673     eax = MEM32(ecx + 0x14); /* 0x260022B0: mov eax, dword ptr [ecx + 0x14] */
   3674     PUSH32(esp, eax); /* 0x260022B3: push eax */
   3675     RECOMP_ICALL(0x260022C0u); /* 0x260022B4: call 0x260022c0 */ /* not lifted */
   3676     RECOMP_FLAGS_IN();
   3677     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3678     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3679     esp = esp + 4; /* 0x260022B9: add esp, 4 */
   3680     _flag_k = FK_ADD;
   3681     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260022BC: ret  */
   3682     RECOMP_REGS_OUT();
   3683 }
   3684 
   3685 void sub_260022C0(void) {
   3686     int _fpu_cmp = 0;
   3687     uint32_t _cf = 0;
   3688     int _df = 1;
   3689     uint32_t _flag_k = FK_NONE;
   3690     uint32_t _flag_a = 0, _flag_b = 0;
   3691     uint32_t _itail_tgt = 0;
   3692     RECOMP_REGS_LOCALS
   3693     RECOMP_ENTER(0x260022C0u);
   3694 
   3695 L_260022C0:
   3696     PUSH32(esp, ebp); /* 0x260022C0: push ebp */
   3697     ebp = esp; /* 0x260022C1: mov ebp, esp */
   3698     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u);
   3699     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3700     esp = esp - 0x24u; /* 0x260022C3: sub esp, 0x24 */
   3701     _flag_k = FK_CMP;
   3702     ecx = MEM32(ebp + 0x8); /* 0x260022C6: mov ecx, dword ptr [ebp + 8] */
   3703     eax = ebp + (-0x24); /* 0x260022C9: lea eax, [ebp - 0x24] */
   3704     PUSH32(esp, eax); /* 0x260022CC: push eax */
   3705     PUSH32(esp, ecx); /* 0x260022CD: push ecx */
   3706     RECOMP_ICALL(MEM32(0x26004020)); /* 0x260022CE: call dword ptr [0x26004020] */
   3707     RECOMP_FLAGS_IN();
   3708     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3709     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3710     esp = esp + 8; /* 0x260022D4: add esp, 8 */
   3711     _flag_k = FK_ADD;
   3712     /* test eax, eax */ /* 0x260022D7: test eax, eax */
   3713     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3714     _cf = 0;
   3715     _flag_k = FK_TEST;
   3716     if (TEST_Z(_flag_a, _flag_b)) goto L_260022E1; /* 0x260022D9: je 0x260022e1 */
   3717 L_260022DB:
   3718     _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24;
   3719     SET_LO8(eax, 0); /* 0x260022DB: xor al, al */
   3720     _cf = 0;
   3721     _flag_k = FK_NARROW(FK_TEST, 24);
   3722     esp = ebp; /* 0x260022DD: mov esp, ebp */
   3723     ebp = POP32_VAL(esp); /* 0x260022DF: pop ebp */
   3724     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260022E0: ret  */
   3725 L_260022E1:
   3726     edx = MEM32(ebp + (-0x1E)); /* 0x260022E1: mov edx, dword ptr [ebp - 0x1e] */
   3727     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3728     eax = 0; /* 0x260022E4: xor eax, eax */
   3729     _cf = 0;
   3730     _flag_k = FK_TEST;
   3731     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xF000u);
   3732     edx = edx & 0xF000u; /* 0x260022E6: and edx, 0xf000 */
   3733     _cf = 0;
   3734     _flag_k = FK_TEST;
   3735     /* cmp edx, 0x8000u */ /* 0x260022EC: cmp edx, 0x8000 */
   3736     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x8000u);
   3737     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3738     _flag_k = FK_CMP;
   3739     SET_LO8(eax, (CMP_EQ(_flag_a, _flag_b)) ? 1 : 0); /* 0x260022F2: sete al */
   3740     esp = ebp; /* 0x260022F5: mov esp, ebp */
   3741     ebp = POP32_VAL(esp); /* 0x260022F7: pop ebp */
   3742     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260022F8: ret  */
   3743     RECOMP_REGS_OUT();
   3744 }
   3745 
   3746 void sub_26002300(void) {
   3747     int _fpu_cmp = 0;
   3748     uint32_t _cf = 0;
   3749     int _df = 1;
   3750     uint32_t _flag_k = FK_NONE;
   3751     uint32_t _flag_a = 0, _flag_b = 0;
   3752     uint32_t _itail_tgt = 0;
   3753     RECOMP_REGS_LOCALS
   3754     RECOMP_ENTER(0x26002300u);
   3755 
   3756 L_26002300:
   3757     eax = MEM32(ecx + 0x14); /* 0x26002300: mov eax, dword ptr [ecx + 0x14] */
   3758     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002303: ret  */
   3759     RECOMP_REGS_OUT();
   3760 }
   3761 
   3762 void sub_26002310(void) {
   3763     int _fpu_cmp = 0;
   3764     uint32_t _cf = 0;
   3765     int _df = 1;
   3766     uint32_t _flag_k = FK_NONE;
   3767     uint32_t _flag_a = 0, _flag_b = 0;
   3768     uint32_t _itail_tgt = 0;
   3769     RECOMP_REGS_LOCALS
   3770     RECOMP_ENTER(0x26002310u);
   3771 
   3772 L_26002310:
   3773     PUSH32(esp, ebp); /* 0x26002310: push ebp */
   3774     ebp = esp; /* 0x26002311: mov ebp, esp */
   3775     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   3776     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3777     esp = esp - 0xCu; /* 0x26002313: sub esp, 0xc */
   3778     _flag_k = FK_CMP;
   3779     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3780     eax = 0; /* 0x26002316: xor eax, eax */
   3781     _cf = 0;
   3782     _flag_k = FK_TEST;
   3783     PUSH32(esp, esi); /* 0x26002318: push esi */
   3784     MEM32(ebp + (-0xB)) = eax; /* 0x26002319: mov dword ptr [ebp - 0xb], eax */
   3785     esi = ecx; /* 0x2600231C: mov esi, ecx */
   3786     MEM32(ebp + (-0x7)) = eax; /* 0x2600231E: mov dword ptr [ebp - 7], eax */
   3787     PUSH32(esp, edi); /* 0x26002321: push edi */
   3788     MEM8(ebp + (-0x3)) = (uint8_t)(LO8(eax)); /* 0x26002322: mov byte ptr [ebp - 3], al */
   3789     eax = MEM32(esi + 0xC); /* 0x26002325: mov eax, dword ptr [esi + 0xc] */
   3790     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3791     edi = 0; /* 0x26002328: xor edi, edi */
   3792     _cf = 0;
   3793     _flag_k = FK_TEST;
   3794     MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2600232A: mov byte ptr [ebp - 0xc], 0 */
   3795     /* test eax, eax */ /* 0x2600232E: test eax, eax */
   3796     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3797     _cf = 0;
   3798     _flag_k = FK_TEST;
   3799     if (TEST_NZ(_flag_a, _flag_b)) goto L_260023E4; /* 0x26002330: jne 0x260023e4 */
   3800 L_26002336:
   3801     eax = MEM32(ebp + 0x8); /* 0x26002336: mov eax, dword ptr [ebp + 8] */
   3802     /* cmp eax, 1 */ /* 0x26002339: cmp eax, 1 */
   3803     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3804     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3805     _flag_k = FK_CMP;
   3806     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600236A; /* 0x2600233C: je 0x2600236a */
   3807 L_2600233E:
   3808     /* cmp eax, 2 */ /* 0x2600233E: cmp eax, 2 */
   3809     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   3810     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3811     _flag_k = FK_CMP;
   3812     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600236A; /* 0x26002341: je 0x2600236a */
   3813 L_26002343:
   3814     /* cmp eax, 0xAu */ /* 0x26002343: cmp eax, 0xa */
   3815     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu);
   3816     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3817     _flag_k = FK_CMP;
   3818     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600236A; /* 0x26002346: je 0x2600236a */
   3819 L_26002348:
   3820     /* cmp eax, 4 */ /* 0x26002348: cmp eax, 4 */
   3821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3822     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3823     _flag_k = FK_CMP;
   3824     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600236A; /* 0x2600234B: je 0x2600236a */
   3825 L_2600234D:
   3826     /* cmp eax, 0xCu */ /* 0x2600234D: cmp eax, 0xc */
   3827     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   3828     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3829     _flag_k = FK_CMP;
   3830     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600236A; /* 0x26002350: je 0x2600236a */
   3831 L_26002352:
   3832     eax = MEM32(esi); /* 0x26002352: mov eax, dword ptr [esi] */
   3833     edi = 0xFFFFFFFBu; /* 0x26002354: mov edi, 0xfffffffb */
   3834     PUSH32(esp, edi); /* 0x26002359: push edi */
   3835     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x2600235A: call dword ptr [eax + 0x70] */
   3836     RECOMP_FLAGS_IN();
   3837     MEM32(esi + 0x4) = edi; /* 0x2600235D: mov dword ptr [esi + 4], edi */
   3838     eax = edi; /* 0x26002360: mov eax, edi */
   3839     edi = POP32_VAL(esp); /* 0x26002362: pop edi */
   3840     esi = POP32_VAL(esp); /* 0x26002363: pop esi */
   3841     esp = ebp; /* 0x26002364: mov esp, ebp */
   3842     ebp = POP32_VAL(esp); /* 0x26002366: pop ebp */
   3843     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002367: ret 4 */
   3844 L_2600236A:
   3845     ecx = eax; /* 0x2600236A: mov ecx, eax */
   3846     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   3847     ecx = ecx & 8; /* 0x2600236C: and ecx, 8 */
   3848     _cf = 0;
   3849     _flag_k = FK_TEST;
   3850     /* cmp LO8(ecx), 8 */ /* 0x2600236F: cmp cl, 8 */
   3851     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(8) << 24;
   3852     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3853     _flag_k = FK_NARROW(FK_CMP, 24);
   3854     if (CMP_NE(_flag_a, _flag_b)) goto L_26002390; /* 0x26002372: jne 0x26002390 */
   3855 L_26002374:
   3856     /* cmp eax, 0xAu */ /* 0x26002374: cmp eax, 0xa */
   3857     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu);
   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_26002384; /* 0x26002377: jne 0x26002384 */
   3861 L_26002379:
   3862     edx = ebp + (-0xC); /* 0x26002379: lea edx, [ebp - 0xc] */
   3863     PUSH32(esp, 0x2600625Cu); /* 0x2600237C: push 0x2600625c */
   3864     PUSH32(esp, edx); /* 0x26002381: push edx */
   3865     goto L_260023BE; /* 0x26002382: jmp 0x260023be */
   3866 L_26002384:
   3867     /* cmp eax, 0xCu */ /* 0x26002384: cmp eax, 0xc */
   3868     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   3869     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3870     _flag_k = FK_CMP;
   3871     if (CMP_NE(_flag_a, _flag_b)) goto L_260023C7; /* 0x26002387: jne 0x260023c7 */
   3872 L_26002389:
   3873     PUSH32(esp, 0x26006258u); /* 0x26002389: push 0x26006258 */
   3874     goto L_260023BA; /* 0x2600238E: jmp 0x260023ba */
   3875 L_26002390:
   3876     /* cmp eax, 1 */ /* 0x26002390: cmp eax, 1 */
   3877     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   3878     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3879     _flag_k = FK_CMP;
   3880     if (CMP_NE(_flag_a, _flag_b)) goto L_260023A0; /* 0x26002393: jne 0x260023a0 */
   3881 L_26002395:
   3882     ecx = ebp + (-0xC); /* 0x26002395: lea ecx, [ebp - 0xc] */
   3883     PUSH32(esp, 0x26006254u); /* 0x26002398: push 0x26006254 */
   3884     PUSH32(esp, ecx); /* 0x2600239D: push ecx */
   3885     goto L_260023BE; /* 0x2600239E: jmp 0x260023be */
   3886 L_260023A0:
   3887     /* cmp eax, 2 */ /* 0x260023A0: cmp eax, 2 */
   3888     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   3889     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3890     _flag_k = FK_CMP;
   3891     if (CMP_NE(_flag_a, _flag_b)) goto L_260023B0; /* 0x260023A3: jne 0x260023b0 */
   3892 L_260023A5:
   3893     edx = ebp + (-0xC); /* 0x260023A5: lea edx, [ebp - 0xc] */
   3894     PUSH32(esp, 0x26006250u); /* 0x260023A8: push 0x26006250 */
   3895     PUSH32(esp, edx); /* 0x260023AD: push edx */
   3896     goto L_260023BE; /* 0x260023AE: jmp 0x260023be */
   3897 L_260023B0:
   3898     /* cmp eax, 4 */ /* 0x260023B0: cmp eax, 4 */
   3899     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   3900     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3901     _flag_k = FK_CMP;
   3902     if (CMP_NE(_flag_a, _flag_b)) goto L_260023C7; /* 0x260023B3: jne 0x260023c7 */
   3903 L_260023B5:
   3904     PUSH32(esp, 0x2600624Cu); /* 0x260023B5: push 0x2600624c */
   3905 L_260023BA:
   3906     eax = ebp + (-0xC); /* 0x260023BA: lea eax, [ebp - 0xc] */
   3907     PUSH32(esp, eax); /* 0x260023BD: push eax */
   3908 L_260023BE:
   3909     RECOMP_ICALL(MEM32(0x26004048)); /* 0x260023BE: call dword ptr [0x26004048] */
   3910     RECOMP_FLAGS_IN();
   3911     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3912     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3913     esp = esp + 8; /* 0x260023C4: add esp, 8 */
   3914     _flag_k = FK_ADD;
   3915 L_260023C7:
   3916     eax = MEM32(esi + 0x14); /* 0x260023C7: mov eax, dword ptr [esi + 0x14] */
   3917     /* cmp MEM8(eax), 0 */ /* 0x260023CA: cmp byte ptr [eax], 0 */
   3918     _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24;
   3919     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3920     _flag_k = FK_NARROW(FK_CMP, 24);
   3921     if (CMP_EQ(_flag_a, _flag_b)) goto L_260023E4; /* 0x260023CD: je 0x260023e4 */
   3922 L_260023CF:
   3923     ecx = ebp + (-0xC); /* 0x260023CF: lea ecx, [ebp - 0xc] */
   3924     PUSH32(esp, ecx); /* 0x260023D2: push ecx */
   3925     PUSH32(esp, eax); /* 0x260023D3: push eax */
   3926     RECOMP_ICALL(MEM32(0x26004088)); /* 0x260023D4: call dword ptr [0x26004088] */
   3927     RECOMP_FLAGS_IN();
   3928     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   3929     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3930     esp = esp + 8; /* 0x260023DA: add esp, 8 */
   3931     _flag_k = FK_ADD;
   3932     MEM32(esi + 0xC) = eax; /* 0x260023DD: mov dword ptr [esi + 0xc], eax */
   3933     /* test eax, eax */ /* 0x260023E0: test eax, eax */
   3934     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3935     _cf = 0;
   3936     _flag_k = FK_TEST;
   3937     if (TEST_NZ(_flag_a, _flag_b)) goto L_260023F1; /* 0x260023E2: jne 0x260023f1 */
   3938 L_260023E4:
   3939     edx = MEM32(esi); /* 0x260023E4: mov edx, dword ptr [esi] */
   3940     edi = 0xFFFFFFFEu; /* 0x260023E6: mov edi, 0xfffffffe */
   3941     PUSH32(esp, edi); /* 0x260023EB: push edi */
   3942     ecx = esi; /* 0x260023EC: mov ecx, esi */
   3943     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x260023EE: call dword ptr [edx + 0x70] */
   3944     RECOMP_FLAGS_IN();
   3945 L_260023F1:
   3946     MEM32(esi + 0x4) = edi; /* 0x260023F1: mov dword ptr [esi + 4], edi */
   3947     eax = edi; /* 0x260023F4: mov eax, edi */
   3948     edi = POP32_VAL(esp); /* 0x260023F6: pop edi */
   3949     esi = POP32_VAL(esp); /* 0x260023F7: pop esi */
   3950     esp = ebp; /* 0x260023F8: mov esp, ebp */
   3951     ebp = POP32_VAL(esp); /* 0x260023FA: pop ebp */
   3952     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x260023FB: ret 4 */
   3953     RECOMP_REGS_OUT();
   3954 }
   3955 
   3956 void sub_26002400(void) {
   3957     int _fpu_cmp = 0;
   3958     uint32_t _cf = 0;
   3959     int _df = 1;
   3960     uint32_t _flag_k = FK_NONE;
   3961     uint32_t _flag_a = 0, _flag_b = 0;
   3962     uint32_t _itail_tgt = 0;
   3963     RECOMP_REGS_LOCALS
   3964     RECOMP_ENTER(0x26002400u);
   3965 
   3966 L_26002400:
   3967     eax = MEM32(ecx + 0xC); /* 0x26002400: mov eax, dword ptr [ecx + 0xc] */
   3968     /* test eax, eax */ /* 0x26002403: test eax, eax */
   3969     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3970     _cf = 0;
   3971     _flag_k = FK_TEST;
   3972     SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x26002405: setne al */
   3973     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002408: ret  */
   3974     RECOMP_REGS_OUT();
   3975 }
   3976 
   3977 void sub_26002410(void) {
   3978     int _fpu_cmp = 0;
   3979     uint32_t _cf = 0;
   3980     int _df = 1;
   3981     uint32_t _flag_k = FK_NONE;
   3982     uint32_t _flag_a = 0, _flag_b = 0;
   3983     uint32_t _itail_tgt = 0;
   3984     RECOMP_REGS_LOCALS
   3985     RECOMP_ENTER(0x26002410u);
   3986 
   3987 L_26002410:
   3988     PUSH32(esp, ebp); /* 0x26002410: push ebp */
   3989     ebp = esp; /* 0x26002411: mov ebp, esp */
   3990     eax = MEM32(ebp + 0x8); /* 0x26002413: mov eax, dword ptr [ebp + 8] */
   3991     /* test eax, eax */ /* 0x26002416: test eax, eax */
   3992     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3993     _cf = 0;
   3994     _flag_k = FK_TEST;
   3995     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600241F; /* 0x26002418: jne 0x2600241f */
   3996 L_2600241A:
   3997     _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu));
   3998     eax = eax | 0xFFFFFFFFu; /* 0x2600241A: or eax, 0xffffffff */
   3999     _cf = 0;
   4000     _flag_k = FK_TEST;
   4001     ebp = POP32_VAL(esp); /* 0x2600241D: pop ebp */
   4002     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600241E: ret  */
   4003 L_2600241F:
   4004     ecx = MEM32(ebp + 0xC); /* 0x2600241F: mov ecx, dword ptr [ebp + 0xc] */
   4005     PUSH32(esp, esi); /* 0x26002422: push esi */
   4006     PUSH32(esp, ecx); /* 0x26002423: push ecx */
   4007     PUSH32(esp, eax); /* 0x26002424: push eax */
   4008     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4009     esi = 0; /* 0x26002425: xor esi, esi */
   4010     _cf = 0;
   4011     _flag_k = FK_TEST;
   4012     RECOMP_ICALL(MEM32(0x26004050)); /* 0x26002427: call dword ptr [0x26004050] */
   4013     RECOMP_FLAGS_IN();
   4014     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4015     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4016     esp = esp + 8; /* 0x2600242D: add esp, 8 */
   4017     _flag_k = FK_ADD;
   4018     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002430: cmp eax, -1 */
   4019     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4020     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4021     _flag_k = FK_CMP;
   4022     if (CMP_NE(_flag_a, _flag_b)) goto L_2600243A; /* 0x26002433: jne 0x2600243a */
   4023 L_26002435:
   4024     esi = 0xFFFFFFF6u; /* 0x26002435: mov esi, 0xfffffff6 */
   4025 L_2600243A:
   4026     eax = esi; /* 0x2600243A: mov eax, esi */
   4027     esi = POP32_VAL(esp); /* 0x2600243C: pop esi */
   4028     ebp = POP32_VAL(esp); /* 0x2600243D: pop ebp */
   4029     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600243E: ret  */
   4030     RECOMP_REGS_OUT();
   4031 }
   4032 
   4033 void sub_26002440(void) {
   4034     int _fpu_cmp = 0;
   4035     uint32_t _cf = 0;
   4036     int _df = 1;
   4037     uint32_t _flag_k = FK_NONE;
   4038     uint32_t _flag_a = 0, _flag_b = 0;
   4039     uint32_t _itail_tgt = 0;
   4040     RECOMP_REGS_LOCALS
   4041     RECOMP_ENTER(0x26002440u);
   4042 
   4043 L_26002440:
   4044     PUSH32(esp, esi); /* 0x26002440: push esi */
   4045     esi = ecx; /* 0x26002441: mov esi, ecx */
   4046     eax = MEM32(esi + 0xC); /* 0x26002443: mov eax, dword ptr [esi + 0xc] */
   4047     /* test eax, eax */ /* 0x26002446: test eax, eax */
   4048     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4049     _cf = 0;
   4050     _flag_k = FK_TEST;
   4051     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600245D; /* 0x26002448: jne 0x2600245d */
   4052 L_2600244A:
   4053     eax = MEM32(esi); /* 0x2600244A: mov eax, dword ptr [esi] */
   4054     PUSH32(esp, 0xFFFFFFFDu); /* 0x2600244C: push -3 */
   4055     MEM32(esi + 0x4) = 0xFFFFFFFDu; /* 0x2600244E: mov dword ptr [esi + 4], 0xfffffffd */
   4056     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002455: call dword ptr [eax + 0x70] */
   4057     RECOMP_FLAGS_IN();
   4058     eax = MEM32(esi + 0x4); /* 0x26002458: mov eax, dword ptr [esi + 4] */
   4059     esi = POP32_VAL(esp); /* 0x2600245B: pop esi */
   4060     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600245C: ret  */
   4061 L_2600245D:
   4062     PUSH32(esp, eax); /* 0x2600245D: push eax */
   4063     RECOMP_ICALL(MEM32(0x26004054)); /* 0x2600245E: call dword ptr [0x26004054] */
   4064     RECOMP_FLAGS_IN();
   4065     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4066     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4067     esp = esp + 4; /* 0x26002464: add esp, 4 */
   4068     _flag_k = FK_ADD;
   4069     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002467: cmp eax, -1 */
   4070     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4071     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4072     _flag_k = FK_CMP;
   4073     if (CMP_NE(_flag_a, _flag_b)) goto L_2600247C; /* 0x2600246A: jne 0x2600247c */
   4074 L_2600246C:
   4075     edx = MEM32(esi); /* 0x2600246C: mov edx, dword ptr [esi] */
   4076     PUSH32(esp, eax); /* 0x2600246E: push eax */
   4077     ecx = esi; /* 0x2600246F: mov ecx, esi */
   4078     MEM32(esi + 0x4) = eax; /* 0x26002471: mov dword ptr [esi + 4], eax */
   4079     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002474: call dword ptr [edx + 0x70] */
   4080     RECOMP_FLAGS_IN();
   4081     eax = MEM32(esi + 0x4); /* 0x26002477: mov eax, dword ptr [esi + 4] */
   4082     esi = POP32_VAL(esp); /* 0x2600247A: pop esi */
   4083     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600247B: ret  */
   4084 L_2600247C:
   4085     MEM32(esi + 0x4) = 0; /* 0x2600247C: mov dword ptr [esi + 4], 0 */
   4086     esi = POP32_VAL(esp); /* 0x26002483: pop esi */
   4087     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002484: ret  */
   4088     RECOMP_REGS_OUT();
   4089 }
   4090 
   4091 void sub_26002490(void) {
   4092     int _fpu_cmp = 0;
   4093     uint32_t _cf = 0;
   4094     int _df = 1;
   4095     uint32_t _flag_k = FK_NONE;
   4096     uint32_t _flag_a = 0, _flag_b = 0;
   4097     uint32_t _itail_tgt = 0;
   4098     RECOMP_REGS_LOCALS
   4099     RECOMP_ENTER(0x26002490u);
   4100 
   4101 L_26002490:
   4102     PUSH32(esp, ebp); /* 0x26002490: push ebp */
   4103     ebp = esp; /* 0x26002491: mov ebp, esp */
   4104     PUSH32(esp, esi); /* 0x26002493: push esi */
   4105     esi = ecx; /* 0x26002494: mov esi, ecx */
   4106     PUSH32(esp, edi); /* 0x26002496: push edi */
   4107     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4108     edi = 0; /* 0x26002497: xor edi, edi */
   4109     _cf = 0;
   4110     _flag_k = FK_TEST;
   4111     ecx = MEM32(esi + 0xC); /* 0x26002499: mov ecx, dword ptr [esi + 0xc] */
   4112     /* test ecx, ecx */ /* 0x2600249C: test ecx, ecx */
   4113     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4114     _cf = 0;
   4115     _flag_k = FK_TEST;
   4116     if (TEST_NZ(_flag_a, _flag_b)) goto L_260024B8; /* 0x2600249E: jne 0x260024b8 */
   4117 L_260024A0:
   4118     eax = MEM32(esi); /* 0x260024A0: mov eax, dword ptr [esi] */
   4119     edi = 0xFFFFFFFDu; /* 0x260024A2: mov edi, 0xfffffffd */
   4120     PUSH32(esp, edi); /* 0x260024A7: push edi */
   4121     ecx = esi; /* 0x260024A8: mov ecx, esi */
   4122     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260024AA: call dword ptr [eax + 0x70] */
   4123     RECOMP_FLAGS_IN();
   4124     MEM32(esi + 0x4) = edi; /* 0x260024AD: mov dword ptr [esi + 4], edi */
   4125     eax = edi; /* 0x260024B0: mov eax, edi */
   4126     edi = POP32_VAL(esp); /* 0x260024B2: pop edi */
   4127     esi = POP32_VAL(esp); /* 0x260024B3: pop esi */
   4128     ebp = POP32_VAL(esp); /* 0x260024B4: pop ebp */
   4129     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260024B5: ret 8 */
   4130 L_260024B8:
   4131     edx = MEM32(ebp + 0x8); /* 0x260024B8: mov edx, dword ptr [ebp + 8] */
   4132     /* test edx, edx */ /* 0x260024BB: test edx, edx */
   4133     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   4134     _cf = 0;
   4135     _flag_k = FK_TEST;
   4136     if (TEST_NS(_flag_a, _flag_b)) goto L_260024D7; /* 0x260024BD: jge 0x260024d7 */
   4137 L_260024BF:
   4138     edx = MEM32(esi); /* 0x260024BF: mov edx, dword ptr [esi] */
   4139     edi = 0xFFFFFFFCu; /* 0x260024C1: mov edi, 0xfffffffc */
   4140     PUSH32(esp, edi); /* 0x260024C6: push edi */
   4141     ecx = esi; /* 0x260024C7: mov ecx, esi */
   4142     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x260024C9: call dword ptr [edx + 0x70] */
   4143     RECOMP_FLAGS_IN();
   4144     MEM32(esi + 0x4) = edi; /* 0x260024CC: mov dword ptr [esi + 4], edi */
   4145     eax = edi; /* 0x260024CF: mov eax, edi */
   4146     edi = POP32_VAL(esp); /* 0x260024D1: pop edi */
   4147     esi = POP32_VAL(esp); /* 0x260024D2: pop esi */
   4148     ebp = POP32_VAL(esp); /* 0x260024D3: pop ebp */
   4149     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260024D4: ret 8 */
   4150 L_260024D7:
   4151     eax = MEM32(ebp + 0xC); /* 0x260024D7: mov eax, dword ptr [ebp + 0xc] */
   4152     /* test eax, eax */ /* 0x260024DA: test eax, eax */
   4153     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4154     _cf = 0;
   4155     _flag_k = FK_TEST;
   4156     if (TEST_Z(_flag_a, _flag_b)) goto L_260024EB; /* 0x260024DC: je 0x260024eb */
   4157 L_260024DE:
   4158     PUSH32(esp, ebx); /* 0x260024DE: push ebx */
   4159     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4160     ebx = 0; /* 0x260024DF: xor ebx, ebx */
   4161     _cf = 0;
   4162     _flag_k = FK_TEST;
   4163     /* cmp eax, 1 */ /* 0x260024E1: cmp eax, 1 */
   4164     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4165     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4166     _flag_k = FK_CMP;
   4167     SET_LO8(ebx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x260024E4: setne bl */
   4168     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1);
   4169     ebx = ebx + 1; /* 0x260024E7: inc ebx */
   4170     _flag_k = FK_INC;
   4171     eax = ebx; /* 0x260024E8: mov eax, ebx */
   4172     ebx = POP32_VAL(esp); /* 0x260024EA: pop ebx */
   4173 L_260024EB:
   4174     PUSH32(esp, eax); /* 0x260024EB: push eax */
   4175     PUSH32(esp, edx); /* 0x260024EC: push edx */
   4176     PUSH32(esp, ecx); /* 0x260024ED: push ecx */
   4177     RECOMP_ICALL(MEM32(0x26004058)); /* 0x260024EE: call dword ptr [0x26004058] */
   4178     RECOMP_FLAGS_IN();
   4179     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   4180     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4181     esp = esp + 0xCu; /* 0x260024F4: add esp, 0xc */
   4182     _flag_k = FK_ADD;
   4183     /* test eax, eax */ /* 0x260024F7: test eax, eax */
   4184     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4185     _cf = 0;
   4186     _flag_k = FK_TEST;
   4187     if (TEST_Z(_flag_a, _flag_b)) goto L_26002508; /* 0x260024F9: je 0x26002508 */
   4188 L_260024FB:
   4189     eax = MEM32(esi); /* 0x260024FB: mov eax, dword ptr [esi] */
   4190     edi = 0xFFFFFFF8u; /* 0x260024FD: mov edi, 0xfffffff8 */
   4191     PUSH32(esp, edi); /* 0x26002502: push edi */
   4192     ecx = esi; /* 0x26002503: mov ecx, esi */
   4193     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002505: call dword ptr [eax + 0x70] */
   4194     RECOMP_FLAGS_IN();
   4195 L_26002508:
   4196     MEM32(esi + 0x4) = edi; /* 0x26002508: mov dword ptr [esi + 4], edi */
   4197     eax = edi; /* 0x2600250B: mov eax, edi */
   4198     edi = POP32_VAL(esp); /* 0x2600250D: pop edi */
   4199     esi = POP32_VAL(esp); /* 0x2600250E: pop esi */
   4200     ebp = POP32_VAL(esp); /* 0x2600250F: pop ebp */
   4201     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002510: ret 8 */
   4202     RECOMP_REGS_OUT();
   4203 }
   4204 
   4205 void sub_26002520(void) {
   4206     int _fpu_cmp = 0;
   4207     uint32_t _cf = 0;
   4208     int _df = 1;
   4209     uint32_t _flag_k = FK_NONE;
   4210     uint32_t _flag_a = 0, _flag_b = 0;
   4211     uint32_t _itail_tgt = 0;
   4212     RECOMP_REGS_LOCALS
   4213     RECOMP_ENTER(0x26002520u);
   4214 
   4215 L_26002520:
   4216     PUSH32(esp, ebp); /* 0x26002520: push ebp */
   4217     ebp = esp; /* 0x26002521: mov ebp, esp */
   4218     PUSH32(esp, ebx); /* 0x26002523: push ebx */
   4219     ebx = MEM32(ebp + 0xC); /* 0x26002524: mov ebx, dword ptr [ebp + 0xc] */
   4220     PUSH32(esp, esi); /* 0x26002527: push esi */
   4221     PUSH32(esp, edi); /* 0x26002528: push edi */
   4222     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4223     edi = 0; /* 0x26002529: xor edi, edi */
   4224     _cf = 0;
   4225     _flag_k = FK_TEST;
   4226     esi = ecx; /* 0x2600252B: mov esi, ecx */
   4227     /* test ebx, ebx */ /* 0x2600252D: test ebx, ebx */
   4228     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   4229     _cf = 0;
   4230     _flag_k = FK_TEST;
   4231     if (TEST_Z(_flag_a, _flag_b)) goto L_26002571; /* 0x2600252F: je 0x26002571 */
   4232 L_26002531:
   4233     eax = MEM32(esi + 0xC); /* 0x26002531: mov eax, dword ptr [esi + 0xc] */
   4234     /* test eax, eax */ /* 0x26002534: test eax, eax */
   4235     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4236     _cf = 0;
   4237     _flag_k = FK_TEST;
   4238     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600254F; /* 0x26002536: jne 0x2600254f */
   4239 L_26002538:
   4240     eax = MEM32(esi); /* 0x26002538: mov eax, dword ptr [esi] */
   4241     edi = 0xFFFFFFFDu; /* 0x2600253A: mov edi, 0xfffffffd */
   4242     PUSH32(esp, edi); /* 0x2600253F: push edi */
   4243     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002540: call dword ptr [eax + 0x70] */
   4244     RECOMP_FLAGS_IN();
   4245     MEM32(esi + 0x4) = edi; /* 0x26002543: mov dword ptr [esi + 4], edi */
   4246     eax = edi; /* 0x26002546: mov eax, edi */
   4247     edi = POP32_VAL(esp); /* 0x26002548: pop edi */
   4248     esi = POP32_VAL(esp); /* 0x26002549: pop esi */
   4249     ebx = POP32_VAL(esp); /* 0x2600254A: pop ebx */
   4250     ebp = POP32_VAL(esp); /* 0x2600254B: pop ebp */
   4251     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600254C: ret 8 */
   4252 L_2600254F:
   4253     ecx = MEM32(ebp + 0x8); /* 0x2600254F: mov ecx, dword ptr [ebp + 8] */
   4254     PUSH32(esp, eax); /* 0x26002552: push eax */
   4255     PUSH32(esp, ebx); /* 0x26002553: push ebx */
   4256     PUSH32(esp, 1); /* 0x26002554: push 1 */
   4257     PUSH32(esp, ecx); /* 0x26002556: push ecx */
   4258     RECOMP_ICALL(MEM32(0x2600405C)); /* 0x26002557: call dword ptr [0x2600405c] */
   4259     RECOMP_FLAGS_IN();
   4260     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4261     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4262     esp = esp + 0x10u; /* 0x2600255D: add esp, 0x10 */
   4263     _flag_k = FK_ADD;
   4264     /* cmp ebx, eax */ /* 0x26002560: cmp ebx, eax */
   4265     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   4266     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4267     _flag_k = FK_CMP;
   4268     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002571; /* 0x26002562: je 0x26002571 */
   4269 L_26002564:
   4270     edx = MEM32(esi); /* 0x26002564: mov edx, dword ptr [esi] */
   4271     edi = 0xFFFFFFFAu; /* 0x26002566: mov edi, 0xfffffffa */
   4272     PUSH32(esp, edi); /* 0x2600256B: push edi */
   4273     ecx = esi; /* 0x2600256C: mov ecx, esi */
   4274     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x2600256E: call dword ptr [edx + 0x70] */
   4275     RECOMP_FLAGS_IN();
   4276 L_26002571:
   4277     MEM32(esi + 0x4) = edi; /* 0x26002571: mov dword ptr [esi + 4], edi */
   4278     eax = edi; /* 0x26002574: mov eax, edi */
   4279     edi = POP32_VAL(esp); /* 0x26002576: pop edi */
   4280     esi = POP32_VAL(esp); /* 0x26002577: pop esi */
   4281     ebx = POP32_VAL(esp); /* 0x26002578: pop ebx */
   4282     ebp = POP32_VAL(esp); /* 0x26002579: pop ebp */
   4283     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600257A: ret 8 */
   4284     RECOMP_REGS_OUT();
   4285 }
   4286 
   4287 void sub_26002580(void) {
   4288     int _fpu_cmp = 0;
   4289     uint32_t _cf = 0;
   4290     int _df = 1;
   4291     uint32_t _flag_k = FK_NONE;
   4292     uint32_t _flag_a = 0, _flag_b = 0;
   4293     uint32_t _itail_tgt = 0;
   4294     RECOMP_REGS_LOCALS
   4295     RECOMP_ENTER(0x26002580u);
   4296 
   4297 L_26002580:
   4298     PUSH32(esp, ebp); /* 0x26002580: push ebp */
   4299     ebp = esp; /* 0x26002581: mov ebp, esp */
   4300     PUSH32(esp, ecx); /* 0x26002583: push ecx */
   4301     PUSH32(esp, ebx); /* 0x26002584: push ebx */
   4302     PUSH32(esp, esi); /* 0x26002585: push esi */
   4303     esi = ecx; /* 0x26002586: mov esi, ecx */
   4304     MEM32(ebp + (-0x4)) = 0; /* 0x26002588: mov dword ptr [ebp - 4], 0 */
   4305     eax = MEM32(esi + 0xC); /* 0x2600258F: mov eax, dword ptr [esi + 0xc] */
   4306     /* test eax, eax */ /* 0x26002592: test eax, eax */
   4307     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4308     _cf = 0;
   4309     _flag_k = FK_TEST;
   4310     if (TEST_NZ(_flag_a, _flag_b)) goto L_260025B2; /* 0x26002594: jne 0x260025b2 */
   4311 L_26002596:
   4312     eax = MEM32(esi); /* 0x26002596: mov eax, dword ptr [esi] */
   4313     PUSH32(esp, 0xFFFFFFFDu); /* 0x26002598: push -3 */
   4314     MEM32(ebp + (-0x4)) = 0xFFFFFFFDu; /* 0x2600259A: mov dword ptr [ebp - 4], 0xfffffffd */
   4315     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260025A1: call dword ptr [eax + 0x70] */
   4316     RECOMP_FLAGS_IN();
   4317     eax = MEM32(ebp + (-0x4)); /* 0x260025A4: mov eax, dword ptr [ebp - 4] */
   4318     MEM32(esi + 0x4) = eax; /* 0x260025A7: mov dword ptr [esi + 4], eax */
   4319     esi = POP32_VAL(esp); /* 0x260025AA: pop esi */
   4320     ebx = POP32_VAL(esp); /* 0x260025AB: pop ebx */
   4321     esp = ebp; /* 0x260025AC: mov esp, ebp */
   4322     ebp = POP32_VAL(esp); /* 0x260025AE: pop ebp */
   4323     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260025AF: ret 8 */
   4324 L_260025B2:
   4325     ecx = MEM32(ebp + 0xC); /* 0x260025B2: mov ecx, dword ptr [ebp + 0xc] */
   4326     /* test ecx, ecx */ /* 0x260025B5: test ecx, ecx */
   4327     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4328     _cf = 0;
   4329     _flag_k = FK_TEST;
   4330     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002624; /* 0x260025B7: jne 0x26002624 */
   4331 L_260025B9:
   4332     PUSH32(esp, edi); /* 0x260025B9: push edi */
   4333     edi = MEM32(0x26004060); /* 0x260025BA: mov edi, dword ptr [0x26004060] */
   4334     PUSH32(esp, eax); /* 0x260025C0: push eax */
   4335     RECOMP_ICALL(edi); /* 0x260025C1: call edi */
   4336     RECOMP_FLAGS_IN();
   4337     ecx = MEM32(esi + 0xC); /* 0x260025C3: mov ecx, dword ptr [esi + 0xc] */
   4338     ebx = eax; /* 0x260025C6: mov ebx, eax */
   4339     PUSH32(esp, ecx); /* 0x260025C8: push ecx */
   4340     RECOMP_ICALL(edi); /* 0x260025C9: call edi */
   4341     RECOMP_FLAGS_IN();
   4342     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4343     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4344     esp = esp + 8; /* 0x260025CB: add esp, 8 */
   4345     _flag_k = FK_ADD;
   4346     /* cmp ebx, 0xFFFFFFFFu */ /* 0x260025CE: cmp ebx, -1 */
   4347     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4348     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4349     _flag_k = FK_CMP;
   4350     edi = POP32_VAL(esp); /* 0x260025D1: pop edi */
   4351     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600263B; /* 0x260025D2: je 0x2600263b */
   4352 L_260025D4:
   4353     /* cmp eax, 0xFFFFFFFFu */ /* 0x260025D4: cmp eax, -1 */
   4354     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4355     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4356     _flag_k = FK_CMP;
   4357     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600263B; /* 0x260025D7: je 0x2600263b */
   4358 L_260025D9:
   4359     /* test LO8(ebx), 0x80u */ /* 0x260025D9: test bl, 0x80 */
   4360     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(0x80u) << 24;
   4361     _cf = 0;
   4362     _flag_k = FK_NARROW(FK_TEST, 24);
   4363     if (TEST_Z(_flag_a, _flag_b)) goto L_2600260B; /* 0x260025DC: je 0x2600260b */
   4364 L_260025DE:
   4365     SET_LO8(ebx, ~LO8(ebx)); /* 0x260025DE: not bl */
   4366     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFu);
   4367     ebx = ebx & 0xFFu; /* 0x260025E0: and ebx, 0xff */
   4368     _cf = 0;
   4369     _flag_k = FK_TEST;
   4370     _flag_a = (uint32_t)((edx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edx | 0xFFFFFFFFu));
   4371     edx = edx | 0xFFFFFFFFu; /* 0x260025E6: or edx, 0xffffffff */
   4372     _cf = 0;
   4373     _flag_k = FK_TEST;
   4374     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x260025E9: shl ebx, 8 */
   4375     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4376     ebx = ebx << 8u; /* 0x260025E9: shl ebx, 8 */
   4377     SET_LO8(eax, ~LO8(eax)); /* 0x260025EC: not al */
   4378     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   4379     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4380     edx = edx - ebx; /* 0x260025EE: sub edx, ebx */
   4381     _flag_k = FK_CMP;
   4382     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   4383     eax = eax & 0xFFu; /* 0x260025F0: and eax, 0xff */
   4384     _cf = 0;
   4385     _flag_k = FK_TEST;
   4386     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   4387     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4388     edx = edx - eax; /* 0x260025F5: sub edx, eax */
   4389     _flag_k = FK_CMP;
   4390     eax = MEM32(ebp + 0x8); /* 0x260025F7: mov eax, dword ptr [ebp + 8] */
   4391     MEM16(eax) = (uint16_t)(LO16(edx)); /* 0x260025FA: mov word ptr [eax], dx */
   4392     eax = MEM32(ebp + (-0x4)); /* 0x260025FD: mov eax, dword ptr [ebp - 4] */
   4393     MEM32(esi + 0x4) = eax; /* 0x26002600: mov dword ptr [esi + 4], eax */
   4394     esi = POP32_VAL(esp); /* 0x26002603: pop esi */
   4395     ebx = POP32_VAL(esp); /* 0x26002604: pop ebx */
   4396     esp = ebp; /* 0x26002605: mov esp, ebp */
   4397     ebp = POP32_VAL(esp); /* 0x26002607: pop ebp */
   4398     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002608: ret 8 */
   4399 L_2600260B:
   4400     ecx = MEM32(ebp + 0x8); /* 0x2600260B: mov ecx, dword ptr [ebp + 8] */
   4401     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x2600260E: shl ebx, 8 */
   4402     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4403     ebx = ebx << 8u; /* 0x2600260E: shl ebx, 8 */
   4404     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   4405     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4406     ebx = ebx + eax; /* 0x26002611: add ebx, eax */
   4407     _flag_k = FK_ADD;
   4408     eax = MEM32(ebp + (-0x4)); /* 0x26002613: mov eax, dword ptr [ebp - 4] */
   4409     MEM16(ecx) = (uint16_t)(LO16(ebx)); /* 0x26002616: mov word ptr [ecx], bx */
   4410     MEM32(esi + 0x4) = eax; /* 0x26002619: mov dword ptr [esi + 4], eax */
   4411     esi = POP32_VAL(esp); /* 0x2600261C: pop esi */
   4412     ebx = POP32_VAL(esp); /* 0x2600261D: pop ebx */
   4413     esp = ebp; /* 0x2600261E: mov esp, ebp */
   4414     ebp = POP32_VAL(esp); /* 0x26002620: pop ebp */
   4415     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002621: ret 8 */
   4416 L_26002624:
   4417     PUSH32(esp, eax); /* 0x26002624: push eax */
   4418     eax = MEM32(ebp + 0x8); /* 0x26002625: mov eax, dword ptr [ebp + 8] */
   4419     PUSH32(esp, 1); /* 0x26002628: push 1 */
   4420     PUSH32(esp, 2); /* 0x2600262A: push 2 */
   4421     PUSH32(esp, eax); /* 0x2600262C: push eax */
   4422     RECOMP_ICALL(MEM32(0x2600405C)); /* 0x2600262D: call dword ptr [0x2600405c] */
   4423     RECOMP_FLAGS_IN();
   4424     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4425     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4426     esp = esp + 0x10u; /* 0x26002633: add esp, 0x10 */
   4427     _flag_k = FK_ADD;
   4428     /* cmp eax, 1 */ /* 0x26002636: cmp eax, 1 */
   4429     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4430     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4431     _flag_k = FK_CMP;
   4432     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600264B; /* 0x26002639: je 0x2600264b */
   4433 L_2600263B:
   4434     edx = MEM32(esi); /* 0x2600263B: mov edx, dword ptr [esi] */
   4435     PUSH32(esp, 0xFFFFFFFAu); /* 0x2600263D: push -6 */
   4436     ecx = esi; /* 0x2600263F: mov ecx, esi */
   4437     MEM32(ebp + (-0x4)) = 0xFFFFFFFAu; /* 0x26002641: mov dword ptr [ebp - 4], 0xfffffffa */
   4438     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002648: call dword ptr [edx + 0x70] */
   4439     RECOMP_FLAGS_IN();
   4440 L_2600264B:
   4441     eax = MEM32(ebp + (-0x4)); /* 0x2600264B: mov eax, dword ptr [ebp - 4] */
   4442     MEM32(esi + 0x4) = eax; /* 0x2600264E: mov dword ptr [esi + 4], eax */
   4443     esi = POP32_VAL(esp); /* 0x26002651: pop esi */
   4444     ebx = POP32_VAL(esp); /* 0x26002652: pop ebx */
   4445     esp = ebp; /* 0x26002653: mov esp, ebp */
   4446     ebp = POP32_VAL(esp); /* 0x26002655: pop ebp */
   4447     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002656: ret 8 */
   4448     RECOMP_REGS_OUT();
   4449 }
   4450 
   4451 void sub_26002660(void) {
   4452     int _fpu_cmp = 0;
   4453     uint32_t _cf = 0;
   4454     int _df = 1;
   4455     uint32_t _flag_k = FK_NONE;
   4456     uint32_t _flag_a = 0, _flag_b = 0;
   4457     uint32_t _itail_tgt = 0;
   4458     RECOMP_REGS_LOCALS
   4459     RECOMP_ENTER(0x26002660u);
   4460 
   4461 L_26002660:
   4462     PUSH32(esp, ebp); /* 0x26002660: push ebp */
   4463     ebp = esp; /* 0x26002661: mov ebp, esp */
   4464     PUSH32(esp, ecx); /* 0x26002663: push ecx */
   4465     PUSH32(esp, ebx); /* 0x26002664: push ebx */
   4466     PUSH32(esp, esi); /* 0x26002665: push esi */
   4467     esi = ecx; /* 0x26002666: mov esi, ecx */
   4468     PUSH32(esp, edi); /* 0x26002668: push edi */
   4469     MEM32(ebp + (-0x4)) = 0; /* 0x26002669: mov dword ptr [ebp - 4], 0 */
   4470     eax = MEM32(esi + 0xC); /* 0x26002670: mov eax, dword ptr [esi + 0xc] */
   4471     /* test eax, eax */ /* 0x26002673: test eax, eax */
   4472     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4473     _cf = 0;
   4474     _flag_k = FK_TEST;
   4475     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002694; /* 0x26002675: jne 0x26002694 */
   4476 L_26002677:
   4477     eax = MEM32(esi); /* 0x26002677: mov eax, dword ptr [esi] */
   4478     PUSH32(esp, 0xFFFFFFFDu); /* 0x26002679: push -3 */
   4479     MEM32(ebp + (-0x4)) = 0xFFFFFFFDu; /* 0x2600267B: mov dword ptr [ebp - 4], 0xfffffffd */
   4480     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002682: call dword ptr [eax + 0x70] */
   4481     RECOMP_FLAGS_IN();
   4482     eax = MEM32(ebp + (-0x4)); /* 0x26002685: mov eax, dword ptr [ebp - 4] */
   4483     edi = POP32_VAL(esp); /* 0x26002688: pop edi */
   4484     MEM32(esi + 0x4) = eax; /* 0x26002689: mov dword ptr [esi + 4], eax */
   4485     esi = POP32_VAL(esp); /* 0x2600268C: pop esi */
   4486     ebx = POP32_VAL(esp); /* 0x2600268D: pop ebx */
   4487     esp = ebp; /* 0x2600268E: mov esp, ebp */
   4488     ebp = POP32_VAL(esp); /* 0x26002690: pop ebp */
   4489     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002691: ret 8 */
   4490 L_26002694:
   4491     ecx = MEM32(ebp + 0xC); /* 0x26002694: mov ecx, dword ptr [ebp + 0xc] */
   4492     PUSH32(esp, eax); /* 0x26002697: push eax */
   4493     /* test ecx, ecx */ /* 0x26002698: test ecx, ecx */
   4494     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4495     _cf = 0;
   4496     _flag_k = FK_TEST;
   4497     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002762; /* 0x2600269A: jne 0x26002762 */
   4498 L_260026A0:
   4499     edi = MEM32(0x26004060); /* 0x260026A0: mov edi, dword ptr [0x26004060] */
   4500     RECOMP_ICALL(edi); /* 0x260026A6: call edi */
   4501     RECOMP_FLAGS_IN();
   4502     ecx = MEM32(esi + 0xC); /* 0x260026A8: mov ecx, dword ptr [esi + 0xc] */
   4503     ebx = eax; /* 0x260026AB: mov ebx, eax */
   4504     PUSH32(esp, ecx); /* 0x260026AD: push ecx */
   4505     RECOMP_ICALL(edi); /* 0x260026AE: call edi */
   4506     RECOMP_FLAGS_IN();
   4507     edx = MEM32(esi + 0xC); /* 0x260026B0: mov edx, dword ptr [esi + 0xc] */
   4508     edi = eax; /* 0x260026B3: mov edi, eax */
   4509     PUSH32(esp, edx); /* 0x260026B5: push edx */
   4510     RECOMP_ICALL(MEM32(0x26004060)); /* 0x260026B6: call dword ptr [0x26004060] */
   4511     RECOMP_FLAGS_IN();
   4512     MEM32(ebp + 0xC) = eax; /* 0x260026BC: mov dword ptr [ebp + 0xc], eax */
   4513     eax = MEM32(esi + 0xC); /* 0x260026BF: mov eax, dword ptr [esi + 0xc] */
   4514     PUSH32(esp, eax); /* 0x260026C2: push eax */
   4515     RECOMP_ICALL(MEM32(0x26004060)); /* 0x260026C3: call dword ptr [0x26004060] */
   4516     RECOMP_FLAGS_IN();
   4517     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4518     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4519     esp = esp + 0x10u; /* 0x260026C9: add esp, 0x10 */
   4520     _flag_k = FK_ADD;
   4521     /* cmp ebx, 0xFFFFFFFFu */ /* 0x260026CC: cmp ebx, -1 */
   4522     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4523     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4524     _flag_k = FK_CMP;
   4525     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002778; /* 0x260026CF: je 0x26002778 */
   4526 L_260026D5:
   4527     /* cmp edi, 0xFFFFFFFFu */ /* 0x260026D5: cmp edi, -1 */
   4528     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4529     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4530     _flag_k = FK_CMP;
   4531     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002778; /* 0x260026D8: je 0x26002778 */
   4532 L_260026DE:
   4533     ecx = MEM32(ebp + 0xC); /* 0x260026DE: mov ecx, dword ptr [ebp + 0xc] */
   4534     /* cmp ecx, 0xFFFFFFFFu */ /* 0x260026E1: cmp ecx, -1 */
   4535     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4537     _flag_k = FK_CMP;
   4538     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002778; /* 0x260026E4: je 0x26002778 */
   4539 L_260026EA:
   4540     /* cmp eax, 0xFFFFFFFFu */ /* 0x260026EA: cmp eax, -1 */
   4541     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4542     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4543     _flag_k = FK_CMP;
   4544     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002778; /* 0x260026ED: je 0x26002778 */
   4545 L_260026F3:
   4546     /* test LO8(ebx), 0x80u */ /* 0x260026F3: test bl, 0x80 */
   4547     _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(0x80u) << 24;
   4548     _cf = 0;
   4549     _flag_k = FK_NARROW(FK_TEST, 24);
   4550     if (TEST_Z(_flag_a, _flag_b)) goto L_2600273F; /* 0x260026F6: je 0x2600273f */
   4551 L_260026F8:
   4552     ebx = ~ebx; /* 0x260026F8: not ebx */
   4553     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFu);
   4554     ebx = ebx & 0xFFu; /* 0x260026FA: and ebx, 0xff */
   4555     _cf = 0;
   4556     _flag_k = FK_TEST;
   4557     edx = MEM32(ebp + 0x8); /* 0x26002700: mov edx, dword ptr [ebp + 8] */
   4558     edi = ~edi; /* 0x26002703: not edi */
   4559     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x26002705: shl ebx, 8 */
   4560     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4561     ebx = ebx << 8u; /* 0x26002705: shl ebx, 8 */
   4562     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFu);
   4563     edi = edi & 0xFFu; /* 0x26002708: and edi, 0xff */
   4564     _cf = 0;
   4565     _flag_k = FK_TEST;
   4566     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi);
   4567     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4568     ebx = ebx + edi; /* 0x2600270E: add ebx, edi */
   4569     _flag_k = FK_ADD;
   4570     edi = POP32_VAL(esp); /* 0x26002710: pop edi */
   4571     ecx = ~ecx; /* 0x26002711: not ecx */
   4572     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x26002713: shl ebx, 8 */
   4573     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4574     ebx = ebx << 8u; /* 0x26002713: shl ebx, 8 */
   4575     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFu);
   4576     ecx = ecx & 0xFFu; /* 0x26002716: and ecx, 0xff */
   4577     _cf = 0;
   4578     _flag_k = FK_TEST;
   4579     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   4580     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4581     ebx = ebx + ecx; /* 0x2600271C: add ebx, ecx */
   4582     _flag_k = FK_ADD;
   4583     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   4584     ecx = ecx | 0xFFFFFFFFu; /* 0x2600271E: or ecx, 0xffffffff */
   4585     _cf = 0;
   4586     _flag_k = FK_TEST;
   4587     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x26002721: shl ebx, 8 */
   4588     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4589     ebx = ebx << 8u; /* 0x26002721: shl ebx, 8 */
   4590     eax = ~eax; /* 0x26002724: not eax */
   4591     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   4592     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4593     ecx = ecx - ebx; /* 0x26002726: sub ecx, ebx */
   4594     _flag_k = FK_CMP;
   4595     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   4596     eax = eax & 0xFFu; /* 0x26002728: and eax, 0xff */
   4597     _cf = 0;
   4598     _flag_k = FK_TEST;
   4599     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   4600     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4601     ecx = ecx - eax; /* 0x2600272D: sub ecx, eax */
   4602     _flag_k = FK_CMP;
   4603     eax = MEM32(ebp + (-0x4)); /* 0x2600272F: mov eax, dword ptr [ebp - 4] */
   4604     MEM32(edx) = ecx; /* 0x26002732: mov dword ptr [edx], ecx */
   4605     MEM32(esi + 0x4) = eax; /* 0x26002734: mov dword ptr [esi + 4], eax */
   4606     esi = POP32_VAL(esp); /* 0x26002737: pop esi */
   4607     ebx = POP32_VAL(esp); /* 0x26002738: pop ebx */
   4608     esp = ebp; /* 0x26002739: mov esp, ebp */
   4609     ebp = POP32_VAL(esp); /* 0x2600273B: pop ebp */
   4610     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600273C: ret 8 */
   4611 L_2600273F:
   4612     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x2600273F: shl ebx, 8 */
   4613     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4614     ebx = ebx << 8u; /* 0x2600273F: shl ebx, 8 */
   4615     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi);
   4616     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4617     ebx = ebx + edi; /* 0x26002742: add ebx, edi */
   4618     _flag_k = FK_ADD;
   4619     edi = POP32_VAL(esp); /* 0x26002744: pop edi */
   4620     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x26002745: shl ebx, 8 */
   4621     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4622     ebx = ebx << 8u; /* 0x26002745: shl ebx, 8 */
   4623     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   4624     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4625     ebx = ebx + ecx; /* 0x26002748: add ebx, ecx */
   4626     _flag_k = FK_ADD;
   4627     if (8u) _cf = (((ebx) >> 24) & 1u); /* 0x2600274A: shl ebx, 8 */
   4628     if (8u) { _flag_a = recomp_flags_pack((ebx << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4629     ebx = ebx << 8u; /* 0x2600274A: shl ebx, 8 */
   4630     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   4631     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4632     ebx = ebx + eax; /* 0x2600274D: add ebx, eax */
   4633     _flag_k = FK_ADD;
   4634     eax = MEM32(ebp + 0x8); /* 0x2600274F: mov eax, dword ptr [ebp + 8] */
   4635     MEM32(eax) = ebx; /* 0x26002752: mov dword ptr [eax], ebx */
   4636     eax = MEM32(ebp + (-0x4)); /* 0x26002754: mov eax, dword ptr [ebp - 4] */
   4637     MEM32(esi + 0x4) = eax; /* 0x26002757: mov dword ptr [esi + 4], eax */
   4638     esi = POP32_VAL(esp); /* 0x2600275A: pop esi */
   4639     ebx = POP32_VAL(esp); /* 0x2600275B: pop ebx */
   4640     esp = ebp; /* 0x2600275C: mov esp, ebp */
   4641     ebp = POP32_VAL(esp); /* 0x2600275E: pop ebp */
   4642     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600275F: ret 8 */
   4643 L_26002762:
   4644     eax = MEM32(ebp + 0x8); /* 0x26002762: mov eax, dword ptr [ebp + 8] */
   4645     PUSH32(esp, 1); /* 0x26002765: push 1 */
   4646     PUSH32(esp, 4); /* 0x26002767: push 4 */
   4647     PUSH32(esp, eax); /* 0x26002769: push eax */
   4648     RECOMP_ICALL(MEM32(0x2600405C)); /* 0x2600276A: call dword ptr [0x2600405c] */
   4649     RECOMP_FLAGS_IN();
   4650     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4651     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4652     esp = esp + 0x10u; /* 0x26002770: add esp, 0x10 */
   4653     _flag_k = FK_ADD;
   4654     /* cmp eax, 1 */ /* 0x26002773: cmp eax, 1 */
   4655     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4656     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4657     _flag_k = FK_CMP;
   4658     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002788; /* 0x26002776: je 0x26002788 */
   4659 L_26002778:
   4660     edx = MEM32(esi); /* 0x26002778: mov edx, dword ptr [esi] */
   4661     PUSH32(esp, 0xFFFFFFFAu); /* 0x2600277A: push -6 */
   4662     ecx = esi; /* 0x2600277C: mov ecx, esi */
   4663     MEM32(ebp + (-0x4)) = 0xFFFFFFFAu; /* 0x2600277E: mov dword ptr [ebp - 4], 0xfffffffa */
   4664     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002785: call dword ptr [edx + 0x70] */
   4665     RECOMP_FLAGS_IN();
   4666 L_26002788:
   4667     eax = MEM32(ebp + (-0x4)); /* 0x26002788: mov eax, dword ptr [ebp - 4] */
   4668     edi = POP32_VAL(esp); /* 0x2600278B: pop edi */
   4669     MEM32(esi + 0x4) = eax; /* 0x2600278C: mov dword ptr [esi + 4], eax */
   4670     esi = POP32_VAL(esp); /* 0x2600278F: pop esi */
   4671     ebx = POP32_VAL(esp); /* 0x26002790: pop ebx */
   4672     esp = ebp; /* 0x26002791: mov esp, ebp */
   4673     ebp = POP32_VAL(esp); /* 0x26002793: pop ebp */
   4674     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002794: ret 8 */
   4675     RECOMP_REGS_OUT();
   4676 }
   4677 
   4678 void sub_260027A0(void) {
   4679     int _fpu_cmp = 0;
   4680     uint32_t _cf = 0;
   4681     int _df = 1;
   4682     uint32_t _flag_k = FK_NONE;
   4683     uint32_t _flag_a = 0, _flag_b = 0;
   4684     uint32_t _itail_tgt = 0;
   4685     RECOMP_REGS_LOCALS
   4686     RECOMP_ENTER(0x260027A0u);
   4687 
   4688 L_260027A0:
   4689     PUSH32(esp, ebp); /* 0x260027A0: push ebp */
   4690     ebp = esp; /* 0x260027A1: mov ebp, esp */
   4691     PUSH32(esp, esi); /* 0x260027A3: push esi */
   4692     esi = ecx; /* 0x260027A4: mov esi, ecx */
   4693     PUSH32(esp, edi); /* 0x260027A6: push edi */
   4694     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4695     edi = 0; /* 0x260027A7: xor edi, edi */
   4696     _cf = 0;
   4697     _flag_k = FK_TEST;
   4698     eax = MEM32(esi + 0xC); /* 0x260027A9: mov eax, dword ptr [esi + 0xc] */
   4699     /* test eax, eax */ /* 0x260027AC: test eax, eax */
   4700     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4701     _cf = 0;
   4702     _flag_k = FK_TEST;
   4703     if (TEST_NZ(_flag_a, _flag_b)) goto L_260027C6; /* 0x260027AE: jne 0x260027c6 */
   4704 L_260027B0:
   4705     eax = MEM32(esi); /* 0x260027B0: mov eax, dword ptr [esi] */
   4706     edi = 0xFFFFFFFDu; /* 0x260027B2: mov edi, 0xfffffffd */
   4707     PUSH32(esp, edi); /* 0x260027B7: push edi */
   4708     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260027B8: call dword ptr [eax + 0x70] */
   4709     RECOMP_FLAGS_IN();
   4710     MEM32(esi + 0x4) = edi; /* 0x260027BB: mov dword ptr [esi + 4], edi */
   4711     eax = edi; /* 0x260027BE: mov eax, edi */
   4712     edi = POP32_VAL(esp); /* 0x260027C0: pop edi */
   4713     esi = POP32_VAL(esp); /* 0x260027C1: pop esi */
   4714     ebp = POP32_VAL(esp); /* 0x260027C2: pop ebp */
   4715     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x260027C3: ret 4 */
   4716 L_260027C6:
   4717     PUSH32(esp, eax); /* 0x260027C6: push eax */
   4718     RECOMP_ICALL(MEM32(0x26004060)); /* 0x260027C7: call dword ptr [0x26004060] */
   4719     RECOMP_FLAGS_IN();
   4720     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4721     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4722     esp = esp + 4; /* 0x260027CD: add esp, 4 */
   4723     _flag_k = FK_ADD;
   4724     /* cmp eax, 0xFFFFFFFFu */ /* 0x260027D0: cmp eax, -1 */
   4725     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4726     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4727     _flag_k = FK_CMP;
   4728     if (CMP_NE(_flag_a, _flag_b)) goto L_260027ED; /* 0x260027D3: jne 0x260027ed */
   4729 L_260027D5:
   4730     edx = MEM32(esi); /* 0x260027D5: mov edx, dword ptr [esi] */
   4731     edi = 0xFFFFFFFAu; /* 0x260027D7: mov edi, 0xfffffffa */
   4732     PUSH32(esp, edi); /* 0x260027DC: push edi */
   4733     ecx = esi; /* 0x260027DD: mov ecx, esi */
   4734     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x260027DF: call dword ptr [edx + 0x70] */
   4735     RECOMP_FLAGS_IN();
   4736     MEM32(esi + 0x4) = edi; /* 0x260027E2: mov dword ptr [esi + 4], edi */
   4737     eax = edi; /* 0x260027E5: mov eax, edi */
   4738     edi = POP32_VAL(esp); /* 0x260027E7: pop edi */
   4739     esi = POP32_VAL(esp); /* 0x260027E8: pop esi */
   4740     ebp = POP32_VAL(esp); /* 0x260027E9: pop ebp */
   4741     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x260027EA: ret 4 */
   4742 L_260027ED:
   4743     ecx = MEM32(ebp + 0x8); /* 0x260027ED: mov ecx, dword ptr [ebp + 8] */
   4744     MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x260027F0: mov byte ptr [ecx], al */
   4745     MEM32(esi + 0x4) = edi; /* 0x260027F2: mov dword ptr [esi + 4], edi */
   4746     eax = edi; /* 0x260027F5: mov eax, edi */
   4747     edi = POP32_VAL(esp); /* 0x260027F7: pop edi */
   4748     esi = POP32_VAL(esp); /* 0x260027F8: pop esi */
   4749     ebp = POP32_VAL(esp); /* 0x260027F9: pop ebp */
   4750     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x260027FA: ret 4 */
   4751     RECOMP_REGS_OUT();
   4752 }
   4753 
   4754 void sub_26002800(void) {
   4755     int _fpu_cmp = 0;
   4756     uint32_t _cf = 0;
   4757     int _df = 1;
   4758     uint32_t _flag_k = FK_NONE;
   4759     uint32_t _flag_a = 0, _flag_b = 0;
   4760     uint32_t _itail_tgt = 0;
   4761     RECOMP_REGS_LOCALS
   4762     RECOMP_ENTER(0x26002800u);
   4763 
   4764 L_26002800:
   4765     PUSH32(esp, ebp); /* 0x26002800: push ebp */
   4766     ebp = esp; /* 0x26002801: mov ebp, esp */
   4767     PUSH32(esp, ecx); /* 0x26002803: push ecx */
   4768     PUSH32(esp, esi); /* 0x26002804: push esi */
   4769     esi = ecx; /* 0x26002805: mov esi, ecx */
   4770     PUSH32(esp, edi); /* 0x26002807: push edi */
   4771     MEM32(ebp + (-0x4)) = 0; /* 0x26002808: mov dword ptr [ebp - 4], 0 */
   4772     eax = MEM32(esi + 0xC); /* 0x2600280F: mov eax, dword ptr [esi + 0xc] */
   4773     /* test eax, eax */ /* 0x26002812: test eax, eax */
   4774     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4775     _cf = 0;
   4776     _flag_k = FK_TEST;
   4777     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002832; /* 0x26002814: jne 0x26002832 */
   4778 L_26002816:
   4779     eax = MEM32(esi); /* 0x26002816: mov eax, dword ptr [esi] */
   4780     PUSH32(esp, 0xFFFFFFFDu); /* 0x26002818: push -3 */
   4781     MEM32(ebp + (-0x4)) = 0xFFFFFFFDu; /* 0x2600281A: mov dword ptr [ebp - 4], 0xfffffffd */
   4782     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002821: call dword ptr [eax + 0x70] */
   4783     RECOMP_FLAGS_IN();
   4784     eax = MEM32(ebp + (-0x4)); /* 0x26002824: mov eax, dword ptr [ebp - 4] */
   4785     edi = POP32_VAL(esp); /* 0x26002827: pop edi */
   4786     MEM32(esi + 0x4) = eax; /* 0x26002828: mov dword ptr [esi + 4], eax */
   4787     esi = POP32_VAL(esp); /* 0x2600282B: pop esi */
   4788     esp = ebp; /* 0x2600282C: mov esp, ebp */
   4789     ebp = POP32_VAL(esp); /* 0x2600282E: pop ebp */
   4790     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600282F: ret 8 */
   4791 L_26002832:
   4792     ecx = MEM32(ebp + 0xC); /* 0x26002832: mov ecx, dword ptr [ebp + 0xc] */
   4793     /* test ecx, ecx */ /* 0x26002835: test ecx, ecx */
   4794     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4795     _cf = 0;
   4796     _flag_k = FK_TEST;
   4797     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002877; /* 0x26002837: jne 0x26002877 */
   4798 L_26002839:
   4799     PUSH32(esp, ebx); /* 0x26002839: push ebx */
   4800     ebx = MEM32(0x26004060); /* 0x2600283A: mov ebx, dword ptr [0x26004060] */
   4801     PUSH32(esp, eax); /* 0x26002840: push eax */
   4802     RECOMP_ICALL(ebx); /* 0x26002841: call ebx */
   4803     RECOMP_FLAGS_IN();
   4804     ecx = MEM32(esi + 0xC); /* 0x26002843: mov ecx, dword ptr [esi + 0xc] */
   4805     edi = eax; /* 0x26002846: mov edi, eax */
   4806     PUSH32(esp, ecx); /* 0x26002848: push ecx */
   4807     RECOMP_ICALL(ebx); /* 0x26002849: call ebx */
   4808     RECOMP_FLAGS_IN();
   4809     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4810     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4811     esp = esp + 8; /* 0x2600284B: add esp, 8 */
   4812     _flag_k = FK_ADD;
   4813     /* cmp edi, 0xFFFFFFFFu */ /* 0x2600284E: cmp edi, -1 */
   4814     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4815     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4816     _flag_k = FK_CMP;
   4817     ebx = POP32_VAL(esp); /* 0x26002851: pop ebx */
   4818     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600288E; /* 0x26002852: je 0x2600288e */
   4819 L_26002854:
   4820     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002854: cmp eax, -1 */
   4821     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4822     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4823     _flag_k = FK_CMP;
   4824     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600288E; /* 0x26002857: je 0x2600288e */
   4825 L_26002859:
   4826     _flag_a = (uint32_t)(0) << 16; _flag_b = (uint32_t)(0) << 16;
   4827     SET_LO16(edx, 0); /* 0x26002859: xor dx, dx */
   4828     _cf = 0;
   4829     _flag_k = FK_NARROW(FK_TEST, 16);
   4830     if (8u) _cf = (((edi) >> 24) & 1u); /* 0x2600285C: shl edi, 8 */
   4831     if (8u) { _flag_a = recomp_flags_pack((edi << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4832     edi = edi << 8u; /* 0x2600285C: shl edi, 8 */
   4833     SET_LO8(edx, LO8(eax)); /* 0x2600285F: mov dl, al */
   4834     eax = MEM32(ebp + 0x8); /* 0x26002861: mov eax, dword ptr [ebp + 8] */
   4835     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   4836     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4837     edi = edi + edx; /* 0x26002864: add edi, edx */
   4838     _flag_k = FK_ADD;
   4839     MEM16(eax) = (uint16_t)(LO16(edi)); /* 0x26002866: mov word ptr [eax], di */
   4840     eax = MEM32(ebp + (-0x4)); /* 0x26002869: mov eax, dword ptr [ebp - 4] */
   4841     MEM32(esi + 0x4) = eax; /* 0x2600286C: mov dword ptr [esi + 4], eax */
   4842     edi = POP32_VAL(esp); /* 0x2600286F: pop edi */
   4843     esi = POP32_VAL(esp); /* 0x26002870: pop esi */
   4844     esp = ebp; /* 0x26002871: mov esp, ebp */
   4845     ebp = POP32_VAL(esp); /* 0x26002873: pop ebp */
   4846     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002874: ret 8 */
   4847 L_26002877:
   4848     PUSH32(esp, eax); /* 0x26002877: push eax */
   4849     eax = MEM32(ebp + 0x8); /* 0x26002878: mov eax, dword ptr [ebp + 8] */
   4850     PUSH32(esp, 1); /* 0x2600287B: push 1 */
   4851     PUSH32(esp, 2); /* 0x2600287D: push 2 */
   4852     PUSH32(esp, eax); /* 0x2600287F: push eax */
   4853     RECOMP_ICALL(MEM32(0x2600405C)); /* 0x26002880: call dword ptr [0x2600405c] */
   4854     RECOMP_FLAGS_IN();
   4855     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4856     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4857     esp = esp + 0x10u; /* 0x26002886: add esp, 0x10 */
   4858     _flag_k = FK_ADD;
   4859     /* cmp eax, 1 */ /* 0x26002889: cmp eax, 1 */
   4860     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   4861     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4862     _flag_k = FK_CMP;
   4863     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600289E; /* 0x2600288C: je 0x2600289e */
   4864 L_2600288E:
   4865     edx = MEM32(esi); /* 0x2600288E: mov edx, dword ptr [esi] */
   4866     PUSH32(esp, 0xFFFFFFFAu); /* 0x26002890: push -6 */
   4867     ecx = esi; /* 0x26002892: mov ecx, esi */
   4868     MEM32(ebp + (-0x4)) = 0xFFFFFFFAu; /* 0x26002894: mov dword ptr [ebp - 4], 0xfffffffa */
   4869     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x2600289B: call dword ptr [edx + 0x70] */
   4870     RECOMP_FLAGS_IN();
   4871 L_2600289E:
   4872     eax = MEM32(ebp + (-0x4)); /* 0x2600289E: mov eax, dword ptr [ebp - 4] */
   4873     edi = POP32_VAL(esp); /* 0x260028A1: pop edi */
   4874     MEM32(esi + 0x4) = eax; /* 0x260028A2: mov dword ptr [esi + 4], eax */
   4875     esi = POP32_VAL(esp); /* 0x260028A5: pop esi */
   4876     esp = ebp; /* 0x260028A6: mov esp, ebp */
   4877     ebp = POP32_VAL(esp); /* 0x260028A8: pop ebp */
   4878     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260028A9: ret 8 */
   4879     RECOMP_REGS_OUT();
   4880 }
   4881 
   4882 void sub_260028B0(void) {
   4883     int _fpu_cmp = 0;
   4884     uint32_t _cf = 0;
   4885     int _df = 1;
   4886     uint32_t _flag_k = FK_NONE;
   4887     uint32_t _flag_a = 0, _flag_b = 0;
   4888     uint32_t _itail_tgt = 0;
   4889     RECOMP_REGS_LOCALS
   4890     RECOMP_ENTER(0x260028B0u);
   4891 
   4892 L_260028B0:
   4893     PUSH32(esp, ebp); /* 0x260028B0: push ebp */
   4894     ebp = esp; /* 0x260028B1: mov ebp, esp */
   4895     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4896     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4897     esp = esp - 8; /* 0x260028B3: sub esp, 8 */
   4898     _flag_k = FK_CMP;
   4899     PUSH32(esp, esi); /* 0x260028B6: push esi */
   4900     esi = ecx; /* 0x260028B7: mov esi, ecx */
   4901     PUSH32(esp, edi); /* 0x260028B9: push edi */
   4902     MEM32(ebp + (-0x4)) = 0; /* 0x260028BA: mov dword ptr [ebp - 4], 0 */
   4903     eax = MEM32(esi + 0xC); /* 0x260028C1: mov eax, dword ptr [esi + 0xc] */
   4904     /* test eax, eax */ /* 0x260028C4: test eax, eax */
   4905     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4906     _cf = 0;
   4907     _flag_k = FK_TEST;
   4908     if (TEST_NZ(_flag_a, _flag_b)) goto L_260028E4; /* 0x260028C6: jne 0x260028e4 */
   4909 L_260028C8:
   4910     eax = MEM32(esi); /* 0x260028C8: mov eax, dword ptr [esi] */
   4911     PUSH32(esp, 0xFFFFFFFDu); /* 0x260028CA: push -3 */
   4912     MEM32(ebp + (-0x4)) = 0xFFFFFFFDu; /* 0x260028CC: mov dword ptr [ebp - 4], 0xfffffffd */
   4913     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260028D3: call dword ptr [eax + 0x70] */
   4914     RECOMP_FLAGS_IN();
   4915     eax = MEM32(ebp + (-0x4)); /* 0x260028D6: mov eax, dword ptr [ebp - 4] */
   4916     edi = POP32_VAL(esp); /* 0x260028D9: pop edi */
   4917     MEM32(esi + 0x4) = eax; /* 0x260028DA: mov dword ptr [esi + 4], eax */
   4918     esi = POP32_VAL(esp); /* 0x260028DD: pop esi */
   4919     esp = ebp; /* 0x260028DE: mov esp, ebp */
   4920     ebp = POP32_VAL(esp); /* 0x260028E0: pop ebp */
   4921     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260028E1: ret 8 */
   4922 L_260028E4:
   4923     ecx = MEM32(ebp + 0xC); /* 0x260028E4: mov ecx, dword ptr [ebp + 0xc] */
   4924     /* test ecx, ecx */ /* 0x260028E7: test ecx, ecx */
   4925     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4926     _cf = 0;
   4927     _flag_k = FK_TEST;
   4928     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600294F; /* 0x260028E9: jne 0x2600294f */
   4929 L_260028EB:
   4930     PUSH32(esp, ebx); /* 0x260028EB: push ebx */
   4931     ebx = MEM32(0x26004060); /* 0x260028EC: mov ebx, dword ptr [0x26004060] */
   4932     PUSH32(esp, eax); /* 0x260028F2: push eax */
   4933     RECOMP_ICALL(ebx); /* 0x260028F3: call ebx */
   4934     RECOMP_FLAGS_IN();
   4935     ecx = MEM32(esi + 0xC); /* 0x260028F5: mov ecx, dword ptr [esi + 0xc] */
   4936     edi = eax; /* 0x260028F8: mov edi, eax */
   4937     PUSH32(esp, ecx); /* 0x260028FA: push ecx */
   4938     RECOMP_ICALL(ebx); /* 0x260028FB: call ebx */
   4939     RECOMP_FLAGS_IN();
   4940     edx = MEM32(esi + 0xC); /* 0x260028FD: mov edx, dword ptr [esi + 0xc] */
   4941     MEM32(ebp + 0xC) = eax; /* 0x26002900: mov dword ptr [ebp + 0xc], eax */
   4942     PUSH32(esp, edx); /* 0x26002903: push edx */
   4943     RECOMP_ICALL(ebx); /* 0x26002904: call ebx */
   4944     RECOMP_FLAGS_IN();
   4945     MEM32(ebp + (-0x8)) = eax; /* 0x26002906: mov dword ptr [ebp - 8], eax */
   4946     eax = MEM32(esi + 0xC); /* 0x26002909: mov eax, dword ptr [esi + 0xc] */
   4947     PUSH32(esp, eax); /* 0x2600290C: push eax */
   4948     RECOMP_ICALL(ebx); /* 0x2600290D: call ebx */
   4949     RECOMP_FLAGS_IN();
   4950     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   4951     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4952     esp = esp + 0x10u; /* 0x2600290F: add esp, 0x10 */
   4953     _flag_k = FK_ADD;
   4954     /* cmp edi, 0xFFFFFFFFu */ /* 0x26002912: cmp edi, -1 */
   4955     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4956     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4957     _flag_k = FK_CMP;
   4958     ebx = POP32_VAL(esp); /* 0x26002915: pop ebx */
   4959     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002966; /* 0x26002916: je 0x26002966 */
   4960 L_26002918:
   4961     edx = MEM32(ebp + 0xC); /* 0x26002918: mov edx, dword ptr [ebp + 0xc] */
   4962     /* cmp edx, 0xFFFFFFFFu */ /* 0x2600291B: cmp edx, -1 */
   4963     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4964     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4965     _flag_k = FK_CMP;
   4966     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002966; /* 0x2600291E: je 0x26002966 */
   4967 L_26002920:
   4968     ecx = MEM32(ebp + (-0x8)); /* 0x26002920: mov ecx, dword ptr [ebp - 8] */
   4969     /* cmp ecx, 0xFFFFFFFFu */ /* 0x26002923: cmp ecx, -1 */
   4970     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4972     _flag_k = FK_CMP;
   4973     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002966; /* 0x26002926: je 0x26002966 */
   4974 L_26002928:
   4975     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002928: cmp eax, -1 */
   4976     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   4977     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4978     _flag_k = FK_CMP;
   4979     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002966; /* 0x2600292B: je 0x26002966 */
   4980 L_2600292D:
   4981     if (8u) _cf = (((edi) >> 24) & 1u); /* 0x2600292D: shl edi, 8 */
   4982     if (8u) { _flag_a = recomp_flags_pack((edi << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4983     edi = edi << 8u; /* 0x2600292D: shl edi, 8 */
   4984     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   4985     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4986     edi = edi + edx; /* 0x26002930: add edi, edx */
   4987     _flag_k = FK_ADD;
   4988     if (8u) _cf = (((edi) >> 24) & 1u); /* 0x26002932: shl edi, 8 */
   4989     if (8u) { _flag_a = recomp_flags_pack((edi << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4990     edi = edi << 8u; /* 0x26002932: shl edi, 8 */
   4991     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   4992     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4993     edi = edi + ecx; /* 0x26002935: add edi, ecx */
   4994     _flag_k = FK_ADD;
   4995     ecx = MEM32(ebp + 0x8); /* 0x26002937: mov ecx, dword ptr [ebp + 8] */
   4996     if (8u) _cf = (((edi) >> 24) & 1u); /* 0x2600293A: shl edi, 8 */
   4997     if (8u) { _flag_a = recomp_flags_pack((edi << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   4998     edi = edi << 8u; /* 0x2600293A: shl edi, 8 */
   4999     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax);
   5000     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5001     edi = edi + eax; /* 0x2600293D: add edi, eax */
   5002     _flag_k = FK_ADD;
   5003     eax = MEM32(ebp + (-0x4)); /* 0x2600293F: mov eax, dword ptr [ebp - 4] */
   5004     MEM32(ecx) = edi; /* 0x26002942: mov dword ptr [ecx], edi */
   5005     MEM32(esi + 0x4) = eax; /* 0x26002944: mov dword ptr [esi + 4], eax */
   5006     edi = POP32_VAL(esp); /* 0x26002947: pop edi */
   5007     esi = POP32_VAL(esp); /* 0x26002948: pop esi */
   5008     esp = ebp; /* 0x26002949: mov esp, ebp */
   5009     ebp = POP32_VAL(esp); /* 0x2600294B: pop ebp */
   5010     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600294C: ret 8 */
   5011 L_2600294F:
   5012     PUSH32(esp, eax); /* 0x2600294F: push eax */
   5013     eax = MEM32(ebp + 0x8); /* 0x26002950: mov eax, dword ptr [ebp + 8] */
   5014     PUSH32(esp, 1); /* 0x26002953: push 1 */
   5015     PUSH32(esp, 4); /* 0x26002955: push 4 */
   5016     PUSH32(esp, eax); /* 0x26002957: push eax */
   5017     RECOMP_ICALL(MEM32(0x2600405C)); /* 0x26002958: call dword ptr [0x2600405c] */
   5018     RECOMP_FLAGS_IN();
   5019     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5020     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5021     esp = esp + 0x10u; /* 0x2600295E: add esp, 0x10 */
   5022     _flag_k = FK_ADD;
   5023     /* cmp eax, 1 */ /* 0x26002961: cmp eax, 1 */
   5024     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5025     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5026     _flag_k = FK_CMP;
   5027     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002976; /* 0x26002964: je 0x26002976 */
   5028 L_26002966:
   5029     edx = MEM32(esi); /* 0x26002966: mov edx, dword ptr [esi] */
   5030     PUSH32(esp, 0xFFFFFFFAu); /* 0x26002968: push -6 */
   5031     ecx = esi; /* 0x2600296A: mov ecx, esi */
   5032     MEM32(ebp + (-0x4)) = 0xFFFFFFFAu; /* 0x2600296C: mov dword ptr [ebp - 4], 0xfffffffa */
   5033     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002973: call dword ptr [edx + 0x70] */
   5034     RECOMP_FLAGS_IN();
   5035 L_26002976:
   5036     eax = MEM32(ebp + (-0x4)); /* 0x26002976: mov eax, dword ptr [ebp - 4] */
   5037     edi = POP32_VAL(esp); /* 0x26002979: pop edi */
   5038     MEM32(esi + 0x4) = eax; /* 0x2600297A: mov dword ptr [esi + 4], eax */
   5039     esi = POP32_VAL(esp); /* 0x2600297D: pop esi */
   5040     esp = ebp; /* 0x2600297E: mov esp, ebp */
   5041     ebp = POP32_VAL(esp); /* 0x26002980: pop ebp */
   5042     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002981: ret 8 */
   5043     RECOMP_REGS_OUT();
   5044 }
   5045 
   5046 void sub_26002990(void) {
   5047     int _fpu_cmp = 0;
   5048     uint32_t _cf = 0;
   5049     int _df = 1;
   5050     uint32_t _flag_k = FK_NONE;
   5051     uint32_t _flag_a = 0, _flag_b = 0;
   5052     uint32_t _itail_tgt = 0;
   5053     RECOMP_REGS_LOCALS
   5054     RECOMP_ENTER(0x26002990u);
   5055 
   5056 L_26002990:
   5057     PUSH32(esp, ebp); /* 0x26002990: push ebp */
   5058     ebp = esp; /* 0x26002991: mov ebp, esp */
   5059     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5060     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5061     esp = esp - 0xCu; /* 0x26002993: sub esp, 0xc */
   5062     _flag_k = FK_CMP;
   5063     eax = MEM32(ebp + 0x8); /* 0x26002996: mov eax, dword ptr [ebp + 8] */
   5064     PUSH32(esp, ebx); /* 0x26002999: push ebx */
   5065     PUSH32(esp, esi); /* 0x2600299A: push esi */
   5066     PUSH32(esp, edi); /* 0x2600299B: push edi */
   5067     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5068     edi = 0; /* 0x2600299C: xor edi, edi */
   5069     _cf = 0;
   5070     _flag_k = FK_TEST;
   5071     esi = ecx; /* 0x2600299E: mov esi, ecx */
   5072     /* cmp eax, edi */ /* 0x260029A0: cmp eax, edi */
   5073     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5074     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5075     _flag_k = FK_CMP;
   5076     MEM32(ebp + (-0x4)) = edi; /* 0x260029A2: mov dword ptr [ebp - 4], edi */
   5077     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002ADD; /* 0x260029A5: je 0x26002add */
   5078 L_260029AB:
   5079     /* cmp MEM32(ebp + 0xC), edi */ /* 0x260029AB: cmp dword ptr [ebp + 0xc], edi */
   5080     _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(edi);
   5081     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5082     _flag_k = FK_CMP;
   5083     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002ADD; /* 0x260029AE: je 0x26002add */
   5084 L_260029B4:
   5085     /* cmp MEM32(esi + 0xC), edi */ /* 0x260029B4: cmp dword ptr [esi + 0xc], edi */
   5086     _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(edi);
   5087     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5088     _flag_k = FK_CMP;
   5089     if (CMP_NE(_flag_a, _flag_b)) goto L_260029D6; /* 0x260029B7: jne 0x260029d6 */
   5090 L_260029B9:
   5091     eax = MEM32(esi); /* 0x260029B9: mov eax, dword ptr [esi] */
   5092     PUSH32(esp, 0xFFFFFFFDu); /* 0x260029BB: push -3 */
   5093     MEM32(ebp + (-0x4)) = 0xFFFFFFFDu; /* 0x260029BD: mov dword ptr [ebp - 4], 0xfffffffd */
   5094     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260029C4: call dword ptr [eax + 0x70] */
   5095     RECOMP_FLAGS_IN();
   5096     eax = MEM32(ebp + (-0x4)); /* 0x260029C7: mov eax, dword ptr [ebp - 4] */
   5097     edi = POP32_VAL(esp); /* 0x260029CA: pop edi */
   5098     MEM32(esi + 0x4) = eax; /* 0x260029CB: mov dword ptr [esi + 4], eax */
   5099     esi = POP32_VAL(esp); /* 0x260029CE: pop esi */
   5100     ebx = POP32_VAL(esp); /* 0x260029CF: pop ebx */
   5101     esp = ebp; /* 0x260029D0: mov esp, ebp */
   5102     ebp = POP32_VAL(esp); /* 0x260029D2: pop ebp */
   5103     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x260029D3: ret 0xc */
   5104 L_260029D6:
   5105     edx = MEM32(esi); /* 0x260029D6: mov edx, dword ptr [esi] */
   5106     ecx = esi; /* 0x260029D8: mov ecx, esi */
   5107     RECOMP_ICALL(MEM32(edx + 0x44)); /* 0x260029DA: call dword ptr [edx + 0x44] */
   5108     RECOMP_FLAGS_IN();
   5109     ebx = eax; /* 0x260029DD: mov ebx, eax */
   5110     eax = MEM32(esi); /* 0x260029DF: mov eax, dword ptr [esi] */
   5111     ecx = esi; /* 0x260029E1: mov ecx, esi */
   5112     RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x260029E3: call dword ptr [eax + 0x10] */
   5113     RECOMP_FLAGS_IN();
   5114     /* cmp ebx, eax */ /* 0x260029E6: cmp ebx, eax */
   5115     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   5116     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5117     _flag_k = FK_CMP;
   5118     if (CMP_NE(_flag_a, _flag_b)) goto L_26002A09; /* 0x260029E8: jne 0x26002a09 */
   5119 L_260029EA:
   5120     edx = MEM32(esi); /* 0x260029EA: mov edx, dword ptr [esi] */
   5121     PUSH32(esp, 0xFFFFFFFAu); /* 0x260029EC: push -6 */
   5122     ecx = esi; /* 0x260029EE: mov ecx, esi */
   5123     MEM32(ebp + (-0x4)) = 0xFFFFFFFAu; /* 0x260029F0: mov dword ptr [ebp - 4], 0xfffffffa */
   5124     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x260029F7: call dword ptr [edx + 0x70] */
   5125     RECOMP_FLAGS_IN();
   5126     eax = MEM32(ebp + (-0x4)); /* 0x260029FA: mov eax, dword ptr [ebp - 4] */
   5127     edi = POP32_VAL(esp); /* 0x260029FD: pop edi */
   5128     MEM32(esi + 0x4) = eax; /* 0x260029FE: mov dword ptr [esi + 4], eax */
   5129     esi = POP32_VAL(esp); /* 0x26002A01: pop esi */
   5130     ebx = POP32_VAL(esp); /* 0x26002A02: pop ebx */
   5131     esp = ebp; /* 0x26002A03: mov esp, ebp */
   5132     ebp = POP32_VAL(esp); /* 0x26002A05: pop ebp */
   5133     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26002A06: ret 0xc */
   5134 L_26002A09:
   5135     eax = MEM32(esi); /* 0x26002A09: mov eax, dword ptr [esi] */
   5136     ecx = esi; /* 0x26002A0B: mov ecx, esi */
   5137     RECOMP_ICALL(MEM32(eax + 0x44)); /* 0x26002A0D: call dword ptr [eax + 0x44] */
   5138     RECOMP_FLAGS_IN();
   5139     edx = MEM32(esi); /* 0x26002A10: mov edx, dword ptr [esi] */
   5140     ecx = esi; /* 0x26002A12: mov ecx, esi */
   5141     MEM32(ebp + (-0xC)) = eax; /* 0x26002A14: mov dword ptr [ebp - 0xc], eax */
   5142     RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x26002A17: call dword ptr [edx + 0x10] */
   5143     RECOMP_FLAGS_IN();
   5144     ebx = eax; /* 0x26002A1A: mov ebx, eax */
   5145     eax = MEM32(ebp + 0xC); /* 0x26002A1C: mov eax, dword ptr [ebp + 0xc] */
   5146     /* test eax, eax */ /* 0x26002A1F: test eax, eax */
   5147     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5148     _cf = 0;
   5149     _flag_k = FK_TEST;
   5150     MEM32(ebp + (-0x8)) = ebx; /* 0x26002A21: mov dword ptr [ebp - 8], ebx */
   5151     if (TEST_Z(_flag_a, _flag_b)) goto L_26002A75; /* 0x26002A24: jbe 0x26002a75 */
   5152 L_26002A26:
   5153     eax = MEM32(esi + 0xC); /* 0x26002A26: mov eax, dword ptr [esi + 0xc] */
   5154     PUSH32(esp, eax); /* 0x26002A29: push eax */
   5155     RECOMP_ICALL(MEM32(0x26004060)); /* 0x26002A2A: call dword ptr [0x26004060] */
   5156     RECOMP_FLAGS_IN();
   5157     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5158     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5159     esp = esp + 4; /* 0x26002A30: add esp, 4 */
   5160     _flag_k = FK_ADD;
   5161     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002A33: cmp eax, -1 */
   5162     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5163     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5164     _flag_k = FK_CMP;
   5165     if (CMP_NE(_flag_a, _flag_b)) goto L_26002A44; /* 0x26002A36: jne 0x26002a44 */
   5166 L_26002A38:
   5167     ecx = MEM32(ebp + (-0xC)); /* 0x26002A38: mov ecx, dword ptr [ebp - 0xc] */
   5168     edx = MEM32(ebp + (-0x8)); /* 0x26002A3B: mov edx, dword ptr [ebp - 8] */
   5169     /* cmp ecx, edx */ /* 0x26002A3E: cmp ecx, edx */
   5170     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx);
   5171     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5172     _flag_k = FK_CMP;
   5173     if (CMP_G(_flag_a, _flag_b)) goto L_26002A9E; /* 0x26002A40: jg 0x26002a9e */
   5174 L_26002A42:
   5175     goto L_26002A48; /* 0x26002A42: jmp 0x26002a48 */
   5176 L_26002A44:
   5177     /* test eax, eax */ /* 0x26002A44: test eax, eax */
   5178     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5179     _cf = 0;
   5180     _flag_k = FK_TEST;
   5181     if (TEST_Z(_flag_a, _flag_b)) goto L_26002AC7; /* 0x26002A46: je 0x26002ac7 */
   5182 L_26002A48:
   5183     edx = (int32_t)(int8_t)MEM8(ebp + 0x10); /* 0x26002A48: movsx edx, byte ptr [ebp + 0x10] */
   5184     /* cmp edx, eax */ /* 0x26002A4C: cmp edx, eax */
   5185     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   5186     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5187     _flag_k = FK_CMP;
   5188     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002AC7; /* 0x26002A4E: je 0x26002ac7 */
   5189 L_26002A50:
   5190     ecx = MEM32(ebp + (-0x8)); /* 0x26002A50: mov ecx, dword ptr [ebp - 8] */
   5191     edx = MEM32(ebp + (-0xC)); /* 0x26002A53: mov edx, dword ptr [ebp - 0xc] */
   5192     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   5193     ecx = ecx + 1; /* 0x26002A56: inc ecx */
   5194     _flag_k = FK_INC;
   5195     /* cmp edx, ecx */ /* 0x26002A57: cmp edx, ecx */
   5196     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx);
   5197     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5198     _flag_k = FK_CMP;
   5199     MEM32(ebp + (-0x8)) = ecx; /* 0x26002A59: mov dword ptr [ebp - 8], ecx */
   5200     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002AC7; /* 0x26002A5C: je 0x26002ac7 */
   5201 L_26002A5E:
   5202     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002A5E: cmp eax, -1 */
   5203     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5204     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5205     _flag_k = FK_CMP;
   5206     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002AC7; /* 0x26002A61: je 0x26002ac7 */
   5207 L_26002A63:
   5208     /* cmp eax, 0xDu */ /* 0x26002A63: cmp eax, 0xd */
   5209     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xDu);
   5210     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5211     _flag_k = FK_CMP;
   5212     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002A70; /* 0x26002A66: je 0x26002a70 */
   5213 L_26002A68:
   5214     ecx = MEM32(ebp + 0x8); /* 0x26002A68: mov ecx, dword ptr [ebp + 8] */
   5215     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   5216     edi = edi + 1; /* 0x26002A6B: inc edi */
   5217     _flag_k = FK_INC;
   5218     MEM8(edi + ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x26002A6C: mov byte ptr [edi + ecx - 1], al */
   5219 L_26002A70:
   5220     /* cmp edi, MEM32(ebp + 0xC) */ /* 0x26002A70: cmp edi, dword ptr [ebp + 0xc] */
   5221     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0xC));
   5222     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5223     _flag_k = FK_CMP;
   5224     RECOMP_BACKEDGE();
   5225     if (CMP_B(_flag_a, _flag_b)) goto L_26002A26; /* 0x26002A73: jb 0x26002a26 */
   5226 L_26002A75:
   5227     edx = MEM32(esi); /* 0x26002A75: mov edx, dword ptr [esi] */
   5228     PUSH32(esp, 0); /* 0x26002A77: push 0 */
   5229     PUSH32(esp, ebx); /* 0x26002A79: push ebx */
   5230     ecx = esi; /* 0x26002A7A: mov ecx, esi */
   5231     RECOMP_ICALL(MEM32(edx + 0x40)); /* 0x26002A7C: call dword ptr [edx + 0x40] */
   5232     RECOMP_FLAGS_IN();
   5233     eax = MEM32(esi); /* 0x26002A7F: mov eax, dword ptr [esi] */
   5234     PUSH32(esp, 0xFFFFFFF4u); /* 0x26002A81: push -0xc */
   5235     ecx = esi; /* 0x26002A83: mov ecx, esi */
   5236     MEM32(ebp + (-0x4)) = 0xFFFFFFF4u; /* 0x26002A85: mov dword ptr [ebp - 4], 0xfffffff4 */
   5237     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002A8C: call dword ptr [eax + 0x70] */
   5238     RECOMP_FLAGS_IN();
   5239     eax = MEM32(ebp + (-0x4)); /* 0x26002A8F: mov eax, dword ptr [ebp - 4] */
   5240     edi = POP32_VAL(esp); /* 0x26002A92: pop edi */
   5241     MEM32(esi + 0x4) = eax; /* 0x26002A93: mov dword ptr [esi + 4], eax */
   5242     esi = POP32_VAL(esp); /* 0x26002A96: pop esi */
   5243     ebx = POP32_VAL(esp); /* 0x26002A97: pop ebx */
   5244     esp = ebp; /* 0x26002A98: mov esp, ebp */
   5245     ebp = POP32_VAL(esp); /* 0x26002A9A: pop ebp */
   5246     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26002A9B: ret 0xc */
   5247 L_26002A9E:
   5248     edx = MEM32(esi); /* 0x26002A9E: mov edx, dword ptr [esi] */
   5249     PUSH32(esp, 0); /* 0x26002AA0: push 0 */
   5250     PUSH32(esp, ebx); /* 0x26002AA2: push ebx */
   5251     ecx = esi; /* 0x26002AA3: mov ecx, esi */
   5252     RECOMP_ICALL(MEM32(edx + 0x40)); /* 0x26002AA5: call dword ptr [edx + 0x40] */
   5253     RECOMP_FLAGS_IN();
   5254     eax = MEM32(esi); /* 0x26002AA8: mov eax, dword ptr [esi] */
   5255     PUSH32(esp, 0xFFFFFFFAu); /* 0x26002AAA: push -6 */
   5256     ecx = esi; /* 0x26002AAC: mov ecx, esi */
   5257     MEM32(ebp + (-0x4)) = 0xFFFFFFFAu; /* 0x26002AAE: mov dword ptr [ebp - 4], 0xfffffffa */
   5258     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002AB5: call dword ptr [eax + 0x70] */
   5259     RECOMP_FLAGS_IN();
   5260     eax = MEM32(ebp + (-0x4)); /* 0x26002AB8: mov eax, dword ptr [ebp - 4] */
   5261     edi = POP32_VAL(esp); /* 0x26002ABB: pop edi */
   5262     MEM32(esi + 0x4) = eax; /* 0x26002ABC: mov dword ptr [esi + 4], eax */
   5263     esi = POP32_VAL(esp); /* 0x26002ABF: pop esi */
   5264     ebx = POP32_VAL(esp); /* 0x26002AC0: pop ebx */
   5265     esp = ebp; /* 0x26002AC1: mov esp, ebp */
   5266     ebp = POP32_VAL(esp); /* 0x26002AC3: pop ebp */
   5267     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26002AC4: ret 0xc */
   5268 L_26002AC7:
   5269     ecx = MEM32(ebp + 0x8); /* 0x26002AC7: mov ecx, dword ptr [ebp + 8] */
   5270     eax = MEM32(ebp + (-0x4)); /* 0x26002ACA: mov eax, dword ptr [ebp - 4] */
   5271     MEM8(edi + ecx) = (uint8_t)(0); /* 0x26002ACD: mov byte ptr [edi + ecx], 0 */
   5272     MEM32(esi + 0x4) = eax; /* 0x26002AD1: mov dword ptr [esi + 4], eax */
   5273     edi = POP32_VAL(esp); /* 0x26002AD4: pop edi */
   5274     esi = POP32_VAL(esp); /* 0x26002AD5: pop esi */
   5275     ebx = POP32_VAL(esp); /* 0x26002AD6: pop ebx */
   5276     esp = ebp; /* 0x26002AD7: mov esp, ebp */
   5277     ebp = POP32_VAL(esp); /* 0x26002AD9: pop ebp */
   5278     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26002ADA: ret 0xc */
   5279 L_26002ADD:
   5280     edx = MEM32(esi); /* 0x26002ADD: mov edx, dword ptr [esi] */
   5281     PUSH32(esp, 0xFFFFFFFCu); /* 0x26002ADF: push -4 */
   5282     ecx = esi; /* 0x26002AE1: mov ecx, esi */
   5283     MEM32(ebp + (-0x4)) = 0xFFFFFFFCu; /* 0x26002AE3: mov dword ptr [ebp - 4], 0xfffffffc */
   5284     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002AEA: call dword ptr [edx + 0x70] */
   5285     RECOMP_FLAGS_IN();
   5286     eax = MEM32(ebp + (-0x4)); /* 0x26002AED: mov eax, dword ptr [ebp - 4] */
   5287     edi = POP32_VAL(esp); /* 0x26002AF0: pop edi */
   5288     MEM32(esi + 0x4) = eax; /* 0x26002AF1: mov dword ptr [esi + 4], eax */
   5289     esi = POP32_VAL(esp); /* 0x26002AF4: pop esi */
   5290     ebx = POP32_VAL(esp); /* 0x26002AF5: pop ebx */
   5291     esp = ebp; /* 0x26002AF6: mov esp, ebp */
   5292     ebp = POP32_VAL(esp); /* 0x26002AF8: pop ebp */
   5293     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26002AF9: ret 0xc */
   5294     RECOMP_REGS_OUT();
   5295 }
   5296 
   5297 void sub_26002B00(void) {
   5298     int _fpu_cmp = 0;
   5299     uint32_t _cf = 0;
   5300     int _df = 1;
   5301     uint32_t _flag_k = FK_NONE;
   5302     uint32_t _flag_a = 0, _flag_b = 0;
   5303     uint32_t _itail_tgt = 0;
   5304     RECOMP_REGS_LOCALS
   5305     RECOMP_ENTER(0x26002B00u);
   5306 
   5307 L_26002B00:
   5308     PUSH32(esp, ebx); /* 0x26002B00: push ebx */
   5309     PUSH32(esp, esi); /* 0x26002B01: push esi */
   5310     esi = ecx; /* 0x26002B02: mov esi, ecx */
   5311     PUSH32(esp, edi); /* 0x26002B04: push edi */
   5312     eax = MEM32(esi + 0xC); /* 0x26002B05: mov eax, dword ptr [esi + 0xc] */
   5313     /* test eax, eax */ /* 0x26002B08: test eax, eax */
   5314     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5315     _cf = 0;
   5316     _flag_k = FK_TEST;
   5317     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002B1D; /* 0x26002B0A: jne 0x26002b1d */
   5318 L_26002B0C:
   5319     eax = MEM32(esi); /* 0x26002B0C: mov eax, dword ptr [esi] */
   5320     edi = 0xFFFFFFFDu; /* 0x26002B0E: mov edi, 0xfffffffd */
   5321     PUSH32(esp, edi); /* 0x26002B13: push edi */
   5322     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002B14: call dword ptr [eax + 0x70] */
   5323     RECOMP_FLAGS_IN();
   5324     eax = edi; /* 0x26002B17: mov eax, edi */
   5325     edi = POP32_VAL(esp); /* 0x26002B19: pop edi */
   5326     esi = POP32_VAL(esp); /* 0x26002B1A: pop esi */
   5327     ebx = POP32_VAL(esp); /* 0x26002B1B: pop ebx */
   5328     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002B1C: ret  */
   5329 L_26002B1D:
   5330     ebx = MEM32(0x26004054); /* 0x26002B1D: mov ebx, dword ptr [0x26004054] */
   5331     PUSH32(esp, eax); /* 0x26002B23: push eax */
   5332     RECOMP_ICALL(ebx); /* 0x26002B24: call ebx */
   5333     RECOMP_FLAGS_IN();
   5334     edi = eax; /* 0x26002B26: mov edi, eax */
   5335     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5336     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5337     esp = esp + 4; /* 0x26002B28: add esp, 4 */
   5338     _flag_k = FK_ADD;
   5339     /* test edi, edi */ /* 0x26002B2B: test edi, edi */
   5340     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5341     _cf = 0;
   5342     _flag_k = FK_TEST;
   5343     if (TEST_NS(_flag_a, _flag_b)) goto L_26002B41; /* 0x26002B2D: jge 0x26002b41 */
   5344 L_26002B2F:
   5345     edx = MEM32(esi); /* 0x26002B2F: mov edx, dword ptr [esi] */
   5346     PUSH32(esp, 0xFFFFFFFFu); /* 0x26002B31: push -1 */
   5347     ecx = esi; /* 0x26002B33: mov ecx, esi */
   5348     _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu));
   5349     edi = edi | 0xFFFFFFFFu; /* 0x26002B35: or edi, 0xffffffff */
   5350     _cf = 0;
   5351     _flag_k = FK_TEST;
   5352     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002B38: call dword ptr [edx + 0x70] */
   5353     RECOMP_FLAGS_IN();
   5354     eax = edi; /* 0x26002B3B: mov eax, edi */
   5355     edi = POP32_VAL(esp); /* 0x26002B3D: pop edi */
   5356     esi = POP32_VAL(esp); /* 0x26002B3E: pop esi */
   5357     ebx = POP32_VAL(esp); /* 0x26002B3F: pop ebx */
   5358     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002B40: ret  */
   5359 L_26002B41:
   5360     eax = MEM32(esi + 0xC); /* 0x26002B41: mov eax, dword ptr [esi + 0xc] */
   5361     PUSH32(esp, 2); /* 0x26002B44: push 2 */
   5362     PUSH32(esp, 0); /* 0x26002B46: push 0 */
   5363     PUSH32(esp, eax); /* 0x26002B48: push eax */
   5364     RECOMP_ICALL(MEM32(0x26004058)); /* 0x26002B49: call dword ptr [0x26004058] */
   5365     RECOMP_FLAGS_IN();
   5366     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5367     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5368     esp = esp + 0xCu; /* 0x26002B4F: add esp, 0xc */
   5369     _flag_k = FK_ADD;
   5370     /* test eax, eax */ /* 0x26002B52: test eax, eax */
   5371     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5372     _cf = 0;
   5373     _flag_k = FK_TEST;
   5374     if (TEST_Z(_flag_a, _flag_b)) goto L_26002B69; /* 0x26002B54: je 0x26002b69 */
   5375 L_26002B56:
   5376     edx = MEM32(esi); /* 0x26002B56: mov edx, dword ptr [esi] */
   5377     edi = 0xFFFFFFF8u; /* 0x26002B58: mov edi, 0xfffffff8 */
   5378     PUSH32(esp, edi); /* 0x26002B5D: push edi */
   5379     ecx = esi; /* 0x26002B5E: mov ecx, esi */
   5380     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002B60: call dword ptr [edx + 0x70] */
   5381     RECOMP_FLAGS_IN();
   5382     eax = edi; /* 0x26002B63: mov eax, edi */
   5383     edi = POP32_VAL(esp); /* 0x26002B65: pop edi */
   5384     esi = POP32_VAL(esp); /* 0x26002B66: pop esi */
   5385     ebx = POP32_VAL(esp); /* 0x26002B67: pop ebx */
   5386     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002B68: ret  */
   5387 L_26002B69:
   5388     eax = MEM32(esi + 0xC); /* 0x26002B69: mov eax, dword ptr [esi + 0xc] */
   5389     PUSH32(esp, eax); /* 0x26002B6C: push eax */
   5390     RECOMP_ICALL(ebx); /* 0x26002B6D: call ebx */
   5391     RECOMP_FLAGS_IN();
   5392     ebx = eax; /* 0x26002B6F: mov ebx, eax */
   5393     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5394     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5395     esp = esp + 4; /* 0x26002B71: add esp, 4 */
   5396     _flag_k = FK_ADD;
   5397     /* test ebx, ebx */ /* 0x26002B74: test ebx, ebx */
   5398     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   5399     _cf = 0;
   5400     _flag_k = FK_TEST;
   5401     RECOMP_BACKEDGE();
   5402     if (TEST_S(_flag_a, _flag_b)) goto L_26002B56; /* 0x26002B76: jl 0x26002b56 */
   5403 L_26002B78:
   5404     eax = MEM32(esi + 0xC); /* 0x26002B78: mov eax, dword ptr [esi + 0xc] */
   5405     PUSH32(esp, 0); /* 0x26002B7B: push 0 */
   5406     PUSH32(esp, edi); /* 0x26002B7D: push edi */
   5407     PUSH32(esp, eax); /* 0x26002B7E: push eax */
   5408     RECOMP_ICALL(MEM32(0x26004058)); /* 0x26002B7F: call dword ptr [0x26004058] */
   5409     RECOMP_FLAGS_IN();
   5410     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   5411     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5412     esp = esp + 0xCu; /* 0x26002B85: add esp, 0xc */
   5413     _flag_k = FK_ADD;
   5414     /* test eax, eax */ /* 0x26002B88: test eax, eax */
   5415     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5416     _cf = 0;
   5417     _flag_k = FK_TEST;
   5418     if (TEST_Z(_flag_a, _flag_b)) goto L_26002B9E; /* 0x26002B8A: je 0x26002b9e */
   5419 L_26002B8C:
   5420     edx = MEM32(esi); /* 0x26002B8C: mov edx, dword ptr [esi] */
   5421     PUSH32(esp, 0xFFFFFFF8u); /* 0x26002B8E: push -8 */
   5422     ecx = esi; /* 0x26002B90: mov ecx, esi */
   5423     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002B92: call dword ptr [edx + 0x70] */
   5424     RECOMP_FLAGS_IN();
   5425     edi = POP32_VAL(esp); /* 0x26002B95: pop edi */
   5426     esi = POP32_VAL(esp); /* 0x26002B96: pop esi */
   5427     eax = 0xFFFFFFF8u; /* 0x26002B97: mov eax, 0xfffffff8 */
   5428     ebx = POP32_VAL(esp); /* 0x26002B9C: pop ebx */
   5429     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002B9D: ret  */
   5430 L_26002B9E:
   5431     edi = POP32_VAL(esp); /* 0x26002B9E: pop edi */
   5432     eax = ebx; /* 0x26002B9F: mov eax, ebx */
   5433     esi = POP32_VAL(esp); /* 0x26002BA1: pop esi */
   5434     ebx = POP32_VAL(esp); /* 0x26002BA2: pop ebx */
   5435     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26002BA3: ret  */
   5436     RECOMP_REGS_OUT();
   5437 }
   5438 
   5439 void sub_26002BB0(void) {
   5440     int _fpu_cmp = 0;
   5441     uint32_t _cf = 0;
   5442     int _df = 1;
   5443     uint32_t _flag_k = FK_NONE;
   5444     uint32_t _flag_a = 0, _flag_b = 0;
   5445     uint32_t _itail_tgt = 0;
   5446     RECOMP_REGS_LOCALS
   5447     RECOMP_ENTER(0x26002BB0u);
   5448 
   5449 L_26002BB0:
   5450     PUSH32(esp, ebp); /* 0x26002BB0: push ebp */
   5451     ebp = esp; /* 0x26002BB1: mov ebp, esp */
   5452     PUSH32(esp, ebx); /* 0x26002BB3: push ebx */
   5453     ebx = MEM32(ebp + 0xC); /* 0x26002BB4: mov ebx, dword ptr [ebp + 0xc] */
   5454     PUSH32(esp, esi); /* 0x26002BB7: push esi */
   5455     PUSH32(esp, edi); /* 0x26002BB8: push edi */
   5456     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5457     edi = 0; /* 0x26002BB9: xor edi, edi */
   5458     _cf = 0;
   5459     _flag_k = FK_TEST;
   5460     esi = ecx; /* 0x26002BBB: mov esi, ecx */
   5461     /* test ebx, ebx */ /* 0x26002BBD: test ebx, ebx */
   5462     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   5463     _cf = 0;
   5464     _flag_k = FK_TEST;
   5465     if (TEST_Z(_flag_a, _flag_b)) goto L_26002C01; /* 0x26002BBF: je 0x26002c01 */
   5466 L_26002BC1:
   5467     eax = MEM32(esi + 0xC); /* 0x26002BC1: mov eax, dword ptr [esi + 0xc] */
   5468     /* test eax, eax */ /* 0x26002BC4: test eax, eax */
   5469     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5470     _cf = 0;
   5471     _flag_k = FK_TEST;
   5472     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002BDF; /* 0x26002BC6: jne 0x26002bdf */
   5473 L_26002BC8:
   5474     eax = MEM32(esi); /* 0x26002BC8: mov eax, dword ptr [esi] */
   5475     edi = 0xFFFFFFFDu; /* 0x26002BCA: mov edi, 0xfffffffd */
   5476     PUSH32(esp, edi); /* 0x26002BCF: push edi */
   5477     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002BD0: call dword ptr [eax + 0x70] */
   5478     RECOMP_FLAGS_IN();
   5479     MEM32(esi + 0x4) = edi; /* 0x26002BD3: mov dword ptr [esi + 4], edi */
   5480     eax = edi; /* 0x26002BD6: mov eax, edi */
   5481     edi = POP32_VAL(esp); /* 0x26002BD8: pop edi */
   5482     esi = POP32_VAL(esp); /* 0x26002BD9: pop esi */
   5483     ebx = POP32_VAL(esp); /* 0x26002BDA: pop ebx */
   5484     ebp = POP32_VAL(esp); /* 0x26002BDB: pop ebp */
   5485     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002BDC: ret 8 */
   5486 L_26002BDF:
   5487     ecx = MEM32(ebp + 0x8); /* 0x26002BDF: mov ecx, dword ptr [ebp + 8] */
   5488     PUSH32(esp, eax); /* 0x26002BE2: push eax */
   5489     PUSH32(esp, ebx); /* 0x26002BE3: push ebx */
   5490     PUSH32(esp, 1); /* 0x26002BE4: push 1 */
   5491     PUSH32(esp, ecx); /* 0x26002BE6: push ecx */
   5492     RECOMP_ICALL(MEM32(0x26004064)); /* 0x26002BE7: call dword ptr [0x26004064] */
   5493     RECOMP_FLAGS_IN();
   5494     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5495     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5496     esp = esp + 0x10u; /* 0x26002BED: add esp, 0x10 */
   5497     _flag_k = FK_ADD;
   5498     /* cmp ebx, eax */ /* 0x26002BF0: cmp ebx, eax */
   5499     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax);
   5500     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5501     _flag_k = FK_CMP;
   5502     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002C01; /* 0x26002BF2: je 0x26002c01 */
   5503 L_26002BF4:
   5504     edx = MEM32(esi); /* 0x26002BF4: mov edx, dword ptr [esi] */
   5505     edi = 0xFFFFFFF9u; /* 0x26002BF6: mov edi, 0xfffffff9 */
   5506     PUSH32(esp, edi); /* 0x26002BFB: push edi */
   5507     ecx = esi; /* 0x26002BFC: mov ecx, esi */
   5508     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002BFE: call dword ptr [edx + 0x70] */
   5509     RECOMP_FLAGS_IN();
   5510 L_26002C01:
   5511     MEM32(esi + 0x4) = edi; /* 0x26002C01: mov dword ptr [esi + 4], edi */
   5512     eax = edi; /* 0x26002C04: mov eax, edi */
   5513     edi = POP32_VAL(esp); /* 0x26002C06: pop edi */
   5514     esi = POP32_VAL(esp); /* 0x26002C07: pop esi */
   5515     ebx = POP32_VAL(esp); /* 0x26002C08: pop ebx */
   5516     ebp = POP32_VAL(esp); /* 0x26002C09: pop ebp */
   5517     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002C0A: ret 8 */
   5518     RECOMP_REGS_OUT();
   5519 }
   5520 
   5521 void sub_26002C10(void) {
   5522     int _fpu_cmp = 0;
   5523     uint32_t _cf = 0;
   5524     int _df = 1;
   5525     uint32_t _flag_k = FK_NONE;
   5526     uint32_t _flag_a = 0, _flag_b = 0;
   5527     uint32_t _itail_tgt = 0;
   5528     RECOMP_REGS_LOCALS
   5529     RECOMP_ENTER(0x26002C10u);
   5530 
   5531 L_26002C10:
   5532     PUSH32(esp, ebp); /* 0x26002C10: push ebp */
   5533     ebp = esp; /* 0x26002C11: mov ebp, esp */
   5534     PUSH32(esp, esi); /* 0x26002C13: push esi */
   5535     esi = ecx; /* 0x26002C14: mov esi, ecx */
   5536     PUSH32(esp, edi); /* 0x26002C16: push edi */
   5537     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5538     edi = 0; /* 0x26002C17: xor edi, edi */
   5539     _cf = 0;
   5540     _flag_k = FK_TEST;
   5541     eax = MEM32(esi + 0xC); /* 0x26002C19: mov eax, dword ptr [esi + 0xc] */
   5542     /* test eax, eax */ /* 0x26002C1C: test eax, eax */
   5543     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5544     _cf = 0;
   5545     _flag_k = FK_TEST;
   5546     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002C36; /* 0x26002C1E: jne 0x26002c36 */
   5547 L_26002C20:
   5548     eax = MEM32(esi); /* 0x26002C20: mov eax, dword ptr [esi] */
   5549     edi = 0xFFFFFFFDu; /* 0x26002C22: mov edi, 0xfffffffd */
   5550     PUSH32(esp, edi); /* 0x26002C27: push edi */
   5551     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002C28: call dword ptr [eax + 0x70] */
   5552     RECOMP_FLAGS_IN();
   5553     MEM32(esi + 0x4) = edi; /* 0x26002C2B: mov dword ptr [esi + 4], edi */
   5554     eax = edi; /* 0x26002C2E: mov eax, edi */
   5555     edi = POP32_VAL(esp); /* 0x26002C30: pop edi */
   5556     esi = POP32_VAL(esp); /* 0x26002C31: pop esi */
   5557     ebp = POP32_VAL(esp); /* 0x26002C32: pop ebp */
   5558     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002C33: ret 4 */
   5559 L_26002C36:
   5560     ecx = (int32_t)(int8_t)MEM8(ebp + 0x8); /* 0x26002C36: movsx ecx, byte ptr [ebp + 8] */
   5561     PUSH32(esp, eax); /* 0x26002C3A: push eax */
   5562     PUSH32(esp, ecx); /* 0x26002C3B: push ecx */
   5563     RECOMP_ICALL(MEM32(0x26004068)); /* 0x26002C3C: call dword ptr [0x26004068] */
   5564     RECOMP_FLAGS_IN();
   5565     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5566     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5567     esp = esp + 8; /* 0x26002C42: add esp, 8 */
   5568     _flag_k = FK_ADD;
   5569     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002C45: cmp eax, -1 */
   5570     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5571     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5572     _flag_k = FK_CMP;
   5573     if (CMP_NE(_flag_a, _flag_b)) goto L_26002C57; /* 0x26002C48: jne 0x26002c57 */
   5574 L_26002C4A:
   5575     edx = MEM32(esi); /* 0x26002C4A: mov edx, dword ptr [esi] */
   5576     edi = 0xFFFFFFF9u; /* 0x26002C4C: mov edi, 0xfffffff9 */
   5577     PUSH32(esp, edi); /* 0x26002C51: push edi */
   5578     ecx = esi; /* 0x26002C52: mov ecx, esi */
   5579     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002C54: call dword ptr [edx + 0x70] */
   5580     RECOMP_FLAGS_IN();
   5581 L_26002C57:
   5582     MEM32(esi + 0x4) = edi; /* 0x26002C57: mov dword ptr [esi + 4], edi */
   5583     eax = edi; /* 0x26002C5A: mov eax, edi */
   5584     edi = POP32_VAL(esp); /* 0x26002C5C: pop edi */
   5585     esi = POP32_VAL(esp); /* 0x26002C5D: pop esi */
   5586     ebp = POP32_VAL(esp); /* 0x26002C5E: pop ebp */
   5587     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002C5F: ret 4 */
   5588     RECOMP_REGS_OUT();
   5589 }
   5590 
   5591 void sub_26002C70(void) {
   5592     int _fpu_cmp = 0;
   5593     uint32_t _cf = 0;
   5594     int _df = 1;
   5595     uint32_t _flag_k = FK_NONE;
   5596     uint32_t _flag_a = 0, _flag_b = 0;
   5597     uint32_t _itail_tgt = 0;
   5598     RECOMP_REGS_LOCALS
   5599     RECOMP_ENTER(0x26002C70u);
   5600 
   5601 L_26002C70:
   5602     PUSH32(esp, ebp); /* 0x26002C70: push ebp */
   5603     ebp = esp; /* 0x26002C71: mov ebp, esp */
   5604     PUSH32(esp, ebx); /* 0x26002C73: push ebx */
   5605     PUSH32(esp, esi); /* 0x26002C74: push esi */
   5606     esi = ecx; /* 0x26002C75: mov esi, ecx */
   5607     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5608     ebx = 0; /* 0x26002C77: xor ebx, ebx */
   5609     _cf = 0;
   5610     _flag_k = FK_TEST;
   5611     PUSH32(esp, edi); /* 0x26002C79: push edi */
   5612     eax = MEM32(esi + 0xC); /* 0x26002C7A: mov eax, dword ptr [esi + 0xc] */
   5613     /* test eax, eax */ /* 0x26002C7D: test eax, eax */
   5614     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5615     _cf = 0;
   5616     _flag_k = FK_TEST;
   5617     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002C98; /* 0x26002C7F: jne 0x26002c98 */
   5618 L_26002C81:
   5619     eax = MEM32(esi); /* 0x26002C81: mov eax, dword ptr [esi] */
   5620     ebx = 0xFFFFFFFDu; /* 0x26002C83: mov ebx, 0xfffffffd */
   5621     PUSH32(esp, ebx); /* 0x26002C88: push ebx */
   5622     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002C89: call dword ptr [eax + 0x70] */
   5623     RECOMP_FLAGS_IN();
   5624     MEM32(esi + 0x4) = ebx; /* 0x26002C8C: mov dword ptr [esi + 4], ebx */
   5625     edi = POP32_VAL(esp); /* 0x26002C8F: pop edi */
   5626     eax = ebx; /* 0x26002C90: mov eax, ebx */
   5627     esi = POP32_VAL(esp); /* 0x26002C92: pop esi */
   5628     ebx = POP32_VAL(esp); /* 0x26002C93: pop ebx */
   5629     ebp = POP32_VAL(esp); /* 0x26002C94: pop ebp */
   5630     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002C95: ret 8 */
   5631 L_26002C98:
   5632     ecx = MEM32(ebp + 0xC); /* 0x26002C98: mov ecx, dword ptr [ebp + 0xc] */
   5633     /* test ecx, ecx */ /* 0x26002C9B: test ecx, ecx */
   5634     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5635     _cf = 0;
   5636     _flag_k = FK_TEST;
   5637     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002CEB; /* 0x26002C9D: jne 0x26002ceb */
   5638 L_26002C9F:
   5639     edi = (int32_t)(int16_t)MEM16(ebp + 0x8); /* 0x26002C9F: movsx edi, word ptr [ebp + 8] */
   5640     /* test edi, edi */ /* 0x26002CA3: test edi, edi */
   5641     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5642     _cf = 0;
   5643     _flag_k = FK_TEST;
   5644     if (TEST_NS(_flag_a, _flag_b)) goto L_26002CAD; /* 0x26002CA5: jge 0x26002cad */
   5645 L_26002CA7:
   5646     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x00010000u);
   5647     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5648     edi = edi + 0x00010000u; /* 0x26002CA7: add edi, 0x10000 */
   5649     _flag_k = FK_ADD;
   5650 L_26002CAD:
   5651     PUSH32(esp, eax); /* 0x26002CAD: push eax */
   5652     eax = edi; /* 0x26002CAE: mov eax, edi */
   5653     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x26002CB0: cdq  */
   5654     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFu);
   5655     edx = edx & 0xFFu; /* 0x26002CB1: and edx, 0xff */
   5656     _cf = 0;
   5657     _flag_k = FK_TEST;
   5658     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5659     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5660     eax = eax + edx; /* 0x26002CB7: add eax, edx */
   5661     _flag_k = FK_ADD;
   5662     if (8u) _cf = (((eax) >> 7) & 1u); /* 0x26002CB9: sar eax, 8 */
   5663     if (8u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 8u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5664     eax = (uint32_t)((int32_t)eax >> 8u);
   5665     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   5666     eax = eax & 0xFFu; /* 0x26002CBC: and eax, 0xff */
   5667     _cf = 0;
   5668     _flag_k = FK_TEST;
   5669     PUSH32(esp, eax); /* 0x26002CC1: push eax */
   5670     RECOMP_ICALL(MEM32(0x26004068)); /* 0x26002CC2: call dword ptr [0x26004068] */
   5671     RECOMP_FLAGS_IN();
   5672     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5673     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5674     esp = esp + 8; /* 0x26002CC8: add esp, 8 */
   5675     _flag_k = FK_ADD;
   5676     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002CCB: cmp eax, -1 */
   5677     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5678     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5679     _flag_k = FK_CMP;
   5680     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002D02; /* 0x26002CCE: je 0x26002d02 */
   5681 L_26002CD0:
   5682     eax = MEM32(esi + 0xC); /* 0x26002CD0: mov eax, dword ptr [esi + 0xc] */
   5683     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFu);
   5684     edi = edi & 0xFFu; /* 0x26002CD3: and edi, 0xff */
   5685     _cf = 0;
   5686     _flag_k = FK_TEST;
   5687     PUSH32(esp, eax); /* 0x26002CD9: push eax */
   5688     PUSH32(esp, edi); /* 0x26002CDA: push edi */
   5689     RECOMP_ICALL(MEM32(0x26004068)); /* 0x26002CDB: call dword ptr [0x26004068] */
   5690     RECOMP_FLAGS_IN();
   5691     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5693     esp = esp + 8; /* 0x26002CE1: add esp, 8 */
   5694     _flag_k = FK_ADD;
   5695     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002CE4: cmp eax, -1 */
   5696     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5697     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5698     _flag_k = FK_CMP;
   5699     if (CMP_NE(_flag_a, _flag_b)) goto L_26002D0F; /* 0x26002CE7: jne 0x26002d0f */
   5700 L_26002CE9:
   5701     goto L_26002D02; /* 0x26002CE9: jmp 0x26002d02 */
   5702 L_26002CEB:
   5703     PUSH32(esp, eax); /* 0x26002CEB: push eax */
   5704     PUSH32(esp, 1); /* 0x26002CEC: push 1 */
   5705     eax = ebp + 0x8; /* 0x26002CEE: lea eax, [ebp + 8] */
   5706     PUSH32(esp, 2); /* 0x26002CF1: push 2 */
   5707     PUSH32(esp, eax); /* 0x26002CF3: push eax */
   5708     RECOMP_ICALL(MEM32(0x26004064)); /* 0x26002CF4: call dword ptr [0x26004064] */
   5709     RECOMP_FLAGS_IN();
   5710     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5711     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5712     esp = esp + 0x10u; /* 0x26002CFA: add esp, 0x10 */
   5713     _flag_k = FK_ADD;
   5714     /* cmp eax, 1 */ /* 0x26002CFD: cmp eax, 1 */
   5715     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5716     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5717     _flag_k = FK_CMP;
   5718     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002D0F; /* 0x26002D00: je 0x26002d0f */
   5719 L_26002D02:
   5720     edx = MEM32(esi); /* 0x26002D02: mov edx, dword ptr [esi] */
   5721     ebx = 0xFFFFFFF9u; /* 0x26002D04: mov ebx, 0xfffffff9 */
   5722     PUSH32(esp, ebx); /* 0x26002D09: push ebx */
   5723     ecx = esi; /* 0x26002D0A: mov ecx, esi */
   5724     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002D0C: call dword ptr [edx + 0x70] */
   5725     RECOMP_FLAGS_IN();
   5726 L_26002D0F:
   5727     MEM32(esi + 0x4) = ebx; /* 0x26002D0F: mov dword ptr [esi + 4], ebx */
   5728     edi = POP32_VAL(esp); /* 0x26002D12: pop edi */
   5729     eax = ebx; /* 0x26002D13: mov eax, ebx */
   5730     esi = POP32_VAL(esp); /* 0x26002D15: pop esi */
   5731     ebx = POP32_VAL(esp); /* 0x26002D16: pop ebx */
   5732     ebp = POP32_VAL(esp); /* 0x26002D17: pop ebp */
   5733     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002D18: ret 8 */
   5734     RECOMP_REGS_OUT();
   5735 }
   5736 
   5737 void sub_26002D20(void) {
   5738     int _fpu_cmp = 0;
   5739     uint32_t _cf = 0;
   5740     int _df = 1;
   5741     uint32_t _flag_k = FK_NONE;
   5742     uint32_t _flag_a = 0, _flag_b = 0;
   5743     uint32_t _itail_tgt = 0;
   5744     RECOMP_REGS_LOCALS
   5745     RECOMP_ENTER(0x26002D20u);
   5746 
   5747 L_26002D20:
   5748     PUSH32(esp, ebp); /* 0x26002D20: push ebp */
   5749     ebp = esp; /* 0x26002D21: mov ebp, esp */
   5750     PUSH32(esp, ecx); /* 0x26002D23: push ecx */
   5751     PUSH32(esp, ebx); /* 0x26002D24: push ebx */
   5752     PUSH32(esp, esi); /* 0x26002D25: push esi */
   5753     esi = ecx; /* 0x26002D26: mov esi, ecx */
   5754     PUSH32(esp, edi); /* 0x26002D28: push edi */
   5755     MEM32(ebp + (-0x4)) = 0; /* 0x26002D29: mov dword ptr [ebp - 4], 0 */
   5756     ecx = MEM32(esi + 0xC); /* 0x26002D30: mov ecx, dword ptr [esi + 0xc] */
   5757     /* test ecx, ecx */ /* 0x26002D33: test ecx, ecx */
   5758     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   5759     _cf = 0;
   5760     _flag_k = FK_TEST;
   5761     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002D56; /* 0x26002D35: jne 0x26002d56 */
   5762 L_26002D37:
   5763     eax = MEM32(esi); /* 0x26002D37: mov eax, dword ptr [esi] */
   5764     PUSH32(esp, 0xFFFFFFFDu); /* 0x26002D39: push -3 */
   5765     ecx = esi; /* 0x26002D3B: mov ecx, esi */
   5766     MEM32(ebp + (-0x4)) = 0xFFFFFFFDu; /* 0x26002D3D: mov dword ptr [ebp - 4], 0xfffffffd */
   5767     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002D44: call dword ptr [eax + 0x70] */
   5768     RECOMP_FLAGS_IN();
   5769     eax = MEM32(ebp + (-0x4)); /* 0x26002D47: mov eax, dword ptr [ebp - 4] */
   5770     edi = POP32_VAL(esp); /* 0x26002D4A: pop edi */
   5771     MEM32(esi + 0x4) = eax; /* 0x26002D4B: mov dword ptr [esi + 4], eax */
   5772     esi = POP32_VAL(esp); /* 0x26002D4E: pop esi */
   5773     ebx = POP32_VAL(esp); /* 0x26002D4F: pop ebx */
   5774     esp = ebp; /* 0x26002D50: mov esp, ebp */
   5775     ebp = POP32_VAL(esp); /* 0x26002D52: pop ebp */
   5776     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002D53: ret 8 */
   5777 L_26002D56:
   5778     eax = MEM32(ebp + 0xC); /* 0x26002D56: mov eax, dword ptr [ebp + 0xc] */
   5779     /* test eax, eax */ /* 0x26002D59: test eax, eax */
   5780     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5781     _cf = 0;
   5782     _flag_k = FK_TEST;
   5783     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002DF5; /* 0x26002D5B: jne 0x26002df5 */
   5784 L_26002D61:
   5785     eax = MEM32(ebp + 0x8); /* 0x26002D61: mov eax, dword ptr [ebp + 8] */
   5786     /* test eax, eax */ /* 0x26002D64: test eax, eax */
   5787     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5788     _cf = 0;
   5789     _flag_k = FK_TEST;
   5790     edi = eax; /* 0x26002D66: mov edi, eax */
   5791     if (TEST_NS(_flag_a, _flag_b)) goto L_26002D6C; /* 0x26002D68: jge 0x26002d6c */
   5792 L_26002D6A:
   5793     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(edi);
   5794     _cf = (edi) != 0;
   5795     edi = (uint32_t)(-(int32_t)edi); /* 0x26002D6A: neg edi */
   5796     _flag_k = FK_CMP;
   5797 L_26002D6C:
   5798     /* test eax, eax */ /* 0x26002D6C: test eax, eax */
   5799     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5800     _cf = 0;
   5801     _flag_k = FK_TEST;
   5802     if (TEST_NS(_flag_a, _flag_b)) goto L_26002D75; /* 0x26002D6E: jge 0x26002d75 */
   5803 L_26002D70:
   5804     eax = ~eax; /* 0x26002D70: not eax */
   5805     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5806     eax = eax + 1; /* 0x26002D72: inc eax */
   5807     _flag_k = FK_INC;
   5808     edi = eax; /* 0x26002D73: mov edi, eax */
   5809 L_26002D75:
   5810     eax = edi; /* 0x26002D75: mov eax, edi */
   5811     ebx = MEM32(0x26004068); /* 0x26002D77: mov ebx, dword ptr [0x26004068] */
   5812     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x26002D7D: cdq  */
   5813     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x00FFFFFFu);
   5814     edx = edx & 0x00FFFFFFu; /* 0x26002D7E: and edx, 0xffffff */
   5815     _cf = 0;
   5816     _flag_k = FK_TEST;
   5817     PUSH32(esp, ecx); /* 0x26002D84: push ecx */
   5818     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5819     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5820     eax = eax + edx; /* 0x26002D85: add eax, edx */
   5821     _flag_k = FK_ADD;
   5822     if (24u) _cf = (((eax) >> 23) & 1u); /* 0x26002D87: sar eax, 0x18 */
   5823     if (24u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 24u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5824     eax = (uint32_t)((int32_t)eax >> 24u);
   5825     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   5826     eax = eax & 0xFFu; /* 0x26002D8A: and eax, 0xff */
   5827     _cf = 0;
   5828     _flag_k = FK_TEST;
   5829     PUSH32(esp, eax); /* 0x26002D8F: push eax */
   5830     RECOMP_ICALL(ebx); /* 0x26002D90: call ebx */
   5831     RECOMP_FLAGS_IN();
   5832     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5833     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5834     esp = esp + 8; /* 0x26002D92: add esp, 8 */
   5835     _flag_k = FK_ADD;
   5836     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002D95: cmp eax, -1 */
   5837     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5838     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5839     _flag_k = FK_CMP;
   5840     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002E0C; /* 0x26002D98: je 0x26002e0c */
   5841 L_26002D9A:
   5842     eax = MEM32(esi + 0xC); /* 0x26002D9A: mov eax, dword ptr [esi + 0xc] */
   5843     PUSH32(esp, eax); /* 0x26002D9D: push eax */
   5844     eax = edi; /* 0x26002D9E: mov eax, edi */
   5845     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x26002DA0: cdq  */
   5846     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFu);
   5847     edx = edx & 0xFFFFu; /* 0x26002DA1: and edx, 0xffff */
   5848     _cf = 0;
   5849     _flag_k = FK_TEST;
   5850     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5851     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5852     eax = eax + edx; /* 0x26002DA7: add eax, edx */
   5853     _flag_k = FK_ADD;
   5854     if (16u) _cf = (((eax) >> 15) & 1u); /* 0x26002DA9: sar eax, 0x10 */
   5855     if (16u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 16u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5856     eax = (uint32_t)((int32_t)eax >> 16u);
   5857     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   5858     eax = eax & 0xFFu; /* 0x26002DAC: and eax, 0xff */
   5859     _cf = 0;
   5860     _flag_k = FK_TEST;
   5861     PUSH32(esp, eax); /* 0x26002DB1: push eax */
   5862     RECOMP_ICALL(ebx); /* 0x26002DB2: call ebx */
   5863     RECOMP_FLAGS_IN();
   5864     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5865     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5866     esp = esp + 8; /* 0x26002DB4: add esp, 8 */
   5867     _flag_k = FK_ADD;
   5868     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002DB7: cmp eax, -1 */
   5869     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5870     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5871     _flag_k = FK_CMP;
   5872     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002E0C; /* 0x26002DBA: je 0x26002e0c */
   5873 L_26002DBC:
   5874     eax = MEM32(esi + 0xC); /* 0x26002DBC: mov eax, dword ptr [esi + 0xc] */
   5875     PUSH32(esp, eax); /* 0x26002DBF: push eax */
   5876     eax = edi; /* 0x26002DC0: mov eax, edi */
   5877     edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x26002DC2: cdq  */
   5878     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFu);
   5879     edx = edx & 0xFFu; /* 0x26002DC3: and edx, 0xff */
   5880     _cf = 0;
   5881     _flag_k = FK_TEST;
   5882     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx);
   5883     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5884     eax = eax + edx; /* 0x26002DC9: add eax, edx */
   5885     _flag_k = FK_ADD;
   5886     if (8u) _cf = (((eax) >> 7) & 1u); /* 0x26002DCB: sar eax, 8 */
   5887     if (8u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 8u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   5888     eax = (uint32_t)((int32_t)eax >> 8u);
   5889     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   5890     eax = eax & 0xFFu; /* 0x26002DCE: and eax, 0xff */
   5891     _cf = 0;
   5892     _flag_k = FK_TEST;
   5893     PUSH32(esp, eax); /* 0x26002DD3: push eax */
   5894     RECOMP_ICALL(ebx); /* 0x26002DD4: call ebx */
   5895     RECOMP_FLAGS_IN();
   5896     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5897     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5898     esp = esp + 8; /* 0x26002DD6: add esp, 8 */
   5899     _flag_k = FK_ADD;
   5900     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002DD9: cmp eax, -1 */
   5901     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5902     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5903     _flag_k = FK_CMP;
   5904     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002E0C; /* 0x26002DDC: je 0x26002e0c */
   5905 L_26002DDE:
   5906     eax = MEM32(esi + 0xC); /* 0x26002DDE: mov eax, dword ptr [esi + 0xc] */
   5907     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFu);
   5908     edi = edi & 0xFFu; /* 0x26002DE1: and edi, 0xff */
   5909     _cf = 0;
   5910     _flag_k = FK_TEST;
   5911     PUSH32(esp, eax); /* 0x26002DE7: push eax */
   5912     PUSH32(esp, edi); /* 0x26002DE8: push edi */
   5913     RECOMP_ICALL(ebx); /* 0x26002DE9: call ebx */
   5914     RECOMP_FLAGS_IN();
   5915     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5916     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5917     esp = esp + 8; /* 0x26002DEB: add esp, 8 */
   5918     _flag_k = FK_ADD;
   5919     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002DEE: cmp eax, -1 */
   5920     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   5921     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5922     _flag_k = FK_CMP;
   5923     if (CMP_NE(_flag_a, _flag_b)) goto L_26002E1C; /* 0x26002DF1: jne 0x26002e1c */
   5924 L_26002DF3:
   5925     goto L_26002E0C; /* 0x26002DF3: jmp 0x26002e0c */
   5926 L_26002DF5:
   5927     PUSH32(esp, ecx); /* 0x26002DF5: push ecx */
   5928     PUSH32(esp, 1); /* 0x26002DF6: push 1 */
   5929     eax = ebp + 0x8; /* 0x26002DF8: lea eax, [ebp + 8] */
   5930     PUSH32(esp, 4); /* 0x26002DFB: push 4 */
   5931     PUSH32(esp, eax); /* 0x26002DFD: push eax */
   5932     RECOMP_ICALL(MEM32(0x26004064)); /* 0x26002DFE: call dword ptr [0x26004064] */
   5933     RECOMP_FLAGS_IN();
   5934     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   5935     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5936     esp = esp + 0x10u; /* 0x26002E04: add esp, 0x10 */
   5937     _flag_k = FK_ADD;
   5938     /* cmp eax, 1 */ /* 0x26002E07: cmp eax, 1 */
   5939     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   5940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5941     _flag_k = FK_CMP;
   5942     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002E1C; /* 0x26002E0A: je 0x26002e1c */
   5943 L_26002E0C:
   5944     edx = MEM32(esi); /* 0x26002E0C: mov edx, dword ptr [esi] */
   5945     PUSH32(esp, 0xFFFFFFF9u); /* 0x26002E0E: push -7 */
   5946     ecx = esi; /* 0x26002E10: mov ecx, esi */
   5947     MEM32(ebp + (-0x4)) = 0xFFFFFFF9u; /* 0x26002E12: mov dword ptr [ebp - 4], 0xfffffff9 */
   5948     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002E19: call dword ptr [edx + 0x70] */
   5949     RECOMP_FLAGS_IN();
   5950 L_26002E1C:
   5951     eax = MEM32(ebp + (-0x4)); /* 0x26002E1C: mov eax, dword ptr [ebp - 4] */
   5952     edi = POP32_VAL(esp); /* 0x26002E1F: pop edi */
   5953     MEM32(esi + 0x4) = eax; /* 0x26002E20: mov dword ptr [esi + 4], eax */
   5954     esi = POP32_VAL(esp); /* 0x26002E23: pop esi */
   5955     ebx = POP32_VAL(esp); /* 0x26002E24: pop ebx */
   5956     esp = ebp; /* 0x26002E25: mov esp, ebp */
   5957     ebp = POP32_VAL(esp); /* 0x26002E27: pop ebp */
   5958     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002E28: ret 8 */
   5959     RECOMP_REGS_OUT();
   5960 }
   5961 
   5962 void sub_26002E30(void) {
   5963     int _fpu_cmp = 0;
   5964     uint32_t _cf = 0;
   5965     int _df = 1;
   5966     uint32_t _flag_k = FK_NONE;
   5967     uint32_t _flag_a = 0, _flag_b = 0;
   5968     uint32_t _itail_tgt = 0;
   5969     RECOMP_REGS_LOCALS
   5970     RECOMP_ENTER(0x26002E30u);
   5971 
   5972 L_26002E30:
   5973     PUSH32(esp, ebp); /* 0x26002E30: push ebp */
   5974     ebp = esp; /* 0x26002E31: mov ebp, esp */
   5975     PUSH32(esp, esi); /* 0x26002E33: push esi */
   5976     esi = ecx; /* 0x26002E34: mov esi, ecx */
   5977     PUSH32(esp, edi); /* 0x26002E36: push edi */
   5978     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   5979     edi = 0; /* 0x26002E37: xor edi, edi */
   5980     _cf = 0;
   5981     _flag_k = FK_TEST;
   5982     eax = MEM32(esi + 0xC); /* 0x26002E39: mov eax, dword ptr [esi + 0xc] */
   5983     /* test eax, eax */ /* 0x26002E3C: test eax, eax */
   5984     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5985     _cf = 0;
   5986     _flag_k = FK_TEST;
   5987     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002E56; /* 0x26002E3E: jne 0x26002e56 */
   5988 L_26002E40:
   5989     eax = MEM32(esi); /* 0x26002E40: mov eax, dword ptr [esi] */
   5990     edi = 0xFFFFFFFDu; /* 0x26002E42: mov edi, 0xfffffffd */
   5991     PUSH32(esp, edi); /* 0x26002E47: push edi */
   5992     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002E48: call dword ptr [eax + 0x70] */
   5993     RECOMP_FLAGS_IN();
   5994     MEM32(esi + 0x4) = edi; /* 0x26002E4B: mov dword ptr [esi + 4], edi */
   5995     eax = edi; /* 0x26002E4E: mov eax, edi */
   5996     edi = POP32_VAL(esp); /* 0x26002E50: pop edi */
   5997     esi = POP32_VAL(esp); /* 0x26002E51: pop esi */
   5998     ebp = POP32_VAL(esp); /* 0x26002E52: pop ebp */
   5999     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002E53: ret 4 */
   6000 L_26002E56:
   6001     ecx = MEM32(ebp + 0x8); /* 0x26002E56: mov ecx, dword ptr [ebp + 8] */
   6002     PUSH32(esp, eax); /* 0x26002E59: push eax */
   6003     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFu);
   6004     ecx = ecx & 0xFFu; /* 0x26002E5A: and ecx, 0xff */
   6005     _cf = 0;
   6006     _flag_k = FK_TEST;
   6007     PUSH32(esp, ecx); /* 0x26002E60: push ecx */
   6008     RECOMP_ICALL(MEM32(0x26004068)); /* 0x26002E61: call dword ptr [0x26004068] */
   6009     RECOMP_FLAGS_IN();
   6010     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6011     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6012     esp = esp + 8; /* 0x26002E67: add esp, 8 */
   6013     _flag_k = FK_ADD;
   6014     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002E6A: cmp eax, -1 */
   6015     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6016     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6017     _flag_k = FK_CMP;
   6018     if (CMP_NE(_flag_a, _flag_b)) goto L_26002E7C; /* 0x26002E6D: jne 0x26002e7c */
   6019 L_26002E6F:
   6020     edx = MEM32(esi); /* 0x26002E6F: mov edx, dword ptr [esi] */
   6021     edi = 0xFFFFFFF9u; /* 0x26002E71: mov edi, 0xfffffff9 */
   6022     PUSH32(esp, edi); /* 0x26002E76: push edi */
   6023     ecx = esi; /* 0x26002E77: mov ecx, esi */
   6024     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002E79: call dword ptr [edx + 0x70] */
   6025     RECOMP_FLAGS_IN();
   6026 L_26002E7C:
   6027     MEM32(esi + 0x4) = edi; /* 0x26002E7C: mov dword ptr [esi + 4], edi */
   6028     eax = edi; /* 0x26002E7F: mov eax, edi */
   6029     edi = POP32_VAL(esp); /* 0x26002E81: pop edi */
   6030     esi = POP32_VAL(esp); /* 0x26002E82: pop esi */
   6031     ebp = POP32_VAL(esp); /* 0x26002E83: pop ebp */
   6032     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x26002E84: ret 4 */
   6033     RECOMP_REGS_OUT();
   6034 }
   6035 
   6036 void sub_26002E90(void) {
   6037     int _fpu_cmp = 0;
   6038     uint32_t _cf = 0;
   6039     int _df = 1;
   6040     uint32_t _flag_k = FK_NONE;
   6041     uint32_t _flag_a = 0, _flag_b = 0;
   6042     uint32_t _itail_tgt = 0;
   6043     RECOMP_REGS_LOCALS
   6044     RECOMP_ENTER(0x26002E90u);
   6045 
   6046 L_26002E90:
   6047     PUSH32(esp, ebp); /* 0x26002E90: push ebp */
   6048     ebp = esp; /* 0x26002E91: mov ebp, esp */
   6049     PUSH32(esp, ebx); /* 0x26002E93: push ebx */
   6050     PUSH32(esp, esi); /* 0x26002E94: push esi */
   6051     esi = ecx; /* 0x26002E95: mov esi, ecx */
   6052     PUSH32(esp, edi); /* 0x26002E97: push edi */
   6053     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6054     edi = 0; /* 0x26002E98: xor edi, edi */
   6055     _cf = 0;
   6056     _flag_k = FK_TEST;
   6057     edx = MEM32(esi + 0xC); /* 0x26002E9A: mov edx, dword ptr [esi + 0xc] */
   6058     /* test edx, edx */ /* 0x26002E9D: test edx, edx */
   6059     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   6060     _cf = 0;
   6061     _flag_k = FK_TEST;
   6062     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002EB8; /* 0x26002E9F: jne 0x26002eb8 */
   6063 L_26002EA1:
   6064     eax = MEM32(esi); /* 0x26002EA1: mov eax, dword ptr [esi] */
   6065     edi = 0xFFFFFFFDu; /* 0x26002EA3: mov edi, 0xfffffffd */
   6066     PUSH32(esp, edi); /* 0x26002EA8: push edi */
   6067     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002EA9: call dword ptr [eax + 0x70] */
   6068     RECOMP_FLAGS_IN();
   6069     MEM32(esi + 0x4) = edi; /* 0x26002EAC: mov dword ptr [esi + 4], edi */
   6070     eax = edi; /* 0x26002EAF: mov eax, edi */
   6071     edi = POP32_VAL(esp); /* 0x26002EB1: pop edi */
   6072     esi = POP32_VAL(esp); /* 0x26002EB2: pop esi */
   6073     ebx = POP32_VAL(esp); /* 0x26002EB3: pop ebx */
   6074     ebp = POP32_VAL(esp); /* 0x26002EB4: pop ebp */
   6075     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002EB5: ret 8 */
   6076 L_26002EB8:
   6077     eax = MEM32(ebp + 0xC); /* 0x26002EB8: mov eax, dword ptr [ebp + 0xc] */
   6078     /* test eax, eax */ /* 0x26002EBB: test eax, eax */
   6079     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6080     _cf = 0;
   6081     _flag_k = FK_TEST;
   6082     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002EF8; /* 0x26002EBD: jne 0x26002ef8 */
   6083 L_26002EBF:
   6084     eax = MEM32(ebp + 0x8); /* 0x26002EBF: mov eax, dword ptr [ebp + 8] */
   6085     PUSH32(esp, edx); /* 0x26002EC2: push edx */
   6086     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFu);
   6087     eax = eax & 0xFFFFu; /* 0x26002EC3: and eax, 0xffff */
   6088     _cf = 0;
   6089     _flag_k = FK_TEST;
   6090     ecx = eax; /* 0x26002EC8: mov ecx, eax */
   6091     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   6092     eax = eax & 0xFFu; /* 0x26002ECA: and eax, 0xff */
   6093     _cf = 0;
   6094     _flag_k = FK_TEST;
   6095     if (8u) _cf = (((ecx) >> 7) & 1u); /* 0x26002ECF: shr ecx, 8 */
   6096     if (8u) { _flag_a = recomp_flags_pack((ecx >> 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   6097     ecx = ecx >> 8u; /* 0x26002ECF: shr ecx, 8 */
   6098     PUSH32(esp, ecx); /* 0x26002ED2: push ecx */
   6099     ebx = eax; /* 0x26002ED3: mov ebx, eax */
   6100     RECOMP_ICALL(MEM32(0x26004068)); /* 0x26002ED5: call dword ptr [0x26004068] */
   6101     RECOMP_FLAGS_IN();
   6102     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6103     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6104     esp = esp + 8; /* 0x26002EDB: add esp, 8 */
   6105     _flag_k = FK_ADD;
   6106     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002EDE: cmp eax, -1 */
   6107     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6108     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6109     _flag_k = FK_CMP;
   6110     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002F0F; /* 0x26002EE1: je 0x26002f0f */
   6111 L_26002EE3:
   6112     eax = MEM32(esi + 0xC); /* 0x26002EE3: mov eax, dword ptr [esi + 0xc] */
   6113     PUSH32(esp, eax); /* 0x26002EE6: push eax */
   6114     PUSH32(esp, ebx); /* 0x26002EE7: push ebx */
   6115     RECOMP_ICALL(MEM32(0x26004068)); /* 0x26002EE8: call dword ptr [0x26004068] */
   6116     RECOMP_FLAGS_IN();
   6117     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6118     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6119     esp = esp + 8; /* 0x26002EEE: add esp, 8 */
   6120     _flag_k = FK_ADD;
   6121     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002EF1: cmp eax, -1 */
   6122     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6123     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6124     _flag_k = FK_CMP;
   6125     if (CMP_NE(_flag_a, _flag_b)) goto L_26002F1C; /* 0x26002EF4: jne 0x26002f1c */
   6126 L_26002EF6:
   6127     goto L_26002F0F; /* 0x26002EF6: jmp 0x26002f0f */
   6128 L_26002EF8:
   6129     PUSH32(esp, edx); /* 0x26002EF8: push edx */
   6130     PUSH32(esp, 1); /* 0x26002EF9: push 1 */
   6131     eax = ebp + 0x8; /* 0x26002EFB: lea eax, [ebp + 8] */
   6132     PUSH32(esp, 2); /* 0x26002EFE: push 2 */
   6133     PUSH32(esp, eax); /* 0x26002F00: push eax */
   6134     RECOMP_ICALL(MEM32(0x26004064)); /* 0x26002F01: call dword ptr [0x26004064] */
   6135     RECOMP_FLAGS_IN();
   6136     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6137     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6138     esp = esp + 0x10u; /* 0x26002F07: add esp, 0x10 */
   6139     _flag_k = FK_ADD;
   6140     /* cmp eax, 1 */ /* 0x26002F0A: cmp eax, 1 */
   6141     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6142     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6143     _flag_k = FK_CMP;
   6144     if (CMP_EQ(_flag_a, _flag_b)) goto L_26002F1C; /* 0x26002F0D: je 0x26002f1c */
   6145 L_26002F0F:
   6146     edx = MEM32(esi); /* 0x26002F0F: mov edx, dword ptr [esi] */
   6147     edi = 0xFFFFFFF9u; /* 0x26002F11: mov edi, 0xfffffff9 */
   6148     PUSH32(esp, edi); /* 0x26002F16: push edi */
   6149     ecx = esi; /* 0x26002F17: mov ecx, esi */
   6150     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x26002F19: call dword ptr [edx + 0x70] */
   6151     RECOMP_FLAGS_IN();
   6152 L_26002F1C:
   6153     MEM32(esi + 0x4) = edi; /* 0x26002F1C: mov dword ptr [esi + 4], edi */
   6154     eax = edi; /* 0x26002F1F: mov eax, edi */
   6155     edi = POP32_VAL(esp); /* 0x26002F21: pop edi */
   6156     esi = POP32_VAL(esp); /* 0x26002F22: pop esi */
   6157     ebx = POP32_VAL(esp); /* 0x26002F23: pop ebx */
   6158     ebp = POP32_VAL(esp); /* 0x26002F24: pop ebp */
   6159     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002F25: ret 8 */
   6160     RECOMP_REGS_OUT();
   6161 }
   6162 
   6163 void sub_26002F30(void) {
   6164     int _fpu_cmp = 0;
   6165     uint32_t _cf = 0;
   6166     int _df = 1;
   6167     uint32_t _flag_k = FK_NONE;
   6168     uint32_t _flag_a = 0, _flag_b = 0;
   6169     uint32_t _itail_tgt = 0;
   6170     RECOMP_REGS_LOCALS
   6171     RECOMP_ENTER(0x26002F30u);
   6172 
   6173 L_26002F30:
   6174     PUSH32(esp, ebp); /* 0x26002F30: push ebp */
   6175     ebp = esp; /* 0x26002F31: mov ebp, esp */
   6176     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6177     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6178     esp = esp - 8; /* 0x26002F33: sub esp, 8 */
   6179     _flag_k = FK_CMP;
   6180     PUSH32(esp, ebx); /* 0x26002F36: push ebx */
   6181     PUSH32(esp, esi); /* 0x26002F37: push esi */
   6182     esi = ecx; /* 0x26002F38: mov esi, ecx */
   6183     PUSH32(esp, edi); /* 0x26002F3A: push edi */
   6184     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6185     ebx = 0; /* 0x26002F3B: xor ebx, ebx */
   6186     _cf = 0;
   6187     _flag_k = FK_TEST;
   6188     edi = MEM32(esi + 0xC); /* 0x26002F3D: mov edi, dword ptr [esi + 0xc] */
   6189     /* test edi, edi */ /* 0x26002F40: test edi, edi */
   6190     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   6191     _cf = 0;
   6192     _flag_k = FK_TEST;
   6193     if (TEST_NZ(_flag_a, _flag_b)) goto L_26002F5D; /* 0x26002F42: jne 0x26002f5d */
   6194 L_26002F44:
   6195     eax = MEM32(esi); /* 0x26002F44: mov eax, dword ptr [esi] */
   6196     ebx = 0xFFFFFFFDu; /* 0x26002F46: mov ebx, 0xfffffffd */
   6197     PUSH32(esp, ebx); /* 0x26002F4B: push ebx */
   6198     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002F4C: call dword ptr [eax + 0x70] */
   6199     RECOMP_FLAGS_IN();
   6200     MEM32(esi + 0x4) = ebx; /* 0x26002F4F: mov dword ptr [esi + 4], ebx */
   6201     edi = POP32_VAL(esp); /* 0x26002F52: pop edi */
   6202     eax = ebx; /* 0x26002F53: mov eax, ebx */
   6203     esi = POP32_VAL(esp); /* 0x26002F55: pop esi */
   6204     ebx = POP32_VAL(esp); /* 0x26002F56: pop ebx */
   6205     esp = ebp; /* 0x26002F57: mov esp, ebp */
   6206     ebp = POP32_VAL(esp); /* 0x26002F59: pop ebp */
   6207     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002F5A: ret 8 */
   6208 L_26002F5D:
   6209     eax = MEM32(ebp + 0xC); /* 0x26002F5D: mov eax, dword ptr [ebp + 0xc] */
   6210     /* test eax, eax */ /* 0x26002F60: test eax, eax */
   6211     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6212     _cf = 0;
   6213     _flag_k = FK_TEST;
   6214     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600303B; /* 0x26002F62: jne 0x2600303b */
   6215 L_26002F68:
   6216     eax = MEM32(ebp + 0x8); /* 0x26002F68: mov eax, dword ptr [ebp + 8] */
   6217     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6218     edx = 0; /* 0x26002F6B: xor edx, edx */
   6219     _cf = 0;
   6220     _flag_k = FK_TEST;
   6221     SET_LO8(edx, MEM8(ebp + 0xA)); /* 0x26002F6D: mov dl, byte ptr [ebp + 0xa] */
   6222     ecx = eax; /* 0x26002F70: mov ecx, eax */
   6223     MEM32(ebp + 0xC) = edx; /* 0x26002F72: mov dword ptr [ebp + 0xc], edx */
   6224     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6225     edx = 0; /* 0x26002F75: xor edx, edx */
   6226     _cf = 0;
   6227     _flag_k = FK_TEST;
   6228     if (24u) _cf = (((ecx) >> 23) & 1u); /* 0x26002F77: shr ecx, 0x18 */
   6229     if (24u) { _flag_a = recomp_flags_pack((ecx >> 24u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   6230     ecx = ecx >> 24u; /* 0x26002F77: shr ecx, 0x18 */
   6231     SET_LO8(edx, HI8(eax)); /* 0x26002F7A: mov dl, ah */
   6232     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu);
   6233     eax = eax & 0xFFu; /* 0x26002F7C: and eax, 0xff */
   6234     _cf = 0;
   6235     _flag_k = FK_TEST;
   6236     PUSH32(esp, edi); /* 0x26002F81: push edi */
   6237     edi = MEM32(0x26004068); /* 0x26002F82: mov edi, dword ptr [0x26004068] */
   6238     PUSH32(esp, ecx); /* 0x26002F88: push ecx */
   6239     MEM32(ebp + (-0x4)) = edx; /* 0x26002F89: mov dword ptr [ebp - 4], edx */
   6240     MEM32(ebp + (-0x8)) = eax; /* 0x26002F8C: mov dword ptr [ebp - 8], eax */
   6241     RECOMP_ICALL(edi); /* 0x26002F8F: call edi */
   6242     RECOMP_FLAGS_IN();
   6243     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6244     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6245     esp = esp + 8; /* 0x26002F91: add esp, 8 */
   6246     _flag_k = FK_ADD;
   6247     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002F94: cmp eax, -1 */
   6248     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6249     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6250     _flag_k = FK_CMP;
   6251     if (CMP_NE(_flag_a, _flag_b)) goto L_26002FB4; /* 0x26002F97: jne 0x26002fb4 */
   6252 L_26002F99:
   6253     eax = MEM32(esi); /* 0x26002F99: mov eax, dword ptr [esi] */
   6254     ebx = 0xFFFFFFF9u; /* 0x26002F9B: mov ebx, 0xfffffff9 */
   6255     PUSH32(esp, ebx); /* 0x26002FA0: push ebx */
   6256     ecx = esi; /* 0x26002FA1: mov ecx, esi */
   6257     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002FA3: call dword ptr [eax + 0x70] */
   6258     RECOMP_FLAGS_IN();
   6259     MEM32(esi + 0x4) = ebx; /* 0x26002FA6: mov dword ptr [esi + 4], ebx */
   6260     edi = POP32_VAL(esp); /* 0x26002FA9: pop edi */
   6261     eax = ebx; /* 0x26002FAA: mov eax, ebx */
   6262     esi = POP32_VAL(esp); /* 0x26002FAC: pop esi */
   6263     ebx = POP32_VAL(esp); /* 0x26002FAD: pop ebx */
   6264     esp = ebp; /* 0x26002FAE: mov esp, ebp */
   6265     ebp = POP32_VAL(esp); /* 0x26002FB0: pop ebp */
   6266     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002FB1: ret 8 */
   6267 L_26002FB4:
   6268     ecx = MEM32(esi + 0xC); /* 0x26002FB4: mov ecx, dword ptr [esi + 0xc] */
   6269     edx = MEM32(ebp + 0xC); /* 0x26002FB7: mov edx, dword ptr [ebp + 0xc] */
   6270     PUSH32(esp, ecx); /* 0x26002FBA: push ecx */
   6271     PUSH32(esp, edx); /* 0x26002FBB: push edx */
   6272     RECOMP_ICALL(edi); /* 0x26002FBC: call edi */
   6273     RECOMP_FLAGS_IN();
   6274     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6275     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6276     esp = esp + 8; /* 0x26002FBE: add esp, 8 */
   6277     _flag_k = FK_ADD;
   6278     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002FC1: cmp eax, -1 */
   6279     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6280     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6281     _flag_k = FK_CMP;
   6282     if (CMP_NE(_flag_a, _flag_b)) goto L_26002FE1; /* 0x26002FC4: jne 0x26002fe1 */
   6283 L_26002FC6:
   6284     eax = MEM32(esi); /* 0x26002FC6: mov eax, dword ptr [esi] */
   6285     ebx = 0xFFFFFFF9u; /* 0x26002FC8: mov ebx, 0xfffffff9 */
   6286     PUSH32(esp, ebx); /* 0x26002FCD: push ebx */
   6287     ecx = esi; /* 0x26002FCE: mov ecx, esi */
   6288     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002FD0: call dword ptr [eax + 0x70] */
   6289     RECOMP_FLAGS_IN();
   6290     MEM32(esi + 0x4) = ebx; /* 0x26002FD3: mov dword ptr [esi + 4], ebx */
   6291     edi = POP32_VAL(esp); /* 0x26002FD6: pop edi */
   6292     eax = ebx; /* 0x26002FD7: mov eax, ebx */
   6293     esi = POP32_VAL(esp); /* 0x26002FD9: pop esi */
   6294     ebx = POP32_VAL(esp); /* 0x26002FDA: pop ebx */
   6295     esp = ebp; /* 0x26002FDB: mov esp, ebp */
   6296     ebp = POP32_VAL(esp); /* 0x26002FDD: pop ebp */
   6297     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26002FDE: ret 8 */
   6298 L_26002FE1:
   6299     ecx = MEM32(esi + 0xC); /* 0x26002FE1: mov ecx, dword ptr [esi + 0xc] */
   6300     edx = MEM32(ebp + (-0x4)); /* 0x26002FE4: mov edx, dword ptr [ebp - 4] */
   6301     PUSH32(esp, ecx); /* 0x26002FE7: push ecx */
   6302     PUSH32(esp, edx); /* 0x26002FE8: push edx */
   6303     RECOMP_ICALL(edi); /* 0x26002FE9: call edi */
   6304     RECOMP_FLAGS_IN();
   6305     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6306     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6307     esp = esp + 8; /* 0x26002FEB: add esp, 8 */
   6308     _flag_k = FK_ADD;
   6309     /* cmp eax, 0xFFFFFFFFu */ /* 0x26002FEE: cmp eax, -1 */
   6310     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6311     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6312     _flag_k = FK_CMP;
   6313     if (CMP_NE(_flag_a, _flag_b)) goto L_2600300E; /* 0x26002FF1: jne 0x2600300e */
   6314 L_26002FF3:
   6315     eax = MEM32(esi); /* 0x26002FF3: mov eax, dword ptr [esi] */
   6316     ebx = 0xFFFFFFF9u; /* 0x26002FF5: mov ebx, 0xfffffff9 */
   6317     PUSH32(esp, ebx); /* 0x26002FFA: push ebx */
   6318     ecx = esi; /* 0x26002FFB: mov ecx, esi */
   6319     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x26002FFD: call dword ptr [eax + 0x70] */
   6320     RECOMP_FLAGS_IN();
   6321     MEM32(esi + 0x4) = ebx; /* 0x26003000: mov dword ptr [esi + 4], ebx */
   6322     edi = POP32_VAL(esp); /* 0x26003003: pop edi */
   6323     eax = ebx; /* 0x26003004: mov eax, ebx */
   6324     esi = POP32_VAL(esp); /* 0x26003006: pop esi */
   6325     ebx = POP32_VAL(esp); /* 0x26003007: pop ebx */
   6326     esp = ebp; /* 0x26003008: mov esp, ebp */
   6327     ebp = POP32_VAL(esp); /* 0x2600300A: pop ebp */
   6328     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600300B: ret 8 */
   6329 L_2600300E:
   6330     ecx = MEM32(esi + 0xC); /* 0x2600300E: mov ecx, dword ptr [esi + 0xc] */
   6331     edx = MEM32(ebp + (-0x8)); /* 0x26003011: mov edx, dword ptr [ebp - 8] */
   6332     PUSH32(esp, ecx); /* 0x26003014: push ecx */
   6333     PUSH32(esp, edx); /* 0x26003015: push edx */
   6334     RECOMP_ICALL(edi); /* 0x26003016: call edi */
   6335     RECOMP_FLAGS_IN();
   6336     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6337     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6338     esp = esp + 8; /* 0x26003018: add esp, 8 */
   6339     _flag_k = FK_ADD;
   6340     /* cmp eax, 0xFFFFFFFFu */ /* 0x2600301B: cmp eax, -1 */
   6341     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6342     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6343     _flag_k = FK_CMP;
   6344     if (CMP_NE(_flag_a, _flag_b)) goto L_2600305F; /* 0x2600301E: jne 0x2600305f */
   6345 L_26003020:
   6346     eax = MEM32(esi); /* 0x26003020: mov eax, dword ptr [esi] */
   6347     ebx = 0xFFFFFFF9u; /* 0x26003022: mov ebx, 0xfffffff9 */
   6348     PUSH32(esp, ebx); /* 0x26003027: push ebx */
   6349     ecx = esi; /* 0x26003028: mov ecx, esi */
   6350     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x2600302A: call dword ptr [eax + 0x70] */
   6351     RECOMP_FLAGS_IN();
   6352     MEM32(esi + 0x4) = ebx; /* 0x2600302D: mov dword ptr [esi + 4], ebx */
   6353     edi = POP32_VAL(esp); /* 0x26003030: pop edi */
   6354     eax = ebx; /* 0x26003031: mov eax, ebx */
   6355     esi = POP32_VAL(esp); /* 0x26003033: pop esi */
   6356     ebx = POP32_VAL(esp); /* 0x26003034: pop ebx */
   6357     esp = ebp; /* 0x26003035: mov esp, ebp */
   6358     ebp = POP32_VAL(esp); /* 0x26003037: pop ebp */
   6359     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26003038: ret 8 */
   6360 L_2600303B:
   6361     PUSH32(esp, edi); /* 0x2600303B: push edi */
   6362     PUSH32(esp, 1); /* 0x2600303C: push 1 */
   6363     ecx = ebp + 0x8; /* 0x2600303E: lea ecx, [ebp + 8] */
   6364     PUSH32(esp, 4); /* 0x26003041: push 4 */
   6365     PUSH32(esp, ecx); /* 0x26003043: push ecx */
   6366     RECOMP_ICALL(MEM32(0x26004064)); /* 0x26003044: call dword ptr [0x26004064] */
   6367     RECOMP_FLAGS_IN();
   6368     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   6369     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6370     esp = esp + 0x10u; /* 0x2600304A: add esp, 0x10 */
   6371     _flag_k = FK_ADD;
   6372     /* cmp eax, 1 */ /* 0x2600304D: cmp eax, 1 */
   6373     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   6374     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6375     _flag_k = FK_CMP;
   6376     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600305F; /* 0x26003050: je 0x2600305f */
   6377 L_26003052:
   6378     edx = MEM32(esi); /* 0x26003052: mov edx, dword ptr [esi] */
   6379     ebx = 0xFFFFFFF9u; /* 0x26003054: mov ebx, 0xfffffff9 */
   6380     PUSH32(esp, ebx); /* 0x26003059: push ebx */
   6381     ecx = esi; /* 0x2600305A: mov ecx, esi */
   6382     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x2600305C: call dword ptr [edx + 0x70] */
   6383     RECOMP_FLAGS_IN();
   6384 L_2600305F:
   6385     MEM32(esi + 0x4) = ebx; /* 0x2600305F: mov dword ptr [esi + 4], ebx */
   6386     edi = POP32_VAL(esp); /* 0x26003062: pop edi */
   6387     eax = ebx; /* 0x26003063: mov eax, ebx */
   6388     esi = POP32_VAL(esp); /* 0x26003065: pop esi */
   6389     ebx = POP32_VAL(esp); /* 0x26003066: pop ebx */
   6390     esp = ebp; /* 0x26003067: mov esp, ebp */
   6391     ebp = POP32_VAL(esp); /* 0x26003069: pop ebp */
   6392     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2600306A: ret 8 */
   6393     RECOMP_REGS_OUT();
   6394 }
   6395 
   6396 void sub_26003070(void) {
   6397     int _fpu_cmp = 0;
   6398     uint32_t _cf = 0;
   6399     int _df = 1;
   6400     uint32_t _flag_k = FK_NONE;
   6401     uint32_t _flag_a = 0, _flag_b = 0;
   6402     uint32_t _itail_tgt = 0;
   6403     RECOMP_REGS_LOCALS
   6404     RECOMP_ENTER(0x26003070u);
   6405 
   6406 L_26003070:
   6407     PUSH32(esp, ebp); /* 0x26003070: push ebp */
   6408     ebp = esp; /* 0x26003071: mov ebp, esp */
   6409     eax = MEM32(ebp + 0x8); /* 0x26003073: mov eax, dword ptr [ebp + 8] */
   6410     edx = MEM32(ecx); /* 0x26003076: mov edx, dword ptr [ecx] */
   6411     MEM32(ebp + 0x8) = eax; /* 0x26003078: mov dword ptr [ebp + 8], eax */
   6412     eax = MEM32(ebp + 0xC); /* 0x2600307B: mov eax, dword ptr [ebp + 0xc] */
   6413     PUSH32(esp, eax); /* 0x2600307E: push eax */
   6414     eax = MEM32(ebp + 0x8); /* 0x2600307F: mov eax, dword ptr [ebp + 8] */
   6415     PUSH32(esp, eax); /* 0x26003082: push eax */
   6416     RECOMP_ICALL(MEM32(edx + 0x68)); /* 0x26003083: call dword ptr [edx + 0x68] */
   6417     RECOMP_FLAGS_IN();
   6418     ebp = POP32_VAL(esp); /* 0x26003086: pop ebp */
   6419     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26003087: ret 8 */
   6420     RECOMP_REGS_OUT();
   6421 }
   6422 
   6423 void sub_26003090(void) {
   6424     int _fpu_cmp = 0;
   6425     uint32_t _cf = 0;
   6426     int _df = 1;
   6427     uint32_t _flag_k = FK_NONE;
   6428     uint32_t _flag_a = 0, _flag_b = 0;
   6429     uint32_t _itail_tgt = 0;
   6430     RECOMP_REGS_LOCALS
   6431     RECOMP_ENTER(0x26003090u);
   6432 
   6433 L_26003090:
   6434     PUSH32(esp, ebp); /* 0x26003090: push ebp */
   6435     ebp = esp; /* 0x26003091: mov ebp, esp */
   6436     PUSH32(esp, esi); /* 0x26003093: push esi */
   6437     esi = ecx; /* 0x26003094: mov esi, ecx */
   6438     PUSH32(esp, edi); /* 0x26003096: push edi */
   6439     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   6440     edi = 0; /* 0x26003097: xor edi, edi */
   6441     _cf = 0;
   6442     _flag_k = FK_TEST;
   6443     eax = MEM32(esi + 0xC); /* 0x26003099: mov eax, dword ptr [esi + 0xc] */
   6444     /* test eax, eax */ /* 0x2600309C: test eax, eax */
   6445     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6446     _cf = 0;
   6447     _flag_k = FK_TEST;
   6448     if (TEST_NZ(_flag_a, _flag_b)) goto L_260030B6; /* 0x2600309E: jne 0x260030b6 */
   6449 L_260030A0:
   6450     eax = MEM32(esi); /* 0x260030A0: mov eax, dword ptr [esi] */
   6451     edi = 0xFFFFFFFDu; /* 0x260030A2: mov edi, 0xfffffffd */
   6452     PUSH32(esp, edi); /* 0x260030A7: push edi */
   6453     RECOMP_ICALL(MEM32(eax + 0x70)); /* 0x260030A8: call dword ptr [eax + 0x70] */
   6454     RECOMP_FLAGS_IN();
   6455     MEM32(esi + 0x4) = edi; /* 0x260030AB: mov dword ptr [esi + 4], edi */
   6456     eax = edi; /* 0x260030AE: mov eax, edi */
   6457     edi = POP32_VAL(esp); /* 0x260030B0: pop edi */
   6458     esi = POP32_VAL(esp); /* 0x260030B1: pop esi */
   6459     ebp = POP32_VAL(esp); /* 0x260030B2: pop ebp */
   6460     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x260030B3: ret 8 */
   6461 L_260030B6:
   6462     ecx = MEM32(ebp + 0x8); /* 0x260030B6: mov ecx, dword ptr [ebp + 8] */
   6463     PUSH32(esp, eax); /* 0x260030B9: push eax */
   6464     PUSH32(esp, ecx); /* 0x260030BA: push ecx */
   6465     RECOMP_ICALL(MEM32(0x2600406C)); /* 0x260030BB: call dword ptr [0x2600406c] */
   6466     RECOMP_FLAGS_IN();
   6467     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6468     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6469     esp = esp + 8; /* 0x260030C1: add esp, 8 */
   6470     _flag_k = FK_ADD;
   6471     /* cmp eax, 0xFFFFFFFFu */ /* 0x260030C4: cmp eax, -1 */
   6472     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6473     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6474     _flag_k = FK_CMP;
   6475     if (CMP_NE(_flag_a, _flag_b)) goto L_260030D6; /* 0x260030C7: jne 0x260030d6 */
   6476 L_260030C9:
   6477     edx = MEM32(esi); /* 0x260030C9: mov edx, dword ptr [esi] */
   6478     edi = 0xFFFFFFF9u; /* 0x260030CB: mov edi, 0xfffffff9 */
   6479     PUSH32(esp, edi); /* 0x260030D0: push edi */
   6480     ecx = esi; /* 0x260030D1: mov ecx, esi */
   6481     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x260030D3: call dword ptr [edx + 0x70] */
   6482     RECOMP_FLAGS_IN();
   6483 L_260030D6:
   6484     /* cmp MEM32(ebp + 0xC), 1 */ /* 0x260030D6: cmp dword ptr [ebp + 0xc], 1 */
   6485     _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1);
   6486     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6487     _flag_k = FK_CMP;
   6488     if (CMP_NE(_flag_a, _flag_b)) goto L_260030FD; /* 0x260030DA: jne 0x260030fd */
   6489 L_260030DC:
   6490     eax = MEM32(esi + 0xC); /* 0x260030DC: mov eax, dword ptr [esi + 0xc] */
   6491     PUSH32(esp, eax); /* 0x260030DF: push eax */
   6492     PUSH32(esp, 0); /* 0x260030E0: push 0 */
   6493     RECOMP_ICALL(MEM32(0x26004068)); /* 0x260030E2: call dword ptr [0x26004068] */
   6494     RECOMP_FLAGS_IN();
   6495     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   6496     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6497     esp = esp + 8; /* 0x260030E8: add esp, 8 */
   6498     _flag_k = FK_ADD;
   6499     /* cmp eax, 0xFFFFFFFFu */ /* 0x260030EB: cmp eax, -1 */
   6500     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu);
   6501     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6502     _flag_k = FK_CMP;
   6503     if (CMP_NE(_flag_a, _flag_b)) goto L_260030FD; /* 0x260030EE: jne 0x260030fd */
   6504 L_260030F0:
   6505     edx = MEM32(esi); /* 0x260030F0: mov edx, dword ptr [esi] */
   6506     edi = 0xFFFFFFF9u; /* 0x260030F2: mov edi, 0xfffffff9 */
   6507     PUSH32(esp, edi); /* 0x260030F7: push edi */
   6508     ecx = esi; /* 0x260030F8: mov ecx, esi */
   6509     RECOMP_ICALL(MEM32(edx + 0x70)); /* 0x260030FA: call dword ptr [edx + 0x70] */
   6510     RECOMP_FLAGS_IN();
   6511 L_260030FD:
   6512     MEM32(esi + 0x4) = edi; /* 0x260030FD: mov dword ptr [esi + 4], edi */
   6513     eax = edi; /* 0x26003100: mov eax, edi */
   6514     edi = POP32_VAL(esp); /* 0x26003102: pop edi */
   6515     esi = POP32_VAL(esp); /* 0x26003103: pop esi */
   6516     ebp = POP32_VAL(esp); /* 0x26003104: pop ebp */
   6517     RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x26003105: ret 8 */
   6518     RECOMP_REGS_OUT();
   6519 }
   6520 
   6521 void sub_26003110(void) {
   6522     int _fpu_cmp = 0;
   6523     uint32_t _cf = 0;
   6524     int _df = 1;
   6525     uint32_t _flag_k = FK_NONE;
   6526     uint32_t _flag_a = 0, _flag_b = 0;
   6527     uint32_t _itail_tgt = 0;
   6528     RECOMP_REGS_LOCALS
   6529     RECOMP_ENTER(0x26003110u);
   6530 
   6531 L_26003110:
   6532     eax = MEM32(ecx + 0x4); /* 0x26003110: mov eax, dword ptr [ecx + 4] */
   6533     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26003113: ret  */
   6534     RECOMP_REGS_OUT();
   6535 }
   6536 
   6537 void sub_26003120(void) {
   6538     int _fpu_cmp = 0;
   6539     uint32_t _cf = 0;
   6540     int _df = 1;
   6541     uint32_t _flag_k = FK_NONE;
   6542     uint32_t _flag_a = 0, _flag_b = 0;
   6543     uint32_t _itail_tgt = 0;
   6544     RECOMP_REGS_LOCALS
   6545     RECOMP_ENTER(0x26003120u);
   6546 
   6547 L_26003120:
   6548     eax = MEM32(ecx + 0x4); /* 0x26003120: mov eax, dword ptr [ecx + 4] */
   6549     PUSH32(esp, eax); /* 0x26003123: push eax */
   6550     RECOMP_ICALL(0x26003130u); /* 0x26003124: call 0x26003130 */ /* not lifted */
   6551     RECOMP_FLAGS_IN();
   6552     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6553     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6554     esp = esp + 4; /* 0x26003129: add esp, 4 */
   6555     _flag_k = FK_ADD;
   6556     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600312C: ret  */
   6557     RECOMP_REGS_OUT();
   6558 }
   6559 
   6560 void sub_26003130(void) {
   6561     int _fpu_cmp = 0;
   6562     uint32_t _cf = 0;
   6563     int _df = 1;
   6564     uint32_t _flag_k = FK_NONE;
   6565     uint32_t _flag_a = 0, _flag_b = 0;
   6566     uint32_t _itail_tgt = 0;
   6567     RECOMP_REGS_LOCALS
   6568     RECOMP_ENTER(0x26003130u);
   6569 
   6570 L_26003130:
   6571     PUSH32(esp, ebp); /* 0x26003130: push ebp */
   6572     ebp = esp; /* 0x26003131: mov ebp, esp */
   6573     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u);
   6574     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6575     esp = esp - 0x34u; /* 0x26003133: sub esp, 0x34 */
   6576     _flag_k = FK_CMP;
   6577     eax = MEM32(ebp + 0x8); /* 0x26003136: mov eax, dword ptr [ebp + 8] */
   6578     MEM32(ebp + (-0x34)) = 0x260061DCu; /* 0x26003139: mov dword ptr [ebp - 0x34], 0x260061dc */
   6579     /* test eax, eax */ /* 0x26003140: test eax, eax */
   6580     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   6581     _cf = 0;
   6582     _flag_k = FK_TEST;
   6583     MEM32(ebp + (-0x30)) = 0x260061CCu; /* 0x26003142: mov dword ptr [ebp - 0x30], 0x260061cc */
   6584     MEM32(ebp + (-0x2C)) = 0x26006238u; /* 0x26003149: mov dword ptr [ebp - 0x2c], 0x26006238 */
   6585     MEM32(ebp + (-0x28)) = 0x260062BCu; /* 0x26003150: mov dword ptr [ebp - 0x28], 0x260062bc */
   6586     MEM32(ebp + (-0x24)) = 0x260062A8u; /* 0x26003157: mov dword ptr [ebp - 0x24], 0x260062a8 */
   6587     MEM32(ebp + (-0x20)) = 0x26006180u; /* 0x2600315E: mov dword ptr [ebp - 0x20], 0x26006180 */
   6588     MEM32(ebp + (-0x1C)) = 0x26006174u; /* 0x26003165: mov dword ptr [ebp - 0x1c], 0x26006174 */
   6589     MEM32(ebp + (-0x18)) = 0x26006168u; /* 0x2600316C: mov dword ptr [ebp - 0x18], 0x26006168 */
   6590     MEM32(ebp + (-0x14)) = 0x26006298u; /* 0x26003173: mov dword ptr [ebp - 0x14], 0x26006298 */
   6591     MEM32(ebp + (-0x10)) = 0x26006288u; /* 0x2600317A: mov dword ptr [ebp - 0x10], 0x26006288 */
   6592     MEM32(ebp + (-0xC)) = 0x26006274u; /* 0x26003181: mov dword ptr [ebp - 0xc], 0x26006274 */
   6593     MEM32(ebp + (-0x8)) = 0x26006118u; /* 0x26003188: mov dword ptr [ebp - 8], 0x26006118 */
   6594     MEM32(ebp + (-0x4)) = 0x26006260u; /* 0x2600318F: mov dword ptr [ebp - 4], 0x26006260 */
   6595     if (TEST_G(_flag_a, _flag_b)) goto L_260031AB; /* 0x26003196: jg 0x260031ab */
   6596 L_26003198:
   6597     /* cmp eax, 0xFFFFFFF4u */ /* 0x26003198: cmp eax, -0xc */
   6598     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF4u);
   6599     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6600     _flag_k = FK_CMP;
   6601     if (CMP_L(_flag_a, _flag_b)) goto L_260031AB; /* 0x2600319B: jl 0x260031ab */
   6602 L_2600319D:
   6603     if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2600319D: shl eax, 2 */
   6604     if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   6605     eax = eax << 2u; /* 0x2600319D: shl eax, 2 */
   6606     ecx = ebp + (-0x34); /* 0x260031A0: lea ecx, [ebp - 0x34] */
   6607     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   6608     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6609     ecx = ecx - eax; /* 0x260031A3: sub ecx, eax */
   6610     _flag_k = FK_CMP;
   6611     eax = MEM32(ecx); /* 0x260031A5: mov eax, dword ptr [ecx] */
   6612     esp = ebp; /* 0x260031A7: mov esp, ebp */
   6613     ebp = POP32_VAL(esp); /* 0x260031A9: pop ebp */
   6614     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260031AA: ret  */
   6615 L_260031AB:
   6616     eax = 0x260061CCu; /* 0x260031AB: mov eax, 0x260061cc */
   6617     esp = ebp; /* 0x260031B0: mov esp, ebp */
   6618     ebp = POP32_VAL(esp); /* 0x260031B2: pop ebp */
   6619     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260031B3: ret  */
   6620     RECOMP_REGS_OUT();
   6621 }
   6622 
   6623 void sub_260031C0(void) {
   6624     int _fpu_cmp = 0;
   6625     uint32_t _cf = 0;
   6626     int _df = 1;
   6627     uint32_t _flag_k = FK_NONE;
   6628     uint32_t _flag_a = 0, _flag_b = 0;
   6629     uint32_t _itail_tgt = 0;
   6630     RECOMP_REGS_LOCALS
   6631     RECOMP_ENTER(0x260031C0u);
   6632 
   6633 L_260031C0:
   6634     PUSH32(esp, ebp); /* 0x260031C0: push ebp */
   6635     ebp = esp; /* 0x260031C1: mov ebp, esp */
   6636     ecx = MEM32(ebp + 0x8); /* 0x260031C3: mov ecx, dword ptr [ebp + 8] */
   6637     eax = MEM32(0x260064E0); /* 0x260031C6: mov eax, dword ptr [0x260064e0] */
   6638     MEM32(0x260064E0) = ecx; /* 0x260031CB: mov dword ptr [0x260064e0], ecx */
   6639     ebp = POP32_VAL(esp); /* 0x260031D1: pop ebp */
   6640     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260031D2: ret  */
   6641     RECOMP_REGS_OUT();
   6642 }
   6643 
   6644 void sub_260031E0(void) {
   6645     int _fpu_cmp = 0;
   6646     uint32_t _cf = 0;
   6647     int _df = 1;
   6648     uint32_t _flag_k = FK_NONE;
   6649     uint32_t _flag_a = 0, _flag_b = 0;
   6650     uint32_t _itail_tgt = 0;
   6651     RECOMP_REGS_LOCALS
   6652     RECOMP_ENTER(0x260031E0u);
   6653 
   6654 L_260031E0:
   6655     PUSH32(esp, ebp); /* 0x260031E0: push ebp */
   6656     ebp = esp; /* 0x260031E1: mov ebp, esp */
   6657     eax = MEM32(ebp + 0x8); /* 0x260031E3: mov eax, dword ptr [ebp + 8] */
   6658     PUSH32(esp, esi); /* 0x260031E6: push esi */
   6659     esi = ecx; /* 0x260031E7: mov esi, ecx */
   6660     edx = MEM32(esi + 0x8); /* 0x260031E9: mov edx, dword ptr [esi + 8] */
   6661     MEM32(esi + 0x4) = eax; /* 0x260031EC: mov dword ptr [esi + 4], eax */
   6662     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   6663     edx = edx + 1; /* 0x260031EF: inc edx */
   6664     _flag_k = FK_INC;
   6665     MEM32(esi + 0x8) = edx; /* 0x260031F0: mov dword ptr [esi + 8], edx */
   6666     ecx = MEM32(0x260064E0); /* 0x260031F3: mov ecx, dword ptr [0x260064e0] */
   6667     /* test ecx, ecx */ /* 0x260031F9: test ecx, ecx */
   6668     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   6669     _cf = 0;
   6670     _flag_k = FK_TEST;
   6671     if (TEST_Z(_flag_a, _flag_b)) goto L_26003219; /* 0x260031FB: je 0x26003219 */
   6672 L_260031FD:
   6673     PUSH32(esp, eax); /* 0x260031FD: push eax */
   6674     PUSH32(esp, eax); /* 0x260031FE: push eax */
   6675     RECOMP_ICALL(0x26003130u); /* 0x260031FF: call 0x26003130 */ /* not lifted */
   6676     RECOMP_FLAGS_IN();
   6677     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   6678     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6679     esp = esp + 4; /* 0x26003204: add esp, 4 */
   6680     _flag_k = FK_ADD;
   6681     ecx = esi; /* 0x26003207: mov ecx, esi */
   6682     PUSH32(esp, eax); /* 0x26003209: push eax */
   6683     eax = MEM32(esi); /* 0x2600320A: mov eax, dword ptr [esi] */
   6684     RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2600320C: call dword ptr [eax + 0xc] */
   6685     RECOMP_FLAGS_IN();
   6686     PUSH32(esp, eax); /* 0x2600320F: push eax */
   6687     RECOMP_ICALL(MEM32(0x260064E0)); /* 0x26003210: call dword ptr [0x260064e0] */
   6688     RECOMP_FLAGS_IN();
   6689     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   6690     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6691     esp = esp + 0xCu; /* 0x26003216: add esp, 0xc */
   6692     _flag_k = FK_ADD;
   6693 L_26003219:
   6694     esi = POP32_VAL(esp); /* 0x26003219: pop esi */
   6695     ebp = POP32_VAL(esp); /* 0x2600321A: pop ebp */
   6696     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2600321B: ret 4 */
   6697     RECOMP_REGS_OUT();
   6698 }
   6699 
   6700 void sub_26003220(void) {
   6701     int _fpu_cmp = 0;
   6702     uint32_t _cf = 0;
   6703     int _df = 1;
   6704     uint32_t _flag_k = FK_NONE;
   6705     uint32_t _flag_a = 0, _flag_b = 0;
   6706     uint32_t _itail_tgt = 0;
   6707     RECOMP_REGS_LOCALS
   6708     RECOMP_ENTER(0x26003220u);
   6709 
   6710 L_26003220:
   6711     eax = MEM32(ecx + 0x8); /* 0x26003220: mov eax, dword ptr [ecx + 8] */
   6712     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26003223: ret  */
   6713     RECOMP_REGS_OUT();
   6714 }
   6715 
   6716 void sub_26003230(void) {
   6717     int _fpu_cmp = 0;
   6718     uint32_t _cf = 0;
   6719     int _df = 1;
   6720     uint32_t _flag_k = FK_NONE;
   6721     uint32_t _flag_a = 0, _flag_b = 0;
   6722     uint32_t _itail_tgt = 0;
   6723     RECOMP_REGS_LOCALS
   6724     RECOMP_ENTER(0x26003230u);
   6725 
   6726 L_26003230:
   6727     MEM32(ecx + 0x8) = 0; /* 0x26003230: mov dword ptr [ecx + 8], 0 */
   6728     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26003237: ret  */
   6729     RECOMP_REGS_OUT();
   6730 }
   6731 
   6732 void sub_26003240(void) {
   6733     int _fpu_cmp = 0;
   6734     uint32_t _cf = 0;
   6735     int _df = 1;
   6736     uint32_t _flag_k = FK_NONE;
   6737     uint32_t _flag_a = 0, _flag_b = 0;
   6738     uint32_t _itail_tgt = 0;
   6739     RECOMP_REGS_LOCALS
   6740     RECOMP_ENTER(0x26003240u);
   6741 
   6742 L_26003240:
   6743     { _itail_tgt = (uint32_t)(MEM32(0x26004024)); goto _ljump; }
   6744     { RECOMP_REGS_OUT(); return; } /* end of function */
   6745   _ljump:
   6746     switch (_itail_tgt) {
   6747       case 0x26003240u: goto L_26003240;
   6748       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6749     }
   6750     RECOMP_REGS_OUT();
   6751 }
   6752 
   6753 void sub_26003246(void) {
   6754     int _fpu_cmp = 0;
   6755     uint32_t _cf = 0;
   6756     int _df = 1;
   6757     uint32_t _flag_k = FK_NONE;
   6758     uint32_t _flag_a = 0, _flag_b = 0;
   6759     uint32_t _itail_tgt = 0;
   6760     RECOMP_REGS_LOCALS
   6761     RECOMP_ENTER(0x26003246u);
   6762 
   6763 L_26003246:
   6764     { _itail_tgt = (uint32_t)(MEM32(0x26004034)); goto _ljump; }
   6765     { RECOMP_REGS_OUT(); return; } /* end of function */
   6766   _ljump:
   6767     switch (_itail_tgt) {
   6768       case 0x26003246u: goto L_26003246;
   6769       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6770     }
   6771     RECOMP_REGS_OUT();
   6772 }
   6773 
   6774 void sub_26003250(void) {
   6775     int _fpu_cmp = 0;
   6776     uint32_t _cf = 0;
   6777     int _df = 1;
   6778     uint32_t _flag_k = FK_NONE;
   6779     uint32_t _flag_a = 0, _flag_b = 0;
   6780     uint32_t _itail_tgt = 0;
   6781     RECOMP_REGS_LOCALS
   6782     RECOMP_ENTER(0x26003250u);
   6783 
   6784 L_26003250:
   6785     { _itail_tgt = (uint32_t)(MEM32(0x26004038)); goto _ljump; }
   6786     { RECOMP_REGS_OUT(); return; } /* end of function */
   6787   _ljump:
   6788     switch (_itail_tgt) {
   6789       case 0x26003250u: goto L_26003250;
   6790       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   6791     }
   6792     RECOMP_REGS_OUT();
   6793 }
   6794 
   6795 void sub_26003256(void) {
   6796     int _fpu_cmp = 0;
   6797     uint32_t _cf = 0;
   6798     int _df = 1;
   6799     uint32_t _flag_k = FK_NONE;
   6800     uint32_t _flag_a = 0, _flag_b = 0;
   6801     uint32_t _itail_tgt = 0;
   6802     RECOMP_REGS_LOCALS
   6803     RECOMP_ENTER(0x26003256u);
   6804 
   6805 L_26003256:
   6806     PUSH32(esp, ebp); /* 0x26003256: push ebp */
   6807     ebp = esp; /* 0x26003257: mov ebp, esp */
   6808     PUSH32(esp, 0xFFFFFFFFu); /* 0x26003259: push -1 */
   6809     PUSH32(esp, 0x260041F0u); /* 0x2600325B: push 0x260041f0 */
   6810     PUSH32(esp, 0x26003498u); /* 0x26003260: push 0x26003498 */
   6811     eax = MEM32(FS_BASE + (0)); /* 0x26003265: mov eax, dword ptr fs:[0] */
   6812     PUSH32(esp, eax); /* 0x2600326B: push eax */
   6813     MEM32(FS_BASE + (0)) = esp; /* 0x2600326C: mov dword ptr fs:[0], esp */
   6814     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu);
   6815     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6816     esp = esp - 0xCu; /* 0x26003273: sub esp, 0xc */
   6817     _flag_k = FK_CMP;
   6818     PUSH32(esp, ebx); /* 0x26003276: push ebx */
   6819     PUSH32(esp, esi); /* 0x26003277: push esi */
   6820     PUSH32(esp, edi); /* 0x26003278: push edi */
   6821     _flag_a = (uint32_t)(MEM32(ebp + (-0x1C))); _flag_b = (uint32_t)(0);
   6822     MEM32(ebp + (-0x1C)) = MEM32(ebp + (-0x1C)) & 0; /* 0x26003279: and dword ptr [ebp - 0x1c], 0 */
   6823     _cf = 0;
   6824     _flag_k = FK_TEST;
   6825     esi = MEM32(ebp + 0xC); /* 0x2600327D: mov esi, dword ptr [ebp + 0xc] */
   6826     eax = esi; /* 0x26003280: mov eax, esi */
   6827     eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(ebp + 0x10)); /* 0x26003282: imul eax, dword ptr [ebp + 0x10] */
   6828     _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(eax);
   6829     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   6830     MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + eax; /* 0x26003286: add dword ptr [ebp + 8], eax */
   6831     _flag_k = FK_ADD;
   6832     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   6833     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x26003289: and dword ptr [ebp - 4], 0 */
   6834     _cf = 0;
   6835     _flag_k = FK_TEST;
   6836 L_2600328D:
   6837     _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(1);
   6838     MEM32(ebp + 0x10) = MEM32(ebp + 0x10) - 1; /* 0x2600328D: dec dword ptr [ebp + 0x10] */
   6839     _flag_k = FK_DEC;
   6840     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2600329D; /* 0x26003290: js 0x2600329d */
   6841 L_26003292:
   6842     _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(esi);
   6843     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6844     MEM32(ebp + 0x8) = MEM32(ebp + 0x8) - esi; /* 0x26003292: sub dword ptr [ebp + 8], esi */
   6845     _flag_k = FK_CMP;
   6846     ecx = MEM32(ebp + 0x8); /* 0x26003295: mov ecx, dword ptr [ebp + 8] */
   6847     RECOMP_ICALL(MEM32(ebp + 0x14)); /* 0x26003298: call dword ptr [ebp + 0x14] */
   6848     RECOMP_FLAGS_IN();
   6849     RECOMP_BACKEDGE();
   6850     goto L_2600328D; /* 0x2600329B: jmp 0x2600328d */
   6851 L_2600329D:
   6852     MEM32(ebp + (-0x1C)) = 1; /* 0x2600329D: mov dword ptr [ebp - 0x1c], 1 */
   6853     _flag_a = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu)); _flag_b = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu));
   6854     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) | 0xFFFFFFFFu; /* 0x260032A4: or dword ptr [ebp - 4], 0xffffffff */
   6855     _cf = 0;
   6856     _flag_k = FK_TEST;
   6857     RECOMP_ICALL(0x260032BEu); /* 0x260032A8: call 0x260032be */ /* not lifted */
   6858     RECOMP_FLAGS_IN();
   6859     ecx = MEM32(ebp + (-0x10)); /* 0x260032AD: mov ecx, dword ptr [ebp - 0x10] */
   6860     MEM32(FS_BASE + (0)) = ecx; /* 0x260032B0: mov dword ptr fs:[0], ecx */
   6861     edi = POP32_VAL(esp); /* 0x260032B7: pop edi */
   6862     esi = POP32_VAL(esp); /* 0x260032B8: pop esi */
   6863     ebx = POP32_VAL(esp); /* 0x260032B9: pop ebx */
   6864     esp = ebp; ebp = POP32_VAL(esp); /* 0x260032BA: leave  */
   6865     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x260032BB: ret 0x10 */
   6866     RECOMP_REGS_OUT();
   6867 }
   6868 
   6869 void sub_260032BE(void) {
   6870     int _fpu_cmp = 0;
   6871     uint32_t _cf = 0;
   6872     int _df = 1;
   6873     uint32_t _flag_k = FK_NONE;
   6874     uint32_t _flag_a = 0, _flag_b = 0;
   6875     uint32_t _itail_tgt = 0;
   6876     RECOMP_REGS_LOCALS
   6877     RECOMP_ENTER(0x260032BEu);
   6878 
   6879 L_260032BE:
   6880     /* cmp MEM32(ebp + (-0x1C)), 0 */ /* 0x260032BE: cmp dword ptr [ebp - 0x1c], 0 */
   6881     _flag_a = (uint32_t)(MEM32(ebp + (-0x1C))); _flag_b = (uint32_t)(0);
   6882     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6883     _flag_k = FK_CMP;
   6884     if (CMP_NE(_flag_a, _flag_b)) goto L_260032D5; /* 0x260032C2: jne 0x260032d5 */
   6885 L_260032C4:
   6886     PUSH32(esp, MEM32(ebp + 0x14)); /* 0x260032C4: push dword ptr [ebp + 0x14] */
   6887     PUSH32(esp, MEM32(ebp + 0x10)); /* 0x260032C7: push dword ptr [ebp + 0x10] */
   6888     PUSH32(esp, MEM32(ebp + 0xC)); /* 0x260032CA: push dword ptr [ebp + 0xc] */
   6889     PUSH32(esp, MEM32(ebp + 0x8)); /* 0x260032CD: push dword ptr [ebp + 8] */
   6890     RECOMP_ICALL(0x260032D6u); /* 0x260032D0: call 0x260032d6 */ /* not lifted */
   6891     RECOMP_FLAGS_IN();
   6892 L_260032D5:
   6893     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x260032D5: ret  */
   6894     RECOMP_REGS_OUT();
   6895 }
   6896 
   6897 void sub_260032D6(void) {
   6898     int _fpu_cmp = 0;
   6899     uint32_t _cf = 0;
   6900     int _df = 1;
   6901     uint32_t _flag_k = FK_NONE;
   6902     uint32_t _flag_a = 0, _flag_b = 0;
   6903     uint32_t _itail_tgt = 0;
   6904     RECOMP_REGS_LOCALS
   6905     RECOMP_ENTER(0x260032D6u);
   6906 
   6907 L_260032D6:
   6908     PUSH32(esp, ebp); /* 0x260032D6: push ebp */
   6909     ebp = esp; /* 0x260032D7: mov ebp, esp */
   6910     PUSH32(esp, 0xFFFFFFFFu); /* 0x260032D9: push -1 */
   6911     PUSH32(esp, 0x26004200u); /* 0x260032DB: push 0x26004200 */
   6912     PUSH32(esp, 0x26003498u); /* 0x260032E0: push 0x26003498 */
   6913     eax = MEM32(FS_BASE + (0)); /* 0x260032E5: mov eax, dword ptr fs:[0] */
   6914     PUSH32(esp, eax); /* 0x260032EB: push eax */
   6915     MEM32(FS_BASE + (0)) = esp; /* 0x260032EC: mov dword ptr fs:[0], esp */
   6916     PUSH32(esp, ecx); /* 0x260032F3: push ecx */
   6917     PUSH32(esp, ecx); /* 0x260032F4: push ecx */
   6918     PUSH32(esp, ebx); /* 0x260032F5: push ebx */
   6919     PUSH32(esp, esi); /* 0x260032F6: push esi */
   6920     PUSH32(esp, edi); /* 0x260032F7: push edi */
   6921     MEM32(ebp + (-0x18)) = esp; /* 0x260032F8: mov dword ptr [ebp - 0x18], esp */
   6922     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0);
   6923     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x260032FB: and dword ptr [ebp - 4], 0 */
   6924     _cf = 0;
   6925     _flag_k = FK_TEST;
   6926 L_260032FF:
   6927     _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(1);
   6928     MEM32(ebp + 0x10) = MEM32(ebp + 0x10) - 1; /* 0x260032FF: dec dword ptr [ebp + 0x10] */
   6929     _flag_k = FK_DEC;
   6930     if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2600331F; /* 0x26003302: js 0x2600331f */
   6931 L_26003304:
   6932     ecx = MEM32(ebp + 0x8); /* 0x26003304: mov ecx, dword ptr [ebp + 8] */
   6933     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0xC));
   6934     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   6935     ecx = ecx - MEM32(ebp + 0xC); /* 0x26003307: sub ecx, dword ptr [ebp + 0xc] */
   6936     _flag_k = FK_CMP;
   6937     MEM32(ebp + 0x8) = ecx; /* 0x2600330A: mov dword ptr [ebp + 8], ecx */
   6938     RECOMP_ICALL(MEM32(ebp + 0x14)); /* 0x2600330D: call dword ptr [ebp + 0x14] */
   6939     RECOMP_FLAGS_IN();
   6940     RECOMP_BACKEDGE();
   6941     goto L_260032FF; /* 0x26003310: jmp 0x260032ff */
   6942 L_2600331F:
   6943     _flag_a = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu)); _flag_b = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu));
   6944     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) | 0xFFFFFFFFu; /* 0x2600331F: or dword ptr [ebp - 4], 0xffffffff */
   6945     _cf = 0;
   6946     _flag_k = FK_TEST;
   6947     ecx = MEM32(ebp + (-0x10)); /* 0x26003323: mov ecx, dword ptr [ebp - 0x10] */
   6948     MEM32(FS_BASE + (0)) = ecx; /* 0x26003326: mov dword ptr fs:[0], ecx */
   6949     edi = POP32_VAL(esp); /* 0x2600332D: pop edi */
   6950     esi = POP32_VAL(esp); /* 0x2600332E: pop esi */
   6951     ebx = POP32_VAL(esp); /* 0x2600332F: pop ebx */
   6952     esp = ebp; ebp = POP32_VAL(esp); /* 0x26003330: leave  */
   6953     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x26003331: ret 0x10 */
   6954     RECOMP_REGS_OUT();
   6955 }
   6956 
   6957 void sub_26003312(void) {
   6958     int _fpu_cmp = 0;
   6959     uint32_t _cf = 0;
   6960     int _df = 1;
   6961     uint32_t _flag_k = FK_NONE;
   6962     uint32_t _flag_a = 0, _flag_b = 0;
   6963     uint32_t _itail_tgt = 0;
   6964     RECOMP_REGS_LOCALS
   6965     RECOMP_ENTER(0x26003312u);
   6966 
   6967 L_26003312:
   6968     PUSH32(esp, MEM32(ebp + (-0x14))); /* 0x26003312: push dword ptr [ebp - 0x14] */
   6969     RECOMP_ICALL(0x26003334u); /* 0x26003315: call 0x26003334 */ /* not lifted */
   6970     RECOMP_FLAGS_IN();
   6971     ecx = POP32_VAL(esp); /* 0x2600331A: pop ecx */
   6972     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2600331B: ret  */
   6973     RECOMP_REGS_OUT();
   6974 }
   6975 
   6976 void sub_2600331C(void) {
   6977     int _fpu_cmp = 0;
   6978     uint32_t _cf = 0;
   6979     int _df = 1;
   6980     uint32_t _flag_k = FK_NONE;
   6981     uint32_t _flag_a = 0, _flag_b = 0;
   6982     uint32_t _itail_tgt = 0;
   6983     RECOMP_REGS_LOCALS
   6984     RECOMP_ENTER(0x2600331Cu);
   6985 
   6986 L_2600331C:
   6987     esp = MEM32(ebp + (-0x18)); /* 0x2600331C: mov esp, dword ptr [ebp - 0x18] */
   6988     _flag_a = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu)); _flag_b = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu));
   6989     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) | 0xFFFFFFFFu; /* 0x2600331F: or dword ptr [ebp - 4], 0xffffffff */
   6990     _cf = 0;
   6991     _flag_k = FK_TEST;
   6992     ecx = MEM32(ebp + (-0x10)); /* 0x26003323: mov ecx, dword ptr [ebp - 0x10] */
   6993     MEM32(FS_BASE + (0)) = ecx; /* 0x26003326: mov dword ptr fs:[0], ecx */
   6994     edi = POP32_VAL(esp); /* 0x2600332D: pop edi */
   6995     esi = POP32_VAL(esp); /* 0x2600332E: pop esi */
   6996     ebx = POP32_VAL(esp); /* 0x2600332F: pop ebx */
   6997     esp = ebp; ebp = POP32_VAL(esp); /* 0x26003330: leave  */
   6998     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x26003331: ret 0x10 */
   6999     RECOMP_REGS_OUT();
   7000 }
   7001 
   7002 void sub_2600331F(void) {
   7003     int _fpu_cmp = 0;
   7004     uint32_t _cf = 0;
   7005     int _df = 1;
   7006     uint32_t _flag_k = FK_NONE;
   7007     uint32_t _flag_a = 0, _flag_b = 0;
   7008     uint32_t _itail_tgt = 0;
   7009     RECOMP_REGS_LOCALS
   7010     RECOMP_ENTER(0x2600331Fu);
   7011 
   7012 L_2600331F:
   7013     _flag_a = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu)); _flag_b = (uint32_t)((MEM32(ebp + (-0x4)) | 0xFFFFFFFFu));
   7014     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) | 0xFFFFFFFFu; /* 0x2600331F: or dword ptr [ebp - 4], 0xffffffff */
   7015     _cf = 0;
   7016     _flag_k = FK_TEST;
   7017     ecx = MEM32(ebp + (-0x10)); /* 0x26003323: mov ecx, dword ptr [ebp - 0x10] */
   7018     MEM32(FS_BASE + (0)) = ecx; /* 0x26003326: mov dword ptr fs:[0], ecx */
   7019     edi = POP32_VAL(esp); /* 0x2600332D: pop edi */
   7020     esi = POP32_VAL(esp); /* 0x2600332E: pop esi */
   7021     ebx = POP32_VAL(esp); /* 0x2600332F: pop ebx */
   7022     esp = ebp; ebp = POP32_VAL(esp); /* 0x26003330: leave  */
   7023     RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x26003331: ret 0x10 */
   7024     RECOMP_REGS_OUT();
   7025 }
   7026 
   7027 void sub_26003334(void) {
   7028     int _fpu_cmp = 0;
   7029     uint32_t _cf = 0;
   7030     int _df = 1;
   7031     uint32_t _flag_k = FK_NONE;
   7032     uint32_t _flag_a = 0, _flag_b = 0;
   7033     uint32_t _itail_tgt = 0;
   7034     RECOMP_REGS_LOCALS
   7035     RECOMP_ENTER(0x26003334u);
   7036 
   7037 L_26003334:
   7038     eax = MEM32(esp + 0x4); /* 0x26003334: mov eax, dword ptr [esp + 4] */
   7039 L_26003338:
   7040     eax = MEM32(eax); /* 0x26003338: mov eax, dword ptr [eax] */
   7041 L_2600333A:
   7042     /* cmp MEM32(eax), 0xE06D7363u */ /* 0x2600333A: cmp dword ptr [eax], 0xe06d7363 */
   7043     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0xE06D7363u);
   7044     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7045     _flag_k = FK_CMP;
   7046 L_26003340:
   7047     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_26003345; /* 0x26003340: je 0x26003345 */
   7048 L_26003342:
   7049     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7050     eax = 0; /* 0x26003342: xor eax, eax */
   7051     _cf = 0;
   7052     _flag_k = FK_TEST;
   7053 L_26003344:
   7054     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x26003344: ret  */
   7055 L_26003345:
   7056     goto L_2600349E; /* 0x26003345: jmp 0x2600349e */
   7057 L_2600349E:
   7058     { _itail_tgt = (uint32_t)(MEM32(0x26004074)); goto _ljump; }
   7059     { RECOMP_REGS_OUT(); return; } /* end of function */
   7060   _ljump:
   7061     switch (_itail_tgt) {
   7062       case 0x26003334u: goto L_26003334;
   7063       case 0x26003338u: goto L_26003338;
   7064       case 0x2600333Au: goto L_2600333A;
   7065       case 0x26003340u: goto L_26003340;
   7066       case 0x26003342u: goto L_26003342;
   7067       case 0x26003344u: goto L_26003344;
   7068       case 0x26003345u: goto L_26003345;
   7069       case 0x2600349Eu: goto L_2600349E;
   7070       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7071     }
   7072     RECOMP_REGS_OUT();
   7073 }
   7074 
   7075 void sub_2600334A(void) {
   7076     int _fpu_cmp = 0;
   7077     uint32_t _cf = 0;
   7078     int _df = 1;
   7079     uint32_t _flag_k = FK_NONE;
   7080     uint32_t _flag_a = 0, _flag_b = 0;
   7081     uint32_t _itail_tgt = 0;
   7082     RECOMP_REGS_LOCALS
   7083     RECOMP_ENTER(0x2600334Au);
   7084 
   7085 L_2600334A:
   7086     { _itail_tgt = (uint32_t)(MEM32(0x2600403C)); goto _ljump; }
   7087     { RECOMP_REGS_OUT(); return; } /* end of function */
   7088   _ljump:
   7089     switch (_itail_tgt) {
   7090       case 0x2600334Au: goto L_2600334A;
   7091       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7092     }
   7093     RECOMP_REGS_OUT();
   7094 }
   7095 
   7096 void sub_26003350(void) {
   7097     int _fpu_cmp = 0;
   7098     uint32_t _cf = 0;
   7099     int _df = 1;
   7100     uint32_t _flag_k = FK_NONE;
   7101     uint32_t _flag_a = 0, _flag_b = 0;
   7102     uint32_t _itail_tgt = 0;
   7103     RECOMP_REGS_LOCALS
   7104     RECOMP_ENTER(0x26003350u);
   7105 
   7106 L_26003350:
   7107     eax = MEM32(esp + 0x8); /* 0x26003350: mov eax, dword ptr [esp + 8] */
   7108     /* test eax, eax */ /* 0x26003354: test eax, eax */
   7109     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7110     _cf = 0;
   7111     _flag_k = FK_TEST;
   7112     if (TEST_NZ(_flag_a, _flag_b)) goto L_26003366; /* 0x26003356: jne 0x26003366 */
   7113 L_26003358:
   7114     /* cmp MEM32(0x260064E4), eax */ /* 0x26003358: cmp dword ptr [0x260064e4], eax */
   7115     _flag_a = (uint32_t)(MEM32(0x260064E4)); _flag_b = (uint32_t)(eax);
   7116     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7117     _flag_k = FK_CMP;
   7118     if (CMP_LE(_flag_a, _flag_b)) goto L_2600338E; /* 0x2600335E: jle 0x2600338e */
   7119 L_26003360:
   7120     _flag_a = (uint32_t)(MEM32(0x260064E4)); _flag_b = (uint32_t)(1);
   7121     MEM32(0x260064E4) = MEM32(0x260064E4) - 1; /* 0x26003360: dec dword ptr [0x260064e4] */
   7122     _flag_k = FK_DEC;
   7123 L_26003366:
   7124     ecx = MEM32(0x26004084); /* 0x26003366: mov ecx, dword ptr [0x26004084] */
   7125     /* cmp eax, 1 */ /* 0x2600336C: cmp eax, 1 */
   7126     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   7127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7128     _flag_k = FK_CMP;
   7129     ecx = MEM32(ecx); /* 0x2600336F: mov ecx, dword ptr [ecx] */
   7130     MEM32(0x260064E8) = ecx; /* 0x26003371: mov dword ptr [0x260064e8], ecx */
   7131     if (CMP_NE(_flag_a, _flag_b)) goto L_260033B8; /* 0x26003377: jne 0x260033b8 */
   7132 L_26003379:
   7133     PUSH32(esp, 0x80u); /* 0x26003379: push 0x80 */
   7134     RECOMP_ICALL(MEM32(0x26004080)); /* 0x2600337E: call dword ptr [0x26004080] */
   7135     RECOMP_FLAGS_IN();
   7136     /* test eax, eax */ /* 0x26003384: test eax, eax */
   7137     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7138     _cf = 0;
   7139     _flag_k = FK_TEST;
   7140     ecx = POP32_VAL(esp); /* 0x26003386: pop ecx */
   7141     MEM32(0x260064F0) = eax; /* 0x26003387: mov dword ptr [0x260064f0], eax */
   7142     if (TEST_NZ(_flag_a, _flag_b)) goto L_26003392; /* 0x2600338C: jne 0x26003392 */
   7143 L_2600338E:
   7144     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7145     eax = 0; /* 0x2600338E: xor eax, eax */
   7146     _cf = 0;
   7147     _flag_k = FK_TEST;
   7148     goto L_260033F8; /* 0x26003390: jmp 0x260033f8 */
   7149 L_26003392:
   7150     _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0);
   7151     MEM32(eax) = MEM32(eax) & 0; /* 0x26003392: and dword ptr [eax], 0 */
   7152     _cf = 0;
   7153     _flag_k = FK_TEST;
   7154     eax = MEM32(0x260064F0); /* 0x26003395: mov eax, dword ptr [0x260064f0] */
   7155     PUSH32(esp, 0x26006004u); /* 0x2600339A: push 0x26006004 */
   7156     PUSH32(esp, 0x26006000u); /* 0x2600339F: push 0x26006000 */
   7157     MEM32(0x260064EC) = eax; /* 0x260033A4: mov dword ptr [0x260064ec], eax */
   7158     RECOMP_ICALL(0x260034A4u); /* 0x260033A9: call 0x260034a4 */ /* not lifted */
   7159     RECOMP_FLAGS_IN();
   7160     _flag_a = (uint32_t)(MEM32(0x260064E4)); _flag_b = (uint32_t)(1);
   7161     MEM32(0x260064E4) = MEM32(0x260064E4) + 1; /* 0x260033AE: inc dword ptr [0x260064e4] */
   7162     _flag_k = FK_INC;
   7163     ecx = POP32_VAL(esp); /* 0x260033B4: pop ecx */
   7164     ecx = POP32_VAL(esp); /* 0x260033B5: pop ecx */
   7165     goto L_260033F5; /* 0x260033B6: jmp 0x260033f5 */
   7166 L_260033B8:
   7167     /* test eax, eax */ /* 0x260033B8: test eax, eax */
   7168     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7169     _cf = 0;
   7170     _flag_k = FK_TEST;
   7171     if (TEST_NZ(_flag_a, _flag_b)) goto L_260033F5; /* 0x260033BA: jne 0x260033f5 */
   7172 L_260033BC:
   7173     eax = MEM32(0x260064F0); /* 0x260033BC: mov eax, dword ptr [0x260064f0] */
   7174     /* test eax, eax */ /* 0x260033C1: test eax, eax */
   7175     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7176     _cf = 0;
   7177     _flag_k = FK_TEST;
   7178     if (TEST_Z(_flag_a, _flag_b)) goto L_260033F5; /* 0x260033C3: je 0x260033f5 */
   7179 L_260033C5:
   7180     ecx = MEM32(0x260064EC); /* 0x260033C5: mov ecx, dword ptr [0x260064ec] */
   7181     PUSH32(esp, esi); /* 0x260033CB: push esi */
   7182     esi = ecx + (-0x4); /* 0x260033CC: lea esi, [ecx - 4] */
   7183 L_260033CF:
   7184     /* cmp esi, eax */ /* 0x260033CF: cmp esi, eax */
   7185     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
   7186     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7187     _flag_k = FK_CMP;
   7188     if (CMP_B(_flag_a, _flag_b)) goto L_260033E5; /* 0x260033D1: jb 0x260033e5 */
   7189 L_260033D3:
   7190     ecx = MEM32(esi); /* 0x260033D3: mov ecx, dword ptr [esi] */
   7191     /* test ecx, ecx */ /* 0x260033D5: test ecx, ecx */
   7192     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   7193     _cf = 0;
   7194     _flag_k = FK_TEST;
   7195     if (TEST_Z(_flag_a, _flag_b)) goto L_260033E0; /* 0x260033D7: je 0x260033e0 */
   7196 L_260033D9:
   7197     RECOMP_ICALL(ecx); /* 0x260033D9: call ecx */
   7198     RECOMP_FLAGS_IN();
   7199     eax = MEM32(0x260064F0); /* 0x260033DB: mov eax, dword ptr [0x260064f0] */
   7200 L_260033E0:
   7201     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4);
   7202     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7203     esi = esi - 4; /* 0x260033E0: sub esi, 4 */
   7204     _flag_k = FK_CMP;
   7205     RECOMP_BACKEDGE();
   7206     goto L_260033CF; /* 0x260033E3: jmp 0x260033cf */
   7207 L_260033E5:
   7208     PUSH32(esp, eax); /* 0x260033E5: push eax */
   7209     RECOMP_ICALL(MEM32(0x26004078)); /* 0x260033E6: call dword ptr [0x26004078] */
   7210     RECOMP_FLAGS_IN();
   7211     _flag_a = (uint32_t)(MEM32(0x260064F0)); _flag_b = (uint32_t)(0);
   7212     MEM32(0x260064F0) = MEM32(0x260064F0) & 0; /* 0x260033EC: and dword ptr [0x260064f0], 0 */
   7213     _cf = 0;
   7214     _flag_k = FK_TEST;
   7215     ecx = POP32_VAL(esp); /* 0x260033F3: pop ecx */
   7216     esi = POP32_VAL(esp); /* 0x260033F4: pop esi */
   7217 L_260033F5:
   7218     PUSH32(esp, 1); /* 0x260033F5: push 1 */
   7219     eax = POP32_VAL(esp); /* 0x260033F7: pop eax */
   7220 L_260033F8:
   7221     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x260033F8: ret 0xc */
   7222     RECOMP_REGS_OUT();
   7223 }
   7224 
   7225 void sub_260033FB(void) {
   7226     int _fpu_cmp = 0;
   7227     uint32_t _cf = 0;
   7228     int _df = 1;
   7229     uint32_t _flag_k = FK_NONE;
   7230     uint32_t _flag_a = 0, _flag_b = 0;
   7231     uint32_t _itail_tgt = 0;
   7232     RECOMP_REGS_LOCALS
   7233     RECOMP_ENTER(0x260033FBu);
   7234 
   7235 L_260033FB:
   7236     PUSH32(esp, ebp); /* 0x260033FB: push ebp */
   7237     ebp = esp; /* 0x260033FC: mov ebp, esp */
   7238     PUSH32(esp, ebx); /* 0x260033FE: push ebx */
   7239     ebx = MEM32(ebp + 0x8); /* 0x260033FF: mov ebx, dword ptr [ebp + 8] */
   7240     PUSH32(esp, esi); /* 0x26003402: push esi */
   7241     esi = MEM32(ebp + 0xC); /* 0x26003403: mov esi, dword ptr [ebp + 0xc] */
   7242     PUSH32(esp, edi); /* 0x26003406: push edi */
   7243     edi = MEM32(ebp + 0x10); /* 0x26003407: mov edi, dword ptr [ebp + 0x10] */
   7244     /* test esi, esi */ /* 0x2600340A: test esi, esi */
   7245     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   7246     _cf = 0;
   7247     _flag_k = FK_TEST;
   7248     if (TEST_NZ(_flag_a, _flag_b)) goto L_26003417; /* 0x2600340C: jne 0x26003417 */
   7249 L_2600340E:
   7250     /* cmp MEM32(0x260064E4), 0 */ /* 0x2600340E: cmp dword ptr [0x260064e4], 0 */
   7251     _flag_a = (uint32_t)(MEM32(0x260064E4)); _flag_b = (uint32_t)(0);
   7252     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7253     _flag_k = FK_CMP;
   7254     goto L_2600343D; /* 0x26003415: jmp 0x2600343d */
   7255 L_26003417:
   7256     /* cmp esi, 1 */ /* 0x26003417: cmp esi, 1 */
   7257     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1);
   7258     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7259     _flag_k = FK_CMP;
   7260     if (CMP_EQ(_flag_a, _flag_b)) goto L_26003421; /* 0x2600341A: je 0x26003421 */
   7261 L_2600341C:
   7262     /* cmp esi, 2 */ /* 0x2600341C: cmp esi, 2 */
   7263     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2);
   7264     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7265     _flag_k = FK_CMP;
   7266     if (CMP_NE(_flag_a, _flag_b)) goto L_26003443; /* 0x2600341F: jne 0x26003443 */
   7267 L_26003421:
   7268     eax = MEM32(0x260064F4); /* 0x26003421: mov eax, dword ptr [0x260064f4] */
   7269     /* test eax, eax */ /* 0x26003426: test eax, eax */
   7270     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7271     _cf = 0;
   7272     _flag_k = FK_TEST;
   7273     if (TEST_Z(_flag_a, _flag_b)) goto L_26003433; /* 0x26003428: je 0x26003433 */
   7274 L_2600342A:
   7275     PUSH32(esp, edi); /* 0x2600342A: push edi */
   7276     PUSH32(esp, esi); /* 0x2600342B: push esi */
   7277     PUSH32(esp, ebx); /* 0x2600342C: push ebx */
   7278     RECOMP_ICALL(eax); /* 0x2600342D: call eax */
   7279     RECOMP_FLAGS_IN();
   7280     /* test eax, eax */ /* 0x2600342F: test eax, eax */
   7281     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7282     _cf = 0;
   7283     _flag_k = FK_TEST;
   7284     if (TEST_Z(_flag_a, _flag_b)) goto L_2600343F; /* 0x26003431: je 0x2600343f */
   7285 L_26003433:
   7286     PUSH32(esp, edi); /* 0x26003433: push edi */
   7287     PUSH32(esp, esi); /* 0x26003434: push esi */
   7288     PUSH32(esp, ebx); /* 0x26003435: push ebx */
   7289     RECOMP_ICALL(0x26003350u); /* 0x26003436: call 0x26003350 */ /* not lifted */
   7290     RECOMP_FLAGS_IN();
   7291     /* test eax, eax */ /* 0x2600343B: test eax, eax */
   7292     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7293     _cf = 0;
   7294     _flag_k = FK_TEST;
   7295 L_2600343D:
   7296     if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_26003443; /* 0x2600343D: jne 0x26003443 */
   7297 L_2600343F:
   7298     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   7299     eax = 0; /* 0x2600343F: xor eax, eax */
   7300     _cf = 0;
   7301     _flag_k = FK_TEST;
   7302     goto L_26003491; /* 0x26003441: jmp 0x26003491 */
   7303 L_26003443:
   7304     PUSH32(esp, edi); /* 0x26003443: push edi */
   7305     PUSH32(esp, esi); /* 0x26003444: push esi */
   7306     PUSH32(esp, ebx); /* 0x26003445: push ebx */
   7307     RECOMP_ICALL(0x260034AAu); /* 0x26003446: call 0x260034aa */ /* not lifted */
   7308     RECOMP_FLAGS_IN();
   7309     /* cmp esi, 1 */ /* 0x2600344B: cmp esi, 1 */
   7310     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1);
   7311     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7312     _flag_k = FK_CMP;
   7313     MEM32(ebp + 0xC) = eax; /* 0x2600344E: mov dword ptr [ebp + 0xc], eax */
   7314     if (CMP_NE(_flag_a, _flag_b)) goto L_2600345F; /* 0x26003451: jne 0x2600345f */
   7315 L_26003453:
   7316     /* test eax, eax */ /* 0x26003453: test eax, eax */
   7317     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7318     _cf = 0;
   7319     _flag_k = FK_TEST;
   7320     if (TEST_NZ(_flag_a, _flag_b)) goto L_2600348E; /* 0x26003455: jne 0x2600348e */
   7321 L_26003457:
   7322     PUSH32(esp, edi); /* 0x26003457: push edi */
   7323     PUSH32(esp, eax); /* 0x26003458: push eax */
   7324     PUSH32(esp, ebx); /* 0x26003459: push ebx */
   7325     RECOMP_ICALL(0x26003350u); /* 0x2600345A: call 0x26003350 */ /* not lifted */
   7326     RECOMP_FLAGS_IN();
   7327 L_2600345F:
   7328     /* test esi, esi */ /* 0x2600345F: test esi, esi */
   7329     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   7330     _cf = 0;
   7331     _flag_k = FK_TEST;
   7332     if (TEST_Z(_flag_a, _flag_b)) goto L_26003468; /* 0x26003461: je 0x26003468 */
   7333 L_26003463:
   7334     /* cmp esi, 3 */ /* 0x26003463: cmp esi, 3 */
   7335     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(3);
   7336     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7337     _flag_k = FK_CMP;
   7338     if (CMP_NE(_flag_a, _flag_b)) goto L_2600348E; /* 0x26003466: jne 0x2600348e */
   7339 L_26003468:
   7340     PUSH32(esp, edi); /* 0x26003468: push edi */
   7341     PUSH32(esp, esi); /* 0x26003469: push esi */
   7342     PUSH32(esp, ebx); /* 0x2600346A: push ebx */
   7343     RECOMP_ICALL(0x26003350u); /* 0x2600346B: call 0x26003350 */ /* not lifted */
   7344     RECOMP_FLAGS_IN();
   7345     /* test eax, eax */ /* 0x26003470: test eax, eax */
   7346     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7347     _cf = 0;
   7348     _flag_k = FK_TEST;
   7349     if (TEST_NZ(_flag_a, _flag_b)) goto L_26003477; /* 0x26003472: jne 0x26003477 */
   7350 L_26003474:
   7351     _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(eax);
   7352     MEM32(ebp + 0xC) = MEM32(ebp + 0xC) & eax; /* 0x26003474: and dword ptr [ebp + 0xc], eax */
   7353     _cf = 0;
   7354     _flag_k = FK_TEST;
   7355 L_26003477:
   7356     /* cmp MEM32(ebp + 0xC), 0 */ /* 0x26003477: cmp dword ptr [ebp + 0xc], 0 */
   7357     _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(0);
   7358     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   7359     _flag_k = FK_CMP;
   7360     if (CMP_EQ(_flag_a, _flag_b)) goto L_2600348E; /* 0x2600347B: je 0x2600348e */
   7361 L_2600347D:
   7362     eax = MEM32(0x260064F4); /* 0x2600347D: mov eax, dword ptr [0x260064f4] */
   7363     /* test eax, eax */ /* 0x26003482: test eax, eax */
   7364     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   7365     _cf = 0;
   7366     _flag_k = FK_TEST;
   7367     if (TEST_Z(_flag_a, _flag_b)) goto L_2600348E; /* 0x26003484: je 0x2600348e */
   7368 L_26003486:
   7369     PUSH32(esp, edi); /* 0x26003486: push edi */
   7370     PUSH32(esp, esi); /* 0x26003487: push esi */
   7371     PUSH32(esp, ebx); /* 0x26003488: push ebx */
   7372     RECOMP_ICALL(eax); /* 0x26003489: call eax */
   7373     RECOMP_FLAGS_IN();
   7374     MEM32(ebp + 0xC) = eax; /* 0x2600348B: mov dword ptr [ebp + 0xc], eax */
   7375 L_2600348E:
   7376     eax = MEM32(ebp + 0xC); /* 0x2600348E: mov eax, dword ptr [ebp + 0xc] */
   7377 L_26003491:
   7378     edi = POP32_VAL(esp); /* 0x26003491: pop edi */
   7379     esi = POP32_VAL(esp); /* 0x26003492: pop esi */
   7380     ebx = POP32_VAL(esp); /* 0x26003493: pop ebx */
   7381     ebp = POP32_VAL(esp); /* 0x26003494: pop ebp */
   7382     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x26003495: ret 0xc */
   7383     RECOMP_REGS_OUT();
   7384 }
   7385 
   7386 void sub_26003498(void) {
   7387     int _fpu_cmp = 0;
   7388     uint32_t _cf = 0;
   7389     int _df = 1;
   7390     uint32_t _flag_k = FK_NONE;
   7391     uint32_t _flag_a = 0, _flag_b = 0;
   7392     uint32_t _itail_tgt = 0;
   7393     RECOMP_REGS_LOCALS
   7394     RECOMP_ENTER(0x26003498u);
   7395 
   7396 L_26003498:
   7397     { _itail_tgt = (uint32_t)(MEM32(0x26004070)); goto _ljump; }
   7398     { RECOMP_REGS_OUT(); return; } /* end of function */
   7399   _ljump:
   7400     switch (_itail_tgt) {
   7401       case 0x26003498u: goto L_26003498;
   7402       default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; }
   7403     }
   7404     RECOMP_REGS_OUT();
   7405 }